:root {
    /* BRAND COLORS */
    --navy: #0D1B2A;
    --coral: #FF6B35;
    --bg-off-white: #F8F9FA;
    --pure-white: #FFFFFF;
    --text-gray: #4A5568;

    /* DESIGN TOKENS */
    --glass: rgba(255, 255, 255, 0.7);
    --shadow: 0 8px 32px rgba(0,0,0,0.08);
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    --radius-pill: 50px;
    --radius-card: 24px;
}

/* TYPOGRAPHY */
body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-off-white);
    color: var(--navy);
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Google Sans', sans-serif;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
}

p { line-height: 1.6; color: var(--text-gray); }

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

.section-padding { padding: 100px 0; }
.text-center { text-align: center; }

/* PLACEHOLDERS */
.image-placeholder {
    background: #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    border-radius: var(--radius-card);
    min-height: 200px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    border: 2px dashed #D1D5DB;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 10px;
    will-change: transform;
}

.btn-primary {
    background-color: var(--coral);
    color: var(--pure-white);
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    background-color: #e55a2b;
}

.btn-secondary {
    background: #FFF;
    color: var(--navy);
    border: 2px solid #E2E8F0;
}

.btn-secondary:hover {
    border-color: var(--coral);
    color: var(--coral);
    transform: scale(1.05);
}

/* 1. NAVIGATION */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

nav.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: var(--shadow);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

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

.nav-links {
    display: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    padding-top: 9px;
}

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

.mobile-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--navy);
}

@media (min-width: 1024px) {
    .nav-links { display: flex; }
    .mobile-toggle { display: none; }
}

/* 2. HERO SECTION */
.hero {
    padding: 160px 0 100px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(40px, 8vw, 64px);
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.trust-badges {
    display: flex;
    gap: 24px;
    opacity: 0.7;
    font-size: 14px;
}

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

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

.hero-image-mockup {
    width: 100%;
    height: 400px;
    position: relative;
    z-index: 2;
}

.floating-blob {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--coral);
    filter: blur(80px);
    opacity: 0.1;
    z-index: -1;
    border-radius: 50%;
    animation: float 15s infinite alternate ease-in-out;
}

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

@media (min-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr 1fr; }
    .hero-image-mockup { height: 500px; }
}

/* 3. PROBLEM SECTION */
.problem-section { background-color: var(--pure-white); }

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.stat-card {
    background: var(--bg-off-white);
    padding: 40px;
    border-radius: var(--radius-card);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    background: var(--pure-white);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--coral);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    display: block;
}

/* 4. SOLUTION SECTION */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.feature-card {
    padding: 40px;
    border-radius: var(--radius-card);
    border: 1px solid #edf2f7;
    background: var(--pure-white);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--coral);
    transform: scale(1.02);
}

/* 5. INDUSTRIES (FLIP CARDS) */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.industry-card {
    height: 320px;
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.industry-card:hover .card-inner { transform: rotateY(180deg); }

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--radius-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-shadow: var(--shadow);
}

.card-front { background: var(--pure-white); color: var(--navy); }
.card-back {
    background: var(--navy);
    color: var(--pure-white);
    transform: rotateY(180deg);
}

.roi-stat {
    font-size: 24px;
    font-weight: 700;
    color: var(--coral);
    margin-top: 10px;
}

/* 6. LIVE DEMO SECTION */
.live-demo {
    background: linear-gradient(135deg, var(--navy) 0%, #1a2a3a 100%);
    color: var(--pure-white);
    border-radius: 40px;
    padding: 80px 40px;
    margin: 0 24px;
}

.live-demo h2 { margin-bottom: 20px; font-size: 40px; }
.live-demo p { color: rgba(255,255,255,0.8); margin-bottom: 40px; }

.pulse-button {
    animation: pulse-coral 2s infinite;
}

@keyframes pulse-coral {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(255, 107, 53, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0); }
}

/* 7. HOW IT WORKS */
.timeline-container {
    position: relative;
    margin-top: 80px;
    padding: 0px 0px 20px 0px;
}

.timeline-line {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 0; /* Animated with GSAP */
    background: #edf0f3;
    z-index: 1;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--pure-white);
    border: 2px solid var(--coral);
    color: var(--coral);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

@media (min-width: 768px) {
    .timeline-line {
        width: 0;
        height: 2px;
        top: 30px;
        left: 0;
        transform: none;
    }
    .timeline-steps {
        display: flex;
        justify-content: space-between;
    }
    .timeline-step { width: 30%; margin-bottom: 0; }
}

/* 8. TESTIMONIALS */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--pure-white);
    padding: 40px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow);
}

.quote-icon { color: var(--coral); margin-bottom: 20px; }

/* 9. CALENDAR SECTION */
.calendar-section {
    background-color: var(--pure-white);
}

.calendar-box {
    background: var(--bg-off-white);
    border-radius: var(--radius-card);
    min-height: 600px;
    margin-top: 60px;
    overflow: hidden;
}

/* 10. FOOTER */
footer {
    background: var(--navy);
    color: var(--pure-white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo { font-size: 24px; font-weight: 700; margin-bottom: 20px; display: block; }

.footer-links h4 { margin-bottom: 24px; color: var(--coral); }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a { color: rgba(255,255,255,0.6); text-decoration: none; transition: 0.3s; }
.footer-links ul li a:hover { color: var(--pure-white); }

.copyright {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 14px;
    color: rgba(255,255,255,0.4);
}
