.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 100px;
    background-image:
        linear-gradient(135deg, rgba(14, 165, 233, 0.35) 0%, rgba(56, 189, 248, 0.25) 50%, rgba(86, 204, 242, 0.2) 100%),
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('https://pub-c60a4e1516b2419b943f46b87f327c12.r2.dev/images/cover.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

/* Fallback if image doesn't load */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(14, 165, 233, 0.55) 0%, rgba(56, 189, 248, 0.45) 50%, rgba(86, 204, 242, 0.4) 100%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
    padding: 0 24px;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-subtitle::before,
.hero-subtitle::after {
    content: '';
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-title .highlight {
    color: var(--primary-lightest);
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
}

.stat-plus,
.stat-percent {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-lightest);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    z-index: 2;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ==================== TRUST BAR ==================== */
.trust-bar {
    background: var(--white);
    padding: 24px 0;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
}

.trust-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.trust-item i {
    color: var(--primary-darker);
    font-size: 1.2rem;
}

/* ==================== OVERVIEW SECTION ==================== */
.overview {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.overview-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.overview-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-lightest);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.overview-icon i {
    font-size: 1.8rem;
    color: var(--primary-darker);
    transition: var(--transition);
}

.overview-card:hover .overview-icon {
    background: var(--primary);
}

.overview-card:hover .overview-icon i {
    color: var(--white);
}

.overview-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.overview-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

.overview-card .btn-outline-dark {
    margin-top: auto;
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* ==================== WHY US ==================== */
.why-us {
    padding: 100px 0;
    background: var(--white);
}

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

.why-us-text {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 40px;
}

.why-us-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--primary-lightest);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    color: var(--primary-darker);
    font-size: 1.3rem;
}

.feature h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.why-us-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper {
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.video-wrapper video {
    width: 100%;
    display: block;
    object-fit: cover;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.video-wrapper.playing .video-controls {
    opacity: 0;
}

.video-wrapper.playing:hover .video-controls {
    opacity: 1;
}

.video-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.video-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    margin-left: 2px;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ==================== TESTIMONIALS ==================== */
.testimonials {
    padding: 100px 0;
    background: var(--primary-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 36px;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}

.stars i {
    color: #fbbf24;
    font-size: 0.9rem;
}

.testimonial-card > p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
}

.testimonial-author strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--gray-800);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ==================== CTA BANNER ==================== */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary) 50%, var(--primary-light) 100%);
    text-align: center;
}

.cta-banner h2 {
    color: var(--white);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    margin-bottom: 16px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* iOS Safari doesn't support background-attachment: fixed — disable on mobile */
@media (max-width: 768px), (hover: none) {
    .hero {
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .why-us-image {
        order: -1;
    }

    .overview-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .trust-items {
        justify-content: center;
    }

    .trust-item {
        flex: 0 0 calc(50% - 8px);
        justify-content: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

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

/* ===== Founder Statement ===== */
.founder-statement {
    padding: 80px 0;
    background: var(--gray-50, #f8f9fa);
}

.founder-content {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.founder-quote-icon {
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 20px;
    display: block;
}

.founder-content blockquote {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.7;
    color: var(--gray-800, #2d3748);
    font-style: italic;
    margin: 0 0 24px;
    padding: 0;
    border: none;
}

.founder-attribution {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .founder-content blockquote {
        font-size: 1.1rem;
    }
}
