/* =============================================
   LANDING PAGE - SISTEM OPR
   Design System v2.0
   ============================================= */

/* CSS Variables */
:root {
    --primary: #1a3a6e;
    --primary-dark: #0f2548;
    --primary-light: #2d5aa0;
    --primary-lighter: #4a7fd4;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --accent-light: #fbbf24;
    --success: #10b981;
    --danger: #ef4444;
    --text: #1a1d26;
    --text-secondary: #4a5568;
    --text-light: #717d96;
    --bg: #ffffff;
    --bg-alt: #f7f9fc;
    --bg-dark: #0c1222;
    --bg-darker: #070d19;
    --border: #e2e8f0;
    --border-light: #edf2f7;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 30px 70px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 40px rgba(26, 58, 110, 0.15);
    --shadow-accent: 0 4px 20px rgba(245, 158, 11, 0.25);

    /* Spacing */
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition: all 0.3s var(--ease);
    --transition-slow: all 0.5s var(--ease);

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

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.65;
    background: var(--bg);
    overflow-x: hidden;
}

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

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

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); }

p {
    color: var(--text-secondary);
}

/* Section Tag */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(26, 58, 110, 0.06);
    color: var(--primary-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.section-tag-light {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
    border-bottom-color: transparent;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
}

.nav-brand img {
    height: 38px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s var(--ease);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600 !important;
    box-shadow: 0 2px 10px rgba(26, 58, 110, 0.2);
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--primary-dark);
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(26, 58, 110, 0.3);
}

.nav-cta::after {
    display: none !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-toggle:hover {
    background: var(--bg-alt);
}

.nav-toggle span {
    width: 22px;
    height: 2.5px;
    background: var(--text);
    border-radius: 3px;
    transition: var(--transition);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(160deg, #f8faff 0%, #eef3fb 40%, #e8eef8 100%);
    position: relative;
    overflow: hidden;
}

/* Grain texture */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* Floating gradient orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    will-change: transform;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(26, 58, 110, 0.12) 0%, transparent 70%);
    top: -10%;
    right: -5%;
    animation: float-orb 20s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
    bottom: -10%;
    left: -5%;
    animation: float-orb 25s ease-in-out infinite reverse;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(45, 90, 160, 0.08) 0%, transparent 70%);
    top: 40%;
    left: 30%;
    animation: float-orb 18s ease-in-out infinite 5s;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

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

.hero-content {
    position: relative;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(245, 158, 11, 0.15);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: hero-fade-up 0.6s var(--ease) 0.1s forwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
}

.badge-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.hero-title {
    color: var(--primary-dark);
    margin-bottom: 20px;
    opacity: 0;
    animation: hero-fade-up 0.6s var(--ease) 0.2s forwards;
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    margin-bottom: 32px;
    max-width: 520px;
    line-height: 1.75;
    color: var(--text-secondary);
    opacity: 0;
    animation: hero-fade-up 0.6s var(--ease) 0.3s forwards;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    opacity: 0;
    animation: hero-fade-up 0.6s var(--ease) 0.4s forwards;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(26, 58, 110, 0.08);
    opacity: 0;
    animation: hero-fade-up 0.6s var(--ease) 0.5s forwards;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(26, 58, 110, 0.1);
}

@keyframes hero-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Mockup - Dashboard style */
.hero-image {
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: hero-fade-up 0.8s var(--ease) 0.4s forwards;
}

.hero-mockup {
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border-light);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #28ca42; }

.mockup-url {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg);
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 0.72rem;
    color: var(--text-light);
    flex: 1;
    max-width: 260px;
}

.mockup-url svg {
    color: var(--success);
    flex-shrink: 0;
}

.mockup-content {
    display: flex;
    min-height: 320px;
}

