/* ============================================
   CSS Custom Properties (Theme)
   ============================================ */
:root {
    --bg: #ffffff;
    --hero-bg: #e7e7e7;
    --text: #101010;
    --text-muted: #6b7280;
    --accent: #FF5271;
    --toggle-bg: #d1d5db;
    --toggle-thumb: #101010;
    --border: #e5e7eb;
    --showcase-bg: #ffffff;
    --showcase-caption: #6b7280;
    --phone-container-bg: #f0f0f0;
    --footer-bg: #ffffff;
}

body.dark {
    --bg: #1E1E1E;
    --hero-bg: #1E1E1E;
    --text: #ffffff;
    --text-muted: #9ca3af;
    --toggle-bg: #374151;
    --toggle-thumb: #ffffff;
    --border: #2a2a2a;
    --showcase-bg: #0d0d0d;
    --showcase-caption: #9ca3af;
    --phone-container-bg: #1a1a1a;
    --footer-bg: #1E1E1E;
}

/* ============================================
   Base
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: NeueMontreal, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ============================================
   Hero Section (includes nav)
   ============================================ */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--hero-bg);
    padding: 2rem 2.5rem;
    transition: background-color 0.3s ease;
    overflow: hidden;
}

/* Nav row inside hero */
.hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 1rem;
}

.nav-logo {
    font-weight: 700;
    font-size: 3rem;
    letter-spacing: 0em;
}

.nav-tagline {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0em;
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none;
}

.toggle-track {
    position: relative;
    display: flex;
    align-items: center;
    width: 110px;
    height: 36px;
    background: var(--toggle-bg);
    border-radius: 18px;
    padding: 3px;
    transition: background 0.3s ease;
    border: 1px solid var(--border);
}

.toggle-thumb {
    position: absolute;
    right: 3px;
    width: 50px;
    height: 30px;
    background: var(--toggle-thumb);
    border-radius: 15px;
    transition: right 0.3s ease;
    z-index: 2;
}

body.dark .toggle-thumb {
    right: calc(100% - 53px);
}

.toggle-label-dark,
.toggle-label-light {
    flex: 1;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 400;
    z-index: 3;
    transition: color 0.3s ease;
    user-select: none;
    position: relative;
}

.toggle-label-light {
    color: var(--bg);
}
.toggle-label-dark {
    color: var(--text);
}

body.dark .toggle-label-dark {
    color: var(--bg);
}
body.dark .toggle-label-light {
    color: var(--text-muted);
}

/* Hero video area */
.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    overflow: hidden;
}

.hero-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: none;
    object-fit: contain;
}

.hero-lottie {
    width: 100%;
    height: 100%;
    display: block;
}
 
/* lottie-web injects an <svg> here; make it fill the wrapper the way
   the old <video> did. Change to `contain` if you don't want cropping. */
.hero-lottie svg {
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: cover;
}

.hero-video-light {
    display: block;
}

body.dark .hero-video-light {
    display: none;
}

body.dark .hero-video-dark {
    display: block;
   // filter: brightness(1.1);
}

/* Hero bottom bar */
.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    padding-top: 1.5rem;
}

.hero-cta {
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.hero-cta:hover {
    opacity: 0.7;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: right;
}

/* ============================================
   Features Section
   ============================================ */
.features {
    background: var(--bg);
    padding: 5rem 2.5rem;
    transition: background-color 0.3s ease;
}

.features-inner {
    width: 100%;
}

.features-headline {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0em;
    margin-bottom: 3rem;
    max-width: 700px;
}

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 4rem;
}

.feature-card {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
}

.feature-card:nth-child(3),
.feature-card:nth-child(4) {
    border-bottom: 1px solid var(--border);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.feature-dot {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    object-fit: contain;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0em;
}

.feature-desc {
    font-size: 1.5rem;
    line-height: 1.65;
    color: var(--text-muted);
    font-weight: 400;
}

/* ============================================
   App Showcase Section
   ============================================ */
.showcase {
    background: var(--bg);
    padding: 4rem 2.5rem 5rem;
    transition: background-color 0.3s ease;
}

.showcase-inner {
    width: 100%;
}

.showcase-heading {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.showcase-card {
    display: flex;
    flex-direction: column;
}

.showcase-caption {
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin-bottom: 1rem;
    min-height: 3.5rem;
    font-weight: 400;
}

.showcase-phone {
    background: var(--phone-container-bg);
    border-radius: 20px;
    overflow: hidden;
    flex: 1;
    transition: background-color 0.3s ease;
}

.showcase-phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Store Badges */
.store-badges {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2.5rem;
}

.store-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: opacity 0.3s ease;
}

.store-badge:hover {
    opacity: 0.6;
}

.store-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.store-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.store-label {
    font-size: 0.55rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0em;
}

.store-name {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0em;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--footer-bg);
    padding: 4rem 2.5rem 2rem;
    transition: background-color 0.3s ease;
}

.footer-inner {
    width: 100%;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.footer-label {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text);
}

.footer-link {
    font-size: 1rem;
    color: var(--text);
    transition: opacity 0.3s ease;
    font-weight: 400;
}

