/* Base Reset and Properties */
:root {
    /* Colors */
    --color-primary: #0066FF; /* Electric blue */
    --color-primary-dark: #004ecc;
    --color-primary-light: #e6f0ff;
    --color-dark: #0A0F1A; /* Deep navy/slate */
    --color-dark-border: #1a2333;
    --color-light: #F8FAFC;
    --color-white: #FFFFFF;
    --color-text: #475569;
    --color-text-dark: #94a3b8;
    --color-heading: #0F172A;
    --color-heading-dark: #F8FAFC;
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    
    /* Borders & Shadows */
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 2rem;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 40px rgba(0, 102, 255, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

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

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

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

img, svg {
    max-width: 100%;
    display: block;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--space-2xl) 0;
}

.bg-light {
    background-color: var(--color-light);
}

.dark-section {
    background-color: var(--color-dark);
    color: var(--color-text-dark);
}

.dark-section h1, .dark-section h2, .dark-section h3, .dark-section h4 {
    color: var(--color-heading-dark);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.align-center {
    align-items: center;
}

.text-center {
    text-align: center;
}

/* Typography Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, #00d2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background-color: rgba(0, 102, 255, 0.1);
    color: var(--color-primary);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.dark-section .badge {
    background-color: rgba(255, 255, 255, 0.05);
    color: #e0e7ff;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 14px 0 rgba(0, 102, 255, 0.39);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.3s ease;
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-dark-border);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-white);
}

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

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    color: var(--color-text-dark);
    font-weight: 500;
}

.nav-links a:not(.btn):hover {
    color: var(--color-white);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 4rem;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, rgba(10, 15, 26, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Glass Mockup */
.mockup-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mockup-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #475569;
}

.dots span:nth-child(1) { background-color: #ef4444; }
.dots span:nth-child(2) { background-color: #eab308; }
.dots span:nth-child(3) { background-color: #22c55e; }

.mockup-body {
    padding: 1.5rem;
}

.chat-bubble {
    padding: 1rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    max-width: 85%;
    line-height: 1.5;
}

.received {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border-bottom-left-radius: 0.25rem;
}

.sent {
    background-color: rgba(0, 102, 255, 0.2);
    border: 1px solid rgba(0, 102, 255, 0.3);
    color: var(--color-white);
    margin-left: auto;
    border-bottom-right-radius: 0.25rem;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.ai-icon {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.metrics {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}

.metric {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    font-family: var(--font-heading);
}

.metric-label {
    font-size: 0.75rem;
    color: var(--color-text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services */
.section-header {
    margin-bottom: var(--space-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-card {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Value Section */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
}

.span-2 {
    grid-column: span 2;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--color-heading);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 0.875rem;
    font-weight: 500;
}

.benefit-list {
    margin-top: 2rem;
}

.benefit-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.benefit-icon {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.benefit-list strong {
    display: block;
    color: var(--color-heading);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

/* Contact Form */
.form-container {
    max-width: 800px;
}

.form-wrapper {
    background: var(--color-white);
    padding: 3rem 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-header {
    margin-bottom: 2rem;
}

.custom-form .input-group {
    margin-bottom: 1.5rem;
}

.custom-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-heading);
}

.custom-form input,
.custom-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all 0.2s ease;
    background-color: var(--color-white);
}

.custom-form input:focus,
.custom-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--color-dark-border);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    max-width: 300px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.link-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-column h4 {
    margin-bottom: 0.5rem;
}

.link-column a {
    color: var(--color-text-dark);
    font-size: 0.9rem;
}

.link-column a:hover {
    color: var(--color-primary);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.social-icons a:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-dark-border);
    font-size: 0.875rem;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-dark);
    z-index: 999;
    padding: 6rem 2rem 2rem;
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-overlay.active {
    transform: translateY(0);
}

.mobile-nav-overlay a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    font-family: var(--font-heading);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive Adjustments */
@media (min-width: 768px) {
    .grid-2, .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero {
        padding-top: 10rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-actions {
        flex-direction: row;
    }

    .form-wrapper {
        padding: 4rem;
    }

    .footer-container {
        grid-template-columns: 2fr 2fr 1fr;
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .hero h1 {
        font-size: 4rem;
    }
    
    .hero {
        min-height: 90vh;
    }
}
