/* ============================================
   SAMPATTI - Professional Stylesheet v2.0
   Property Legal Compliance & Verification
   ============================================ */

:root {
    --primary: #0c2340;
    --primary-light: #1a3f6f;
    --primary-dark: #061628;
    --accent: #0d9488;
    --accent-light: #14b8a6;
    --accent-dark: #0a7269;
    --gold: #c8a951;
    --gold-light: #e8d48b;
    --success: #059669;
    --success-light: #10b981;
    --warning: #d97706;
    --warning-light: #f59e0b;
    --danger: #dc2626;
    --danger-light: #ef4444;
    --info: #2563eb;
    --info-light: #3b82f6;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.1), 0 8px 16px rgba(0,0,0,0.06);
    --shadow-2xl: 0 25px 50px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 30px rgba(13,148,136,0.15);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    color: var(--gray-800);
    background: var(--gray-50);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
::selection { background: rgba(13,148,136,0.15); color: var(--primary); }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 680px; margin: 0 auto; padding: 0 24px; }
.container-md { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(226,232,240,0.6);
    transition: var(--transition);
}
.navbar.scrolled {
    box-shadow: 0 1px 12px rgba(0,0,0,0.06);
    background: rgba(255,255,255,0.97);
}
.nav-container {
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
}
.nav-brand {
    display: flex; align-items: center; gap: 10px;
    font-weight: 800; font-size: 21px; color: var(--primary);
    letter-spacing: -0.3px;
}
.brand-logo {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 900; font-size: 16px;
    box-shadow: 0 2px 8px rgba(13,148,136,0.3);
    transition: var(--transition);
}
.nav-brand:hover .brand-logo { transform: rotate(-5deg) scale(1.05); box-shadow: 0 4px 12px rgba(13,148,136,0.4); }
.nav-brand:hover { color: var(--primary); }
.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-link {
    padding: 8px 16px; font-size: 14px; font-weight: 500; color: var(--gray-600);
    border-radius: var(--radius); transition: var(--transition);
    position: relative;
}
.nav-link:hover { color: var(--primary); background: var(--gray-50); }
.nav-link.active { color: var(--primary); font-weight: 600; }
.nav-link.active::after {
    content: ''; position: absolute; bottom: 2px; left: 16px; right: 16px;
    height: 2px; background: var(--accent); border-radius: 2px;
}
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--gray-700); padding: 8px; border-radius: var(--radius); }
.nav-toggle:hover { background: var(--gray-100); }
.nav-cta { margin-left: 8px; }
.nav-user-menu { position: relative; margin-left: 8px; }
.nav-user-btn {
    display: flex; align-items: center; gap: 8px; background: none; border: 1.5px solid var(--gray-200);
    padding: 5px 14px 5px 5px; border-radius: var(--radius-full); cursor: pointer; font-family: var(--font);
    font-size: 13px; color: var(--gray-700); transition: var(--transition);
}
.nav-user-btn:hover { border-color: var(--accent); color: var(--primary); }
.user-avatar {
    width: 30px; height: 30px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white); display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
}
.user-dropdown {
    position: absolute; top: calc(100% + 10px); right: 0; background: var(--white);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); border: 1px solid var(--gray-100);
    min-width: 210px; opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: var(--transition); overflow: hidden; z-index: 100;
}
.user-dropdown.show { opacity: 1; visibility: visible; transform: translateY(0); }
.user-dropdown a {
    display: flex; align-items: center; gap: 10px; padding: 11px 16px;
    font-size: 13px; color: var(--gray-700); transition: var(--transition-fast);
}
.user-dropdown a:hover { background: var(--gray-50); color: var(--accent); }
.user-dropdown a i { font-size: 16px; }
.user-dropdown hr { border: none; border-top: 1px solid var(--gray-100); margin: 4px 0; }

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-menu {
        position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
        flex-direction: column; background: rgba(255,255,255,0.98); padding: 16px 20px;
        backdrop-filter: blur(20px);
        gap: 2px; align-items: stretch; transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1); z-index: 999;
        overflow-y: auto;
    }
    .nav-menu.open { transform: translateX(0); }
    .nav-link { padding: 14px 16px; font-size: 16px; border-radius: var(--radius-lg); }
    .nav-link.active::after { display: none; }
    .nav-link.active { background: rgba(13,148,136,0.06); }
    .nav-cta { margin-left: 0; margin-top: 12px; text-align: center; }
    .nav-user-menu { margin-left: 0; margin-top: 8px; }
    .user-dropdown { position: static; box-shadow: none; border: 1px solid var(--gray-200); opacity: 1; visibility: visible; transform: none; display: none; border-radius: var(--radius-lg); }
    .user-dropdown.show { display: block; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; font-family: var(--font); font-size: 14px; font-weight: 600;
    border: 2px solid transparent; border-radius: var(--radius);
    cursor: pointer; transition: var(--transition); text-decoration: none; line-height: 1;
    position: relative; overflow: hidden;
}
.btn::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: 0; height: 0; border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}
.btn:active::after { width: 300px; height: 300px; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(0); }
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white); border-color: var(--primary);
}
.btn-primary:hover { box-shadow: 0 8px 25px rgba(12,35,64,0.3); color: var(--white); }
.btn-accent {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
    color: var(--white); border-color: var(--accent);
}
.btn-accent:hover { box-shadow: 0 8px 25px rgba(13,148,136,0.35); color: var(--white); }
.btn-outline {
    background: transparent; color: var(--primary); border-color: var(--gray-300);
}
.btn-outline:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-white {
    background: var(--white); color: var(--primary); border-color: var(--white);
    font-weight: 700;
}
.btn-white:hover { background: var(--gray-50); box-shadow: 0 8px 25px rgba(255,255,255,0.3); color: var(--primary); }
.btn-ghost { background: rgba(255,255,255,0.12); color: var(--white); border-color: rgba(255,255,255,0.25); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn-danger { background: var(--danger); color: var(--white); border-color: var(--danger); }
.btn-success { background: var(--success); color: var(--white); border-color: var(--success); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-xl { padding: 16px 36px; font-size: 16px; border-radius: var(--radius-lg); font-weight: 700; letter-spacing: -0.2px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600;
    color: var(--gray-700); letter-spacing: 0.01em;
}
.form-label .required { color: var(--danger); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
    width: 100%; padding: 11px 16px; font-family: var(--font); font-size: 14px;
    border: 1.5px solid var(--gray-200); border-radius: var(--radius);
    background: var(--white); color: var(--gray-800); transition: var(--transition);
    outline: none;
}
.form-input:hover, .form-select:hover, .form-textarea:hover { border-color: var(--gray-300); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--accent); box-shadow: 0 0 0 3px rgba(13,148,136,0.08);
}
.form-input::placeholder { color: var(--gray-400); }
.form-input.error, .form-select.error { border-color: var(--danger); }
.form-textarea { min-height: 100px; resize: vertical; }
.form-hint { font-size: 12px; color: var(--gray-400); margin-top: 4px; }
.form-error { font-size: 12px; color: var(--danger); margin-top: 4px; font-weight: 500; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.checkbox-group {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px;
}
.checkbox-item {
    display: flex; align-items: flex-start; gap: 12px; padding: 14px;
    border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg);
    cursor: pointer; transition: var(--transition); background: var(--white);
}
.checkbox-item:hover { border-color: var(--accent); background: rgba(13,148,136,0.01); transform: translateY(-1px); }
.checkbox-item.checked { border-color: var(--success); background: rgba(5,150,105,0.03); box-shadow: 0 0 0 1px rgba(5,150,105,0.1); }
.checkbox-item input[type="checkbox"] {
    width: 18px; height: 18px; margin-top: 2px; accent-color: var(--success); flex-shrink: 0;
}
.checkbox-label { font-size: 13px; line-height: 1.4; }
.checkbox-label strong { display: block; color: var(--gray-800); font-weight: 600; }
.checkbox-label span { color: var(--gray-500); font-size: 12px; }
.checkbox-critical { border-left: 3px solid var(--danger); }

/* ============================================
   ALERTS
   ============================================ */
.alert {
    padding: 14px 20px; border-radius: var(--radius-lg); margin-bottom: 16px;
    font-size: 14px; display: flex; align-items: center; justify-content: space-between;
    border: 1px solid transparent;
    animation: alertSlideIn 0.3s ease;
}
@keyframes alertSlideIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.alert-success { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.alert-warning { background: #fffbeb; color: #92400e; border-color: #fcd34d; }
.alert-info { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
.alert-close { background: none; border: none; font-size: 20px; cursor: pointer; color: inherit; opacity: 0.6; transition: var(--transition-fast); }
.alert-close:hover { opacity: 1; }

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--white); border-radius: var(--radius-xl);
    box-shadow: var(--shadow); border: 1px solid var(--gray-100);
    overflow: hidden; transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); }
.card-body { padding: 28px; }
.card-header {
    padding: 20px 28px; border-bottom: 1px solid var(--gray-100);
    font-weight: 700; font-size: 16px; color: var(--gray-800);
    display: flex; align-items: center; gap: 8px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative; padding: 160px 0 110px; overflow: hidden;
    background: var(--primary);
    color: var(--white);
}
.hero::before {
    content: ''; position: absolute; top: -50%; right: -20%; width: 80%; height: 200%;
    background: radial-gradient(ellipse, rgba(13,148,136,0.2) 0%, transparent 60%);
    pointer-events: none;
}
.hero::after {
    content: ''; position: absolute; bottom: -30%; left: -10%; width: 60%; height: 150%;
    background: radial-gradient(ellipse, rgba(200,169,81,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.hero-bg-grid {
    position: absolute; inset: 0; opacity: 0.04;
    background-image: linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero-float-shape {
    position: absolute; border-radius: 50%; pointer-events: none;
    animation: heroFloat 6s ease-in-out infinite;
}
.hero-float-shape.s1 { width: 300px; height: 300px; top: -80px; right: -60px; background: rgba(13,148,136,0.08); animation-delay: 0s; }
.hero-float-shape.s2 { width: 200px; height: 200px; bottom: -40px; left: 10%; background: rgba(200,169,81,0.06); animation-delay: -2s; }
.hero-float-shape.s3 { width: 150px; height: 150px; top: 30%; right: 15%; background: rgba(255,255,255,0.03); animation-delay: -4s; }
@keyframes heroFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 820px; margin: 0 auto; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
    padding: 8px 20px; border-radius: var(--radius-full); font-size: 13px;
    font-weight: 500; margin-bottom: 28px; backdrop-filter: blur(8px);
    animation: fadeInDown 0.6s ease;
}
.hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-light); animation: pulse 2s ease infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.hero h1 {
    font-size: clamp(34px, 5vw, 56px); font-weight: 900; line-height: 1.1;
    margin-bottom: 24px; letter-spacing: -1.5px;
    animation: fadeInUp 0.7s ease 0.1s both;
}
.hero h1 .text-gradient {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: clamp(16px, 2vw, 19px); opacity: 0.8; max-width: 620px;
    margin: 0 auto 36px; line-height: 1.65; font-weight: 400;
    animation: fadeInUp 0.7s ease 0.2s both;
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; animation: fadeInUp 0.7s ease 0.3s both; }

.hero-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
    margin-top: 64px; animation: fadeInUp 0.7s ease 0.4s both;
}
.hero-stat {
    text-align: center; padding: 28px 20px;
    border-right: 1px solid rgba(255,255,255,0.1);
    position: relative;
}
.hero-stat:last-child { border-right: none; }
.hero-stat .number { font-size: 40px; font-weight: 900; letter-spacing: -1px; line-height: 1; }
.hero-stat .label { font-size: 13px; opacity: 0.6; margin-top: 8px; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; }

@media (max-width: 600px) {
    .hero { padding: 130px 0 70px; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); }
    .hero-stat { padding: 16px 8px; }
    .hero-stat .number { font-size: 28px; }
    .hero-stat .label { font-size: 11px; }
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    padding: 28px 0; border-bottom: 1px solid var(--gray-200);
    background: var(--white);
}
.trust-bar-inner {
    display: flex; align-items: center; justify-content: center;
    gap: 40px; flex-wrap: wrap;
}
.trust-item {
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 600; color: var(--gray-500);
}
.trust-item i { font-size: 20px; color: var(--accent); }
.trust-item .trust-num { font-size: 16px; font-weight: 800; color: var(--gray-800); }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 90px 0; }
.section-sm { padding: 48px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-header h2 {
    font-size: clamp(26px, 3.5vw, 38px); font-weight: 800;
    color: var(--gray-900); margin-bottom: 14px; letter-spacing: -0.8px;
    line-height: 1.2;
}
.section-header p { color: var(--gray-500); font-size: 16px; line-height: 1.7; }
.section-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 2px; color: var(--accent); margin-bottom: 14px;
    background: rgba(13,148,136,0.06); padding: 6px 16px; border-radius: var(--radius-full);
}
.bg-white { background: var(--white); }
.bg-gray { background: var(--gray-50); }

