/* =====================================================
   DESIGN SYSTEM VARIABLES
===================================================== */

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;

    --bg-light: #f8fafc;
    --bg-dark: #0f172a;

    --text-main: #0f172a;
    --text-muted: #64748b;

    --border-light: #e5e7eb;
}

/* =====================================================
   BASE RESET & TYPOGRAPHY
===================================================== */

* {
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    color: var(--text-main);
    line-height: 1.6;
    background: #ffffff;
}

h1 {
    font-size: 52px;
    line-height: 1.1;
    margin: 0 0 20px;
}

h2 {
    font-size: 40px;
    line-height: 1.2;
    margin: 0 0 16px;
    text-align: center;
}

h3 {
    font-size: 20px;
    margin: 0 0 10px;
}

p {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.section-sub {
    max-width: 680px;
    margin: 0 auto 60px;
    font-size: 18px;
    color: var(--text-muted);
    text-align: center;
}

/* =====================================================
   LAYOUT
===================================================== */

.container {
    max-width: 1100px;
    margin: auto;
    padding: 20px 20px;
}

/* =====================================================
   HEADER
===================================================== */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  font-size: 28px;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  font-weight: 600;
}

/* =========================================
   HEADER CTA BUTTON FIX
========================================= */

.site-header .btn,
.site-header .header-cta {
  background: var(--primary) !important;
  color: #ffffff !important;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 8px;
  font-weight: 600;
  line-height: 1.2;
  border: none;
}

/* Hover */
.site-header .btn:hover,
.site-header .header-cta:hover {
  background: var(--primary-dark) !important;
  color: #ffffff !important;
}
.site-header .header-cta {
  box-shadow: 0 6px 14px rgba(37,99,235,0.25);
}

.site-header a[href="/login.php"] {
  background: var(--primary) !important;
  color: #ffffff !important;
}

/* Ensure nav links don’t override */
.site-header nav a.btn {
  color: #ffffff !important;
}

/* CTA */
.header-cta {
  padding: 10px 18px;
  font-size: 14px;
  min-height: unset;
}

/* Account menu */
.account-menu {
  position: relative;
}

.account-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-main);
}

.avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.account-dropdown {
  position: absolute;
  right: 0;
  top: 120%;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  min-width: 200px;
  display: none;
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.account-dropdown a {
  display: block;
  padding: 10px 14px;
  color: var(--text-main);
  text-decoration: none;
}

.account-dropdown a:hover {
  background: var(--bg-light);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  width: 28px;
  height: 22px;
  position: relative;
  cursor: pointer;
}

.hamburger span {
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--text-main);
  left: 0;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 9px;
}

.hamburger span:nth-child(3) {
  top: 18px;
}

/* Hamburger → X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

/* Responsive */
@media (max-width: 900px) {
  .hamburger {
    display: block;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 16px;
    margin-top: 20px;
  }

  .main-nav.open {
    display: flex;
  }

  .header-inner {
    flex-wrap: wrap;
  }
}

/* =====================================================
   BUTTONS
===================================================== */

.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary,
.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-secondary:hover,
.btn-outline:hover {
    background: rgba(37, 99, 235, 0.05);
}

.btn-large {
    font-size: 18px;
    padding: 16px 32px;
}

/* =========================================
   HERO SECTION (FINAL – WITH FLOATING ICONS)
========================================= */

.hero {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc, #ffffff);
    overflow: hidden;
}

/* Background floating icons layer */
.hero-floating-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Floating icon base */
.hero-float {
    position: absolute;
    font-size: 42px;
    opacity: 0.12;
    filter: blur(0.5px);
    animation: hero-float 22s ease-in-out infinite;
}

/* Individual icon placement */
.hero-float.lock {
    top: 14%;
    left: 8%;
    animation-duration: 24s;
}

.hero-float.shield {
    top: 62%;
    left: 12%;
    animation-duration: 28s;
}

.hero-float.stop {
    top: 20%;
    right: 10%;
    animation-duration: 26s;
}

.hero-float.alert {
    bottom: 18%;
    right: 18%;
    animation-duration: 30s;
}

