:root {
    /* ─── Color Palette ────────────────────────── */
    --primary:        #1565C0;
    --primary-dark:   #0D47A1;
    --primary-light:  #42A5F5;
    --secondary:      #00C853;
    --secondary-dark: #009624;
    --accent:         #7C4DFF;
    --accent-light:   #B388FF;
    --navy:           #0A1628;
    --navy-light:     #162447;
    --dark:           #1A1A2E;
    --gray-900:       #212529;
    --gray-800:       #343A40;
    --gray-700:       #495057;
    --gray-600:       #6C757D;
    --gray-400:       #ADB5BD;
    --gray-300:       #DEE2E6;
    --gray-200:       #E9ECEF;
    --gray-100:       #F0F4F8;
    --white:          #FFFFFF;
    --danger:         #E53935;
    --warning:        #FFB300;
    --info:           #039BE5;
    --success:        #00C853;

    /* ─── Gradients ────────────────────────────── */
    --grad-hero:      linear-gradient(135deg, #0A1628 0%, #1A365D 50%, #1565C0 100%);
    --grad-cta:       linear-gradient(135deg, #1565C0, #00C853);
    --grad-card:      linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --grad-accent:    linear-gradient(135deg, #7C4DFF, #448AFF);
    --grad-warm:      linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --grad-ocean:     linear-gradient(135deg, #0A1628, #1565C0);

    /* ─── Typography ───────────────────────────── */
    --font-main:      'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-heading:   'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-mono:      'Cascadia Code', 'Consolas', monospace;

    /* ─── Spacing ──────────────────────────────── */
    --section-pad:    100px 0;
    --container-max:  1280px;

    /* ─── Effects ──────────────────────────────── */
    --shadow-sm:      0 2px 8px rgba(0,0,0,0.08);
    --shadow-md:      0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg:      0 8px 40px rgba(0,0,0,0.16);
    --shadow-xl:      0 12px 60px rgba(0,0,0,0.20);
    --shadow-glow:    0 0 30px rgba(21,101,192,0.3);
    --shadow-card:    0 10px 40px rgba(0,0,0,0.08);
    --radius-sm:      8px;
    --radius-md:      12px;
    --radius-lg:      20px;
    --radius-xl:      28px;
    --radius-full:    50%;
    --transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & Base ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-main);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width:100%; height:auto; display:block; }

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--gray-900);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; color: var(--gray-700); }

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Buttons ───────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: var(--grad-cta);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(21,101,192,0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(21,101,192,0.5);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
}
.btn-outline-dark {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
}
.btn-outline-dark:hover {
    background: var(--gray-100);
    border-color: var(--gray-500);
    color: var(--gray-900);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-dark);
}

.btn-dark {
    background: var(--navy);
    color: var(--white);
}
.btn-dark:hover {
    background: var(--navy-light);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg { padding: 18px 40px; font-size: 1.1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ─── Badge ─────────────────────────────────────── */
.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.badge-primary { background: rgba(21,101,192,0.1); color: var(--primary); }
.badge-success { background: rgba(0,200,83,0.1); color: var(--secondary-dark); }
.badge-accent  { background: rgba(124,77,255,0.1); color: var(--accent); }

/* ─── Section Helpers ───────────────────────────── */
.section { padding: var(--section-pad); }
.section-gray { background: var(--gray-100); }
.section-dark { background: var(--navy); color: var(--white); }

/* ─── Decorative Section Gradients ──────────────── */
.section-grad-blue {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 40%, #f5f0ff 100%);
    position: relative;
}
.section-grad-blue::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(21,101,192,0.04) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(124,77,255,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-grad-green {
    background: linear-gradient(135deg, #f0fff4 0%, #e8f5e9 40%, #f0f9ff 100%);
    position: relative;
}
.section-grad-green::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 75% 30%, rgba(0,200,83,0.05) 0%, transparent 55%),
                radial-gradient(ellipse at 25% 70%, rgba(0,150,136,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-grad-purple {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 40%, #fce4ec 100%);
    position: relative;
}
.section-grad-purple::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 60% 30%, rgba(124,77,255,0.04) 0%, transparent 55%),
                radial-gradient(ellipse at 20% 80%, rgba(233,30,99,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-grad-warm {
    background: linear-gradient(135deg, #fff8f0 0%, #fff3e0 40%, #fff9f0 100%);
    position: relative;
}
.section-grad-warm::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 70% 40%, rgba(255,152,0,0.04) 0%, transparent 55%),
                radial-gradient(ellipse at 30% 70%, rgba(255,87,34,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-grad-ocean {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 40%, #f0fff4 100%);
    position: relative;
}
.section-grad-ocean::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(0,150,136,0.04) 0%, transparent 55%),
                radial-gradient(ellipse at 80% 80%, rgba(21,101,192,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-grad-rose {
    background: linear-gradient(135deg, #fff5f7 0%, #fce4ec 40%, #faf5ff 100%);
    position: relative;
}
.section-grad-rose::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 40% 30%, rgba(233,30,99,0.04) 0%, transparent 55%),
                radial-gradient(ellipse at 70% 70%, rgba(156,39,176,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-grad-mint {
    background: linear-gradient(135deg, #f0fff4 0%, #e0f7fa 40%, #f0f4ff 100%);
    position: relative;
}
.section-grad-mint::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 30% 40%, rgba(0,200,83,0.04) 0%, transparent 55%),
                radial-gradient(ellipse at 80% 60%, rgba(0,188,212,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-grad-sunset {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 30%, #fff3e0 70%, #fce4ec 100%);
    position: relative;
}
.section-grad-sunset::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(255,152,0,0.05) 0%, transparent 55%),
                radial-gradient(ellipse at 20% 80%, rgba(233,30,99,0.03) 0%, transparent 50%);
    pointer-events: none;
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.75); }

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}
.section-header .badge { margin-bottom: 16px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; color: var(--gray-600); }

.section-header-light h2 { color: var(--white); }
.section-header-light p { color: rgba(255,255,255,0.7); }
.section-header-light .badge { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.18); }

/* ─── Wave Divider ──────────────────────────────── */
.wave-divider {
    position: relative;
    overflow: hidden;
    line-height: 0;
}
.wave-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* ════════════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(10,22,40,0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    padding: 10px 0;
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}
.navbar-brand:hover { color: var(--white); }
.navbar-brand .logo-icon {
    width: 42px;
    height: 42px;
    background: var(--grad-cta);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    font-weight: 900;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}
.navbar-nav a {
    color: rgba(255,255,255,0.8);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}
.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}
.navbar-nav .btn-primary {
    color: var(--white);
    padding: 10px 24px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}
.mobile-toggle span {
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ════════════════════════════════════════════════════
   HERO SECTION
   ════════════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--grad-hero);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(21,101,192,0.3), transparent 70%);
    animation: pulse-slow 8s ease-in-out infinite;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,200,83,0.15), transparent 70%);
    animation: pulse-slow 10s ease-in-out infinite reverse;
}

@keyframes pulse-slow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

/* Grid patterns */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.15;
}
.hero-content h1 .gradient-text,
.gradient-text {
    background: var(--grad-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-content .hero-subtitle {
    color: rgba(255,255,255,0.75);
    font-size: 1.2rem;
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 520px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}
.hero-stat {
    text-align: center;
}
.hero-stat .number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}
.hero-stat .label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Visual (right side) */
.hero-visual {
    position: relative;
}
.hero-dashboard {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 24px;
    backdrop-filter: blur(10px);
}
.hero-dashboard-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.dash-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.dash-dot.red { background: #ff5f57; }
.dash-dot.yellow { background: #ffbd2e; }
.dash-dot.green { background: #28c840; }
.dash-title {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    margin-left: 8px;
}

.hero-modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.hero-module-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 16px 12px;
    text-align: center;
    transition: var(--transition);
}
.hero-module-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}
.hero-module-card .icon {
    font-size: 1.6rem;
    margin-bottom: 6px;
    display: block;
}
.hero-module-card .name {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

/* Floating badges near hero */
.hero-float {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    animation: float 6s ease-in-out infinite;
    z-index: 5;
}
.hero-float .icon { font-size: 1.4rem; }
.hero-float-1 { top: 20%; right: -20px; animation-delay: 0s; }
.hero-float-2 { bottom: 20%; left: -20px; animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* ════════════════════════════════════════════════════
   TRUST BAR
   ════════════════════════════════════════════════════ */
.trust-bar {
    background: transparent;
    padding: 40px 0;
    border-bottom: 1px solid var(--gray-200);
}
.trust-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-600);
    font-size: 0.95rem;
    font-weight: 500;
}
.trust-item .icon {
    font-size: 1.4rem;
    color: var(--secondary);
}

/* ════════════════════════════════════════════════════
   FEATURES / WHY SECTION
   ════════════════════════════════════════════════════ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad-cta);
    opacity: 0;
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}
.feature-icon.blue   { background: rgba(21,101,192,0.1); color: var(--primary); }
.feature-icon.green  { background: rgba(0,200,83,0.1); color: var(--secondary); }
.feature-icon.purple { background: rgba(124,77,255,0.1); color: var(--accent); }
.feature-icon.orange { background: rgba(255,152,0,0.1); color: #FF9800; }
.feature-icon.red    { background: rgba(229,57,53,0.1); color: var(--danger); }
.feature-icon.teal   { background: rgba(0,150,136,0.1); color: #009688; }

.feature-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.feature-card p { font-size: 0.95rem; color: var(--gray-600); margin: 0; }

/* ════════════════════════════════════════════════════
   MODULES SHOWCASE
   ════════════════════════════════════════════════════ */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.module-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.module-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary-light);
}
.module-card .module-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
}
.module-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.module-card p { font-size: 0.9rem; color: var(--gray-600); margin-bottom: 16px; }
.module-card .module-features {
    list-style: none;
    padding: 0;
}
.module-card .module-features li {
    font-size: 0.85rem;
    color: var(--gray-600);
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}
.module-card .module-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

/* ════════════════════════════════════════════════════
   STATS COUNTER BAR
   ════════════════════════════════════════════════════ */
.stats-section {
    background: var(--grad-ocean);
    padding: 80px 0;
    position: relative;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 8px;
}
.stat-item .stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ════════════════════════════════════════════════════
   PRICING
   ════════════════════════════════════════════════════ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
}
.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}
.pricing-card.featured .pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad-cta);
    color: white;
    padding: 6px 24px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pricing-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.pricing-card .plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.pricing-card .plan-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.1;
    margin-bottom: 4px;
}
.pricing-card .plan-price span { font-size: 1rem; font-weight: 500; color: var(--gray-600); }
.pricing-card .plan-desc {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}
.pricing-features li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    font-size: 0.95rem;
    color: var(--gray-700);
}
.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 800;
    font-size: 1.1rem;
}
.pricing-features li.disabled {
    color: var(--gray-400);
    text-decoration: line-through;
}
.pricing-features li.disabled::before {
    content: '✗';
    color: var(--gray-400);
}

.pricing-card .btn { width: 100%; justify-content: center; }

/* ════════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════════ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.testimonial-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}
.testimonial-stars {
    color: #FFB300;
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 20px;
    line-height: 1.7;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad-cta);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
}
.testimonial-info .name { font-weight: 700; color: var(--gray-900); font-size: 0.95rem; }
.testimonial-info .role { font-size: 0.8rem; color: var(--gray-600); }

/* ════════════════════════════════════════════════════
   CTA SECTION
   ════════════════════════════════════════════════════ */