/* ============================================
   FEATURES GRID
   ============================================ */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.feature-card {
    background: var(--white); border-radius: var(--radius-xl); padding: 32px;
    border: 1px solid var(--gray-100); transition: var(--transition);
    position: relative;
}
.feature-card::before {
    content: ''; position: absolute; inset: 0; border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(13,148,136,0.03), transparent);
    opacity: 0; transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
    width: 52px; height: 52px; border-radius: var(--radius-lg); display: flex;
    align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px;
    position: relative; z-index: 1;
}
.feature-icon.blue { background: linear-gradient(135deg, #eff6ff, #dbeafe); color: var(--info); }
.feature-icon.green { background: linear-gradient(135deg, #ecfdf5, #d1fae5); color: var(--success); }
.feature-icon.orange { background: linear-gradient(135deg, #fff7ed, #ffedd5); color: #ea580c; }
.feature-icon.purple { background: linear-gradient(135deg, #faf5ff, #f3e8ff); color: #7c3aed; }
.feature-icon.red { background: linear-gradient(135deg, #fef2f2, #fee2e2); color: var(--danger); }
.feature-icon.teal { background: linear-gradient(135deg, #f0fdfa, #ccfbf1); color: var(--accent); }
.feature-card h3 { font-size: 17px; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; position: relative; z-index: 1; }
.feature-card p { font-size: 14px; color: var(--gray-500); line-height: 1.65; position: relative; z-index: 1; }

/* ============================================
   HOW IT WORKS - Steps
   ============================================ */
.steps-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    position: relative;
}
.steps-grid::before {
    content: ''; position: absolute; top: 30px; left: calc(16.67% + 20px); right: calc(16.67% + 20px);
    height: 2px; background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent));
    opacity: 0.2; z-index: 0;
}
.step-card { text-align: center; position: relative; z-index: 1; }
.step-number {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--white); border: 3px solid var(--gray-200);
    color: var(--primary); display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 900; margin: 0 auto 20px;
    transition: var(--transition); position: relative;
    box-shadow: var(--shadow);
}
.step-card:hover .step-number {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white); border-color: transparent;
    box-shadow: 0 8px 25px rgba(13,148,136,0.3); transform: scale(1.08);
}
.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--gray-800); }
.step-card p { font-size: 14px; color: var(--gray-500); max-width: 280px; margin: 0 auto; line-height: 1.6; }

@media (max-width: 700px) {
    .steps-grid { grid-template-columns: 1fr; gap: 32px; }
    .steps-grid::before { display: none; }
}

/* ============================================
   PRICING
   ============================================ */
.pricing-card {
    background: var(--white); border-radius: var(--radius-2xl); padding: 44px;
    border: 2px solid var(--gray-200); text-align: center; max-width: 480px;
    margin: 0 auto; transition: var(--transition); position: relative;
}
.pricing-card.featured {
    border-color: var(--accent); box-shadow: var(--shadow-xl), var(--shadow-glow);
}
.pricing-popular {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), var(--accent-light)); color: var(--white);
    padding: 5px 22px; border-radius: var(--radius-full); font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    box-shadow: 0 4px 12px rgba(13,148,136,0.3);
}
.pricing-amount { font-size: 52px; font-weight: 900; color: var(--primary); margin: 24px 0 8px; letter-spacing: -2px; }
.pricing-period { font-size: 14px; color: var(--gray-500); }
.pricing-features { list-style: none; margin: 28px 0; text-align: left; }
.pricing-features li {
    padding: 11px 0; font-size: 14px; color: var(--gray-600);
    display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--gray-100);
}
.pricing-features li i { color: var(--success); font-size: 16px; flex-shrink: 0; }

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-wrapper {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: 100px 20px 40px;
    background: linear-gradient(135deg, var(--gray-50) 0%, #f0fdf4 50%, var(--gray-50) 100%);
}
.auth-card {
    width: 100%; max-width: 460px; background: var(--white);
    border-radius: var(--radius-2xl); box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100); overflow: hidden;
}
.auth-header { padding: 36px 36px 0; text-align: center; }
.auth-header h1 { font-size: 24px; font-weight: 800; color: var(--gray-900); margin-bottom: 8px; letter-spacing: -0.5px; }
.auth-header p { color: var(--gray-500); font-size: 14px; }
.auth-body { padding: 32px 36px; }
.auth-footer { padding: 0 36px 32px; text-align: center; font-size: 14px; color: var(--gray-500); }
.auth-divider {
    display: flex; align-items: center; gap: 16px; margin: 20px 0;
    color: var(--gray-400); font-size: 13px;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-layout { padding-top: 88px; min-height: 100vh; }
.dashboard-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent-dark) 100%);
    color: var(--white); padding: 36px 0; position: relative; overflow: hidden;
}
.dashboard-header::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at top right, rgba(13,148,136,0.2), transparent 60%);
}
.dashboard-header h1 { font-size: 28px; font-weight: 800; position: relative; letter-spacing: -0.5px; }
.dashboard-header p { opacity: 0.7; font-size: 14px; margin-top: 4px; position: relative; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: -44px; position: relative; z-index: 1; }
.stat-card {
    background: var(--white); border-radius: var(--radius-xl); padding: 24px;
    box-shadow: var(--shadow-md); border: 1px solid var(--gray-100);
    transition: var(--transition);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.stat-card .stat-icon {
    width: 44px; height: 44px; border-radius: var(--radius-lg); display: flex;
    align-items: center; justify-content: center; font-size: 20px; margin-bottom: 12px;
}
.stat-card .stat-value { font-size: 28px; font-weight: 800; color: var(--gray-900); letter-spacing: -0.5px; }
.stat-card .stat-label { font-size: 13px; color: var(--gray-500); margin-top: 2px; }

.reports-table { width: 100%; border-collapse: collapse; }
.reports-table th {
    background: var(--gray-50); padding: 12px 16px; text-align: left;
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.8px; color: var(--gray-400); border-bottom: 2px solid var(--gray-200);
}
.reports-table td { padding: 14px 16px; border-bottom: 1px solid var(--gray-100); font-size: 14px; }
.reports-table tr { transition: var(--transition-fast); }
.reports-table tr:hover { background: var(--gray-50); }

/* Badges */
.badge {
    display: inline-flex; align-items: center; padding: 4px 12px;
    border-radius: var(--radius-full); font-size: 11px; font-weight: 700;
    letter-spacing: 0.3px;
}
.badge-success { background: #ecfdf5; color: #065f46; }
.badge-warning { background: #fffbeb; color: #92400e; }
.badge-danger { background: #fef2f2; color: #991b1b; }
.badge-info { background: #eff6ff; color: #1e40af; }
.badge-gray { background: var(--gray-100); color: var(--gray-600); }

/* ============================================
   VERIFICATION WIZARD
   ============================================ */
.wizard-container { padding-top: 100px; }
.wizard-steps {
    display: flex; align-items: center; justify-content: center; gap: 0;
    margin-bottom: 40px; padding: 0 20px;
}
.wizard-step {
    display: flex; align-items: center; gap: 10px; padding: 12px 20px;
    font-size: 14px; font-weight: 600; color: var(--gray-400); position: relative;
}
.wizard-step.active { color: var(--primary); }
.wizard-step.completed { color: var(--success); }
.wizard-step-num {
    width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 14px; font-weight: 700;
    border: 2px solid var(--gray-300); color: var(--gray-400); flex-shrink: 0;
    transition: var(--transition);
}
.wizard-step.active .wizard-step-num {
    border-color: var(--primary); color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 4px 12px rgba(12,35,64,0.2);
}
.wizard-step.completed .wizard-step-num {
    border-color: var(--success); color: var(--white);
    background: var(--success);
    box-shadow: 0 4px 12px rgba(5,150,105,0.2);
}
.wizard-step-line { width: 60px; height: 2px; background: var(--gray-200); margin: 0 4px; border-radius: 2px; }
.wizard-step-line.completed { background: linear-gradient(90deg, var(--success), var(--accent)); }

@media (max-width: 600px) {
    .wizard-step span { display: none; }
    .wizard-step-line { width: 30px; }
}

/* ============================================
   SCORE DISPLAY
   ============================================ */
.score-circle {
    width: 120px; height: 120px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; font-size: 32px;
    font-weight: 800; margin: 0 auto;
}
.score-low { background: #ecfdf5; color: #065f46; border: 4px solid var(--success); }
.score-medium { background: #fffbeb; color: #92400e; border: 4px solid var(--warning); }
.score-high { background: #fef2f2; color: #991b1b; border: 4px solid var(--danger); }
.score-critical { background: #fef2f2; color: #7f1d1d; border: 4px solid var(--danger); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.testimonial-card {
    background: var(--white); border-radius: var(--radius-xl); padding: 32px;
    border: 1px solid var(--gray-100); position: relative;
    transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.testimonial-stars { margin-bottom: 14px; color: #f59e0b; font-size: 14px; letter-spacing: 2px; }
.testimonial-text { font-size: 14px; color: var(--gray-600); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white); display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.testimonial-info { }
.testimonial-info strong { display: block; font-size: 14px; color: var(--gray-800); font-weight: 700; }
.testimonial-info span { font-size: 12px; color: var(--gray-400); }
.testimonial-verified {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11px; color: var(--success); font-weight: 600; margin-top: 2px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--primary); color: var(--white);
    padding: 90px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; top: -50%; right: -20%; width: 60%; height: 200%;
    background: radial-gradient(ellipse, rgba(13,148,136,0.15) 0%, transparent 60%);
}
.cta-section h2 { font-size: clamp(26px, 4vw, 42px); font-weight: 800; margin-bottom: 16px; position: relative; letter-spacing: -1px; }
.cta-section p { font-size: 18px; opacity: 0.75; max-width: 560px; margin: 0 auto 36px; position: relative; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--gray-900); color: var(--gray-400); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand-logo {
    width: 32px; height: 32px; border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 900; font-size: 14px;
}
.footer-brand-text { font-size: 20px; font-weight: 800; color: var(--white); }
.footer-col h4 { color: var(--white); margin-bottom: 16px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; }
.footer-col p { font-size: 13px; line-height: 1.7; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.footer-col a { display: block; font-size: 13px; color: var(--gray-400); padding: 5px 0; transition: var(--transition-fast); }
.footer-col a:hover { color: var(--white); padding-left: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
    width: 36px; height: 36px; border-radius: var(--radius);
    background: var(--gray-800); display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: var(--gray-400); transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--white); }
.footer-bottom {
    margin-top: 44px; padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center; font-size: 13px; color: var(--gray-500);
}

@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================
   ADMIN
   ============================================ */
.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
    padding: 110px 0 44px; position: relative; overflow: hidden;
    background: var(--primary); color: var(--white);
}
.page-header::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at bottom right, rgba(13,148,136,0.15), transparent 60%);
}
.page-header h1 { font-size: 34px; font-weight: 800; position: relative; letter-spacing: -0.5px; }
.page-header p { opacity: 0.7; margin-top: 8px; font-size: 16px; position: relative; }

/* ============================================
   FLOATING MOBILE CTA
   ============================================ */
.mobile-cta {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
    background: var(--white); padding: 12px 16px; box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    border-top: 1px solid var(--gray-200);
}
.mobile-cta .btn { width: 100%; }
@media (max-width: 768px) { .mobile-cta { display: block; } }

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-muted { color: var(--gray-500); }
.text-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.p-3 { padding: 24px; }
.gap-2 { gap: 16px; }
.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.hidden { display: none; }
.overflow-x-auto { overflow-x: auto; }

/* Spinner */
.spinner {
    width: 36px; height: 36px; border: 3px solid var(--gray-200);
    border-top-color: var(--accent); border-radius: 50%;
    animation: spin 0.8s linear infinite; margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
:target { scroll-margin-top: 80px; }

/* ============================================
   RESPONSIVE FIXES - All Breakpoints
   ============================================ */

/* Tablet and below */
@media (max-width: 768px) {
    .payment-grid { grid-template-columns: 1fr !important; }
    .contact-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
    .report-detail-grid { grid-template-columns: 1fr !important; }
    .report-stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .admin-grid { grid-template-columns: repeat(2, 1fr); }
    .mobile-cta { padding-bottom: env(safe-area-inset-bottom, 12px); }
}

/* Small mobile */
@media (max-width: 600px) {
    .hero-stats { grid-template-columns: repeat(3, 1fr); }
    .hero-stat { padding: 14px 6px; }
    .hero-stat .number { font-size: 24px; }
    .hero-stat .label { font-size: 10px; letter-spacing: 0; }
    .hero-stat { border-right-color: rgba(255,255,255,0.06); }
    .report-stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stat-card { padding: 16px; }
    .stat-card .stat-value { font-size: 22px; }
    .admin-grid { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .section-header { margin-bottom: 36px; }
    .features-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .page-header { padding: 100px 0 32px; }
    .page-header h1 { font-size: 26px; }
    .dashboard-header h1 { font-size: 22px; }
    .card-body { padding: 20px; }
    .card-header { padding: 16px 20px; }
    .auth-body { padding: 24px; }
    .auth-header { padding: 28px 24px 0; }
    .error-icon { font-size: 56px !important; }
    .error-code { font-size: 36px !important; }
    .error-heading { font-size: 20px !important; }
}

/* Very small mobile (iPhone SE, etc) */
@media (max-width: 380px) {
    .container { padding: 0 16px; }
    .hero { padding: 120px 0 50px; }
    .hero h1 { font-size: 28px; letter-spacing: -0.5px; }
    .hero p { font-size: 15px; }
    .hero-stat .number { font-size: 20px; }
    .btn-xl { padding: 14px 24px; font-size: 14px; }
    .stats-grid { grid-template-columns: 1fr; }
    .report-stats-grid { grid-template-columns: 1fr !important; }
    .wizard-step { padding: 8px 10px; }
    .pricing-card { padding: 28px 20px; }
    .pricing-amount { font-size: 40px; }
    .nav-brand .brand-text { font-size: 18px; }
}

/* Safe area for modern devices */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .mobile-cta { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
    .footer { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}