/* Floating animation */
@keyframes hero-float {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, -30px);
    }
    100% {
        transform: translate(0, 0);
    }
}

/* Main hero layout */
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Text styling */
.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 18px;
    max-width: 520px;
    color: var(--text-muted);
}

.hero-visual,
.performance-visual {
  max-width: 900px;     /* controls image size */
  margin: 0 auto;       /* center */
}

@media (max-width: 768px) {
  .hero-visual,
  .performance-visual {
    max-width: 100%;
    padding: 0 15px;
  }
}

/* CTA buttons */
.hero-actions {
    margin-top: 30px;
}

.hero-actions .btn {
    margin-right: 12px;
}

/* Badge */
.badge {
    display: inline-block;
    background: #e0e7ff;
    color: var(--primary-dark);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    margin-bottom: 20px;
}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-float {
        animation: none;
    }
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .hero {
        padding: 80px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero p {
        margin: 0 auto;
    }

    .hero-actions .btn {
        display: block;
        margin: 12px auto;
    }
}

/* =====================================================
   SECTION 2 – FEATURE FLOW
===================================================== */

.feature-flow {
    padding: 120px 0;
    background: #ffffff;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.flow-step {
    background: var(--bg-light);
    border-radius: 14px;
    padding: 36px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flow-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

/* =====================================================
   SECTION 3 – PERFORMANCE
===================================================== */

.performance {
    padding: 120px 0;
    background: var(--bg-light);
}

.performance-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.check-list {
    list-style: none;
    padding: 0;
    margin-top: 24px;
}

.check-list li {
    margin-bottom: 12px;
    font-size: 16px;
}

/* =====================================================
   SECTION 4 – WHY SHIELDPRESS
===================================================== */

.why {
    padding: 120px 0;
    background: #ffffff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.why-grid div {
    padding: 30px;
    background: var(--bg-light);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
}

/* =====================================================
   SECTION 5 – COMPATIBILITY
===================================================== */

.compatibility {
    padding: 120px 0;
    background: var(--bg-light);
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 30px;
    margin-top: 60px;
    text-align: center;
}

.logo-grid div {
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    font-weight: 600;
}

/* =====================================================
   SECTION 6 – PRIVACY
===================================================== */

.privacy {
    padding: 120px 0;
    background: #ffffff;
    text-align: center;
}

.privacy p {
    max-width: 720px;
    margin: 0 auto;
    font-size: 18px;
}

/* =====================================================
   SECTION 7 – TESTIMONIALS
===================================================== */

.testimonials {
    padding: 120px 0;
    background: var(--bg-light);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.testimonial-grid blockquote {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    font-style: italic;
    border-left: 4px solid var(--primary);
}

.testimonial-grid span {
    display: block;
    margin-top: 16px;
    font-style: normal;
    font-weight: 600;
}

/* =====================================================
   SECTION 8 – FINAL CTA
===================================================== */

.final-cta {
    padding: 140px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    text-align: center;
    color: #ffffff;
}

.final-cta h2 {
    color: #ffffff;
    font-size: 42px;
    margin-bottom: 30px;
}

/* =========================================
   TRUST STRIP
========================================= */

.trust-strip {
  background: #f1f5f9;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.trust-strip p {
  margin: 0;
  padding: 16px 20px;
  font-size: 15px;
  color: var(--text-muted);
}

/* =========================================
   FOOTER – SECURITY BADGES (REFINED)
========================================= */

.footer-security {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0px 0 30px;
    padding: 12px 20px;
    border-top: 0px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-security span {
    font-size: 14px;
    color: #cbd5f5;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    letter-spacing: 0.2px;
}

.language-selector {
  background: var(--bg-dark);
  color: #e5e7eb;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 10px;
  border-radius: 6px;
}

/* =========================================
   FOOTER
========================================= */

.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 40px 20px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}

.site-footer h4 {
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.site-footer a {
  color: #94a3b8;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
}

/* Newsletter */
.footer-newsletter label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: #cbd5f5;
}

.newsletter-row {
  display: flex;
  gap: 10px;
}

.newsletter-row input {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  border: none;
}

.newsletter-row button {
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
}

/* =========================================
   FOOTER BOTTOM – 3-COLUMN LAYOUT
========================================= */

.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

/* Left */
.footer-left {
  text-align: left;
}

/* Center */
.footer-center {
  display: flex;
  justify-content: center;
}

/* Right */
.footer-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}

/* Social icons spacing */
.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social i {
  font-size: 18px;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.footer-social a:hover i {
  color: #ffffff;
}

/* Payment icons spacing */
.payment-icons {
  display: flex;
  gap: 14px;
}

.payment-icons i {
  font-size: 26px;
  color: #e5e7eb;
}

/* Language selector */
.language-selector {
  background: var(--bg-dark);
  color: #e5e7eb;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 10px;
  border-radius: 6px;
}

/* =========================================
   MOBILE FOOTER
========================================= */

@media (max-width: 900px) {
  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .footer-left,
  .footer-right {
    justify-content: center;
  }

  .footer-right {
    flex-direction: column;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.faq {
  padding: 120px 0;
  background: #ffffff;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.faq-item {
  padding: 30px;
  background: var(--bg-light);
  border-radius: 12px;
}

.faq-item h3 {
  margin-bottom: 10px;
}

.support {
  padding: 120px 0;
  background: var(--bg-light);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.support-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

/* =========================================
   FINAL CTA – FLOATING BACKGROUND ELEMENTS
========================================= */

.final-cta {
  position: relative;
  overflow: hidden;
}

.floating-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.float-item {
  position: absolute;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  filter: blur(2px);
  animation: float 18s ease-in-out infinite;
}

/* Individual placements */

.float-item.one {
  top: 10%;
  left: 8%;
  animation-duration: 22s;
}

.float-item.two {
  top: 60%;
  left: 15%;
  width: 120px;
  height: 120px;
  animation-duration: 18s;
}

.float-item.three {
  top: 20%;
  right: 10%;
  width: 220px;
  height: 220px;
  animation-duration: 26s;
}

.float-item.four {
  bottom: 10%;
  right: 20%;
  width: 140px;
  height: 140px;
  animation-duration: 20s;
}

/* Floating animation */

@keyframes float {
  0% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-30px) translateX(20px);
  }
  100% {
    transform: translateY(0) translateX(0);
  }
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 32px;
    }

    .hero-grid,
    .performance-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions .btn {
        display: block;
        margin: 12px auto;
    }
}

/* =========================================
   AFFILIATE PAGE
========================================= */

.affiliate-hero {
  padding: 120px 0;
  text-align: center;
  background: linear-gradient(180deg, #f8fafc, #ffffff);
}

.affiliate-actions {
  margin-top: 30px;
}

.affiliate-actions .btn {
  margin: 0 10px;
}

.affiliate-how,
.affiliate-why {
  padding: 120px 0;
}

.affiliate-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 40px;
  margin-top: 60px;
}

.affiliate-benefits {
  max-width: 600px;
  margin: 40px auto 0;
}

.affiliate-benefits li {
  margin-bottom: 12px;
}

/* =========================================
   AFFILIATE DASHBOARD
========================================= */

.affiliate-dashboard {
  padding: 40px 0;
}

.notice {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 15px;
}

.notice-success {
  background: #ecfdf5;
  color: #065f46;
}

.notice-warning {
  background: #fffbeb;
  color: #92400e;
}

.notice-error {
  background: #fef2f2;
  color: #991b1b;
}

.affiliate-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 40px;
}

.affiliate-card input {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
}

.affiliate-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.stat-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 28px;
  margin-bottom: 6px;
}

