/* ===================================================================
   getServiceRelay — shared site styles (Modernized & Colorful Edition)
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --brand: hsl(256, 100%, 64%);
    /* Electric Indigo */
    --brand-dark: hsl(256, 100%, 54%);
    --brand-light: hsl(256, 100%, 97%);
    --brand-opaque: rgba(99, 102, 241, 0.08);
    --accent: hsl(340, 92%, 58%);
    /* Neon Magenta */
    --accent-glow: rgba(244, 63, 94, 0.4);
    --accent-warm: hsl(16, 96%, 57%);
    /* Coral Sunset */
    --success: hsl(142, 72%, 45%);
    /* Emerald Green */
    --warning: hsl(38, 92%, 50%);
    /* Gold/Amber */

    /* Gradients */
    --grad-primary: linear-gradient(135deg, hsl(256, 100%, 64%) 0%, hsl(340, 92%, 58%) 100%);
    --grad-sunset: linear-gradient(135deg, hsl(16, 96%, 57%) 0%, hsl(340, 92%, 58%) 50%, hsl(256, 100%, 64%) 100%);
    --grad-dark: linear-gradient(135deg, hsl(222, 47%, 11%) 0%, hsl(224, 71%, 4%) 100%);
    --grad-glow: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(244, 63, 94, 0.05) 60%, rgba(255, 255, 255, 0) 100%);

    /* Neutrals */
    --text: hsl(222, 47%, 12%);
    --text-muted: hsl(215, 16%, 47%);
    --text-white: hsl(210, 40%, 98%);
    --border: hsl(214, 32%, 91%);
    --border-hover: hsl(214, 32%, 80%);
    --bg: hsl(210, 40%, 98%);
    --bg-card: hsl(0, 0%, 100%);
    --white: hsl(0, 0%, 100%);

    /* Layout */
    --radius-sm: 0.5rem;
    --radius: 1rem;
    --radius-lg: 1.5rem;
    --shadow: 0 4px 20px -2px rgba(99, 102, 241, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 12px 30px -4px rgba(99, 102, 241, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 24px 50px -8px rgba(99, 102, 241, 0.15), 0 8px 24px -4px rgba(99, 102, 241, 0.05);
    --max-w: 1180px;
    --nav-h: 72px;

    /* Fonts */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
}

/* ---- resets & base ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--brand);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    z-index: 1000;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
    color: var(--white);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--brand);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--brand-dark);
}

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

/* ---- Layout / Container ---- */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.75rem;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border-hover);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--grad-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    filter: brightness(1.05);
}

.btn-outline {
    background: var(--white);
    color: var(--brand);
    border-color: var(--brand);
}

.btn-outline:hover {
    background: var(--brand-light);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--grad-sunset);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.45);
    filter: brightness(1.05);
}

.btn-lg {
    padding: 0.9rem 2.25rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.55);
}

/* ---- Sticky Header Navigation ---- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    height: var(--nav-h);
    transition: all 0.3s ease;
}

.site-nav .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
}

.nav-logo img {
    height: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-logo:hover img {
    transform: scale(1.03);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.nav-links a {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--brand);
    background: var(--brand-light);
}

.nav-links a.active {
    color: var(--brand);
    background: var(--brand-opaque);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ---- Premium Hero Section ---- */
.hero {
    background: var(--grad-dark);
    color: var(--white);
    padding: 8rem 0 7rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Animated mesh blobs behind the hero */
.hero::before {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: pulseGlow 12s infinite alternate ease-in-out;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: pulseGlow 8s infinite alternate-reverse ease-in-out;
    pointer-events: none;
}

@keyframes pulseGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 30px) scale(1.15);
    }
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 0.4rem 1.2rem;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 40%, hsl(250, 100%, 85%) 70%, hsl(340, 100%, 80%) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1.05rem, 2.5vw, 1.3rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 680px;
    margin: 0 auto 3rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 850px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 1.5rem;
    gap: 1.5rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--grad-sunset);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stat span {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: .08em;
}

@media(max-width: 640px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ---- Section Common Styles ---- */
section {
    padding: 6.5rem 0;
    position: relative;
}

section.alt {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-label {
    font-family: var(--font-heading);
    font-size: 0.825rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--brand);
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.section-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 4rem;
}

.text-center {
    text-align: center;
}

/* ---- Features Grid (Colorful Cards) ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--grad-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--brand-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--brand);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--brand);
    color: var(--white);
    transform: scale(1.05);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* ---- Horizontal Steps (How It Works) ---- */
.steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.25s ease;
}

.step:hover {
    background: var(--white);
    border-color: var(--brand);
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

.step-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--grad-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.25);
}

.step-body h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.step-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ---- 2 Column Layout ---- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 900px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .two-col>div:first-child {
        text-align: center;
    }
}

/* ---- Stunning CTA Band ---- */
.cta-band {
    background: var(--grad-dark);
    color: var(--white);
    text-align: center;
    padding: 6.5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 80%, rgba(244, 63, 94, 0.12), transparent 50%),
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.15), transparent 50%);
    pointer-events: none;
}