.cta-section {
    background: var(--grad-hero);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(21,101,192,0.2), transparent 60%);
}
.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
}
.cta-section p {
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
    margin-bottom: 36px;
    position: relative;
}
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* ════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════ */
.footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}
.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 360px;
    color: rgba(255,255,255,0.7);
}
.footer h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.85rem;
    margin-top: 20px;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* ════════════════════════════════════════════════════
   FORMS
   ════════════════════════════════════════════════════ */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--gray-700);
}
.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-main);
    transition: var(--transition);
    background: var(--white);
    color: var(--gray-900);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(21,101,192,0.1);
}
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23495057'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Flash messages */
.flash {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-weight: 500;
    font-size: 0.95rem;
}
.flash-success { background: rgba(0,200,83,0.1); color: #1B5E20; border: 1px solid rgba(0,200,83,0.3); }
.flash-error   { background: rgba(229,57,53,0.1); color: #B71C1C; border: 1px solid rgba(229,57,53,0.3); }

/* ════════════════════════════════════════════════════
   PAGE HEADERS (inner pages)
   ════════════════════════════════════════════════════ */
.page-header {
    background: var(--grad-hero);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.page-header h1 { color: var(--white); margin-bottom: 16px; position: relative; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.page-header p { color: rgba(255,255,255,0.8); font-size: 1.15rem; position: relative; max-width: 600px; margin: 0 auto; text-shadow: 0 1px 4px rgba(0,0,0,0.2); }
/* Badges on dark hero/header backgrounds — override light-bg badge styles */
.page-header .badge,
.mlp-hero .badge,
.module-hero-v2 .badge { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.18); }

/* ════════════════════════════════════════════════════
   MODULE DETAIL PAGE
   ════════════════════════════════════════════════════ */
.module-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid var(--gray-200);
}
.module-detail:nth-child(even) { direction: rtl; }
.module-detail:nth-child(even) > * { direction: ltr; }

.module-detail .module-icon-large {
    font-size: 4rem;
    margin-bottom: 16px;
    display: block;
}
.module-detail h3 { font-size: 1.8rem; margin-bottom: 12px; }
.module-detail .desc { font-size: 1.05rem; color: var(--gray-600); margin-bottom: 24px; }
.module-detail .features-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
}
.module-detail .features-list li {
    padding: 6px 0 6px 24px;
    position: relative;
    font-size: 0.95rem;
    color: var(--gray-700);
}
.module-detail .features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

.module-visual {
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    font-size: 5rem;
}

/* ─── Module Nav Pills ─────────────────────────── */
.module-nav-pill {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid var(--gray-200);
}
.module-nav-pill:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ─── Module Detail Sections ───────────────────── */
.module-detail-section { padding: var(--section-pad); }
.module-detail-section.alt-bg { background: var(--gray-50); }

.module-detail-section .module-detail {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    padding: 0;
    border: none;
}
.module-detail-section .module-detail.reverse {
    grid-template-columns: 0.8fr 1.2fr;
    direction: rtl;
}
.module-detail-section .module-detail.reverse > * { direction: ltr; }

.md-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}
.md-content h2 { font-size: 2rem; margin-bottom: 12px; }
.md-desc { font-size: 1.05rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 28px; }

.md-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}
.md-feat {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.md-check {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    background: rgba(0,200,83,0.1);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    margin-top: 2px;
}
.md-feat strong { display: block; font-size: 0.95rem; color: var(--gray-900); margin-bottom: 2px; }
.md-feat span { font-size: 0.85rem; color: var(--gray-600); }

.md-tables {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.md-table-badge {
    background: rgba(21,101,192,0.08);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
}

/* ─── Module Screenshot Mockup ─────────────────── */
.md-screenshot {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.md-ss-header {
    padding: 12px 16px;
    background: var(--navy);
    color: rgba(255,255,255,0.6);
    font-size: 0.78rem;
    font-weight: 600;
}
.md-ss-body {
    padding: 20px;
}
.md-ss-body .md-ss-stat {
    display: inline-block;
    width: calc(33.33% - 10px);
    text-align: center;
    padding: 12px 0;
    vertical-align: top;
}
.md-ss-val { font-size: 1.4rem; font-weight: 800; line-height: 1.2; }
.md-ss-lbl { font-size: 0.7rem; color: var(--gray-600); margin-top: 2px; }

.md-ss-list { margin-top: 16px; }
.md-ss-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: var(--gray-50);
    border-radius: 8px;
    margin-bottom: 6px;
    font-size: 0.8rem;
    color: var(--gray-700);
}
.status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.status-dot.green { background: var(--green); }
.status-dot.blue { background: var(--blue); }
.status-dot.orange { background: #ff9800; }
.status-dot.red { background: var(--danger); }

.md-ss-tag {
    margin-left: auto;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 50px;
    white-space: nowrap;
}
.md-ss-tag.green { background: rgba(0,200,83,0.1); color: #1B5E20; }
.md-ss-tag.blue { background: rgba(21,101,192,0.1); color: var(--primary); }
.md-ss-tag.orange { background: rgba(255,152,0,0.1); color: #E65100; }
.md-ss-tag.red { background: rgba(229,57,53,0.1); color: #B71C1C; }

/* ═══════════════════════════════════════════════════
   ABOUT PAGE (enhanced)
   ═══════════════════════════════════════════════════ */
.about-story {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 50px;
    align-items: center;
}
.about-story-content .badge { margin-bottom: 16px; }
.about-story-content h2 { margin-bottom: 16px; }
.about-story-content p { color: var(--gray-600); margin-bottom: 16px; line-height: 1.8; }

.story-stat-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    box-shadow: var(--shadow-lg);
}
.story-stat { text-align: center; }
.ss-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    background: var(--grad-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ss-label {
    display: block;
    font-size: 0.78rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.value-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.timeline-year {
    display: inline-block;
    background: rgba(21,101,192,0.08);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 8px;
}

/* ─── Why Choose Us Grid ───────────────────────── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.why-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.why-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}
.why-num {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--grad-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
}
.why-item h4 { margin-bottom: 8px; }
.why-item p { font-size: 0.9rem; color: var(--gray-600); margin: 0; }

/* ─── Pricing Comparison Table ─────────────────── */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.comparison-table th {
    background: var(--navy);
    color: white;
    padding: 14px 16px;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 600;
}
.comparison-table th:first-child { text-align: left; }
.comparison-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.9rem;
    text-align: center;
}
.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--gray-800);
}
.comparison-table tr:hover td { background: var(--gray-50); }
.comparison-table .check { color: var(--green); font-weight: 800; }
.comparison-table .cross { color: var(--gray-400); }

/* ─── Demo page specific ──────────────────────── */
.demo-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
}
.demo-benefits h3 { margin-bottom: 24px; }
.demo-benefit-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.demo-benefit-item .db-icon {
    width: 40px; height: 40px; min-width: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.demo-benefit-item strong { display: block; margin-bottom: 2px; }
.demo-benefit-item span { font-size: 0.88rem; color: var(--gray-600); }

/* ════════════════════════════════════════════════════
   ABOUT PAGE
   ════════════════════════════════════════════════════ */
.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.value-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}
.value-card .icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}
.value-card h3 { margin-bottom: 10px; }

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0; bottom: 0;
    width: 3px;
    background: var(--grad-cta);
    border-radius: 2px;
}
.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
}
.timeline-item:nth-child(odd) { flex-direction: row-reverse; text-align: right; }
.timeline-content {
    flex: 1;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}
.timeline-content h4 { color: var(--primary); margin-bottom: 6px; }
.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

/* ════════════════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}
.contact-info-card {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-200);
}
.contact-info-card .icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(21,101,192,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.contact-info-card h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-info-card p { margin: 0; font-size: 0.9rem; }

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

/* ════════════════════════════════════════════════════
   ADMIN PANEL
   ════════════════════════════════════════════════════ */
.admin-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
}
.admin-sidebar {
    background: var(--navy);
    padding: 24px 0;
    color: var(--white);
}
.admin-sidebar .brand {
    padding: 0 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.admin-sidebar .brand .logo-icon {
    width: 32px; height: 32px;
    background: var(--grad-cta);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
}
.admin-nav {
    list-style: none;
    padding: 16px 0;
}
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}
.admin-nav a:hover, .admin-nav a.active {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}
.admin-nav .icon { font-size: 1.1rem; }

.admin-main {
    background: var(--gray-100);
    padding: 32px;
}
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}
.admin-header h1 { font-size: 1.8rem; }

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}
.admin-stat-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 16px;
}
.admin-stat-card .icon,
.admin-stat-card .asc-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.admin-stat-card .number,
.admin-stat-card .asc-number { font-size: 2rem; font-weight: 800; color: var(--gray-900); line-height: 1.2; }
.admin-stat-card .label,
.admin-stat-card .asc-label { font-size: 0.85rem; color: var(--gray-600); }

.admin-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    overflow: hidden;
}
.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-200);
}
.admin-card-header h3 { font-size: 1.1rem; margin: 0; }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.admin-table th {
    background: var(--navy);
    color: var(--white);
    padding: 14px 16px;
    text-align: left;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.admin-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.9rem;
}
.admin-table tr:hover { background: var(--gray-100); }