/* =========================================
   AFFILIATE APPLICATION FORM (FIXED)
========================================= */

.affiliate-apply {
  padding: 40px 0;
}

.affiliate-form {
  max-width: 600px;
  margin: 60px auto 0;
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.affiliate-form label {
  display: block;
  margin-bottom: 20px;
  font-weight: 500;
  color: var(--text-main);
}

.affiliate-form input,
.affiliate-form select,
.affiliate-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  font-size: 15px;
  background: #ffffff;
}

.affiliate-form textarea {
  resize: vertical;
}

.affiliate-form input:focus,
.affiliate-form select:focus,
.affiliate-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.affiliate-form button {
  margin-top: 10px;
  padding: 12px 18px;
  font-size: 15px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 60px;
}

.admin-table th,
.admin-table td {
  border: 1px solid var(--border-light);
  padding: 12px;
}

.status {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
}

.status.pending { background: #fffbeb; color: #92400e; }
.status.approved { background: #ecfdf5; color: #065f46; }
.status.paid { background: #eff6ff; color: #1e40af; }
.status.rejected { background: #fef2f2; color: #991b1b; }
.price-free {
  color: #16a34a;
  font-weight: 700;
}

/* =========================
   Breadcrumbs
========================= */
.breadcrumbs {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
}
.breadcrumbs a {
    color: #2563eb;
    text-decoration: none;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}

/* =========================
   Legal Layout
========================= */
.legal-wrapper {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.legal-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 42px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.06);
}

/* =========================
   Typography
========================= */
.legal-card h1 {
    font-size: 36px;
    margin-bottom: 8px;
}

.legal-updated {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 32px;
}

.legal-card h2 {
    font-size: 22px;
    margin-top: 42px;
    margin-bottom: 14px;
}

.legal-card p {
    font-size: 16px;
    line-height: 1.75;
    color: #374151;
    margin-bottom: 16px;
}

.legal-card ul {
    padding-left: 22px;
    margin-bottom: 24px;
}

.legal-card li {
    font-size: 15px;
    margin-bottom: 10px;
}

.legal-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 45px 0;
}

.legal-footer-nav {
    text-align: center;
    margin-top: 35px;
}
.legal-footer-nav a {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
    margin: 0 6px;
}
.legal-footer-nav a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .legal-card {
        padding: 28px;
    }
    .legal-card h1 {
        font-size: 30px;
    }
}

/* =========================
   Roadmap Enhancements
========================= */
.roadmap-section {
    margin-top: 50px;
}

.roadmap-phase {
    border-left: 4px solid #2563eb;
    padding-left: 24px;
    margin-bottom: 40px;
    position: relative;
}

.roadmap-phase::before {
    content: "➜";
    position: absolute;
    left: -16px;
    top: 0;
    background: #2563eb;
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.roadmap-phase h2 {
    margin-top: 0;
}

.roadmap-list {
    list-style: none;
    padding-left: 0;
}

.roadmap-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
}

.roadmap-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #16a34a;
    font-weight: bold;
}

