@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

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

:root {
    --primary: #00a3d8;
    --primary-dark: #0091c2;
    --secondary: #0091c2;
    --accent: #00c4ff;
    --background: #0f1419;
    --surface: #1a202c;
    --surface-elevated: #2d3748;
    --foreground: #ffffff;
    --foreground-muted: #cbd5e0;
    --foreground-subtle: #a0aec0;
    --border: #4a5568;
    --border-subtle: #2d3748;
    --success: #48bb78;
    --warning: #ed8936;
    --gradient-primary: linear-gradient(135deg, #00a3d8 0%, #00c4ff 100%);
    --gradient-hero: linear-gradient(135deg, #0f1419 0%, rgba(0, 163, 216, 0.1) 50%, #0f1419 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 30px rgba(0, 163, 216, 0.3);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    margin: 0;
    line-height: 1.7;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 20, 25, 0.7);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 24px;
    height: auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tagline {
    font-size: 12px;
    color: var(--foreground-subtle);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--foreground-muted);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

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

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

.nav-links a:hover::after {
    width: 100%;
}

/* Buttons */
.cta-button, .primary-button, .secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.cta-button, .primary-button {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.cta-button:hover, .primary-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.secondary-button {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.secondary-button:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.large {
    padding: 20px 32px;
    font-size: 18px;
    border-radius: var(--radius-lg);
}

/* Hero Section */
.hero {
    padding: 160px 0 120px;
    position: relative;
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 163, 216, 0.1) 0%, transparent 70%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 32px;
    box-shadow: var(--shadow-md);
}

.spark-badge {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.hero-title {
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

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

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.text-primary {
    color: var(--primary);
}

.hero-description {
    font-size: 20px;
    color: var(--foreground-muted);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.stat-card {
    background: var(--surface);
    backdrop-filter: blur(20px);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 12px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--foreground-muted);
    font-size: 16px;
    font-weight: 500;
}

.hero-guarantees {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 15px;
    color: var(--foreground-muted);
}

.guarantee {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Sections */
.case-studies, .features, .how-it-works, .calendar-section {
    padding: 120px 0;
}

.case-studies {
    background: linear-gradient(180deg, var(--background) 0%, var(--surface) 50%, var(--background) 100%);
}

.features {
    background: var(--surface);
}

.how-it-works {
    position: relative;
    background: var(--background);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header .badge {
    margin-bottom: 24px;
}

.section-header h2 {
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 18px;
    color: var(--foreground-muted);
    line-height: 1.7;
}

/* Case Studies */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.case-study-card {
    background: var(--surface-elevated);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    gap: 16px;
}

.case-study-header h3 {
    color: var(--foreground);
    font-size: 24px;
    font-weight: 700;
}

.case-study-header .badge {
    background: rgba(0, 163, 216, 0.1);
    color: var(--primary);
    font-size: 12px;
    padding: 6px 12px;
    margin: 0;
}

.case-study-content .challenge,
.case-study-content .solution {
    margin-bottom: 32px;
}

.case-study-content h4 {
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.challenge h4 {
    color: var(--warning);
}

.solution h4 {
    color: var(--success);
}

.case-study-content p {
    color: var(--foreground-muted);
    line-height: 1.6;
}

.results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.result {
    text-align: center;
    padding: 24px 16px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    color: white;
}

.result-number {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
}

.result-label {
    font-size: 12px;
    opacity: 0.9;
    font-weight: 500;
}

blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 24px;
    font-style: italic;
    color: var(--foreground-muted);
    font-size: 16px;
    line-height: 1.6;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--background);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-card.featured {
    background: linear-gradient(135deg, rgba(0, 163, 216, 0.1) 0%, rgba(0, 196, 255, 0.05) 100%);
    border-color: var(--primary);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--foreground);
    font-weight: 700;
}

.feature-card p {
    color: var(--foreground-muted);
    line-height: 1.6;
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 64px;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: white;
    margin: 0 auto 32px;
    box-shadow: var(--shadow-lg);
}

.step h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--foreground);
    font-weight: 700;
}

.step p {
    color: var(--foreground-muted);
    line-height: 1.7;
    font-size: 16px;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: var(--surface-elevated);
    color: var(--foreground);
    text-align: center;
    position: relative;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 163, 216, 0.08) 0%, transparent 70%);
}

.cta-section .container {
    position: relative;
    z-index: 10;
}

.cta-badge {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.cta-section h2 {
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: var(--foreground);
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 48px;
    color: var(--foreground-muted);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.guarantee-box {
    background: var(--gradient-primary);
    padding: 32px;
    border-radius: var(--radius-xl);
    border: none;
    margin: 48px auto;
    max-width: 400px;
    color: white;
    box-shadow: var(--shadow-lg);
}

.guarantee-title {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    color: white;
}

.guarantee-subtitle {
    font-size: 16px;
    color: white;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.cta-section .primary-button {
    background: var(--gradient-primary);
    color: white;
}

.cta-section .secondary-button {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}

.cta-section .secondary-button:hover {
    background: var(--primary);
    color: white;
}

.cta-features {
    font-size: 15px;
    color: var(--foreground-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* Calendar */
.calendar-container {
    max-width: 900px;
    margin: 0 auto;
}

.calendar-widget {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-subtle);
}

/* Footer */
.footer {
    background: var(--surface-elevated);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 48px;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-brand .logo {
    font-size: 28px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.footer-brand p {
    color: var(--foreground-muted);
    line-height: 1.7;
}

.footer-links h4 {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--foreground);
}

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

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--foreground-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 32px;
    text-align: center;
    color: var(--foreground-subtle);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--surface);
    padding: 48px;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-subtle);
}

/* Calendly Modal */
.calendly-modal {
    justify-content: flex-end;
    align-items: stretch;
    background: rgba(0, 0, 0, 0);
    transition: background 0.4s ease;
}

.calendly-modal.active {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.calendly-modal .modal-content {
    max-width: 380px;
    width: 380px;
    height: 100vh;
    max-height: 100vh;
    padding: 20px;
    overflow: hidden;
    border-radius: 0;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -4px 0 40px rgba(0, 0, 0, 0.3);
    border-left: 1px solid #e2e8f0;
    background: white;
    color: #1a202c;
    margin-left: auto;
    position: relative;
    right: 0;
}

.calendly-modal.active .modal-content {
    transform: translateX(0);
}

.calendly-modal-header {
    text-align: left;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.calendly-modal-header h2 {
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 600;
}

.calendly-modal-header p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.calendly-modal .calendly-inline-widget {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #64748b;
    transition: all 0.3s ease;
    z-index: 10;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
}

.close:hover {
    color: #1a202c;
    background: #f1f5f9;
}

.modal-content h2 {
    margin-bottom: 16px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-content p {
    margin-bottom: 32px;
    color: var(--foreground-muted);
    line-height: 1.6;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lead-form input,
.lead-form select {
    padding: 16px;
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: var(--background);
    color: var(--foreground);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.lead-form input:focus,
.lead-form select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .nav-content {
        padding: 16px 20px;
        height: auto;
    }

    .hero {
        padding: 180px 0 80px;
        min-height: auto;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        margin-bottom: 60px;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .stat-card {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 14px;
    }

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

    .case-study-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .results {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .case-studies, .features, .how-it-works, .calendar-section {
        padding: 80px 0;
    }

    .cta-section {
        padding: 80px 0;
    }

    .footer {
        padding: 60px 0 32px;
    }

    .cta-features {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 160px 0 60px;
    }

    .hero-description {
        font-size: 18px;
    }

    .modal-content {
        padding: 32px 24px;
        margin: 20px;
    }

    .calendly-modal {
        justify-content: center;
        align-items: center;
    }

    .calendly-modal .modal-content {
        width: 100vw;
        height: 100vh;
        max-width: none;
        max-height: none;
        padding: 0;
        margin: 0;
        border: none;
        border-radius: 0;
        transform: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .calendly-modal .calendly-inline-widget {
        height: 100vh !important;
        width: 100% !important;
    }

    .calendly-modal-header {
        display: none;
    }

    .case-study-card,
    .feature-card {
        padding: 32px 24px;
    }

    .stat-card {
        padding: 24px 12px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .hero-guarantees {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}