.cta-band h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.cta-band p {
    opacity: .85;
    margin-bottom: 2.5rem;
    font-size: 1.15rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-band .btn-accent {
    font-size: 1.05rem;
    padding: 0.9rem 2.5rem;
}

/* ---- Info / Testimonial Cards ---- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    position: relative;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}

.info-card .tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.725rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.tag-blue {
    background: var(--brand-light);
    color: var(--brand);
}

.tag-green {
    background: hsl(142, 70%, 96%);
    color: var(--success);
}

.tag-amber {
    background: hsl(38, 92%, 96%);
    color: var(--warning);
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.info-card p {
    font-size: 0.96rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ---- Inner Page Hero ---- */
.page-hero {
    background: var(--grad-dark);
    color: var(--white);
    padding: 5.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 60%, hsl(250, 100%, 85%) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    max-width: 580px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ---- Footer ---- */
.site-footer {
    background: hsl(222, 47%, 6%);
    color: rgba(255, 255, 255, 0.55);
    padding: 4.5rem 0 3.5rem;
    font-size: 0.92rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
}

.footer-logo span {
    color: var(--brand);
}

.footer-logo-img {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-logo-img:hover {
    opacity: 0.85;
}

.footer-logo-img img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    transition: all 0.2s ease;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateY(-1px);
}

.site-footer div:last-child {
    width: 100%;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.85rem;
}

/* ====================================================================
   How It Works - Inner Page Additions
   ==================================================================== */
.hiw-phase {
    border-left: 4px solid var(--brand);
    padding-left: 2rem;
    margin-bottom: 4.5rem;
    position: relative;
}

.hiw-phase::before {
    content: "";
    position: absolute;
    top: 0;
    left: -4px;
    width: 4px;
    height: 35px;
    background: var(--accent);
}

.hiw-phase-label {
    font-family: var(--font-heading);
    font-size: 0.775rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--brand);
    margin-bottom: 0.5rem;
}

.hiw-phase h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.hiw-phase>p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.detail-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.detail-step {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 1.5rem;
    align-items: flex-start;
}

.detail-step-num {
    width: 52px;
    height: 52px;
    background: var(--brand-light);
    color: var(--brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    flex-shrink: 0;
    border: 2px solid var(--brand);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.detail-step h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.detail-step p {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.detail-step .tip {
    margin-top: 0.75rem;
    background: var(--brand-opaque);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    color: var(--brand-dark);
    border-left: 3px solid var(--brand);
}

.detail-step .tip strong {
    font-weight: 700;
}

.flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 4.5rem 0;
}

.flow-node {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    text-align: center;
    min-width: 160px;
    box-shadow: var(--shadow);
    transition: all 0.25s ease;
}

.flow-node.highlight {
    border-color: var(--brand);
    background: var(--brand-light);
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.15);
}

.flow-node .fn-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 0.75rem;
    display: block;
    color: var(--brand);
}

.flow-node.highlight .fn-icon {
    color: var(--brand-dark);
}

.flow-node strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.flow-node span {
    font-size: 0.825rem;
    color: var(--text-muted);
}

.flow-arrow {
    font-size: 1.75rem;
    color: var(--brand);
    padding: 0 0.5rem;
    font-weight: 300;
}

@media (max-width: 820px) {
    .flow-diagram {
        flex-direction: column;
        gap: 1rem;
    }

    .flow-arrow {
        transform: rotate(90deg);
        padding: 0.5rem 0;
    }
}

/* ====================================================================
   Features - Mockup Components Visual Elements
   ==================================================================== */
.feature-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    padding: 6.5rem 0;
    border-bottom: 1px solid var(--border);
}

.feature-section:last-of-type {
    border-bottom: none;
}

.feature-section.reverse {
    direction: rtl;
}

.feature-section.reverse>* {
    direction: ltr;
}

@media (max-width: 900px) {
    .feature-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .feature-section.reverse {
        direction: ltr;
    }
}

.feature-visual {
    background: var(--brand-light);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: inset 0 0 40px rgba(99, 102, 241, 0.05);
}

.feature-visual.dark {
    background: var(--grad-dark);
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

.mock-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    border: 1px solid var(--border-light);
    transition: transform 0.25s ease;
}

.mock-card:hover {
    transform: scale(1.02);
}

.mock-card .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-green {
    background: var(--success);
    box-shadow: 0 0 8px var(--success);
}

.dot-amber {
    background: var(--warning);
    box-shadow: 0 0 8px var(--warning);
}

.dot-blue {
    background: var(--brand);
    box-shadow: 0 0 8px var(--brand);
}

.dot-red {
    background: hsl(340, 92%, 58%);
    box-shadow: 0 0 8px hsl(340, 92%, 58%);
}

.mock-card .label {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text);
}

.mock-card .sub {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.mock-card .val {
    margin-left: auto;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--brand);
    font-size: 0.88rem;
}

.mock-msg {
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.25rem;
    font-size: 0.88rem;
    max-width: 80%;
    line-height: 1.5;
}