.roadmap-future li::before {
    content: "→";
    color: #2563eb;
}

.roadmap-vision li::before {
    content: "✦";
    color: #7c3aed;
}

.roadmap-note {
    background: #f8fafc;
    border-left: 4px solid #e5e7eb;
    padding: 14px 18px;
    font-size: 14px;
    color: #374151;
    margin-top: 30px;
    border-radius: 8px;
}

/* Social Share */
.share-fixed {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Right side */
.share-right {
    right: 15px;
}

/* Left side */
.share-left {
    left: 15px;
}

/* Icons */
.share-fixed a {
    display: block;
    background: #fff;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
}

.share-fixed img {
    width: 20px;
    height: 20px;
}

/* Hover */
.share-fixed a:hover {
    transform: translateY(-2px);
    background: #6366f1;
}

.share-fixed a:hover img {
    filter: brightness(0) invert(1);
}

/* Mobile fix */
@media (max-width: 768px) {
    .share-fixed {
        display: none;
    }
}

/* =====================================================
   AMITDAS.SPACE — EDITORIAL HEADER & FOOTER
   Isolated overrides; preserves the existing sticky header behavior.
===================================================== */
.site-header { position: sticky; top: 0; z-index: 10000; background: rgba(255,255,255,.97); backdrop-filter: blur(14px); box-shadow: 0 6px 24px rgba(15,23,42,.045); border-bottom: 1px solid #e7edf5; }
.site-header .container { max-width: 1280px; padding-top: 0; padding-bottom: 0; }
.as-header-top { background: #fff; }
.as-header-top-inner { min-height: 112px; display: grid; grid-template-columns: 230px minmax(300px,1fr) auto; gap: 26px; align-items: center; padding-top: 12px !important; padding-bottom: 12px !important; }
.as-brand { display:flex; align-items:center; gap:11px; text-decoration:none; min-width:0; }
.as-brand-mark,.as-footer-logo-mark { width:46px; height:46px; flex:0 0 46px; display:flex; align-items:center; justify-content:center; gap:0; position:relative; border-radius:14px; color:#fff; font-size:25px; line-height:1; font-weight:850; letter-spacing:-2px; background:linear-gradient(145deg,#2563eb,#6d28d9); box-shadow:0 8px 18px rgba(37,99,235,.22); }
/* Keep the cyan dot inline with the A instead of placing it in a separate grid row. */
.as-brand-mark span,.as-footer-logo-mark span { color:#a5f3fc; display:inline-block; position:relative; top:.22em; margin-left:-.08em; line-height:1; }
.as-brand-copy { display:flex; flex-direction:column; line-height:1.15; }
.as-brand-copy strong { color:#101828; font-size:22px; letter-spacing:-.8px; white-space:nowrap; }
.as-brand-copy strong span,.as-footer-logo > span:last-child span { color:#4f46e5; }
.as-brand-copy small { margin-top:6px; color:#7b8798; font-size:10px; letter-spacing:1.2px; text-transform:uppercase; white-space:nowrap; }
/* Header ad: keep the 728x90 creative clean, without the card treatment used by content ads. */
.as-ad-slot { width:100%; max-width:728px; min-width:0; justify-self:center; align-self:center; padding:0!important; margin:0!important; border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; }
.as-ad-slot .as-ad-label { display:none; margin:0; padding:0; }
/* Optional label: add the class "as-ad-show-label" to .as-ad-slot if a non-AdSense provider needs it. */
.as-ad-slot.as-ad-show-label .as-ad-label { display:block; margin:0 0 3px 2px; color:#9aa4b2; font-size:9px; letter-spacing:.8px; text-transform:uppercase; }
.as-ad-rendered { width:100%; max-width:728px; min-height:90px; display:flex; align-items:center; justify-content:center; overflow:hidden; margin:0!important; padding:0!important; border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; }
.as-ad-rendered > div { max-width:100%; }
.as-ad-placeholder { width:100%; max-width:728px; height:90px; border:0!important; border-radius:0!important; background:transparent!important; display:flex; flex-direction:column; align-items:center; justify-content:center; color:#94a3b8; line-height:1.3; }
.as-ad-placeholder span { font-size:14px; font-weight:750; letter-spacing:.5px; }
.as-ad-placeholder small { font-size:10px; }
.as-quick-actions { display:flex; align-items:center; gap:17px; }
.as-action-link { position:relative; display:flex; align-items:center; gap:7px; border:0; padding:7px 0; background:transparent; color:#344054; text-decoration:none; font-size:12px; font-weight:650; white-space:nowrap; cursor:pointer; }
.as-action-link:hover { color:#4f46e5; }
.as-action-icon { width:34px; height:34px; display:grid; place-items:center; border:1px solid #e5eaf2; border-radius:11px; background:#f8fafc; color:#475467; font-size:15px; transition:all .2s ease; }
.as-action-link:hover .as-action-icon { background:#eef2ff; border-color:#c7d2fe; color:#4f46e5; }
.as-saved-link:hover .as-heart-icon { color:#e11d48; background:#fff1f2; border-color:#fecdd3; }
.as-chevron { margin-left:1px; font-size:9px; color:#98a2b3; }
.as-account-menu { position:relative; }
.as-account-dropdown { display:none; position:absolute; z-index:10010; top:calc(100% + 12px); right:0; min-width:210px; padding:7px; background:#fff; border:1px solid #e5eaf2; border-radius:13px; box-shadow:0 18px 45px rgba(15,23,42,.16); }
.as-account-dropdown.is-open { display:block; }
.as-account-dropdown a { display:block; padding:10px 12px; border-radius:8px; color:#344054; text-decoration:none; font-size:13px; }
.as-account-dropdown a:hover { color:#4338ca; background:#f5f7ff; }
.as-nav-row { background:#fff; border-top:1px solid #f0f2f6; }
.as-nav-inner { min-height:58px; display:flex; align-items:center; justify-content:space-between; gap:26px; }
.as-main-nav { display:flex; align-items:center; gap:7px; margin:0; width:auto; }
.as-main-nav a { display:inline-flex; align-items:center; min-height:40px; padding:0 14px; border-radius:9px; color:#475467; text-decoration:none; font-size:13px; font-weight:650; transition:background .18s ease,color .18s ease; }
.as-main-nav a:hover,.as-main-nav a.active { color:#4338ca; background:#eef2ff; }
.as-search-form { width:280px; height:40px; display:flex; align-items:center; gap:9px; padding:0 6px 0 13px; border:1px solid #e4e7ec; border-radius:11px; background:#f9fafb; color:#98a2b3; }
.as-search-form:focus-within { border-color:#a5b4fc; background:#fff; box-shadow:0 0 0 3px rgba(99,102,241,.1); }
.as-search-form > i { font-size:13px; }
.as-search-form input { width:100%; min-width:0; height:100%; padding:0; border:0; outline:0; background:transparent; color:#101828; font:inherit; font-size:12px; box-shadow:none; }
.as-search-form button { flex:0 0 29px; width:29px; height:29px; border:0; border-radius:8px; background:#4f46e5; color:#fff; cursor:pointer; }
.as-search-form button:hover { background:#3730a3; }
.sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.as-hamburger { display:none; }

.as-site-footer { margin-top:70px; padding:0; color:#cbd5e1; background:#0b1220; border-top:4px solid #4f46e5; }
.as-footer-main { display:grid; grid-template-columns:1.35fr .8fr .8fr 1.25fr; gap:42px; padding-top:58px!important; padding-bottom:48px!important; }
.as-footer-logo { display:inline-flex; align-items:center; gap:11px; color:#fff; text-decoration:none; font-size:22px; font-weight:800; letter-spacing:-.6px; }
.as-footer-logo-mark { width:40px; height:40px; flex-basis:40px; border-radius:12px; font-size:22px; }
.as-footer-brand p,.as-footer-newsletter p { margin:18px 0 0; max-width:360px; color:#a7b3c5; font-size:14px; line-height:1.8; }
.as-footer-note { display:inline-flex; align-items:center; gap:8px; margin-top:18px; padding:8px 11px; border:1px solid #263246; border-radius:9px; color:#d6dded; font-size:12px; }
.as-footer-note i { color:#a5b4fc; }
.as-site-footer h4 { margin:4px 0 18px; color:#fff; font-size:13px; letter-spacing:.7px; text-transform:uppercase; }
.as-footer-links ul { margin:0; padding:0; list-style:none; }
.as-footer-links li { margin:0 0 12px; }
.as-site-footer .as-footer-links a,.as-legal-links a { color:#a7b3c5; font-size:13px; text-decoration:none; transition:color .18s ease; }
.as-site-footer .as-footer-links a:hover,.as-legal-links a:hover { color:#fff; }
.as-footer-newsletter p { margin:0 0 15px; font-size:13px; }
.as-footer-newsletter .footer-newsletter { margin-top:12px; }
.as-footer-newsletter .footer-newsletter label { display:block; margin-bottom:7px; color:#d6deeb; font-size:12px; }
.as-site-footer .newsletter-row { display:flex; gap:7px; }
.as-site-footer .newsletter-row input { min-width:0; width:100%; padding:11px 12px; border:1px solid #344258; border-radius:9px; background:#121d2e; color:#fff; font-size:13px; }
.as-site-footer .newsletter-row input::placeholder { color:#77859a; }
.as-site-footer .newsletter-row button { padding:10px 13px; border-radius:9px; background:#4f46e5; color:#fff; font-size:12px; font-weight:700; white-space:nowrap; }
.as-site-footer .newsletter-row button:hover { background:#4338ca; }
.as-site-footer .newsletter-message { color:#cbd5e1; }
.as-site-footer .nm-success { color:#86efac; } .as-site-footer .nm-error { color:#fca5a5; }
.as-footer-bottom { min-height:76px; display:flex; align-items:center; justify-content:space-between; gap:20px; border-top:1px solid #263246; }
.as-footer-bottom .as-copyright { color:#8794a8; font-size:12px; }
.as-footer-bottom .as-copyright strong { color:#dbe4f0; }
.as-legal-links { display:flex; align-items:center; gap:22px; }
.as-back-top { color:#dbe4f0; text-decoration:none; font-size:12px; white-space:nowrap; }
.as-back-top i { margin-left:5px; color:#a5b4fc; }

@media (max-width:1100px) {
  .as-header-top-inner { grid-template-columns:210px minmax(180px,1fr) auto; gap:15px; }
  .as-quick-actions { gap:10px; }
  .as-action-label { display:none; }
  .as-action-link { padding:4px 0; }
  .as-action-icon { width:36px; height:36px; }
  .as-chevron { display:none; }
  .as-footer-main { gap:28px; grid-template-columns:1.2fr .8fr .8fr 1.2fr; }
}
@media (max-width:760px) {
  .site-header .container { padding-left:16px!important; padding-right:16px!important; }
  .as-header-top-inner { min-height:76px; grid-template-columns:minmax(0,1fr) auto; gap:12px; padding-top:9px!important; padding-bottom:9px!important; }
  .as-brand-mark { width:39px; height:39px; flex-basis:39px; border-radius:12px; font-size:22px; }
  .as-brand-copy strong { font-size:19px; }
  .as-brand-copy small { font-size:8px; letter-spacing:.8px; }
  .as-ad-slot { display:none; }
  .as-quick-actions { gap:7px; }
  .as-action-icon { width:34px; height:34px; border-radius:10px; }
  .as-nav-row { position:relative; }
  .as-nav-inner { min-height:56px; gap:10px; flex-wrap:wrap; padding-top:8px!important; padding-bottom:8px!important; }
  .as-hamburger { display:block; flex:0 0 34px; width:34px; height:34px; padding:0; border:1px solid #e5eaf2; border-radius:9px; background:#fff; }
  .as-hamburger span { left:8px; width:16px; height:2px; border-radius:3px; background:#344054; }
  .as-hamburger span:nth-child(1) { top:9px; } .as-hamburger span:nth-child(2) { top:15px; } .as-hamburger span:nth-child(3) { top:21px; }
  .as-hamburger.active span:nth-child(1) { top:15px; } .as-hamburger.active span:nth-child(3) { top:15px; }
  .as-main-nav { display:none; position:absolute; top:100%; left:0; right:0; z-index:10005; width:100%; padding:10px 16px 14px; background:#fff; border-top:1px solid #eef0f5; border-bottom:1px solid #e5eaf2; box-shadow:0 16px 25px rgba(15,23,42,.1); align-items:stretch; flex-direction:column; gap:3px; }
  .as-main-nav.open { display:flex; }
  .as-main-nav a { min-height:42px; }
  .as-search-form { flex:1 1 0; width:auto; min-width:0; }
  .as-footer-main { grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px 24px; padding-top:38px!important; padding-bottom:34px!important; }
  .as-footer-brand,.as-footer-newsletter { grid-column:1/-1; }
  .as-footer-brand p { max-width:560px; }
  .as-footer-bottom { min-height:0; padding-top:22px!important; padding-bottom:22px!important; flex-wrap:wrap; justify-content:center; text-align:center; gap:15px 20px; }
  .as-legal-links { gap:17px; }
}
@media (max-width:420px) {
  .as-brand { gap:8px; }
  .as-brand-mark { width:34px; height:34px; flex-basis:34px; font-size:20px; }
  .as-brand-copy strong { font-size:17px; }
  .as-brand-copy small { font-size:7px; }
  .as-quick-actions { gap:4px; }
  .as-action-icon { width:31px; height:31px; font-size:13px; }
  .as-footer-main { grid-template-columns:1fr 1fr; gap:28px 16px; }
  .as-site-footer .newsletter-row { flex-wrap:wrap; }
  .as-site-footer .newsletter-row button { width:100%; }
}
@media (prefers-reduced-motion:reduce) { .as-action-icon,.as-main-nav a,.as-site-footer a { transition:none!important; } }


/* Amitdas.Space single article: sticky sidebar without an inner scrollbar */
.zd-single-layout { align-items: start; }
.zd-single-sidebar {
  align-self: start;
  position: sticky;
  top: 24px;
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  overscroll-behavior: auto;
  scrollbar-width: auto;
  min-width: 0;
  z-index: 2;
}
.zd-related-card { position: relative; }
.zd-save-post { display:inline-flex; align-items:center; justify-content:center; gap:7px; width:34px; height:34px; flex:0 0 auto; border:1px solid #e6e5f0; border-radius:50%; background:#fff; color:#5b4bf4; text-decoration:none; box-shadow:0 3px 12px rgba(31,28,74,.08); transition:color .18s ease,background .18s ease,border-color .18s ease,transform .18s ease; }
.zd-save-post:hover,.zd-save-post:focus-visible { color:#e11d48; background:#fff1f2; border-color:#fecdd3; transform:translateY(-1px); outline:none; }
.zd-save-post i { font-size:15px; }
.zd-save-post-meta { width:auto; height:30px; padding:0 10px; border-radius:999px; font-size:12px; font-weight:700; white-space:nowrap; }
.zd-save-post-overlay { position:absolute; z-index:3; top:12px; right:12px; width:36px; height:36px; background:rgba(255,255,255,.96); backdrop-filter:blur(8px); }
.zd-popular-row { display:flex; align-items:center; gap:8px; min-width:0; }
.zd-popular-row .zd-popular-item { flex:1 1 auto; min-width:0; }
.zd-save-post-popular { width:30px; height:30px; }
.zd-save-post-popular i { font-size:13px; }
@media (max-width:900px) { .zd-single-sidebar { position:static; max-height:none!important; height:auto!important; overflow:visible!important; } }
@media (prefers-reduced-motion:reduce) { .zd-save-post { transition:none; } }


/* AJAX article search: shared dropdown for the hero, archive and header search. */
.as-search-form,.zd-home-search,.sp-blog-search{position:relative}
.zd-search-suggestions{position:fixed;z-index:10050;top:0;left:0;max-height:min(520px,calc(100vh - 24px));overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:7px;background:#fff;border:1px solid #e7e5ef;border-radius:16px;box-shadow:0 20px 55px rgba(23,19,48,.18);text-align:left;color:#211d35}
.zd-search-suggestions[hidden]{display:none!important}
.zd-search-result{display:flex;align-items:center;gap:11px;padding:10px;border-radius:11px;text-decoration:none!important;color:#211d35!important;min-width:0;transition:background .15s}
.zd-search-result:hover,.zd-search-result[aria-selected="true"]{background:#f7f5ff}
.zd-search-result-image{flex:0 0 54px;width:54px;height:54px;border-radius:9px;object-fit:cover;background:#f0edf8;display:block}
.zd-search-result-placeholder{display:grid;place-items:center;color:#7254e8;font-size:1.3rem}
.zd-search-result-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.zd-search-result-copy strong{font-size:.84rem;line-height:1.35;font-weight:800;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#211d35}
.zd-search-result-copy small{font-size:.72rem;line-height:1.35;color:#77758a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.zd-search-result-category{font-size:.62rem;line-height:1.2;color:#d94670;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.zd-search-result-arrow{flex:0 0 auto;color:#9a91b0;font-size:1rem}
.zd-search-message{padding:17px 12px;text-align:center;font-size:.82rem;line-height:1.5;color:#77758a}
.zd-search-all{display:block;padding:12px 10px;margin-top:5px;border-top:1px solid #f0edf6;color:#5c45c6!important;text-decoration:none!important;font-size:.78rem;font-weight:800;text-align:center}
.zd-search-all:hover{background:#faf9ff;border-radius:8px}
.zd-home-search .zd-search-suggestions,.as-search-form .zd-search-suggestions,.sp-blog-search .zd-search-suggestions{margin:0;min-width:0}
@media(max-width:640px){.zd-search-suggestions{width:min(92vw,430px)!important;max-height:min(60vh,460px)!important}.zd-search-result-image{flex-basis:46px;width:46px;height:46px}.zd-search-result-copy small{display:none}}
