:root {
    --bg-dark: #070B19;
    --bg-surface: #10162A;
    --surface-glass: rgba(16, 22, 42, 0.6);
    --border-glass: rgba(255, 255, 255, 0.1);

    --primary-color: #2F80ED;
    --accent-color: #00E4B1;
    --success-color: #10B981;
    --gradient-primary: linear-gradient(135deg, #2F80ED, #00D2FF);
    --gradient-accent: linear-gradient(135deg, #00E4B1, #2F80ED);
    --gradient-success: linear-gradient(135deg, #10B981, #059669);

    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.glass {
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
}

.glass-border {
    padding: 8px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0));
    border: 1px solid var(--border-glass);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Typography */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 228, 177, 0.15);
    color: var(--accent-color);
    border: 1px solid rgba(0, 228, 177, 0.3);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

h2 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 20px rgba(47, 128, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(47, 128, 237, 0.4);
}

.btn-secondary {
    background: #ffffff;
    color: var(--bg-dark);
}

.btn-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-3px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-glass);
}

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

.logo {
    font-size: 1.8rem;
    color: white;
    text-decoration: none;
    letter-spacing: -1px;
}

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

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

.nav-links li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.nav-links .btn { color: white; }

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
}

.blob {
    position: absolute;
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 20s infinite alternate linear;
}

.blob-1 {
    top: -10%; right: -5%;
    width: 500px; height: 500px;
    background: var(--primary-color);
}

.blob-2 {
    bottom: -10%; left: -10%;
    width: 600px; height: 600px;
    background: var(--accent-color);
    animation-delay: -5s;
}

@keyframes float {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, 50px) scale(1.1); }
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    position: relative;
    perspective: 1000px;
}

/* ─── BROWSER MOCKUP ──────────────────────── */
.browser-mockup {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 20px 30px 60px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    transform: rotateY(-8deg) rotateX(4deg);
    transition: transform 0.6s ease;
}

.browser-mockup:hover {
    transform: rotateY(-4deg) rotateX(2deg) translateY(-10px);
}

.browser-bar {
    background: #1E2235;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.browser-dots {
    display: flex;
    gap: 5px;
}

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

.dot-red   { background: #FF5F57; }
.dot-yellow{ background: #FEBC2E; }
.dot-green { background: #28C840; }

.browser-url {
    flex: 1;
    background: rgba(255,255,255,0.07);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    gap: 6px;
}

.browser-url i { font-size: 0.65rem; color: var(--success-color); }

.browser-body img {
    width: 100%;
    height: auto;
    display: block;
}

/* ─── FEATURES ────────────────────────────── */
.features {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.feature-row.row-reverse { flex-direction: row-reverse; }

.feature-text {
    flex: 1;
    max-width: 500px;
}

.feature-image { flex: 1; }

.feature-image img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.icon-box {
    width: 50px; height: 50px;
    background: rgba(47, 128, 237, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    border: 1px solid rgba(47, 128, 237, 0.3);
}

.feature-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.check-list {
    list-style: none;
    margin-top: 30px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

.check-list i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* ─── JOURNEY SECTION ─────────────────────── */
.journey-section {
    padding: 80px 0 100px;
}

.journey-title {
    text-align: center;
    margin-bottom: 60px;
}

.journey-title h2 { font-size: 2.5rem; }

.steps-flow {
    display: flex;
    align-items: stretch;
    gap: 0;
    position: relative;
}

.step-card {
    flex: 1;
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 36px 28px;
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(47,128,237,0.35);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.step-connector {
    display: flex;
    align-items: center;
    padding: 0 8px;
    color: var(--text-secondary);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.step-number {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 20px;
    box-shadow: 0 6px 16px rgba(47,128,237,0.4);
}

.step-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.step-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--text-secondary);
}

.step-tag {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.tag-blue {
    background: rgba(47,128,237,0.15);
    color: #7CB9FF;
    border: 1px solid rgba(47,128,237,0.25);
}

.tag-green {
    background: rgba(16,185,129,0.15);
    color: #34D399;
    border: 1px solid rgba(16,185,129,0.25);
}

.tag-teal {
    background: rgba(0,228,177,0.12);
    color: var(--accent-color);
    border: 1px solid rgba(0,228,177,0.25);
}

/* ─── CTA ─────────────────────────────────── */
.cta-section { padding: 80px 0; }

.cta-box {
    text-align: center;
    padding: 80px 40px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
    z-index: -1;
}

.cta-box h2 { font-size: 2.8rem; margin-bottom: 20px; }
.cta-box p  { max-width: 600px; margin: 0 auto 40px; font-size: 1.2rem; }

/* ─── FOOTER ──────────────────────────────── */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-glass);
    text-align: center;
}

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

.footer-content p { margin-bottom: 0; font-size: 0.9rem; }

/* ─── ANIMATIONS ──────────────────────────── */
.fade-in-up, .slide-in-left, .slide-in-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in-up    { transform: translateY(40px); }
.slide-in-left { transform: translateX(-40px); }
.slide-in-right{ transform: translateX(40px); }

.in-view {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* ─── IMAGE MODAL ─────────────────────────── */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(7, 11, 25, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show { opacity: 1; }

.modal-content {
    max-width: 90%; max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-glass);
    cursor: zoom-out;
}

.modal.show .modal-content { transform: scale(1); }

.close-modal {
    position: absolute;
    top: 30px; right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1001;
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.close-modal:hover { color: var(--accent-color); background: rgba(255,255,255,0.2); }

/* ─── RESPONSIVE ──────────────────────────── */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }
    .hero-text { max-width: 100%; }
    .badge { margin: 0 auto 24px; }
    h2 { font-size: 2.5rem; }

    .feature-row, .feature-row.row-reverse {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    .feature-text {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .check-list li { justify-content: flex-start; text-align: left; }

    .steps-flow {
        flex-direction: column;
        gap: 16px;
    }
    .step-connector { display: none; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    h2 { font-size: 2rem; }
    .cta-box h2 { font-size: 2rem; }
    .footer-content { flex-direction: column; gap: 20px; }
    .close-modal { top: 15px; right: 15px; font-size: 30px; }
}