.status-badge {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}
.status-new { background: rgba(3,155,229,0.1); color: #0277BD; }
.status-contacted { background: rgba(255,152,0,0.1); color: #E65100; }
.status-converted { background: rgba(0,200,83,0.1); color: #1B5E20; }
.status-demo_scheduled { background: rgba(124,77,255,0.1); color: #4A148C; }
.status-demo_done { background: rgba(0,150,136,0.1); color: #004D40; }
.status-negotiation { background: rgba(255,179,0,0.1); color: #E65100; }
.status-won { background: rgba(0,200,83,0.15); color: #1B5E20; }
.status-lost { background: rgba(229,57,53,0.1); color: #B71C1C; }
.status-read { background: rgba(21,101,192,0.1); color: #0D47A1; }
.status-replied { background: rgba(0,200,83,0.1); color: #1B5E20; }
.status-closed { background: rgba(108,117,125,0.1); color: #495057; }

/* Login page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-hero);
}
.login-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-xl);
}
.login-card h2 { text-align: center; margin-bottom: 8px; }
.login-card .subtitle { text-align: center; color: var(--gray-600); margin-bottom: 32px; }
.login-card .btn { width: 100%; }

/* ════════════════════════════════════════════════════
   COLOR ALIASES (for inline styles)
   ════════════════════════════════════════════════════ */
:root {
    --blue: #1565C0;
    --green: #00C853;
    --purple: #7C4DFF;
}

/* ════════════════════════════════════════════════════
   HERO ENHANCEMENTS
   ════════════════════════════════════════════════════ */
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}
.hero-orb-1 {
    width: 500px; height: 500px;
    top: -150px; right: -100px;
    background: rgba(21,101,192,0.25);
    animation: pulse-slow 8s ease-in-out infinite;
}
.hero-orb-2 {
    width: 400px; height: 400px;
    bottom: -120px; left: -80px;
    background: rgba(0,200,83,0.15);
    animation: pulse-slow 10s ease-in-out infinite reverse;
}
.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    padding: 8px 20px;
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}
.hero-text { position: relative; z-index: 2; }

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.hero-actions .btn-primary .btn-arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.hero-actions .btn-primary:hover .btn-arrow { transform: translateX(4px); }

.hero-stats-row {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}
.hero-stat span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ─── Dashboard Mockup ─────────────────────────── */
.dashboard-mockup {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.mockup-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mockup-dots {
    display: flex;
    gap: 6px;
}
.mockup-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.mockup-title {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    margin-left: 8px;
}
.mockup-body {
    display: grid;
    grid-template-columns: 140px 1fr;
    min-height: 280px;
}
.mockup-sidebar {
    background: rgba(0,0,0,0.15);
    padding: 12px 0;
    border-right: 1px solid rgba(255,255,255,0.06);
}
.mock-nav-item {
    padding: 8px 14px;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.45);
    cursor: default;
    transition: 0.2s ease;
}
.mock-nav-item.active {
    color: white;
    background: rgba(21,101,192,0.3);
    border-left: 2px solid var(--primary);
}
.mockup-main {
    padding: 16px;
}
.mock-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.mock-stat-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 10px 12px;
}
.mock-stat-val { font-size: 1rem; font-weight: 800; }
.mock-stat-lbl { font-size: 0.6rem; color: rgba(255,255,255,0.4); margin-top: 2px; }

.mock-chart {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 12px;
}
.mock-chart-title {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 10px;
}
.mock-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 60px;
}
.mock-bar {
    flex: 1;
    background: var(--grad-cta);
    border-radius: 3px 3px 0 0;
    min-width: 8px;
    opacity: 0.8;
    transition: opacity 0.3s;
}
.mock-bar:hover { opacity: 1; }

/* ─── Floating Badges ──────────────────────────── */
.floating-badge {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 5;
    animation: float 6s ease-in-out infinite;
}
.floating-badge.badge-1 { top: 15%; right: -30px; animation-delay: 0s; }
.floating-badge.badge-2 { bottom: 20%; left: -20px; animation-delay: 2s; }
.fb-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.floating-badge strong { font-size: 0.85rem; color: var(--gray-900); display: block; }
.floating-badge small { font-size: 0.72rem; color: var(--gray-600); }

/* ─── Trust Bar Enhancements ───────────────────── */
.trust-label {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}
.trust-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.trust-logo-item {
    font-size: 0.95rem;
    color: var(--gray-600);
    font-weight: 500;
    white-space: nowrap;
}

/* ─── Dark Module Cards (on navy bg) ───────────── */
.modules-section .module-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    text-decoration: none;
    display: block;
}
.modules-section .module-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(21,101,192,0.4);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.modules-section .module-card h4 { color: white; margin-bottom: 8px; }
.modules-section .module-card p { color: rgba(255,255,255,0.6); font-size: 0.88rem; margin-bottom: 12px; }
.module-link {
    font-size: 0.82rem;
    color: var(--primary-light);
    font-weight: 600;
}

/* ════════════════════════════════════════════════════
   STEPS / HOW IT WORKS
   ════════════════════════════════════════════════════ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.step-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--gray-200);
    position: relative;
    transition: var(--transition);
}
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}
.step-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--grad-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}
.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.step-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 16px;
}
.step-duration {
    display: inline-block;
    background: rgba(21,101,192,0.08);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
}

/* ════════════════════════════════════════════════════
   COMPLIANCE SECTION
   ════════════════════════════════════════════════════ */
.compliance-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.compliance-content .badge {
    margin-bottom: 16px;
}
.compliance-content h2 {
    margin-bottom: 16px;
}
.compliance-content > p {
    color: var(--gray-600);
    margin-bottom: 32px;
}
.compliance-list {
    list-style: none;
    padding: 0;
}
.compliance-list li {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.check-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: rgba(0,200,83,0.1);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    margin-top: 2px;
}
.compliance-list li strong {
    display: block;
    font-size: 0.95rem;
    color: var(--gray-900);
    margin-bottom: 2px;
}
.compliance-list li span {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.compliance-visual {
    display: flex;
    justify-content: center;
}
.compliance-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 32px;
    width: 100%;
    max-width: 380px;
    box-shadow: var(--shadow-lg);
}
.compliance-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.compliance-card-header strong {
    font-size: 1.05rem;
    color: var(--gray-900);
}
.compliance-score {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--grad-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 24px;
}
.compliance-bars {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cbar span {
    font-size: 0.78rem;
    color: var(--gray-600);
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
}
.cbar-track {
    height: 8px;
    background: var(--gray-200);
    border-radius: 50px;
    overflow: hidden;
}
.cbar-fill {
    height: 100%;
    border-radius: 50px;
    transition: width 1.5s ease;
}

/* ════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.faq-item:hover {
    box-shadow: var(--shadow-card);
    border-color: var(--primary-light);
}
.faq-item h4 {
    font-size: 1.05rem;
    color: var(--gray-900);
    margin-bottom: 10px;
}
.faq-item p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
}

/* ════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ════════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-content .hero-subtitle { margin: 0 auto 32px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-stats-row { justify-content: center; }
    .hero-actions { justify-content: center; }
    .hero-visual { display: none; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card.featured { transform: none; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .module-detail { grid-template-columns: 1fr; gap: 30px; }
    .module-detail:nth-child(even) { direction: ltr; }
    .contact-grid { grid-template-columns: 1fr; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .compliance-row { grid-template-columns: 1fr; gap: 40px; }
    .faq-grid { grid-template-columns: 1fr; }
    .module-detail-section .module-detail { grid-template-columns: 1fr; gap: 30px; }
    .module-detail-section .module-detail.reverse { grid-template-columns: 1fr; direction: ltr; }
    .about-story { grid-template-columns: 1fr; gap: 30px; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .demo-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --section-pad: 60px 0; }
    .navbar-nav { display: none; }
    .navbar-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: rgba(10,22,40,0.98);
        padding: 20px;
        backdrop-filter: blur(20px);
    }
    .mobile-toggle { display: flex; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-item .stat-number { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-actions { flex-direction: column; align-items: center; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .about-values { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .timeline::before { left: 20px; }
    .timeline-item, .timeline-item:nth-child(odd) { flex-direction: column; text-align: left; margin-left: 40px; }
    .timeline-dot { left: 20px; }
    .hero-float { display: none; }
    .trust-bar .container { gap: 24px; }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    .hero { padding: 100px 0 60px; }
    .hero-stats { gap: 20px; }
    .hero-stat .number { font-size: 1.6rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}


/* ═══════════════════════════════════════════════════════════
   AUTH PAGES (Login, Register, Forgot Password)
   ═══════════════════════════════════════════════════════════ */
.auth-section { padding: 40px 0 80px; min-height: 80vh; display: flex; align-items: center; }
.auth-wrapper { display: grid; grid-template-columns: 380px 1fr; gap: 0; background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); max-width: 960px; margin: 0 auto; }
.auth-sidebar { background: var(--grad-ocean); color: white; padding: 48px 36px; display: flex; flex-direction: column; justify-content: center; }
.auth-sidebar h2 { font-size: 1.6rem; margin-bottom: 8px; }
.auth-sidebar p { font-size: 0.9rem; opacity: 0.8; line-height: 1.6; margin-bottom: 32px; }
.auth-features { display: flex; flex-direction: column; gap: 18px; }
.auth-feat-item { display: flex; align-items: flex-start; gap: 12px; }
.auth-feat-item span:first-child { font-size: 1.4rem; flex-shrink: 0; }
.auth-feat-item div strong { font-size: 0.9rem; display: block; margin-bottom: 2px; }
.auth-feat-item div span { font-size: 0.78rem; opacity: 0.7; }
.auth-form-area { padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }
.auth-tabs { display: flex; gap: 0; margin-bottom: 32px; border-bottom: 2px solid var(--gray-200); }
.auth-tab { flex: 1; padding: 12px 0; text-align: center; font-weight: 600; font-size: 0.95rem; color: var(--gray-400); background: none; border: none; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.2s; }
.auth-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.auth-panel { display: none; }
.auth-panel.active { display: block; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--gray-400); font-size: 0.8rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }
.auth-icon-circle { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; font-size: 2.2rem; margin: 0 auto 24px; }
.auth-subtitle { text-align: center; color: var(--gray-600); font-size: 0.9rem; margin-bottom: 28px; line-height: 1.6; }
.reset-info-card { background: #E3F2FD; border-radius: 12px; padding: 20px; margin-bottom: 24px; border-left: 4px solid var(--primary); }
.reset-info-card p { font-size: 0.85rem; color: var(--gray-700); line-height: 1.6; margin: 0; }

@media (max-width: 768px) {
    .auth-wrapper { grid-template-columns: 1fr; max-width: 500px; }
    .auth-sidebar { padding: 32px 24px; }
    .auth-form-area { padding: 32px 24px; }
}


/* ═══════════════════════════════════════════════════════════
   USER PROFILE / DASHBOARD
   ═══════════════════════════════════════════════════════════ */
.profile-section { padding: 120px 0 80px; background: linear-gradient(135deg, #f0fff4 0%, #e0f7fa 40%, #f0f4ff 100%); }
.profile-layout { display: grid; grid-template-columns: 280px 1fr; gap: 30px; }
.profile-sidebar { background: var(--white); border-radius: 16px; box-shadow: var(--shadow-sm); overflow: hidden; height: fit-content; position: sticky; top: 100px; }
.profile-avatar-card { background: var(--grad-ocean); color: white; padding: 32px 24px; text-align: center; }
.profile-avatar-card .profile-avatar { width: 80px; height: 80px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 700; margin: 0 auto 12px; border: 3px solid rgba(255,255,255,0.3); }
.profile-avatar-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.profile-avatar-card p { font-size: 0.8rem; opacity: 0.7; margin-bottom: 10px; }
.badge-green { background: rgba(0,200,83,0.15); color: #2E7D32; }
.badge-red { background: rgba(198,40,40,0.12); color: #C62828; }
.badge-yellow { background: rgba(255,152,0,0.15); color: #EF6C00; }
.badge-blue { background: rgba(21,101,192,0.1); color: #1565C0; }
.badge-purple { background: rgba(124,77,255,0.1); color: #7C4DFF; }
.profile-nav { padding: 12px 0; }
.profile-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 24px; font-size: 0.9rem; color: var(--gray-700); text-decoration: none; transition: all 0.2s; border-left: 3px solid transparent; }
.profile-nav a:hover { background: var(--gray-100); color: var(--primary); }
.profile-nav a.active { background: #E3F2FD; color: var(--primary); font-weight: 600; border-left-color: var(--primary); }
.profile-nav-logout { color: #C62828 !important; }
.profile-nav-logout:hover { background: #FFEBEE !important; color: #C62828 !important; }
.profile-main { min-width: 0; }
.profile-card, .profile-header-card { background: var(--white); border-radius: 16px; box-shadow: var(--shadow-sm); padding: 32px; margin-bottom: 24px; }
.profile-card h2, .profile-header-card h2 { font-size: 1.3rem; margin-bottom: 8px; }
.profile-card > p, .profile-header-card > p { color: var(--gray-600); font-size: 0.9rem; margin-bottom: 24px; }
.profile-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.profile-stat-card { background: var(--gray-100); border-radius: 12px; padding: 20px; text-align: center; }
.profile-stat-card .psc-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin: 0 auto 10px; }
.profile-stat-card .psc-value { font-size: 1.5rem; font-weight: 700; color: var(--gray-800); margin-bottom: 4px; }
.profile-stat-card .psc-label { font-size: 0.8rem; color: var(--gray-500); }
.profile-stat-card .number { font-size: 1.8rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.profile-stat-card .label { font-size: 0.8rem; color: var(--gray-500); }
.quick-actions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.quick-action-btn { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--gray-100); border-radius: 10px; text-decoration: none; color: var(--gray-800); font-weight: 500; font-size: 0.85rem; transition: all 0.2s; border: 1px solid transparent; }
.quick-action-btn:hover { background: var(--white); border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow-sm); }
.license-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 16px; }
.license-mini-card { background: var(--gray-100); border-radius: 12px; padding: 16px; display: flex; align-items: center; gap: 14px; }
.license-mini-card .lmc-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; background: #E3F2FD; }
.license-mini-card .lmc-info h4 { font-size: 0.85rem; margin-bottom: 2px; }
.license-mini-card .lmc-info span { font-size: 0.75rem; color: var(--gray-500); }
.license-full-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.license-card { background: var(--white); border-radius: 14px; border: 1px solid var(--gray-200); overflow: hidden; transition: box-shadow 0.2s; }
.license-card:hover { box-shadow: var(--shadow-md); }
.lic-header { padding: 20px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--gray-100); }
.lic-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; background: #E3F2FD; }
.lic-info h3 { font-size: 0.95rem; margin-bottom: 2px; }
.lic-info p { font-size: 0.8rem; color: var(--gray-500); }
.lic-body { padding: 20px; }
.lic-detail-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--gray-100); font-size: 0.85rem; }
.lic-detail-row:last-child { border-bottom: none; }
.lic-detail-row span:first-child { color: var(--gray-500); }
.lic-detail-row span:last-child { font-weight: 600; }
.lic-footer { padding: 16px 20px; border-top: 1px solid var(--gray-100); display: flex; justify-content: space-between; align-items: center; }
.lic-status { padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; }
.lic-status.active { background: #E8F5E9; color: #2E7D32; }
.lic-status.expired { background: #FFEBEE; color: #C62828; }
.lic-status.trial { background: #E3F2FD; color: #1565C0; }
.lic-status.suspended { background: #FFF3E0; color: #EF6C00; }
.lic-status.pending { background: var(--gray-100); color: var(--gray-600); }

/* License mini-cards on dashboard */
.license-mini-card .lmc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.license-mini-card .lmc-module { font-weight: 600; font-size: 0.85rem; color: var(--gray-800); }
.license-mini-card .lmc-key { font-family: monospace; font-size: 0.78rem; color: var(--gray-500); margin-bottom: 6px; word-break: break-all; }
.license-mini-card .lmc-footer { font-size: 0.75rem; color: var(--gray-500); }

@media (max-width: 768px) {
    .profile-layout { grid-template-columns: 1fr; }
    .profile-sidebar { position: static; }
    .profile-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .profile-section { padding: 100px 0 60px; }
}


/* ═══════════════════════════════════════════════════════════
   MODULE DETAIL PAGE (Flowcharts, Features, Screens)
   ═══════════════════════════════════════════════════════════ */
/* Module Detail Hero V2 */
.module-hero-v2 { padding: 140px 0 50px; background: var(--grad-hero); color: white; position: relative; overflow: hidden; }
.mhv2-bg { position: absolute; inset: 0; pointer-events: none; }
.mhv2-circle { position: absolute; border-radius: 50%; opacity: 0.07; }
.mhv2-c1 { width: 500px; height: 500px; background: var(--mod-color, #1565C0); top: -200px; right: -100px; }
.mhv2-c2 { width: 300px; height: 300px; background: var(--mod-color, #1565C0); bottom: -100px; left: -50px; }
.mhv2-c3 { width: 200px; height: 200px; background: #fff; top: 30%; left: 50%; }
.mhv2-grid-pattern { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 30px 30px; }
.module-back-link { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.7); font-size: 0.85rem; text-decoration: none; margin-bottom: 24px; transition: color 0.2s; position: relative; z-index: 2; }
.module-back-link:hover { color: white; }
.mhv2-content { display: flex; align-items: center; gap: 32px; margin-bottom: 40px; position: relative; z-index: 2; }
.mhv2-hero-grid { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center; position: relative; z-index: 2; }
.mhv2-left { min-width: 0; }
.mhv2-right { position: relative; transform: translateX(38px); }
.mhv2-image-frame { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1); transform: perspective(800px) rotateY(-3deg); transition: transform 0.4s ease; }
.mhv2-image-frame:hover { transform: perspective(800px) rotateY(0deg) scale(1.02); }
.mhv2-image-frame::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(var(--mod-color-rgb, 21,101,192), 0.15), transparent 60%); z-index: 1; pointer-events: none; border-radius: 20px; }
.mhv2-image-frame img { width: 100%; height: 300px; object-fit: cover; display: block; }
.mhv2-icon-wrap { position: relative; flex-shrink: 0; }
.mhv2-icon { width: 100px; height: 100px; border-radius: 24px; display: flex; align-items: center; justify-content: center; font-size: 3rem; background: var(--mod-color, #1565C0); box-shadow: 0 8px 32px rgba(0,0,0,0.3); position: relative; z-index: 1; }
.mhv2-icon-glow { position: absolute; inset: -8px; border-radius: 30px; background: var(--mod-color, #1565C0); opacity: 0.25; filter: blur(16px); animation: mhv2Pulse 3s ease-in-out infinite; }
@keyframes mhv2Pulse { 0%,100% { opacity: 0.25; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.08); } }
.mhv2-text h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.5px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); color: white; }
.mhv2-tagline { font-size: 1.1rem; opacity: 0.9; margin-bottom: 20px; text-shadow: 0 1px 6px rgba(0,0,0,0.4); color: rgba(255,255,255,0.9); }
.mhv2-stats { display: flex; gap: 24px; }
.mhv2-stat { background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; padding: 12px 20px; text-align: center; min-width: 80px; }
.mhv2-stat-num { display: block; font-size: 1.5rem; font-weight: 800; }
.mhv2-stat-label { display: block; font-size: 0.72rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; }
.mhv2-desc-card { background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 24px 32px; position: relative; z-index: 2; }
.mhv2-desc-card p { color: rgba(255,255,255,0.85); line-height: 1.8; font-size: 0.95rem; margin: 0; }
.module-desc-card { background: var(--white); border-radius: 16px; box-shadow: var(--shadow-sm); padding: 32px; margin-bottom: 40px; }
.module-desc-card h2 { font-size: 1.2rem; margin-bottom: 12px; }
.module-desc-card p { color: var(--gray-600); line-height: 1.8; font-size: 0.95rem; }

/* Flowchart */
.flowchart-section { margin-bottom: 50px; }
.flowchart-section h2 { text-align: center; font-size: 1.5rem; margin-bottom: 8px; }
.flowchart-section > p { text-align: center; color: var(--gray-500); font-size: 0.9rem; margin-bottom: 40px; }
.flowchart-wrapper { overflow-x: auto; padding: 20px 0; }
.flowchart { display: flex; flex-direction: column; align-items: center; gap: 0; min-width: 400px; }
.fc-step { display: flex; flex-direction: column; align-items: center; position: relative; }
.fc-node { position: relative; text-align: center; min-width: 240px; max-width: 340px; cursor: default; transition: transform 0.2s; }
.fc-node:hover { transform: scale(1.04); }
.fc-number { position: absolute; top: -10px; left: -10px; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; color: white; z-index: 2; }

/* Flowchart shapes */
.fc-shape-start,
.fc-shape-end { border-radius: 30px; padding: 14px 28px; color: white; font-weight: 600; font-size: 0.9rem; }
.fc-shape-start { background: linear-gradient(135deg, #00C853, #00E676); }
.fc-shape-end { background: linear-gradient(135deg, #7C4DFF, #B388FF); }
.fc-shape-process { background: var(--white); border: 2px solid var(--gray-200); border-radius: 12px; padding: 16px 24px; box-shadow: var(--shadow-sm); }
.fc-shape-process h4 { font-size: 0.88rem; color: var(--gray-900); margin-bottom: 4px; }
.fc-shape-process p { font-size: 0.78rem; color: var(--gray-500); margin: 0; }
.fc-shape-decision { background: #FFF8E1; border: 2px solid #FFD54F; padding: 18px 24px; transform: rotate(0deg); clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); min-width: 200px; min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.fc-shape-decision h4 { font-size: 0.82rem; color: #F57F17; }
.fc-shape-decision p { font-size: 0.72rem; color: #F9A825; margin: 0; }
.fc-shape-alert { background: #FFF3E0; border: 2px solid #FFB74D; border-radius: 12px; padding: 16px 24px; position: relative; }
.fc-shape-alert::before { content: '⚠'; position: absolute; top: -12px; right: -8px; font-size: 1.2rem; }
.fc-shape-alert h4 { font-size: 0.85rem; color: #E65100; margin-bottom: 4px; }
.fc-shape-alert p { font-size: 0.78rem; color: #FF8F00; margin: 0; }

/* Connector lines */
.fc-connector { display: flex; flex-direction: column; align-items: center; height: 40px; }
.fc-line { width: 2px; flex: 1; background: var(--gray-300); }
.fc-arrow { width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid var(--gray-300); }
.fc-decision-badges { display: flex; gap: 60px; margin-top: 4px; margin-bottom: -4px; }
.fc-badge-pass { padding: 3px 10px; border-radius: 12px; font-size: 0.7rem; font-weight: 700; background: #E8F5E9; color: #2E7D32; }
.fc-badge-fail { padding: 3px 10px; border-radius: 12px; font-size: 0.7rem; font-weight: 700; background: #FFEBEE; color: #C62828; }
.fc-alert-badge { padding: 3px 10px; border-radius: 12px; font-size: 0.7rem; font-weight: 700; background: #FFF3E0; color: #E65100; margin-top: 4px; }

/* Module features grid */
.module-features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.mf-card { background: var(--white); border-radius: 14px; padding: 24px; box-shadow: var(--shadow-sm); transition: all 0.2s; border: 1px solid var(--gray-100); }
.mf-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.mf-card .mf-icon { font-size: 2rem; margin-bottom: 12px; }
.mf-card h3 { font-size: 1rem; margin-bottom: 6px; }
.mf-card p { font-size: 0.85rem; color: var(--gray-600); line-height: 1.6; }

/* Screen mockups — realistic ERP application previews */
.screen-mockups-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 28px; }
.screen-mockup-card { background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.08); transition: all 0.3s; border: 1px solid var(--gray-200); }
.screen-mockup-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.14); transform: translateY(-6px); }

/* Window chrome */
.smc-chrome { background: #f1f3f5; padding: 8px 12px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #e0e0e0; }
.smc-dots { display: flex; gap: 5px; }
.dot-r, .dot-y, .dot-g { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #FF5F57; }
.dot-y { background: #FEBC2E; }
.dot-g { background: #28C840; }
.smc-url-bar { flex: 1; background: white; border-radius: 5px; padding: 3px 10px; font-size: 0.65rem; color: #888; display: flex; align-items: center; gap: 5px; border: 1px solid #e0e0e0; }
.smc-lock { font-size: 0.6rem; }

/* App header */
.smc-app-header { display: flex; align-items: center; padding: 6px 12px; gap: 8px; }
.smc-app-logo { width: 22px; height: 22px; border-radius: 5px; background: rgba(255,255,255,0.25); color: white; font-size: 0.65rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.smc-app-title { color: white; font-size: 0.7rem; font-weight: 700; opacity: 0.9; }
.smc-app-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.smc-notif { font-size: 0.7rem; opacity: 0.7; }
.smc-user-avatar { width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,0.25); color: white; font-size: 0.55rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* App body layout */
.smc-app-body { display: flex; min-height: 260px; max-height: 300px; overflow: hidden; }

/* Sidebar */
.smc-app-sidebar { width: 120px; background: #f8f9fa; border-right: 1px solid var(--gray-100); padding: 8px 0; flex-shrink: 0; overflow: hidden; }
.smc-side-item { display: flex; align-items: center; gap: 5px; padding: 5px 10px; font-size: 0.6rem; color: #666; cursor: default; border-left: 2px solid transparent; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.smc-side-item.active { background: rgba(99,102,241,0.06); color: var(--s-color); font-weight: 700; border-left-color: var(--s-color); }
.smc-si-icon { font-size: 0.7rem; flex-shrink: 0; }
.smc-si-text { overflow: hidden; text-overflow: ellipsis; }

/* Main content */
.smc-app-main { flex: 1; padding: 10px 14px; overflow: hidden; background: #fafbfc; min-width: 0; }

/* Page title bar */
.smc-page-title { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.smc-page-title h5 { font-size: 0.8rem; font-weight: 700; color: #1a1a2e; margin: 0; }
.smc-breadcrumb { font-size: 0.55rem; color: #999; }
.smc-page-actions { display: flex; gap: 4px; }
.smc-btn-outline { padding: 3px 8px; border: 1px solid #d0d0d0; border-radius: 4px; font-size: 0.55rem; color: #666; background: white; }
.smc-btn-primary { padding: 3px 8px; border-radius: 4px; font-size: 0.55rem; color: white; border: none; }
.smc-btn-sm { padding: 2px 6px; }

/* === Dashboard type === */
.smc-dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 10px; }
.smc-dash-stat { background: white; border-radius: 6px; padding: 6px 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.smc-ds-num { font-size: 0.85rem; font-weight: 800; color: #1a1a2e; }
.smc-ds-label { font-size: 0.5rem; color: #999; }
.smc-dash-charts { display: grid; grid-template-columns: 1.5fr 1fr; gap: 8px; }
.smc-mini-chart { background: white; border-radius: 6px; padding: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.smc-mc-title { font-size: 0.55rem; font-weight: 700; color: #555; margin-bottom: 6px; }
.smc-line-chart svg { width: 100%; height: 50px; }
.smc-donut-wrap { display: flex; align-items: center; justify-content: center; position: relative; height: 60px; }
.smc-donut-wrap svg { width: 60px; height: 60px; }
.smc-donut-label { position: absolute; font-size: 0.65rem; font-weight: 800; color: #333; }

/* === Form type === */
.smc-form-area { background: white; border-radius: 6px; padding: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.smc-form-row { display: flex; gap: 8px; margin-bottom: 8px; }
.smc-field { flex: 1; }
.smc-field.full { flex: 1 1 100%; }
.smc-field label { display: block; font-size: 0.5rem; font-weight: 600; color: #666; margin-bottom: 3px; }
.smc-input { background: #f5f6f8; border: 1px solid #e0e0e0; border-radius: 4px; padding: 4px 8px; font-size: 0.6rem; color: #333; }
.smc-select { position: relative; }
.smc-textarea { background: #f5f6f8; border: 1px solid #e0e0e0; border-radius: 4px; height: 36px; }
.smc-form-actions { display: flex; justify-content: flex-end; gap: 4px; margin-top: 8px; }

/* === Report type === */
.smc-report-filters { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; background: white; border-radius: 6px; padding: 6px 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.smc-rf-item { display: flex; gap: 4px; align-items: center; }
.smc-rf-label { font-size: 0.5rem; color: #999; }
.smc-rf-val { font-size: 0.55rem; font-weight: 600; color: #333; background: #f5f6f8; padding: 2px 6px; border-radius: 3px; }
.smc-report-summary { display: flex; gap: 8px; margin-bottom: 8px; }
.smc-rs-item { flex: 1; background: white; border-radius: 6px; padding: 8px; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.smc-rs-val { display: block; font-size: 0.75rem; font-weight: 800; }
.smc-rs-label { font-size: 0.5rem; color: #999; }
.smc-report-bars { display: flex; align-items: flex-end; gap: 6px; height: 80px; background: white; border-radius: 6px; padding: 10px 10px 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.smc-rb-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; height: 100%; justify-content: flex-end; }
.smc-rb-bar { width: 100%; border-radius: 3px 3px 0 0; transition: height 0.4s; min-height: 4px; }
.smc-rb-col span { font-size: 0.5rem; color: #999; }

/* === List / Table type === */
.smc-filters-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.smc-search-box { flex: 1; background: white; border: 1px solid #e0e0e0; border-radius: 5px; padding: 4px 8px; font-size: 0.55rem; color: #aaa; }
.smc-filter-chips { display: flex; gap: 3px; }
.smc-chip { padding: 2px 8px; border-radius: 10px; font-size: 0.5rem; background: #f0f0f0; color: #777; font-weight: 500; }
.smc-chip.active { background: var(--c, #6366F1); color: white; }
.smc-data-table { background: white; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.06); font-size: 0.55rem; }
.smc-dt-head { display: flex; background: #f8f9fa; border-bottom: 1px solid #e8e8e8; padding: 5px 8px; font-weight: 700; color: #555; }
.smc-dt-row { display: flex; padding: 5px 8px; border-bottom: 1px solid #f0f0f0; color: #444; align-items: center; }
.smc-dt-row:last-child { border-bottom: none; }
.smc-dt-row:hover { background: #f8f9fc; }
.smc-dt-col { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.smc-dt-col.w5 { width: 5%; flex-shrink: 0; }
.smc-dt-col.w10 { width: 10%; flex-shrink: 0; }
.smc-dt-col.w15 { width: 15%; flex-shrink: 0; }
.smc-dt-col.w30 { flex: 1; }
.smc-dt-col.mono { font-family: monospace; color: #888; font-size: 0.5rem; }
.smc-checkbox { display: inline-block; width: 10px; height: 10px; border: 1.5px solid #ccc; border-radius: 2px; }
.smc-status-badge { display: inline-block; padding: 1px 6px; border-radius: 8px; font-size: 0.5rem; font-weight: 600; background: color-mix(in srgb, var(--sb) 12%, white); color: var(--sb); }
.smc-action-dot { font-size: 0.8rem; color: #999; cursor: default; letter-spacing: -1px; }
.smc-pagination { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 0.5rem; color: #999; }
.smc-page-btns { display: flex; gap: 2px; }
.smc-pg { width: 16px; height: 16px; border-radius: 3px; display: flex; align-items: center; justify-content: center; font-size: 0.5rem; color: #666; background: white; border: 1px solid #e0e0e0; }
.smc-pg.active { color: white; border-color: transparent; }

/* Screen label */
.smc-label-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--gray-100); background: var(--gray-50); }
.smc-label-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.smc-label-text { font-weight: 700; font-size: 0.88rem; color: var(--gray-800); }

/* Flowchart link from modules page */
.md-flowchart-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 10px 20px; background: linear-gradient(135deg, #E3F2FD, #EDE7F6); border-radius: 10px; color: var(--primary); font-weight: 600; font-size: 0.88rem; text-decoration: none; transition: all 0.25s; border: 1px solid rgba(21,101,192,0.15); }
.md-flowchart-link:hover { background: linear-gradient(135deg, #BBDEFB, #D1C4E9); box-shadow: var(--shadow-sm); transform: translateX(4px); }

@media (max-width: 768px) {
    .mhv2-hero-grid { grid-template-columns: 1fr; gap: 24px; }
    .mhv2-right { order: -1; transform: none; }
    .mhv2-image-frame { transform: none; }
    .mhv2-image-frame img { height: 200px; }
    .mhv2-content { flex-direction: column; text-align: center; }
    .mhv2-stats { justify-content: center; }
    .mhv2-text h1 { font-size: 1.6rem; }
    .mhv2-icon { width: 80px; height: 80px; font-size: 2.2rem; }
    .module-hero-content { flex-direction: column; text-align: center; }
    .module-hero-badges { justify-content: center; }
    .fc-shape-decision { min-width: 160px; min-height: 100px; }
    .fc-node { min-width: 200px; }
    .module-features-grid { grid-template-columns: 1fr; }
    .screen-mockups-grid { grid-template-columns: 1fr; }
    .smc-app-sidebar { width: 80px; }
    .smc-dash-stats { grid-template-columns: repeat(2, 1fr); }
}


/* ═══════════════════════════════════════════════════════════
   PURCHASE PAGE
   ═══════════════════════════════════════════════════════════ */
/* Billing Toggle */
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; }
.billing-label { font-size: 0.95rem; font-weight: 500; color: var(--gray-400); transition: color 0.2s; }
.billing-label.active { color: var(--gray-900); font-weight: 700; }
.save-badge { display: inline-block; padding: 2px 8px; border-radius: 8px; font-size: 0.7rem; font-weight: 700; background: #E8F5E9; color: #2E7D32; margin-left: 4px; }
.toggle-switch { position: relative; width: 52px; height: 28px; display: inline-block; }
.toggle-switch input { display: none; }
.toggle-slider { position: absolute; inset: 0; background: var(--gray-300); border-radius: 28px; cursor: pointer; transition: 0.3s; }
.toggle-slider::before { content: ''; position: absolute; height: 22px; width: 22px; left: 3px; bottom: 3px; background: white; border-radius: 50%; transition: 0.3s; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.toggle-switch input:checked + .toggle-slider { background: var(--primary); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(24px); }

/* Plan Cards */
.purchase-plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.purchase-plan-card { background: var(--white); border-radius: 20px; box-shadow: var(--shadow-sm); overflow: hidden; transition: all 0.3s; position: relative; border: 2px solid var(--gray-200); }
.purchase-plan-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.purchase-plan-card.popular { border-color: var(--secondary); box-shadow: 0 8px 40px rgba(0,200,83,0.15); }
.popular-ribbon { position: absolute; top: 16px; right: -8px; background: var(--secondary); color: white; font-size: 0.75rem; font-weight: 700; padding: 4px 16px 4px 12px; border-radius: 4px 0 0 4px; }
.popular-ribbon::after { content: ''; position: absolute; bottom: -8px; right: 0; border-width: 4px; border-style: solid; border-color: #009624 transparent transparent #009624; }
.ppc-header { padding: 32px 28px 24px; text-align: center; border-bottom: 3px solid var(--gray-100); }
.ppc-header h3 { font-size: 1.3rem; margin-bottom: 16px; }
.ppc-price { display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.ppc-currency { font-size: 1.4rem; font-weight: 600; color: var(--gray-600); }
.ppc-amount { font-size: 2.8rem; font-weight: 800; color: var(--gray-900); line-height: 1; }
.ppc-period { font-size: 0.9rem; color: var(--gray-500); margin-left: 4px; }
.ppc-custom-text { font-size: 0.85rem; color: var(--gray-500); margin-top: 4px; }
.annual-total { font-size: 0.8rem; color: var(--gray-500); margin-top: 8px; }
.ppc-users { font-size: 0.85rem; color: var(--gray-500); margin-top: 12px; }
.ppc-modules { padding: 24px 28px 16px; }
.ppc-modules h4 { font-size: 0.85rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.ppc-module-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ppc-mod-tag { padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 600; background: rgba(0,0,0,0.03); border: 1px solid; }
.ppc-features { padding: 0 28px 24px; }
.ppc-feat { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 0.85rem; color: var(--gray-700); }
.ppc-action { padding: 0 28px 28px; }

/* Checkout */
.checkout-layout { display: grid; grid-template-columns: 380px 1fr; gap: 30px; }
.cs-card { background: var(--white); border-radius: 16px; box-shadow: var(--shadow-sm); padding: 28px; position: sticky; top: 100px; }
.cs-card h3 { font-size: 1.1rem; margin-bottom: 16px; }
.cs-plan-badge { display: inline-block; padding: 6px 16px; border-radius: 8px; color: white; font-size: 0.85rem; font-weight: 600; margin-bottom: 20px; }
.cs-details { margin-bottom: 20px; }
.cs-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.88rem; }
.cs-row span:first-child { color: var(--gray-500); }
.cs-row span:last-child { font-weight: 600; }
.cs-total { font-size: 1.1rem; padding-top: 12px; }
.cs-total span:last-child { color: var(--primary); font-size: 1.2rem; }
.cs-divider { height: 1px; background: var(--gray-200); margin: 4px 0; }
.cs-modules-list { border-top: 1px solid var(--gray-200); padding-top: 16px; }
.cs-modules-list h4 { font-size: 0.85rem; margin-bottom: 10px; color: var(--gray-600); }
.cs-mod-item { font-size: 0.82rem; color: var(--gray-700); padding: 3px 0; }
.checkout-form-area { }
.checkout-login-prompt { background: var(--white); border-radius: 16px; box-shadow: var(--shadow-sm); padding: 40px; text-align: center; }
.checkout-login-prompt h3 { font-size: 1.3rem; margin-bottom: 8px; }
.checkout-login-prompt p { color: var(--gray-600); }
.checkout-form-card { background: var(--white); border-radius: 16px; box-shadow: var(--shadow-sm); padding: 32px; }
.checkout-form-card h3 { font-size: 1.2rem; margin-bottom: 24px; }
.payment-note { background: #F5F5F5; border-radius: 12px; padding: 20px; margin: 20px 0; }
.payment-note h4 { font-size: 0.95rem; margin-bottom: 8px; }
.payment-note p { font-size: 0.85rem; color: var(--gray-600); margin-bottom: 12px; }
.payment-methods { display: flex; flex-wrap: wrap; gap: 12px; }
.payment-methods span { padding: 6px 14px; background: white; border-radius: 8px; font-size: 0.82rem; font-weight: 500; border: 1px solid var(--gray-200); }

/* Order Confirmation */
.confirmation-card { background: var(--white); border-radius: 20px; box-shadow: var(--shadow-md); padding: 48px 36px; }
.confirmation-card h1 { font-size: 1.8rem; margin-bottom: 8px; }
.order-number { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.confirmation-steps { display: flex; align-items: center; justify-content: center; gap: 0; margin: 30px 0; flex-wrap: wrap; }
.conf-step { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 100px; }
.conf-step-icon { font-size: 1.5rem; }
.conf-step span:last-child { font-size: 0.78rem; color: var(--gray-600); font-weight: 500; }
.conf-step.done span:last-child { color: var(--primary); font-weight: 600; }
.conf-step-line { width: 40px; height: 2px; background: var(--gray-300); margin-bottom: 16px; }

@media (max-width: 900px) {
    .purchase-plans-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .checkout-layout { grid-template-columns: 1fr; }
    .cs-card { position: static; }
}


/* ═══════════════════════════════════════════════════════════
   ADMIN LICENSE PAGE EXTRAS
   ═══════════════════════════════════════════════════════════ */
.lic-filter-btn { padding: 6px 14px; border-radius: 8px; font-size: 0.82rem; font-weight: 600; text-decoration: none; background: var(--gray-100); color: var(--gray-600); transition: all 0.2s; }
.lic-filter-btn:hover { background: var(--gray-200); }
.lic-filter-btn.active { background: var(--primary); color: white; }
.lic-status-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.btn-icon { background: none; border: 1px solid var(--gray-200); border-radius: 6px; padding: 4px 8px; cursor: pointer; font-size: 0.85rem; transition: all 0.2s; }
.btn-icon:hover { background: var(--gray-100); }

/* Flash message */
.flash { padding: 14px 20px; border-radius: 10px; font-size: 0.9rem; animation: flashIn 0.3s ease; }
.flash-success { background: #E8F5E9; color: #2E7D32; border: 1px solid #C8E6C9; }
.flash-error { background: #FFEBEE; color: #C62828; border: 1px solid #FFCDD2; }
.flash-info { background: #E3F2FD; color: #1565C0; border: 1px solid #BBDEFB; }
@keyframes flashIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* Orders table in profile */
.orders-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 12px; overflow: hidden; }
.orders-table th { background: var(--gray-100); padding: 12px 16px; text-align: left; font-size: 0.82rem; color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.3px; }
.orders-table td { padding: 14px 16px; border-bottom: 1px solid var(--gray-100); font-size: 0.88rem; }
.orders-table tr:last-child td { border-bottom: none; }
.orders-table tr:hover td { background: var(--gray-100); }
.status-pill { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 0.75rem; font-weight: 600; }
.status-pill.paid { background: #E8F5E9; color: #2E7D32; }
.status-pill.pending { background: #FFF3E0; color: #EF6C00; }


/* ═══════════════════════════════════════════════════════════
   V2 AUTH — Full-Screen Split Login/Register
   ═══════════════════════════════════════════════════════════ */
.auth-section-v2 { min-height: 100vh; display: flex; }
.auth-split { display: grid; grid-template-columns: 1fr 1fr; width: 100%; min-height: 100vh; }

/* Left Branding Panel */
.auth-brand-panel { position: relative; background: linear-gradient(160deg, #0A1628 0%, #1a237e 50%, #1565C0 100%); color: white; display: flex; align-items: center; justify-content: center; padding: 60px 48px; overflow: hidden; }
.auth-brand-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.auth-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.15; }
.auth-orb-1 { width: 400px; height: 400px; background: #00C853; top: -100px; right: -100px; animation: authFloat 8s ease-in-out infinite; }
.auth-orb-2 { width: 300px; height: 300px; background: #7C4DFF; bottom: -80px; left: -80px; animation: authFloat 10s ease-in-out infinite reverse; }
.auth-grid-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px); background-size: 32px 32px; }
@keyframes authFloat { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px,-30px); } }

.auth-brand-content { position: relative; z-index: 1; max-width: 440px; }
.auth-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: white; margin-bottom: 40px; }
.auth-logo-icon { width: 48px; height: 48px; background: rgba(255,255,255,0.15); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 800; backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); }
.auth-logo span { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.3px; }
.auth-brand-content h1 { font-size: 2.6rem; font-weight: 800; line-height: 1.15; margin-bottom: 16px; letter-spacing: -0.5px; color: white; }
.auth-brand-desc { font-size: 1rem; line-height: 1.7; opacity: 0.75; margin-bottom: 40px; color: rgba(255,255,255,0.85); }

.auth-trust-cards { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.auth-trust-card { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: rgba(255,255,255,0.06); border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(10px); transition: all 0.3s; }
.auth-trust-card:hover { background: rgba(255,255,255,0.1); transform: translateX(4px); }
.atc-icon { font-size: 1.5rem; flex-shrink: 0; }
.auth-trust-card strong { display: block; font-size: 0.88rem; margin-bottom: 2px; }
.auth-trust-card span { font-size: 0.78rem; opacity: 0.6; }

.auth-brand-stats { display: flex; gap: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); }
.auth-brand-stats div strong { display: block; font-size: 1.5rem; font-weight: 800; }
.auth-brand-stats div span { font-size: 0.75rem; opacity: 0.6; text-transform: uppercase; letter-spacing: 0.5px; }

/* Right Form Panel */
.auth-form-panel { display: flex; align-items: center; justify-content: center; padding: 48px; background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 40%, #f0f4ff 100%); }
.auth-form-inner { width: 100%; max-width: 480px; }

.auth-tabs-v2 { display: flex; gap: 8px; margin-bottom: 32px; background: var(--white); border-radius: 12px; padding: 6px; box-shadow: var(--shadow-sm); }
.auth-tab-v2 { flex: 1; padding: 12px 16px; text-align: center; font-weight: 600; font-size: 0.9rem; color: var(--gray-400); background: none; border: none; cursor: pointer; border-radius: 8px; transition: all 0.25s; display: flex; align-items: center; justify-content: center; gap: 6px; }
.auth-tab-v2.active { background: var(--primary); color: white; box-shadow: 0 2px 12px rgba(21,101,192,0.3); }
.auth-tab-v2 .at-icon { font-size: 1rem; }

.auth-panel-v2 { animation: authSlideIn 0.3s ease; }
@keyframes authSlideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.auth-panel-header { margin-bottom: 28px; }
.auth-panel-header h2 { font-size: 1.6rem; font-weight: 800; color: var(--gray-900); margin-bottom: 6px; }
.auth-panel-header p { font-size: 0.9rem; color: var(--gray-500); }

.auth-form { display: flex; flex-direction: column; gap: 18px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field label { font-size: 0.85rem; font-weight: 600; color: var(--gray-700); display: flex; align-items: center; gap: 6px; }
.auth-field label .field-icon { font-size: 0.9rem; }
.auth-field label small { font-weight: 400; color: var(--gray-400); }
.auth-input { padding: 14px 18px; border: 2px solid var(--gray-200); border-radius: 12px; font-size: 0.92rem; transition: all 0.2s; background: var(--white); outline: none; width: 100%; box-sizing: border-box; }
.auth-input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(21,101,192,0.1); }
.auth-input::placeholder { color: var(--gray-400); }
.auth-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.auth-options { display: flex; justify-content: space-between; align-items: center; }
.auth-check { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--gray-600); cursor: pointer; }
.auth-check input { accent-color: var(--primary); width: 16px; height: 16px; }
.auth-forgot { font-size: 0.85rem; color: var(--primary); font-weight: 600; text-decoration: none; }
.auth-forgot:hover { text-decoration: underline; }

.auth-submit-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 16px; font-size: 1rem; font-weight: 700; color: white; background: linear-gradient(135deg, #1565C0, #1976D2); border: none; border-radius: 12px; cursor: pointer; transition: all 0.3s; box-shadow: 0 4px 20px rgba(21,101,192,0.3); }
.auth-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(21,101,192,0.4); }
.auth-submit-btn .btn-arrow { font-size: 1.1rem; transition: transform 0.2s; }
.auth-submit-btn:hover .btn-arrow { transform: translateX(4px); }
.auth-submit-green { background: linear-gradient(135deg, #00C853, #00E676); box-shadow: 0 4px 20px rgba(0,200,83,0.3); }
.auth-submit-green:hover { box-shadow: 0 8px 30px rgba(0,200,83,0.4); }

.auth-terms { display: flex; align-items: flex-start; gap: 10px; font-size: 0.82rem; color: var(--gray-600); cursor: pointer; }
.auth-terms input { accent-color: var(--primary); margin-top: 2px; }
.auth-terms a { color: var(--primary); font-weight: 600; }

.auth-divider-v2 { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--gray-400); font-size: 0.8rem; }
.auth-divider-v2::before, .auth-divider-v2::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }

.auth-switch { text-align: center; font-size: 0.9rem; color: var(--gray-600); }
.auth-switch a { color: var(--primary); font-weight: 700; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }

@media (max-width: 960px) {
    .auth-split { grid-template-columns: 1fr; }
    .auth-brand-panel { display: none; }
    .auth-form-panel { padding: 32px 20px; min-height: 100vh; }
}
@media (max-width: 600px) {
    .auth-field-row { grid-template-columns: 1fr; }
    .auth-form-inner { max-width: 100%; }
}


/* ═══════════════════════════════════════════════════════════
   V2 FLOWCHART — Professional SVG-Based
   ═══════════════════════════════════════════════════════════ */
.flowchart-section-v2 { padding: 60px 0 80px; }
.fc-v2-wrapper { display: flex; justify-content: center; padding: 20px 0; }
.fc-v2-canvas { display: flex; flex-direction: column; align-items: center; gap: 0; max-width: 600px; width: 100%; }

.fc-v2-node { display: flex; flex-direction: column; align-items: center; position: relative; animation: fcNodeIn 0.5s ease both; }
@keyframes fcNodeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.fc-v2-step-num { position: absolute; top: -8px; left: -8px; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 800; color: white; z-index: 3; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }

/* Process Box */
.fc-v2-box { display: flex; align-items: center; gap: 16px; padding: 20px 28px; background: var(--node-bg); border: 2px solid var(--node-border); border-radius: 16px; min-width: 380px; max-width: 520px; width: 100%; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.3s; position: relative; color: var(--node-text); }
.fc-v2-box:hover { transform: scale(1.03); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }

.fc-v2-terminal { border: none; border-radius: 60px; padding: 18px 32px; min-width: 300px; }
.fc-v2-alert-box { border-style: dashed; }
.fc-v2-alert-pulse { position: absolute; top: 12px; right: 12px; width: 10px; height: 10px; background: #FF5722; border-radius: 50%; animation: alertPulse 1.5s ease infinite; }
@keyframes alertPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,87,34,0.4); } 50% { box-shadow: 0 0 0 8px rgba(255,87,34,0); } }

.fc-v2-node-icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.fc-v2-node-content h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.fc-v2-node-content p { font-size: 0.82rem; opacity: 0.7; line-height: 1.4; margin: 0; }

/* Decision Diamond */
.fc-v2-diamond { position: relative; }
.fc-v2-diamond-inner { background: var(--node-bg); border: 3px solid var(--node-border); border-radius: 16px; padding: 22px 28px; min-width: 360px; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.06); position: relative; transition: all 0.3s; }
.fc-v2-diamond-inner:hover { transform: scale(1.03); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.fc-v2-diamond-inner::before { content: ''; position: absolute; top: -2px; left: 50%; transform: translateX(-50) rotate(45deg); width: 16px; height: 16px; background: var(--node-border); border-radius: 2px; }
.fc-v2-diamond-inner .fc-v2-node-icon { margin: 0 auto 8px; background: rgba(255,213,79,0.2); }
.fc-v2-diamond-inner h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; color: var(--node-text); }
.fc-v2-diamond-inner p { font-size: 0.82rem; color: var(--node-text); opacity: 0.7; margin: 0; }

.fc-v2-decision-arms { display: flex; justify-content: center; gap: 16px; margin-top: 10px; }
.fc-v2-arm-yes { padding: 4px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; background: #E8F5E9; color: #2E7D32; }
.fc-v2-arm-no { padding: 4px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; background: #FFEBEE; color: #C62828; }

/* Connector */
.fc-v2-connector { display: flex; flex-direction: column; align-items: center; padding: 2px 0; }
.fc-v2-line-anim { animation: dashScroll 1.5s linear infinite; }
@keyframes dashScroll { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -20; } }

/* Legend */
.fc-v2-legend { display: flex; justify-content: center; gap: 24px; margin-top: 40px; padding: 16px 28px; background: var(--gray-100); border-radius: 12px; flex-wrap: wrap; }
.fc-v2-legend-item { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; color: var(--gray-600); }
.fc-v2-legend-dot { width: 12px; height: 12px; border-radius: 3px; }

@media (max-width: 768px) {
    .fc-v2-box { min-width: auto; padding: 16px 20px; }
    .fc-v2-diamond-inner { min-width: auto; }
    .fc-v2-legend { gap: 14px; }
}


/* ═══════════════════════════════════════════════════════════
   HOMEPAGE ENHANCED MODULES GRID
   ═══════════════════════════════════════════════════════════ */
.home-modules-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.home-module-card { display: flex; flex-direction: column; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 28px; text-decoration: none; color: white; transition: all 0.3s ease; position: relative; overflow: hidden; }
.home-module-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transform: scaleX(0); transition: transform 0.3s; }
.home-module-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); transform: translateY(-4px); }
.home-module-card:hover::before { transform: scaleX(1); }

.hmc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.hmc-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.hmc-badge { padding: 4px 12px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }

.home-module-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: white; }
.home-module-card > p { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 16px; flex: 1; }

.hmc-features { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.hmc-features span { padding: 3px 10px; border-radius: 6px; font-size: 0.72rem; font-weight: 600; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.06); }

.hmc-link { font-size: 0.85rem; font-weight: 700; color: var(--secondary); transition: all 0.2s; }
.home-module-card:hover .hmc-link { color: #69F0AE; }

@media (max-width: 768px) {
    .home-modules-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════
   IMPACT & CTA SECTION (Homepage)
   ═══════════════════════════════════════════════════════════ */
.impact-section { background: transparent; }
.impact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.impact-card { background: var(--white); border-radius: 16px; padding: 32px; box-shadow: var(--shadow-sm); text-align: center; transition: all 0.3s; border: 1px solid var(--gray-100); }
.impact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.impact-metric { font-size: 3rem; font-weight: 900; background: var(--grad-ocean); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 4px; }
.impact-label { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.impact-card > p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.5; margin-bottom: 16px; }
.impact-bar { height: 6px; background: var(--gray-200); border-radius: 3px; overflow: hidden; }
.impact-fill { height: 100%; border-radius: 3px; transition: width 1.5s ease; }

/* CTA Banner */
.cta-banner-section { padding: 60px 0; }
.cta-banner { background: linear-gradient(135deg, #0A1628, #1a237e, #1565C0); border-radius: 24px; padding: 60px 48px; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(0,200,83,0.1), transparent 70%); pointer-events: none; }
.cta-banner-content { position: relative; z-index: 1; max-width: 600px; }
.cta-banner h2 { font-size: 2rem; font-weight: 800; color: white; margin-bottom: 16px; line-height: 1.2; }
.cta-banner p { color: rgba(255,255,255,0.7); font-size: 1rem; line-height: 1.7; margin-bottom: 28px; }
.cta-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-banner-badges { position: relative; z-index: 1; display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.cta-badge-item { padding: 8px 16px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.8); }

/* ═══════════════════════════════════════════════════════════════
   MY LICENSES PAGE (User-Facing)
   ═══════════════════════════════════════════════════════════════ */
.mlp-hero { background: linear-gradient(135deg, #0A1628 0%, #1565C0 100%); padding: 60px 0 40px; color: white; }
.mlp-hero-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.mlp-hero-text h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.mlp-hero-text p { color: rgba(255,255,255,0.7); font-size: 1rem; }
.mlp-hero-text .badge { margin-bottom: 12px; display: inline-block; }
.mlp-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.mlp-content { padding: 40px 0 80px; background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 40%, #f5f0ff 100%); min-height: 60vh; }

/* Stats */
.mlp-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.mlp-stat-card { background: white; border-radius: 14px; padding: 20px; display: flex; align-items: center; gap: 16px; border: 1px solid var(--gray-200); transition: transform 0.2s, box-shadow 0.2s; }
.mlp-stat-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.mlp-stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.mlp-stat-info { display: flex; flex-direction: column; }
.mlp-stat-number { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.mlp-stat-label { font-size: 0.82rem; color: var(--gray-500); }

/* Alert */
.mlp-alert { display: flex; align-items: center; gap: 16px; padding: 16px 24px; border-radius: 12px; margin-bottom: 24px; }
.mlp-alert-warning { background: #FFF3E0; border: 1px solid #FFB74D; }
.mlp-alert-icon { font-size: 1.5rem; flex-shrink: 0; }
.mlp-alert-content strong { display: block; color: #E65100; font-size: 0.95rem; }
.mlp-alert-content p { font-size: 0.85rem; color: #BF360C; margin-top: 4px; }

/* Sections */
.mlp-section { margin-bottom: 40px; }
.mlp-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.mlp-section-header h2 { font-size: 1.4rem; font-weight: 700; color: var(--navy); }
.mlp-section-header p { color: var(--gray-500); font-size: 0.9rem; margin-top: 4px; }

/* Filter Tabs */
.mlp-filter-tabs { display: flex; gap: 8px; }
.mlp-tab { padding: 8px 16px; border-radius: 20px; background: white; border: 1px solid var(--gray-200); font-size: 0.82rem; font-weight: 600; color: var(--gray-600); cursor: pointer; transition: all 0.2s; }
.mlp-tab:hover { border-color: var(--primary); color: var(--primary); }
.mlp-tab.active { background: var(--primary); color: white; border-color: var(--primary); }

/* License Cards */
.mlp-license-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 20px; }
.mlp-license-card { background: white; border-radius: 16px; padding: 24px; border: 1px solid var(--gray-200); position: relative; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.mlp-license-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }

/* Ribbon */
.mlp-lic-ribbon { position: absolute; top: 16px; right: -28px; transform: rotate(45deg); padding: 4px 36px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: white; }
.mlp-lic-ribbon-active { background: #00C853; }
.mlp-lic-ribbon-expired { background: #FF5252; }
.mlp-lic-ribbon-suspended { background: #FF9800; }
.mlp-lic-ribbon-trial { background: #2196F3; }
.mlp-lic-ribbon-pending { background: #9E9E9E; }

/* Card Header */
.mlp-lic-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; padding-right: 40px; }
.mlp-lic-module-icon { width: 48px; height: 48px; background: var(--gray-100); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.mlp-lic-module-info h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.mlp-lic-module-info p { font-size: 0.8rem; color: var(--gray-500); line-height: 1.4; }

/* Details */
.mlp-lic-details { border-top: 1px solid var(--gray-100); padding-top: 14px; }
.mlp-lic-detail-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 0.85rem; }
.mlp-lic-detail-row:not(:last-child) { border-bottom: 1px dashed var(--gray-100); }
.mlp-lic-label { color: var(--gray-500); font-weight: 500; }
.mlp-lic-key { background: var(--gray-100); padding: 4px 10px; border-radius: 6px; font-size: 0.78rem; cursor: pointer; transition: background 0.2s; }
.mlp-lic-key:hover { background: var(--gray-200); }
.mlp-lic-plan-badge { padding: 3px 10px; border-radius: 6px; font-size: 0.78rem; font-weight: 700; background: color-mix(in srgb, var(--plan-color) 15%, white); color: var(--plan-color); }
.mlp-expired-text { color: #FF5252; font-weight: 600; }
.mlp-warning-text { color: #FF9800; font-weight: 600; }

/* Progress Bar */
.mlp-lic-progress { height: 6px; background: var(--gray-100); border-radius: 3px; margin-top: 14px; overflow: hidden; }
.mlp-lic-progress-bar { height: 100%; border-radius: 3px; transition: width 0.5s; }
.mlp-lic-progress-label { font-size: 0.75rem; color: var(--gray-400); margin-top: 4px; text-align: right; }

/* Card Actions */
.mlp-lic-actions { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--gray-100); display: flex; gap: 10px; flex-wrap: wrap; }
.mlp-btn-upgrade { background: linear-gradient(135deg, #1565C0, #7C4DFF) !important; }
.mlp-btn-renew { background: #FF9800 !important; color: white !important; border: none !important; }

/* Empty State */
.mlp-empty-state { text-align: center; padding: 60px 30px; background: white; border-radius: 16px; border: 2px dashed var(--gray-200); }
.mlp-empty-icon { font-size: 3.5rem; margin-bottom: 16px; }
.mlp-empty-state h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 8px; }
.mlp-empty-state p { color: var(--gray-500); margin-bottom: 24px; }

/* Plan Cards */
.mlp-plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mlp-plan-card { background: white; border-radius: 16px; padding: 28px; border: 2px solid var(--gray-200); position: relative; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; }
.mlp-plan-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
.mlp-plan-popular { border-color: #00C853; }
.mlp-plan-current { border-color: var(--primary); background: linear-gradient(180deg, rgba(21,101,192,0.03) 0%, white 100%); }
.mlp-plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #00C853; color: white; padding: 4px 16px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.mlp-plan-badge-current { background: var(--primary); }
.mlp-plan-header { text-align: center; margin-bottom: 20px; padding-top: 4px; }
.mlp-plan-header h3 { font-size: 1.3rem; font-weight: 800; color: var(--plan-accent); margin-bottom: 8px; }
.mlp-plan-amount { font-size: 2rem; font-weight: 800; color: var(--navy); }
.mlp-plan-period { font-size: 0.85rem; color: var(--gray-500); }
.mlp-plan-annual { font-size: 0.82rem; color: var(--gray-400); margin-top: 4px; }
.mlp-plan-specs { display: flex; justify-content: center; gap: 20px; padding: 12px 0; border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); margin-bottom: 16px; }
.mlp-plan-spec { font-size: 0.85rem; color: var(--gray-600); }
.mlp-plan-spec strong { color: var(--navy); }
.mlp-plan-modules, .mlp-plan-features { margin-bottom: 16px; }
.mlp-plan-modules h4, .mlp-plan-features h4 { font-size: 0.82rem; color: var(--gray-500); text-transform: uppercase; font-weight: 700; margin-bottom: 10px; letter-spacing: 0.5px; }
.mlp-plan-modules ul, .mlp-plan-features ul { list-style: none; padding: 0; }
.mlp-plan-modules li { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 0.85rem; border-bottom: 1px dashed var(--gray-100); }
.mlp-plan-features li { padding: 4px 0; font-size: 0.85rem; color: var(--gray-600); }
.mlp-mod-licensed { color: #00C853; font-weight: 600; }
.mlp-mod-check { color: #00C853; font-weight: 700; }
.mlp-plan-action { margin-top: auto; padding-top: 20px; }

/* Available Modules */
.mlp-available-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.mlp-available-card { background: white; border-radius: 12px; padding: 20px; border: 1px solid var(--gray-200); text-align: center; transition: transform 0.2s, box-shadow 0.2s; }
.mlp-available-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.mlp-avail-icon { font-size: 2rem; margin-bottom: 10px; }
.mlp-available-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.mlp-available-card p { font-size: 0.82rem; color: var(--gray-500); margin-bottom: 14px; line-height: 1.5; }

/* Orders Table */
.mlp-orders-table-wrap { background: white; border-radius: 14px; border: 1px solid var(--gray-200); overflow: hidden; }
.mlp-orders-table { width: 100%; border-collapse: collapse; }
.mlp-orders-table th { background: var(--gray-50); padding: 12px 16px; text-align: left; font-size: 0.82rem; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.5px; }
.mlp-orders-table td { padding: 12px 16px; font-size: 0.85rem; border-top: 1px solid var(--gray-100); }
.mlp-order-status { padding: 4px 10px; border-radius: 6px; font-size: 0.78rem; font-weight: 600; }
.mlp-order-completed { background: rgba(0,200,83,0.1); color: #00C853; }
.mlp-order-pending { background: rgba(255,152,0,0.1); color: #FF9800; }
.mlp-order-cancelled { background: rgba(255,82,82,0.1); color: #FF5252; }

/* Support Bar */
.mlp-support-bar { display: flex; justify-content: space-between; align-items: center; background: linear-gradient(135deg, #0A1628, #1A237E); border-radius: 16px; padding: 30px 36px; color: white; margin-top: 40px; }
.mlp-support-info h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; color: white; }
.mlp-support-info p { font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.mlp-support-actions { display: flex; gap: 12px; }

/* Upgrade Modal */
.mlp-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.mlp-modal-overlay.active { opacity: 1; pointer-events: all; }
.mlp-modal { background: white; border-radius: 20px; padding: 32px; max-width: 560px; width: 92%; max-height: 90vh; overflow-y: auto; transform: translateY(20px); transition: transform 0.3s; }
.mlp-modal-overlay.active .mlp-modal { transform: translateY(0); }
.mlp-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.mlp-modal-header h2 { font-size: 1.3rem; }
.mlp-modal-close { background: none; border: none; font-size: 1.8rem; cursor: pointer; color: var(--gray-400); width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.mlp-modal-close:hover { background: var(--gray-100); color: var(--gray-700); }
.mlp-modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.mlp-upgrade-info { background: var(--gray-50); border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; }
.mlp-upgrade-current { font-size: 0.9rem; }
.mlp-upgrade-label { color: var(--gray-500); font-size: 0.82rem; }
.mlp-upgrade-plans { display: flex; flex-direction: column; gap: 10px; }
.mlp-upgrade-option { cursor: pointer; display: block; }
.mlp-upgrade-option input { display: none; }
.mlp-upgrade-option-content { padding: 14px 18px; border: 2px solid var(--gray-200); border-radius: 12px; transition: all 0.2s; display: flex; justify-content: space-between; align-items: center; }
.mlp-upgrade-option-content strong { color: var(--opt-color); }
.mlp-upgrade-option-content small { display: block; color: var(--gray-400); font-size: 0.78rem; }
.mlp-upgrade-option input:checked + .mlp-upgrade-option-content { border-color: var(--primary); background: rgba(21,101,192,0.04); }

/* Responsive */
@media (max-width: 768px) {
    .mlp-hero-inner { flex-direction: column; text-align: center; }
    .mlp-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .mlp-license-grid { grid-template-columns: 1fr; }
    .mlp-plans-grid { grid-template-columns: 1fr; }
    .mlp-support-bar { flex-direction: column; text-align: center; gap: 20px; }
    .mlp-section-header { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════
   ADMIN LICENSE MANAGEMENT (Master Page)
   ═══════════════════════════════════════════════════════════════ */
.alm-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; flex-wrap: wrap; gap: 16px; }
.alm-header-left h1 { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.alm-header-sub { font-size: 0.85rem; color: var(--gray-500); margin-top: 4px; }
.alm-header-sub code { background: var(--gray-100); padding: 2px 8px; border-radius: 4px; font-size: 0.8rem; }
.alm-header-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.alm-btn-sm { padding: 8px 16px !important; font-size: 0.82rem !important; display: inline-flex !important; align-items: center !important; gap: 6px !important; }
.alm-btn-xs { padding: 4px 10px !important; font-size: 0.75rem !important; }
.alm-btn-icon { font-size: 0.9rem; }

/* Server Status Bar */
.alm-server-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 10px; margin-bottom: 20px; font-size: 0.82rem; flex-wrap: wrap; gap: 8px; }
.alm-server-info { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gray-700); }
.alm-server-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-300); animation: pulse 2s infinite; }
.alm-dot-green { background: #00C853; box-shadow: 0 0 8px rgba(0,200,83,0.4); }
.alm-dot-red { background: #FF5252; box-shadow: 0 0 8px rgba(255,82,82,0.4); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.alm-server-meta { display: flex; gap: 16px; color: var(--gray-400); font-size: 0.8rem; }

/* Stats Grid */
.alm-stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 24px; }
.alm-stat-card { background: white; border-radius: 12px; padding: 16px; border: 1px solid var(--gray-200); text-align: center; transition: transform 0.2s; }
.alm-stat-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.06); }
.alm-stat-icon { font-size: 1.5rem; margin-bottom: 6px; }
.alm-stat-data { display: flex; flex-direction: column; }
.alm-stat-number { font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.alm-stat-label { font-size: 0.75rem; color: var(--gray-500); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.alm-stat-footer { font-size: 0.72rem; color: var(--gray-400); margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--gray-100); }
.alm-stat-total .alm-stat-number { color: #1565C0; }
.alm-stat-active .alm-stat-number { color: #00C853; }
.alm-stat-expired .alm-stat-number { color: #FF5252; }
.alm-stat-trial .alm-stat-number { color: #2196F3; }
.alm-stat-warning .alm-stat-number { color: #FF9800; }
.alm-stat-customers .alm-stat-number { color: #7C4DFF; }

/* Toolbar */
.alm-toolbar { margin-bottom: 20px; }
.alm-search-form { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.alm-search-box { position: relative; flex: 1; min-width: 280px; }
.alm-search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 0.9rem; }
.alm-search-input { width: 100%; padding: 10px 36px 10px 38px; border: 1px solid var(--gray-200); border-radius: 10px; font-size: 0.85rem; background: white; }
.alm-search-input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(21,101,192,0.1); }
.alm-search-clear { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 1.2rem; color: var(--gray-400); text-decoration: none; }
.alm-sort-select { padding: 10px 14px; border: 1px solid var(--gray-200); border-radius: 10px; font-size: 0.82rem; background: white; min-width: 150px; }

/* Filter Pills */
.alm-filter-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.alm-pill { padding: 6px 14px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; background: white; border: 1px solid var(--gray-200); color: var(--gray-600); text-decoration: none; transition: all 0.2s; white-space: nowrap; }
.alm-pill:hover { border-color: var(--pill-color, var(--primary)); color: var(--pill-color, var(--primary)); }
.alm-pill.active { background: var(--pill-color, var(--primary)); color: white; border-color: var(--pill-color, var(--primary)); }

/* Bulk Actions */
.alm-bulk-bar { display: none; padding: 12px 20px; background: #E3F2FD; border-radius: 10px; margin-bottom: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.alm-bulk-bar.active { display: flex; }
.alm-bulk-count { font-weight: 700; color: #1565C0; font-size: 0.85rem; }
.alm-bulk-actions { display: flex; gap: 8px; align-items: center; }
.alm-bulk-select { padding: 6px 12px; border: 1px solid var(--gray-200); border-radius: 8px; font-size: 0.82rem; background: white; }

/* Table */
.alm-table-wrap { background: white; border-radius: 14px; border: 1px solid var(--gray-200); overflow-x: auto; margin-bottom: 20px; }
.alm-table { width: 100%; border-collapse: collapse; min-width: 900px; }
.alm-table thead { background: var(--gray-50); }
.alm-table th { padding: 12px 14px; text-align: left; font-size: 0.78rem; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid var(--gray-200); }
.alm-th-check { width: 40px; }
.alm-table td { padding: 12px 14px; font-size: 0.85rem; border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
.alm-row:hover { background: rgba(21,101,192,0.02); }
.alm-row-warning { background: rgba(255,152,0,0.03); }
.alm-row-expired { background: rgba(255,82,82,0.02); }

/* Table Elements */
.alm-key { background: var(--gray-100); padding: 4px 10px; border-radius: 6px; font-size: 0.76rem; cursor: pointer; display: inline-block; transition: background 0.2s; }
.alm-key:hover { background: var(--gray-200); }
.alm-key-date { font-size: 0.72rem; color: var(--gray-400); margin-top: 3px; }
.alm-customer { display: flex; flex-direction: column; }
.alm-customer strong { font-size: 0.85rem; color: var(--navy); }
.alm-customer small { font-size: 0.75rem; color: var(--gray-400); }
.alm-company { color: var(--gray-500) !important; font-style: italic; }
.alm-module { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 500; }
.alm-module-icon { font-size: 1rem; }
.alm-plan-badge { padding: 3px 10px; border-radius: 6px; font-size: 0.76rem; font-weight: 700; background: color-mix(in srgb, var(--plan-c) 12%, white); color: var(--plan-c); display: inline-block; }
.alm-status-badge { padding: 4px 10px; border-radius: 8px; font-size: 0.76rem; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.alm-center { text-align: center; }
.alm-expired-text { color: #FF5252; font-weight: 600; }
.alm-warning-text { color: #FF9800; font-weight: 600; }
.alm-expiry-warn { font-size: 0.7rem; color: #FF9800; font-weight: 600; }
.alm-text-muted { color: var(--gray-400); }

/* Sync Button */
.alm-sync-btn { background: none; border: 1px solid var(--gray-200); border-radius: 6px; padding: 4px 8px; cursor: pointer; font-size: 0.85rem; transition: all 0.2s; }
.alm-sync-btn:hover { background: var(--gray-100); border-color: var(--primary); }

/* Actions */
.alm-actions { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.alm-action-btn { background: none; border: 1px solid transparent; border-radius: 6px; padding: 4px 6px; cursor: pointer; font-size: 0.85rem; transition: all 0.2s; }
.alm-action-btn:hover { background: var(--gray-100); }
.alm-action-edit:hover { border-color: #1565C0; }
.alm-action-renew:hover { border-color: #FF9800; }
.alm-action-delete:hover { border-color: #FF5252; }
.alm-status-select { padding: 4px 6px; border: 1px solid var(--gray-200); border-radius: 6px; font-size: 0.72rem; cursor: pointer; background: white; }

/* Empty */
.alm-empty-row { text-align: center; padding: 50px !important; }
.alm-empty span { font-size: 3rem; display: block; margin-bottom: 12px; }
.alm-empty p { color: var(--gray-400); margin-bottom: 16px; }

/* Pagination */
.alm-pagination { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.alm-page-info { font-size: 0.82rem; color: var(--gray-500); }
.alm-page-links { display: flex; gap: 6px; }
.alm-page-btn { padding: 6px 14px; border-radius: 8px; background: white; border: 1px solid var(--gray-200); font-size: 0.82rem; color: var(--gray-700); text-decoration: none; transition: all 0.2s; }
.alm-page-btn:hover { border-color: var(--primary); color: var(--primary); }
.alm-page-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

/* Analytics */
.alm-analytics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.alm-analytics-card { background: white; border-radius: 14px; padding: 24px; border: 1px solid var(--gray-200); }
.alm-analytics-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.alm-chart-rows { display: flex; flex-direction: column; gap: 10px; }
.alm-chart-row { display: flex; align-items: center; gap: 10px; }
.alm-chart-label { min-width: 160px; font-size: 0.82rem; color: var(--gray-600); }
.alm-chart-bar-wrap { flex: 1; height: 8px; background: var(--gray-100); border-radius: 4px; overflow: hidden; }
.alm-chart-bar { height: 100%; background: var(--primary); border-radius: 4px; transition: width 0.5s; }
.alm-chart-val { min-width: 80px; font-size: 0.82rem; font-weight: 600; text-align: right; }
.alm-chart-val small { color: var(--gray-400); font-weight: 400; }

/* Plan Distribution */
.alm-plan-dist { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.alm-plan-dist-header { display: flex; justify-content: space-between; margin-bottom: 4px; }
.alm-plan-dist-name { font-weight: 700; font-size: 0.85rem; }
.alm-plan-dist-count { font-size: 0.82rem; color: var(--gray-500); }

/* Quick Actions */
.alm-quick-actions { border-top: 1px solid var(--gray-100); padding-top: 16px; }
.alm-quick-actions h4 { font-size: 0.82rem; color: var(--gray-500); margin-bottom: 10px; }
.alm-qa-btn { text-align: left !important; padding: 8px 14px !important; font-size: 0.82rem !important; display: block !important; width: 100% !important; margin-bottom: 6px !important; border-radius: 8px !important; }

/* Server Panel */
.alm-server-panel { background: white; border-radius: 14px; padding: 24px; border: 1px solid var(--gray-200); }
.alm-server-panel h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.alm-server-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 16px; }
.alm-server-detail { display: flex; flex-direction: column; gap: 4px; }
.alm-server-detail-label { font-size: 0.75rem; color: var(--gray-400); text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; }
.alm-server-detail code { font-size: 0.82rem; background: var(--gray-50); padding: 4px 8px; border-radius: 4px; }
.alm-server-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--gray-100); }

/* Modal (Admin) */
.alm-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; backdrop-filter: blur(4px); }
.alm-modal-overlay.active { opacity: 1; pointer-events: all; }
.alm-modal { background: white; border-radius: 20px; padding: 32px; max-width: 560px; width: 92%; max-height: 90vh; overflow-y: auto; transform: translateY(20px) scale(0.98); transition: transform 0.3s; }
.alm-modal-overlay.active .alm-modal { transform: translateY(0) scale(1); }
.alm-modal-lg { max-width: 720px; }
.alm-modal-sm { max-width: 440px; }
.alm-modal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.alm-modal-header h2 { font-size: 1.3rem; font-weight: 700; }
.alm-modal-header p { font-size: 0.85rem; color: var(--gray-500); margin-top: 4px; }
.alm-modal-close { background: none; border: none; font-size: 1.8rem; cursor: pointer; color: var(--gray-400); width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.alm-modal-close:hover { background: var(--gray-100); color: var(--gray-700); }
.alm-modal-footer { display: flex; gap: 10px; justify-content: flex-end; padding-top: 20px; border-top: 1px solid var(--gray-100); margin-top: 16px; }

/* Form Sections */
.alm-form-section { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--gray-100); }
.alm-form-section:last-of-type { border-bottom: none; }
.alm-form-section-title { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.alm-form-hint { font-size: 0.82rem; color: var(--gray-500); margin-bottom: 12px; }
.alm-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 12px; }
.alm-form-group { display: flex; flex-direction: column; }
.alm-form-group label { font-weight: 600; font-size: 0.82rem; margin-bottom: 6px; color: var(--gray-700); }
.alm-form-full { grid-column: 1 / -1; }
.alm-form-help { font-size: 0.75rem; color: var(--gray-400); margin-top: 4px; }
.alm-form-quick-dates { display: flex; gap: 6px; margin-top: 6px; }
.alm-form-quick-dates button { padding: 3px 10px; border: 1px solid var(--gray-200); border-radius: 6px; background: white; font-size: 0.72rem; cursor: pointer; color: var(--gray-600); transition: all 0.2s; }
.alm-form-quick-dates button:hover { border-color: var(--primary); color: var(--primary); background: rgba(21,101,192,0.04); }

/* Module Picker */
.alm-module-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-bottom: 10px; }
.alm-module-option { cursor: pointer; }
.alm-module-option input { display: none; }
.alm-module-option-content { padding: 10px 12px; border: 2px solid var(--gray-200); border-radius: 10px; display: flex; align-items: center; gap: 8px; transition: all 0.2s; }
.alm-module-option-content:hover { border-color: var(--gray-300); }
.alm-module-option input:checked + .alm-module-option-content { border-color: var(--primary); background: rgba(21,101,192,0.05); }
.alm-module-option-icon { font-size: 1.1rem; }
.alm-module-option-name { font-size: 0.78rem; font-weight: 600; color: var(--gray-700); }
.alm-module-picker-actions { display: flex; gap: 8px; margin-bottom: 8px; }

/* Checkbox Label */
.alm-checkbox-label { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 500; cursor: pointer; }
.alm-checkbox-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary); }

/* Create Summary */
.alm-create-summary { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 12px; padding: 18px 20px; margin-bottom: 8px; }
.alm-create-summary h4 { font-size: 0.9rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.alm-summary-row { display: flex; gap: 8px; font-size: 0.82rem; padding: 4px 0; }
.alm-summary-row span { color: var(--gray-500); min-width: 100px; }
.alm-summary-row small { color: var(--gray-400); }

/* Edit/Renew Info */
.alm-edit-info, .alm-renew-info { margin-bottom: 20px; }
.alm-edit-meta, .alm-renew-meta { background: var(--gray-50); border-radius: 10px; padding: 14px 18px; font-size: 0.85rem; display: flex; flex-direction: column; gap: 6px; }
.alm-edit-meta code, .alm-renew-meta code { background: var(--gray-200); padding: 2px 8px; border-radius: 4px; font-size: 0.8rem; }

/* Responsive Admin */
@media (max-width: 1024px) {
    .alm-stats-grid { grid-template-columns: repeat(3, 1fr); }
    .alm-analytics-grid { grid-template-columns: 1fr; }
    .alm-server-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .alm-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .alm-header { flex-direction: column; }
    .alm-form-row { grid-template-columns: 1fr; }
    .alm-module-picker { grid-template-columns: repeat(2, 1fr); }
}

