/* ============================================
   UBCRM Landing Page — Design System
   Theme: Purple (#8753b2) + Violet (#6366f1) + Lavender (#a855f7)
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --navy-50: #faf5ff;
    --navy-100: #f1e1fb;
    --navy-200: #ead2f9;
    --navy-300: #d8b4fe;
    --navy-400: #c084fc;
    --navy-500: #a855f7;
    --navy-600: #9333ea;
    --navy-700: #7e22ce;
    --navy-800: #8753b2;
    --navy-900: #581c87;

    --gold-50: #eef2ff;
    --gold-100: #e0e7ff;
    --gold-200: #c7d2fe;
    --gold-300: #a5b4fc;
    --gold-400: #818cf8;
    --gold-500: #6366f1;
    --gold-600: #4f46e5;
    --gold-700: #4338ca;

    --turquoise-50: #faf5ff;
    --turquoise-100: #f3e8ff;
    --turquoise-200: #e9d5ff;
    --turquoise-300: #d8b4fe;
    --turquoise-400: #c084fc;
    --turquoise-500: #a855f7;
    --turquoise-600: #9333ea;
    --turquoise-700: #7e22ce;

    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #ebeff4;
    --gray-200: #e9ecef;
    --gray-300: #d2d6da;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #252f40;
    --gray-900: #141727;

    --font-heading: 'Poppins', 'Inter', sans-serif;
    --font-body: 'Inter', 'Roboto', system-ui, sans-serif;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-glass: 0 8px 32px rgba(135, 83, 178, 0.18);

    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy-900);
}

/* --- Utility --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.section-header .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--navy-50);
    color: var(--navy-700);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    border: 1px solid var(--navy-100);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
    color: var(--white);
    box-shadow: 0 4px 14px rgba(30, 58, 95, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--navy-800);
    border: 2px solid var(--navy-200);
}

.btn-secondary:hover {
    border-color: var(--navy-800);
    background: var(--navy-50);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--navy-900);
    box-shadow: 0 4px 14px rgba(212, 165, 116, 0.4);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.55);
}

.btn-white {
    background: var(--white);
    color: var(--navy-800);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
    padding: 0.6rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--white);
    transition: color var(--transition);
}

.navbar.scrolled .navbar-brand {
    color: var(--navy-900);
}

.navbar-brand .brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--navy-900);
    font-weight: 800;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition);
    position: relative;
}

.navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-500);
    transition: width var(--transition);
}

.navbar-nav a:hover::after {
    width: 100%;
}

.navbar.scrolled .navbar-nav a {
    color: var(--gray-700);
}

.navbar.scrolled .navbar-nav a:hover {
    color: var(--navy-800);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-toggle {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    padding: 0.2rem;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition);
}

.navbar.scrolled .lang-toggle {
    background: var(--gray-50);
    border-color: var(--gray-200);
}

.lang-toggle button {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.7rem;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
}

.navbar.scrolled .lang-toggle button {
    color: var(--gray-600);
}

.lang-toggle button.active {
    background: var(--white);
    color: var(--navy-800);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled .lang-toggle button.active {
    background: var(--navy-800);
    color: var(--white);
}

.navbar-login {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all var(--transition);
}

.navbar.scrolled .navbar-login {
    background: var(--navy-800);
    color: var(--white);
    border-color: var(--navy-800);
}

.navbar-login:hover {
    background: rgba(255, 255, 255, 0.25);
}

.navbar.scrolled .navbar-login:hover {
    background: var(--navy-700);
}

/* Mobile menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

.navbar.scrolled .menu-toggle span {
    background: var(--navy-800);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 40%, var(--navy-600) 100%);
    overflow: hidden;
    padding-top: 5rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 160%;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle, rgba(32, 201, 151, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 165, 116, 0.15);
    color: var(--gold-300);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(212, 165, 116, 0.25);
    letter-spacing: 0.02em;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: var(--navy-200);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat .number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
}

.hero-stat .label {
    font-size: 0.85rem;
    color: var(--navy-300);
    margin-top: 0.2rem;
}

/* Hero visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-mockup {
    position: relative;
    width: 100%;
    max-width: 520px;
}

.hero-mockup .dashboard-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-glass);
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.dashboard-header h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
}

.dashboard-header .status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(32, 201, 151, 0.2);
    color: var(--turquoise-300);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
}

.dashboard-header .status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--turquoise-400);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

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

.mini-stat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
}

.mini-stat .value {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
}

.mini-stat .desc {
    font-size: 0.7rem;
    color: var(--navy-300);
    margin-top: 0.25rem;
}

.dashboard-chart {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    height: 120px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.chart-bar {
    flex: 1;
    border-radius: 3px 3px 0 0;
    transition: height 1s ease;
}

.chart-bar:nth-child(odd) {
    background: linear-gradient(to top, var(--gold-500), var(--gold-400));
}

.chart-bar:nth-child(even) {
    background: linear-gradient(to top, var(--turquoise-500), var(--turquoise-400));
}

/* Floating cards */
.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 0.8rem 1.1rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    animation: float 6s ease-in-out infinite;
    z-index: 3;
}