.footer-link:hover {
    opacity: 0.6;
}

/* Subscribe Form - underline style */
.footer-subscribe {
    min-width: 280px;
}

.subscribe-form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--text);
    padding-bottom: 0.25rem;
}

.subscribe-form input[type="email"] {
    flex: 1;
    padding: 0.4rem 0;
    border: none;
    background: transparent;
    color: var(--text);
    font-family: NeueMontreal, sans-serif;
    font-size: 1rem;
    outline: none;
}

.subscribe-form input[type="email"]::placeholder {
    color: var(--text-muted);
}

.subscribe-btn {
    padding: 0.3rem 0;
    background: none;
    color: var(--text);
    border: none;
    font-family: NeueMontreal, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.subscribe-btn:hover {
    opacity: 0.6;
}

.subscribe-success {
    display: none;
    padding: 0.5rem 0;
    font-size: 1rem;
    color: var(--accent);
}

.subscribe-success.show {
    display: block;
}

/* Footer Dots - replaced with TDC Assets image */
.footer-dots {
    display: flex;
    align-items: center;
    padding-top: 0.25rem;
}

.footer-dots-img {
    height: 80px;
    width: auto;
}

/* Footer Brand */
.footer-brand {
    padding-top: 1rem;
    overflow: hidden;
}

.footer-logo {
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 700;
    letter-spacing: 0em;
    line-height: 1;
    color: var(--text);
    white-space: nowrap;
}

/* ============================================
   Utilities
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   Responsive (Mobile)
   ============================================ */
@media (max-width: 768px) {
    /* Hero */
    .hero {
        padding: 1.25rem;
    }

    body.dark .toggle-thumb {
        right: calc(100% - 26px);
    }


    .nav-logo {
        font-size: 1.8rem;
    }

    .nav-tagline {
        display: none;
    }

    .toggle-track {
        width: 30px;
        height: 30px;
    }

    .toggle-thumb {
        width: 25px;
        height: 25px;
    }

.toggle-label-dark,
.toggle-label-light {
    flex: 1;
    text-align: center;
    font-size: 0rem;
    font-weight: 400;
    z-index: 3;
    transition: color 0.3s ease;
    user-select: none;
    position: relative;
}


    .hero-bottom {
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
    }

    .hero-cta {
        font-size: 0;
        background: #EF3D61;
        color: white;
        border-radius: 4rem;
        width: 10rem;
        padding: 0.5rem 0.75rem;
	text-align: center;
    }

    .hero-cta::after{
	content: "GET APP";
	font-size: 0.875rem;
        Font-weight: 500;
    S}



    .hero-tagline {
        font-size: 1.25rem;
        text-align: right;
	font-weight: 500;
    }

    /* Features */
    .features {
        padding: 3rem 1.25rem;
    }

    .features-headline {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

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

    .feature-title {
        font-size: 0.95rem;
    }

    .feature-desc {
        font-size: 0.95rem;
    }

    /* Showcase - horizontal scroll carousel */
    .showcase {
        padding: 3rem 1.25rem;
    }

    .showcase-heading {
        font-size: 1.75rem;
    }

    .showcase-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
        scrollbar-width: none;
    }

    .showcase-grid::-webkit-scrollbar {
        display: none;
    }

    .showcase-card {
        flex: 0 0 65%;
        scroll-snap-align: start;
    }

    .showcase-caption {
        font-size: 0.7rem;
        min-height: auto;
    }

    .showcase-phone {
        border-radius: 16px;
    }

    .store-badges {
        justify-content: center;
    }

    .store-name {
    	font-size: 0.95rem;
    	font-weight: 500;
    	letter-spacing: 0em;
    }

	.store-icon {
    	width: 25px;
    	height: 25px;
    	flex-shrink: 0;
	}

.store-label {
    font-size: 0.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0em;
}

.store-badge {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    transition: opacity 0.3s ease;
    border: 1px solid;
    border-radius: 4rem;
    padding: 0.75rem 0.9rem;
}

    /* Footer - 3 rows */
    .footer {
        padding: 2rem 1.25rem 1.5rem;
    }

    .footer-top {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 1.5rem;
    }

    /* Row 1: links (left) + contact (right) as 2x2 block */
    .footer-col-links {
        grid-column: 1;
        grid-row: 1;
    }

    .footer-col-contact {
        grid-column: 2;
        grid-row: 1;
    }

    /* Row 2: Subscribe full width */
    .footer-subscribe {
        grid-column: 1 / -1;
        grid-row: 2;
        min-width: 100%;
    }

    /* TDC dots image - hide on mobile */
    .footer-dots {
        grid-column: 1 / -1;
        display: none;
    }

    .footer-label {
        font-size: 0.875rem;
    }

    .footer-link {
        font-size: 0.875rem;
    }

    /* Row 3: Logo */
    .footer-logo {
        font-size: clamp(2.5rem, 12vw, 5rem);
    }
}

@media (max-width: 480px) {
    .showcase-card {
        flex: 0 0 75%;
    }

    .nav-logo {
        font-size: 2.25rem;
    }
}