.mock-msg.sent {
    background: var(--grad-primary);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.mock-msg.recv {
    background: var(--white);
    color: var(--text);
    border-bottom-left-radius: 2px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.mock-msgs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-text .section-label {
    margin-bottom: 0.75rem;
}

.feature-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.feature-text p {
    color: var(--text-muted);
    margin-bottom: 1.75rem;
    font-size: 1.02rem;
}

.feature-text ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.feature-text ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.feature-text ul li::before {
    content: "✓";
    color: var(--success);
    font-weight: 800;
    flex-shrink: 0;
    font-size: 1.1rem;
    margin-top: -1px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.25s ease;
}

.stat-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand);
}

.stat-box strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand);
    margin-bottom: 0.25rem;
}

.stat-box span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* ====================================================================
   Pricing - Toggle Switch & Cards
   ==================================================================== */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin: 1.5rem 0 3.5rem;
}

.billing-toggle span {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: color .2s;
}

.billing-toggle span.active {
    color: var(--brand);
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 32px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.toggle-track {
    position: absolute;
    inset: 0;
    background: var(--border-hover);
    border-radius: 100px;
    transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-thumb {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
}

.toggle-switch input:checked~.toggle-track {
    background: var(--brand);
}

.toggle-switch input:checked~.toggle-thumb {
    transform: translateX(28px);
}

.save-badge {
    display: inline-block;
    background: hsl(142, 70%, 95%);
    color: var(--success);
    font-size: 0.775rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    border: 1px solid hsl(142, 70%, 88%);
    margin-left: 0.25rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

@media (max-width: 960px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin: 0 auto;
        gap: 2.5rem;
    }
}

.plan-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2.25rem;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.plan-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
}

.plan-card.featured {
    border-color: var(--brand);
    box-shadow: 0 20px 45px rgba(99, 102, 241, 0.12);
    animation: floatCard 6s infinite alternate ease-in-out;
}

@keyframes floatCard {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-6px);
    }
}

.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad-primary);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.775rem;
    font-weight: 800;
    padding: 0.35rem 1.25rem;
    border-radius: 100px;
    white-space: nowrap;
    letter-spacing: .05em;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.25);
}

.plan-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 1rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.25rem;
}

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    align-self: flex-start;
    margin-top: 0.4rem;
}

.plan-price .amount {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    letter-spacing: -0.02em;
}

.plan-price .period {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.plan-billing-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    min-height: 1.2em;
}

.plan-billing-note.saving {
    color: var(--success);
    font-weight: 700;
}

.plan-limit {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.25rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    text-align: center;
}

.plan-limit span {
    color: var(--brand);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
}

.plan-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    margin-top: auto;
    /* Push features list to align buttons */
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.93rem;
    color: var(--text-muted);
}

.plan-features li .check {
    color: var(--success);
    font-weight: 800;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.compare-note {
    text-align: center;
    margin-top: 4.5rem;
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.compare-note strong {
    color: var(--text);
}

/* ====================================================================
   Interactive FAQ Accordion Component
   ==================================================================== */
.faq {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.faq-item.open {
    border-color: var(--brand);
}

.faq-q {
    padding: 1.5rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    transition: background 0.2s ease, color 0.2s ease;
    user-select: none;
}

.faq-q:hover {
    color: var(--brand);
}

.faq-item.open .faq-q {
    color: var(--brand);
    border-bottom: 1px dashed var(--border);
}

.faq-a {
    padding: 0 2rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.98rem;
    display: none;
    line-height: 1.75;
    background: var(--white);
}

.faq-item.open .faq-a {
    display: block;
    animation: slideFadeIn 0.3s ease;
}

.faq-chevron {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    color: var(--text-muted);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--brand);
}

@keyframes slideFadeIn {
    0% {
        opacity: 0;
        transform: translateY(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====================================================================
   Mobile Hamburger Nav & Responsiveness
   ==================================================================== */
.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: 1px solid transparent;
    cursor: pointer;
    padding: 10px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.nav-burger:hover {
    background: var(--brand-light);
    border-color: rgba(99, 102, 241, 0.15);
}

.nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animate burger icon to X */
.site-nav.nav-open .nav-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--brand);
}

.site-nav.nav-open .nav-burger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.site-nav.nav-open .nav-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--brand);
}

/* Dropdown mobile menu container */
.nav-mobile-menu {
    display: none;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 2rem 2rem;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    width: 100%;
    z-index: 99;
}

.nav-mobile-menu ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.nav-mobile-menu ul li a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-mobile-menu ul li:last-child a {
    border-bottom: none;
}

.nav-mobile-menu ul li a:hover,
.nav-mobile-menu ul li a.active {
    color: var(--brand);
    padding-left: 6px;
}

.nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nav-mobile-actions .btn {
    width: 100%;
    text-align: center;
}

/* Desktop-Mobile Breakpoints */
@media (max-width: 820px) {

    .nav-links,
    .nav-actions {
        display: none !important;
    }

    .nav-burger {
        display: flex;
    }

    .site-nav.nav-open .nav-mobile-menu {
        display: block;
        animation: slideFadeIn 0.25s ease-out;
    }
}