.float-card .icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.float-card .text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--navy-900);
}

.float-card .text small {
    display: block;
    font-weight: 400;
    color: var(--gray-500);
    font-size: 0.65rem;
}

.float-card-1 {
    top: 10%;
    right: -5%;
    animation-delay: 0s;
}

.float-card-1 .icon {
    background: linear-gradient(135deg, var(--turquoise-100), var(--turquoise-50));
    color: var(--turquoise-600);
}

.float-card-2 {
    bottom: 15%;
    left: -5%;
    animation-delay: 2s;
}

.float-card-2 .icon {
    background: linear-gradient(135deg, var(--gold-100), var(--gold-50));
    color: var(--gold-600);
}

.float-card-3 {
    top: 45%;
    right: -10%;
    animation-delay: 4s;
}

.float-card-3 .icon {
    background: linear-gradient(135deg, var(--navy-100), var(--navy-50));
    color: var(--navy-700);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* --- Trusted By / Logo Strip --- */
.trusted {
    background: var(--gray-50);
    padding: 3rem 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.trusted p {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.trusted-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.5;
}

.trusted-logos span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--gray-500);
}

/* --- Features Section --- */
.features {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--navy-800), var(--gold-500));
    opacity: 0;
    transition: opacity var(--transition);
}

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

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

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.feature-icon.navy {
    background: var(--navy-50);
    color: var(--navy-700);
}

.feature-icon.gold {
    background: var(--gold-50);
    color: var(--gold-600);
}

.feature-icon.turquoise {
    background: var(--turquoise-50);
    color: var(--turquoise-600);
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.feature-card .feature-modules {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 1rem;
}

.feature-card .feature-modules span {
    font-size: 0.7rem;
    background: var(--gray-50);
    color: var(--gray-600);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-200);
}

/* --- Module Showcase --- */
.modules {
    background: var(--navy-900);
    position: relative;
    overflow: hidden;
}

.modules::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 165, 116, 0.06), transparent 70%);
    pointer-events: none;
}

.modules .section-header h2 {
    background: linear-gradient(135deg, var(--white), var(--navy-200));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modules .section-header p {
    color: var(--navy-300);
}

.modules .section-header .badge {
    background: rgba(212, 165, 116, 0.15);
    color: var(--gold-300);
    border-color: rgba(212, 165, 116, 0.2);
}

.module-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.module-tab {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--navy-300);
    cursor: pointer;
    transition: all var(--transition);
}

.module-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.module-tab.active {
    background: var(--gold-500);
    color: var(--navy-900);
    border-color: var(--gold-500);
}

.module-panel {
    display: none;
}

.module-panel.active {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.module-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    transition: all var(--transition);
}

.module-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 165, 116, 0.3);
    transform: translateY(-2px);
}

.module-item .mod-icon {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
}

.module-item h4 {
    font-size: 0.9rem;
    color: var(--white);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.module-item p {
    font-size: 0.75rem;
    color: var(--navy-300);
    line-height: 1.5;
}

/* --- How It Works --- */
.how-it-works {
    background: var(--white);
}

.steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.steps-row::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--navy-200), var(--gold-400), var(--turquoise-400));
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

.step-card:nth-child(1) .step-number {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
    color: var(--white);
}

.step-card:nth-child(2) .step-number {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--navy-900);
}

