/* ==========================================================================
   Landing CSS - Apple-Style Minimalist Design
   Ultra-spacious, refined, elegant
   ========================================================================== */

/* Override body for landing page */
body {
    font-size: 17px;
    line-height: 1.7;
    overflow-x: hidden;
    background: #fff;
}

/* ==========================================================================
   Navigation - Invisible until scrolled
   ========================================================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 28px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.nav.scrolled {
    padding: 20px 80px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

.nav-link {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.nav-link:hover {
    color: var(--text);
}

.nav-cta {
    padding: 12px 24px;
    background: var(--text);
    color: white;
    border: none;
    border-radius: 980px;
    font-size: 14px;
    font-weight: 400;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    letter-spacing: -0.01em;
}

.nav-cta:hover {
    background: #333;
    transform: scale(1.02);
}

/* ==========================================================================
   Hero Section - Massive, centered, typographic
   ========================================================================== */

.hero {
    min-height: calc(100vh - 140px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 160px 80px 80px;
    position: relative;
    text-align: center;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 980px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 40px;
    letter-spacing: 0.02em;
    opacity: 0;
    animation: fadeIn 1s 0.2s ease forwards;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.hero-title {
    font-size: clamp(52px, 8vw, 96px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeInUp 1s 0.4s ease forwards;
}

.hero-title em {
    font-style: normal;
    background: linear-gradient(90deg, #2997ff, #5856d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 21px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 56px;
    max-width: 520px;
    font-weight: 400;
    letter-spacing: -0.01em;
    opacity: 0;
    animation: fadeInUp 1s 0.6s ease forwards;
}

.hero-actions {
    display: flex;
    gap: 20px;
    opacity: 0;
    animation: fadeInUp 1s 0.8s ease forwards;
}

/* Hero Visual - Hidden for minimalist approach, can be enabled */
.hero-visual {
    display: none;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Hero Video Section
   ========================================================================== */

.hero-video {
    padding: 0 80px 140px;
}

.hero-video-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 40px 80px rgba(0, 0, 0, 0.08);
}

.hero-video-preview {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #1d1d1f;
}

.hero-video-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 88px;
    height: 88px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-video-play svg {
    width: 32px;
    height: 32px;
    color: #1d1d1f;
    margin-left: 4px;
}

.hero-video-play:hover {
    transform: scale(1.08);
    background: #fff;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
}

.hero-video-play:active {
    transform: scale(0.98);
}

/* ==========================================================================
   Video Lightbox
   ========================================================================== */

.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.video-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
}

.lightbox-close {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.8);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-close:hover svg {
    color: #fff;
}

.lightbox-content {
    position: relative;
    width: 90vw;
    max-width: 1200px;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.video-lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    background: #000;
    outline: none;
}

/* ==========================================================================
   Features Section - Grid with generous spacing
   ========================================================================== */

.features {
    padding: 180px 80px;
    background: #fbfbfd;
}

.section-header {
    max-width: 680px;
    margin: 0 auto 100px;
    text-align: center;
}

.section-eyebrow {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 48px 40px;
    background: #fff;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.feature-icon svg {
    width: 26px;
    height: 26px;
    color: var(--text);
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.feature-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    letter-spacing: -0.01em;
}

/* ==========================================================================
   Showcase Section - Clean carousel
   ========================================================================== */

.showcase {
    padding: 180px 0;
    background: #fff;
    overflow: hidden;
}

.showcase .section-header {
    padding: 0 80px;
    margin-bottom: 80px;
}

/* Carousel */
.carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 40px calc(50% - 440px);
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel:active {
    cursor: grabbing;
}

.carousel-item {
    flex-shrink: 0;
    width: 880px;
    aspect-ratio: 16/10;
    border-radius: 24px;
    overflow: hidden;
    scroll-snap-align: center;
    background: #f5f5f7;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.carousel-item:hover {
    transform: scale(1.01);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 60px;
    padding: 0 80px;
}

.carousel-arrow {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: #f5f5f7;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.carousel-arrow:hover {
    background: #e8e8ed;
    transform: scale(1.05);
}

.carousel-arrow:active {
    transform: scale(0.95);
}

.carousel-arrow svg {
    width: 20px;
    height: 20px;
    color: var(--text);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d1d6;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    padding: 0;
}

.carousel-dot:hover {
    background: #a1a1a6;
}

.carousel-dot.active {
    background: var(--text);
    width: 28px;
    border-radius: 100px;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */

.how-it-works {
    padding: 180px 80px;
    background: #fbfbfd;
}

.steps-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 140px;
}

.step {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 100px;
    align-items: center;
}

.step:nth-child(even) {
    direction: rtl;
}

.step:nth-child(even) > * {
    direction: ltr;
}

.step-content {
    max-width: 400px;
}

.step-number {
    font-size: 80px;
    font-weight: 600;
    background: linear-gradient(180deg, var(--text) 0%, #86868b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 28px;
    letter-spacing: -0.04em;
}

.step-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.step-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
    letter-spacing: -0.01em;
}

.step-visual {
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
    border-radius: 28px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-tertiary);
}

/* ==========================================================================
   FAQ Section - Minimal accordion
   ========================================================================== */

.faq {
    padding: 180px 80px;
    background: #fff;
}

.faq .section-header {
    margin-bottom: 80px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font);
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--text-secondary);
}

