/* DESIGN TOKENS */
:root {
    --bg-dark: #07090E;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);
    --border-glass: rgba(255, 255, 255, 0.08);
    --primary: #7C3AED;      /* Cyber Purple */
    --primary-glow: rgba(124, 58, 237, 0.5);
    --secondary: #06B6D4;    /* Neon Cyan */
    --text-main: #FFFFFF;
    --text-muted: #94A3B8;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

/* BACKGROUND BLOBS INTRO (Wow Factor) */
.blob-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, rgba(124,58,237,0) 70%);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    top: -200px;
    left: -150px;
    z-index: -1;
    animation: float 10s infinite alternate ease-in-out;
}

.blob-2 {
    background: radial-gradient(circle, var(--secondary) 0%, rgba(6,182,212,0) 70%);
    top: 300px;
    right: -200px;
    left: auto;
    animation-delay: -5s;
}

@keyframes float {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(30px, 50px) scale(1.1); }
}

/* NAVIGATION */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

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

.logo-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 6px;
    box-shadow: 0 0 15px var(--primary-glow);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

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

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

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #5B21B6);
    color: #FFF;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.7);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-glass);
}

.btn-outline:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(255,255,255,0.2);
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-main);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(255,255,255,0.2);
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    gap: 4rem;
    animation: fade-in-up 1s ease-out forwards;
}

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

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    color: var(--secondary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero p b {
    color: var(--text-main);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--border-glass);
    padding-top: 2rem;
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-main);
}

.stat-item p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* MOCKUP (Right Hero) */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.glass-mockup {
    width: 100%;
    max-width: 450px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.glass-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    background: rgba(0,0,0,0.3);
    padding: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
}

.dots {
    display: flex;
    gap: 6px;
    margin-right: 1rem;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dots span:nth-child(1) { background: #EF4444; }
.dots span:nth-child(2) { background: #F59E0B; }
.dots span:nth-child(3) { background: #10B981; }

.mockup-body {
    padding: 1.5rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    line-height: 1.8;
}

.c-blue { color: #60A5FA; }
.c-green { color: #34D399; }
.c-purple { color: #A78BFA; }
.c-yellow { color: #FBBF24; }
.c-gray { color: #6B7280; }
.mt-line { margin-top: 1rem; }

/* FEATURES SECTION */
.features {
    max-width: 1200px;
    margin: 4rem auto 8rem;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: var(--bg-glass-hover);
    border-color: rgba(255,255,255,0.15);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    border: 1px solid var(--border-glass);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* FOOTER */
footer {
    border-top: 1px solid var(--border-glass);
    padding: 2.5rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    margin-left: 1.5rem;
}

.footer-links a:hover {
    color: var(--text-main);
}

/* CARDS ANIMATION Delay */
.feature-card:nth-child(1) { animation: fade-in-up 1s ease-out 0.2s forwards; opacity: 0; }
.feature-card:nth-child(2) { animation: fade-in-up 1s ease-out 0.4s forwards; opacity: 0; }
.feature-card:nth-child(3) { animation: fade-in-up 1s ease-out 0.6s forwards; opacity: 0; }
.feature-card:nth-child(4) { animation: fade-in-up 1s ease-out 0.8s forwards; opacity: 0; }

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

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 7rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .stats {
        justify-content: center;
    }
    
    .nav-links {
        display: none;
    }
}

@media (max-width: 600px) {
    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    .hero-actions {
        flex-direction: column;
    }
}

/* NEW ENTERPRISE STYLES */

/* Language Switcher */
.lang-switcher {
    display: inline-block;
    margin-right: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}
.lang-switcher a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}
.lang-switcher a:hover {
    color: var(--text-main);
}
.lang-switcher .active {
    color: var(--primary);
}

/* Integrations Strip */
.integrations-strip {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    background: rgba(0,0,0,0.2);
}
.integrations-strip p {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.logos-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
}
.tech-logo {
    font-weight: 700;
    font-family: var(--font-heading);
    color: rgba(255,255,255,0.4);
    font-size: 1.2rem;
    filter: grayscale(100%);
    transition: all 0.3s;
}
.tech-logo:hover {
    color: rgba(255,255,255,0.8);
    filter: grayscale(0%);
}

/* Pricing Section */
.pricing-section {
    max-width: 800px;
    margin: 4rem auto 8rem;
    padding: 0 2rem;
}
.pricing-card {
    border-top: 4px solid var(--primary);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: #111827;
    padding: 3rem;
    width: 90%;
    max-width: 500px;
    position: relative;
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    animation: fade-in-up 0.4s ease-out;
}
.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}
.close-modal:hover {
    color: white;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: white;
    font-family: var(--font-body);
}
.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-glass);
    padding: 1.5rem 2rem;
    z-index: 999;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
}
.cookie-banner a {
    color: var(--primary);
}
.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
}