.step-card:nth-child(3) .step-number {
    background: linear-gradient(135deg, var(--turquoise-500), var(--turquoise-400));
    color: var(--white);
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    max-width: 280px;
    margin: 0 auto;
}

/* --- Pricing --- */
.pricing {
    background: var(--gray-50);
}

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

.pricing-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    transition: all var(--transition);
    position: relative;
}

.pricing-card.popular {
    border-color: var(--navy-800);
    box-shadow: var(--shadow-xl);
    transform: scale(1.04);
    z-index: 2;
}

.pricing-card.popular::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy-800), var(--gold-500));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.pricing-popular-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.pricing-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.pricing-card .price-desc {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

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

.price .currency {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy-800);
}

.price .amount {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--navy-900);
    line-height: 1;
}

.price .period {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.pricing-card .price-note {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--gray-700);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li .check {
    color: var(--turquoise-500);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

/* --- Testimonials --- */
.testimonials {
    background: var(--white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.testimonial-stars {
    color: var(--gold-500);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
}

.testimonial-author .name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--navy-900);
}

.testimonial-author .role {
    font-size: 0.78rem;
    color: var(--gray-500);
}

/* --- FAQ --- */
.faq {
    background: var(--gray-50);
}

.faq-grid {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item:hover {
    border-color: var(--navy-200);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy-900);
    text-align: left;
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--navy-700);
}

.faq-question .arrow {
    font-size: 1.2rem;
    transition: transform var(--transition);
    color: var(--gray-400);
    flex-shrink: 0;
}

.faq-item.open .faq-question .arrow {
    transform: rotate(180deg);
    color: var(--navy-800);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* --- CTA Banner --- */
.cta-banner {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    background: none;
    -webkit-text-fill-color: var(--white);
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--navy-200);
    margin-bottom: 2rem;
}

.cta-content .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .brand-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand .brand-name .brand-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--navy-900);
    font-weight: 800;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--gray-500);
}

.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.footer-column a {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-500);
    padding: 0.35rem 0;
    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--gold-400);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--gray-500);
    transition: all var(--transition);
}

.footer-socials a:hover {
    background: var(--gold-500);
    color: var(--navy-900);
    border-color: var(--gold-500);
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero p {
        max-width: 100%;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .module-panel.active {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .pricing-card.popular {
        transform: none;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    html {
        overflow-x: hidden;
    }

    body {
        overflow-x: hidden;
    }

    .navbar-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--gray-200);
        z-index: 100;
    }

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

    .navbar-nav a {
        color: var(--gray-700) !important;
        padding: 0.6rem 0;
        font-size: 1rem;
    }

    .menu-toggle {
        display: flex;
    }

    /* Hide lang-toggle & login on mobile navbar — move into hamburger */
    .navbar-actions .lang-toggle,
    .navbar-actions .btn {
        display: none;
    }

    .section {
        padding: 3rem 0;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .hero {
        min-height: auto;
        padding: 7rem 0 3rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .hero-ctas .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .module-panel.active {
        grid-template-columns: 1fr;
    }

    .module-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .module-tab {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .module-feature-list {
        grid-template-columns: 1fr;
    }

    /* Pricing section - stack cards */
    .pricing-cards,
    .pricing-grid {
        display: flex !important;
        flex-direction: column;
        gap: 1.25rem;
    }

    .pricing-card {
        max-width: 100%;
    }

    .steps-row {
        grid-template-columns: 1fr;
    }

    .steps-row::before {
        display: none;
    }

    .cta-content h2 {
        font-size: 1.6rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .trusted-logos {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .trusted-logos span {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 6rem 0 2.5rem;
    }

    .hero h1 {
        font-size: 1.65rem;
    }

    .hero p {
        font-size: 0.85rem;
    }

    .btn {
        font-size: 0.85rem;
    }

    .btn-lg {
        padding: 0.8rem 1.25rem;
        font-size: 0.9rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .module-tabs {
        gap: 0.3rem;
    }

    .module-tab {
        font-size: 0.7rem;
        padding: 0.4rem 0.7rem;
    }

    .pricing-card {
        padding: 1.25rem;
    }

    .cta-content h2 {
        font-size: 1.35rem;
    }
}

@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.4rem;
    }

    .navbar-brand {
        font-size: 1rem;
    }

    .brand-icon {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
}