.faq-question span {
    flex: 1;
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer > p {
    overflow: hidden;
    padding: 0;
    margin: 0;
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
}

.faq-item.active .faq-answer > p {
    padding-bottom: 32px;
}

/* ==========================================================================
   CTA Section - Dark, dramatic
   ========================================================================== */

.cta {
    padding: 200px 80px;
    background: #000;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, rgba(41, 151, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(44px, 6vw, 72px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 24px;
}

.cta-title em {
    font-style: normal;
    background: linear-gradient(90deg, #2997ff, #5856d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.56);
    margin-bottom: 56px;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

.cta .btn-primary {
    background: #fff;
    color: #000;
    padding: 18px 36px;
    font-size: 17px;
}

.cta .btn-primary:hover {
    background: #f5f5f7;
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Footer - Minimal
   ========================================================================== */

.footer {
    padding: 60px 80px;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-logo {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.02em;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.56);
    text-decoration: none;
    transition: color 0.3s;
    letter-spacing: -0.01em;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.36);
    letter-spacing: -0.01em;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
    .carousel-item {
        width: 720px;
    }

    .carousel {
        padding: 40px calc(50% - 360px);
    }
}

@media (max-width: 1024px) {
    .nav {
        padding: 24px 48px;
    }

    .nav.scrolled {
        padding: 18px 48px;
    }

    .hero {
        min-height: calc(100vh - 100px);
        padding: 140px 48px 60px;
    }

    .hero-video {
        padding: 0 48px 100px;
    }

    .hero-video-container {
        border-radius: 20px;
    }

    .hero-video-play {
        width: 76px;
        height: 76px;
    }

    .hero-video-play svg {
        width: 28px;
        height: 28px;
    }

    .features,
    .how-it-works,
    .faq {
        padding: 140px 48px;
    }

    .showcase {
        padding: 140px 0;
    }

    .showcase .section-header {
        padding: 0 48px;
    }

    .cta {
        padding: 160px 48px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .carousel-item {
        width: 560px;
    }

    .carousel {
        padding: 40px calc(50% - 280px);
    }

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

    .step:nth-child(even) {
        direction: ltr;
    }

    .steps-container {
        gap: 100px;
    }

    .footer {
        padding: 48px;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 20px 28px;
    }

    .nav.scrolled {
        padding: 16px 28px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        min-height: calc(100vh - 80px);
        padding: 120px 28px 48px;
    }

    .hero-badge {
        margin-bottom: 32px;
    }

    .hero-title {
        letter-spacing: -0.03em;
        margin-bottom: 24px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 44px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-video {
        padding: 0 28px 80px;
    }

    .hero-video-container {
        border-radius: 16px;
    }

    .hero-video-play {
        width: 68px;
        height: 68px;
    }

    .hero-video-play svg {
        width: 24px;
        height: 24px;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .lightbox-close svg {
        width: 20px;
        height: 20px;
    }

    .features,
    .how-it-works,
    .faq {
        padding: 100px 28px;
    }

    .showcase {
        padding: 100px 0;
    }

    .faq .section-header {
        margin-bottom: 48px;
    }

    .faq-question {
        font-size: 17px;
        padding: 24px 0;
    }

    .faq-answer > p {
        font-size: 15px;
    }

    .faq-item.active .faq-answer > p {
        padding-bottom: 24px;
    }

    .showcase .section-header {
        padding: 0 28px;
        margin-bottom: 48px;
    }

    .section-header {
        margin-bottom: 56px;
    }

    .section-title {
        letter-spacing: -0.02em;
    }

    .cta {
        padding: 120px 28px;
    }

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

    .feature-card {
        padding: 36px 32px;
    }

    .carousel-item {
        width: 300px;
        border-radius: 20px;
    }

    .carousel {
        padding: 24px calc(50% - 150px);
        gap: 16px;
    }

    .carousel-controls {
        padding: 0 28px;
        gap: 24px;
        margin-top: 40px;
    }

    .carousel-arrow {
        width: 44px;
        height: 44px;
    }

    .steps-container {
        gap: 72px;
    }

    .step-number {
        font-size: 56px;
        margin-bottom: 20px;
    }

    .step-title {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .step-desc {
        font-size: 16px;
    }

    .step-visual {
        border-radius: 20px;
    }

    .footer {
        padding: 36px 28px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        gap: 28px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: calc(100vh - 60px);
        padding: 100px 24px 40px;
    }

    .hero-video {
        padding: 0 24px 64px;
    }

    .hero-video-container {
        border-radius: 12px;
    }

    .hero-video-play {
        width: 60px;
        height: 60px;
    }

    .hero-video-play svg {
        width: 22px;
        height: 22px;
        margin-left: 3px;
    }

    .lightbox-content {
        width: 95vw;
    }

    .lightbox-video {
        border-radius: 8px;
    }

    .features,
    .how-it-works,
    .faq {
        padding: 80px 24px;
    }

    .cta {
        padding: 100px 24px;
    }

    .section-subtitle {
        font-size: 17px;
    }

    .cta-subtitle {
        font-size: 17px;
    }

    .faq-question {
        font-size: 16px;
        gap: 16px;
    }

    .faq-icon {
        width: 18px;
        height: 18px;
    }
}