.mockup-sidebar {
    width: 56px;
    background: var(--primary-dark);
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mockup-nav-item {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.mockup-nav-item.active {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

.mockup-main {
    flex: 1;
    padding: 20px;
    background: var(--bg-alt);
}

.mockup-topbar {
    height: 14px;
    width: 45%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 7px;
    margin-bottom: 20px;
    opacity: 0.7;
}

.mockup-cards-row {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.mockup-stat-card {
    flex: 1;
    height: 60px;
    background: var(--bg);
    border-radius: 10px;
    box-shadow: var(--shadow-xs);
    position: relative;
    overflow: hidden;
}

.mockup-stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
}

.mockup-stat-card:nth-child(1)::after { background: var(--primary); }
.mockup-stat-card:nth-child(2)::after { background: var(--accent); }
.mockup-stat-card:nth-child(3)::after { background: var(--success); }

.mockup-table {
    background: var(--bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}

.mockup-table-header {
    height: 32px;
    background: rgba(26, 58, 110, 0.04);
    border-bottom: 1px solid var(--border-light);
}

.mockup-table-row {
    height: 36px;
    border-bottom: 1px solid var(--border-light);
    animation: mockup-pulse 2s ease-in-out infinite;
}

.mockup-table-row:last-child { border-bottom: none; }
.mockup-table-row:nth-child(2) { animation-delay: 0.3s; }
.mockup-table-row:nth-child(3) { animation-delay: 0.6s; }

@keyframes mockup-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(26, 58, 110, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 58, 110, 0.35);
}

.btn-secondary {
    background: var(--bg);
    color: var(--primary);
    border: 2px solid rgba(26, 58, 110, 0.15);
    box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-secondary.btn-light {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-secondary.btn-light:hover {
    background: white;
    color: var(--primary);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.35);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.btn-full {
    width: 100%;
}

.btn svg {
    flex-shrink: 0;
}

/* =============================================
   SECTIONS COMMON
   ============================================= */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-header h2 {
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* =============================================
   PROBLEMS SECTION
   ============================================= */
.problems {
    background: var(--bg-alt);
}

.problems-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.problem-card, .solution-card {
    padding: 40px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.problem-card {
    background: var(--bg);
    border: 1px solid #fecaca;
    box-shadow: var(--shadow-sm);
}

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

.solution-card {
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(26, 58, 110, 0.2);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.problem-card .card-icon {
    background: #fef2f2;
}

.solution-card .card-icon {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
}

.solution-card .card-icon svg {
    stroke: white;
}

.problem-card h3 {
    color: #b91c1c;
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.solution-card h3 {
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.card-list {
    list-style: none;
}

.card-list li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}

.problem-card .card-list li::before {
    content: '';
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    background: #fef2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}

.solution-card .card-list li::before {
    content: '';
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2386efac' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}

.solution-card p {
    color: rgba(255, 255, 255, 0.85);
}

/* =============================================
   FEATURES SECTION
   ============================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg);
    padding: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Glassmorphism border gradient on hover */
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, rgba(26, 58, 110, 0.2), rgba(245, 158, 11, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

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

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(26, 58, 110, 0.08), rgba(45, 90, 160, 0.08));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    transform: scale(1.05);
}

.feature-card:hover .feature-icon svg {
    stroke: white;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: var(--text);
}

.feature-card p {
    font-size: 0.92rem;
    line-height: 1.7;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works {
    background: var(--bg-alt);
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 0;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.steps-line {
    position: absolute;
    top: 44px;
    left: calc(16.67% + 24px);
    right: calc(16.67% + 24px);
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent));
    border-radius: 2px;
    z-index: 0;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 16px;
}

.step-icon {
    margin: 0 auto 24px;
    position: relative;
}

.step-number {
    width: 88px;
    height: 88px;
    background: var(--bg);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 auto;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step:hover .step-number {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md), var(--shadow-glow);
    transform: scale(1.08);
}

.step-content h3 {
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.92rem;
    max-width: 220px;
    margin: 0 auto;
}

/* =============================================
   PRICING SECTION
   ============================================= */
.pricing {
    background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 50%, #1e4a8a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.pricing-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.pricing-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    top: -20%;
    right: -10%;
}

.pricing-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74, 127, 212, 0.15) 0%, transparent 70%);
    bottom: -20%;
    left: -10%;
}

.pricing .section-header {
    position: relative;
    z-index: 1;
}

.pricing .section-header h2 {
    color: white;
}

.pricing .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    max-width: 880px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pricing-card {
    border-radius: var(--radius-lg);
    padding: 44px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.pricing-card.main {
    background: var(--bg);
    color: var(--text);
    box-shadow: var(--shadow-xl);
}

.pricing-card.main:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

/* Animated glow border */
.pricing-card-glow {
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, var(--accent), var(--primary-lighter), var(--accent));
    border-radius: var(--radius-lg);
    z-index: -1;
    background-size: 300% 300%;
    animation: glow-rotate 4s ease-in-out infinite;
}

@keyframes glow-rotate {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.promo-badge {
    position: absolute;
    top: 24px;
    right: -32px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    padding: 6px 48px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.pricing-card h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.price-display {
    margin-bottom: 28px;
}

.price-original {
    font-size: 1.3rem;
    color: var(--text-light);
    text-decoration: line-through;
    display: block;
    margin-bottom: 4px;
}

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

.price-promo span {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-light);
}

.price-savings {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #dcfce7;
    color: #15803d;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 12px;
}

.pricing-features {
    list-style: none;
    margin: 28px 0;
}

.pricing-features li {
    padding: 13px 0;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
}

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

.pricing-features li::before {
    content: '';
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}

.pricing-card.addon {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card.addon:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.pricing-card.addon h3 {
    color: white;
}

.addon-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.addon-title {
    font-weight: 600;
    color: white !important;
    font-size: 1.05rem;
}

.pricing-card.addon p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.addon-note {
    font-size: 0.85rem !important;
    opacity: 0.6;
    font-style: italic;
}

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

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

.faq-item.active {
    border-color: rgba(26, 58, 110, 0.15);
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 22px 28px;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

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

.faq-chevron {
    flex-shrink: 0;
    color: var(--text-light);
    transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 28px 24px;
    line-height: 1.75;
    font-size: 0.95rem;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta {
    background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 100%);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.cta-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
    top: -30%;
    right: 10%;
}

.cta-orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 127, 212, 0.15) 0%, transparent 70%);
    bottom: -30%;
    left: 10%;
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta h2 {
    color: white;
    margin-bottom: 16px;
}

.cta p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    margin-bottom: 36px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.footer-brand img {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer-col h4 {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: white;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}

/* =============================================
   MOBILE STICKY CTA
   ============================================= */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-light);
    z-index: 998;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(100%);
    transition: transform 0.4s var(--ease);
}

.mobile-sticky-cta.visible {
    transform: translateY(0);
}

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grid items */
.features-grid .fade-in:nth-child(1) { transition-delay: 0s; }
.features-grid .fade-in:nth-child(2) { transition-delay: 0.08s; }
.features-grid .fade-in:nth-child(3) { transition-delay: 0.16s; }
.features-grid .fade-in:nth-child(4) { transition-delay: 0.24s; }
.features-grid .fade-in:nth-child(5) { transition-delay: 0.32s; }
.features-grid .fade-in:nth-child(6) { transition-delay: 0.4s; }

.problems-grid .fade-in:nth-child(1) { transition-delay: 0s; }
.problems-grid .fade-in:nth-child(2) { transition-delay: 0.12s; }

.steps-container .fade-in:nth-child(2) { transition-delay: 0s; }
.steps-container .fade-in:nth-child(3) { transition-delay: 0.12s; }
.steps-container .fade-in:nth-child(4) { transition-delay: 0.24s; }

.faq-list .fade-in:nth-child(1) { transition-delay: 0s; }
.faq-list .fade-in:nth-child(2) { transition-delay: 0.06s; }
.faq-list .fade-in:nth-child(3) { transition-delay: 0.12s; }
.faq-list .fade-in:nth-child(4) { transition-delay: 0.18s; }
.faq-list .fade-in:nth-child(5) { transition-delay: 0.24s; }

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

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
        max-width: 560px;
        margin: 0 auto;
    }

    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

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

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

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

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

    .steps-container {
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }

    .steps-line {
        display: none;
    }

    .step {
        max-width: 360px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

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

    .footer-about {
        grid-column: 1 / -1;
    }
}

/* =============================================
   RESPONSIVE - MOBILE
   ============================================= */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-lg);
        z-index: 1001;
        transform: translateY(-10px);
        opacity: 0;
        transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
    }

    .nav-links.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        animation: slide-down 0.3s var(--ease) forwards;
    }

    @keyframes slide-down {
        from { transform: translateY(-10px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }

    .nav-links a {
        padding: 12px 16px;
        border-radius: 10px;
        width: 100%;
        text-align: center;
    }

    .nav-links a:not(.nav-cta):hover {
        background: var(--bg-alt);
    }

    .nav-links a:not(.nav-cta)::after {
        display: none;
    }

    .nav-cta {
        margin-top: 8px;
        justify-content: center;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 64px;
    }

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

    section {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .btn {
        padding: 13px 26px;
        font-size: 0.93rem;
    }

    .pricing-card {
        padding: 32px;
    }

    .price-promo {
        font-size: 2.75rem;
    }

    .problem-card, .solution-card {
        padding: 32px;
    }

    .feature-card {
        padding: 28px;
    }

    .step-number {
        width: 72px;
        height: 72px;
        font-size: 1.75rem;
    }

    .faq-question {
        padding: 18px 22px;
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 22px 20px;
    }
}

/* =============================================
   RESPONSIVE - SMALL MOBILE
   ============================================= */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 16px;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .mobile-sticky-cta {
        display: block;
    }

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

    .footer-about {
        grid-column: auto;
    }

    /* Add bottom padding for sticky CTA */
    .footer {
        padding-bottom: 80px;
    }
}

/* =============================================
   DEMO MODAL
   ============================================= */
.demo-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.demo-modal.active {
    opacity: 1;
    visibility: visible;
}

.demo-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.demo-modal-content {
    position: relative;
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 440px;
    width: calc(100% - 32px);
    box-shadow: var(--shadow-xl);
    text-align: center;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s var(--ease-bounce);
}

.demo-modal.active .demo-modal-content {
    transform: translateY(0) scale(1);
}

.demo-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bg-alt);
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.demo-modal-close:hover {
    background: var(--border);
    color: var(--text);
}

.demo-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(26, 58, 110, 0.08), rgba(45, 90, 160, 0.08));
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.demo-modal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text);
    margin-bottom: 8px;
}

.demo-modal-desc {
    font-size: 0.92rem;
    color: var(--text-light);
    margin-bottom: 28px;
}

.demo-credentials {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.demo-cred-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
}

.demo-cred-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.demo-cred-value {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(26, 58, 110, 0.06);
    padding: 4px 12px;
    border-radius: 6px;
    letter-spacing: 0.03em;
    user-select: all;
}

.demo-proceed-btn {
    font-size: 1rem;
}

@media (max-width: 480px) {
    .demo-modal-content {
        padding: 28px 20px;
    }

    .demo-cred-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 12px 14px;
    }
}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .fade-in {
        opacity: 1;
        transform: none;
    }

    .hero-badge,
    .hero-title,
    .hero-description,
    .hero-buttons,
    .hero-stats,
    .hero-image {
        opacity: 1;
        animation: none;
    }
}
