@font-face {
    font-family: 'Outfit';
    src: url('../fonts/outfit-400.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Outfit';
    src: url('../fonts/outfit-600.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Outfit';
    src: url('../fonts/outfit-800.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}


:root {
    --primary: #f97316;
    --primary-dark: #ea580c;
    --bg-color: #fffaf5;
    --text-color: #431407;
    --card-bg: rgba(255, 255, 255, 0.9);
    --navbar-bg: rgba(255, 250, 245, 0.85);
    --border-color: #fed7aa;
    --hero-gradient: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    --shadow: 0 20px 40px -15px rgba(249, 115, 22, 0.1);
}

[data-theme="dark"] {
    --primary: #fb923c;
    --primary-dark: #f97316;
    --bg-color: #171717;
    --text-color: #fafaf9;
    --card-bg: rgba(38, 38, 38, 0.8);
    --navbar-bg: rgba(23, 23, 23, 0.9);
    --border-color: #404040;
    --hero-gradient: linear-gradient(135deg, #262626 0%, #171717 100%);
    --shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}

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

/* Custom View Transition for Theme Toggle */
::view-transition-old(root),
::view-transition-new(root) {
    animation: none;
    mix-blend-mode: normal;
}

[data-theme="dark"]::view-transition-old(root) {
    z-index: 1;
}

[data-theme="dark"]::view-transition-new(root) {
    z-index: 999;
}

[data-theme="light"]::view-transition-old(root) {
    z-index: 999;
}

[data-theme="light"]::view-transition-new(root) {
    z-index: 1;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 1.125rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Animations & Transitions */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Background Blobs */
.blob-bg {
    position: fixed;
    border-radius: 50%;
    z-index: -1;
    filter: blur(100px);
    pointer-events: none;
}

.layer-1 {
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, #ffedd5 0%, transparent 70%);
    top: -20%;
    right: -10%;
    opacity: 0.6;
}

.layer-2 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, #fef3c7 0%, transparent 70%);
    bottom: -10%;
    left: -10%;
    opacity: 0.4;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.menu-btn {
    display: none;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    border-radius: 10px;
    cursor: pointer;
    color: var(--text-color);
    z-index: 1001;
    width: 44px;
    height: 44px;
}

.menu-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    opacity: 0.7;
    transition: 0.3s;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-btn,
.text-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.sun-icon,
.moon-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    display: none;
}

[data-theme="light"] .moon-icon {
    display: block;
}

[data-theme="dark"] .sun-icon {
    display: block;
}

@media (max-width: 768px) {
    .menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        padding: 4rem 2rem;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        gap: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.25rem;
        width: 100%;
        text-align: center;
    }

    .nav-actions {
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }
}

/* Hero */
.hero {
    padding: 12vh 0 8vh;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-bg-text {
    position: absolute;
    top: 15%;
    left: 5%;
    font-size: 15vw;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
    white-space: nowrap;
}

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

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    background: linear-gradient(135deg, var(--text-color) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.coming-soon-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    opacity: 0.8;
}

.phone-mockup {
    background: #1c1917;
    border: 14px solid #262626;
    border-radius: 3.5rem;
    box-shadow: 0 60px 120px -20px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    width: fit-content;
    margin: 0 auto;
}

.phone-mockup img {
    width: 320px;
    height: auto;
    display: block;
}

/* Features */
.features {
    padding: 100px 0;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
    text-align: center;
}

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

.feature-card {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.4s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Showcase Layout: Restored Left-Right Balanced */
.screenshots {
    padding: 120px 2rem;
    background: rgba(254, 215, 170, 0.1);
}

.screenshot-showcase-v2 {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 4rem;
}

.screenshot-info-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.screenshot-display-v2 {
    text-align: center;
    z-index: 5;
}

.screenshot-display-v2 .phone-mockup {
    margin: 0 auto;
}

.screenshot-display-v2 img {
    width: 100%;
    max-width: 340px;
    height: auto;
}

.info-item {
    background: var(--card-bg);
    padding: 1.25rem 1.5rem;
    border-radius: 1.25rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.4s, border-color 0.4s;
    opacity: 0.8;
}

.info-item:hover {
    transform: scale(1.02);
    opacity: 1;
}

.info-item.active {
    background: white;
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: scale(1.06);
    z-index: 10;
    opacity: 1;
}

[data-theme="dark"] .info-item.active {
    background: #262626;
}

/* Responsive Showcase */
@media (max-width: 1200px) {
    .screenshot-showcase-v2 {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .screenshot-display-v2 {
        grid-row: 1 / 3;
        grid-column: 2;
    }
}

@media (max-width: 768px) {
    .screenshot-showcase-v2 {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .screenshot-display-v2 {
        grid-row: auto;
        grid-column: auto;
        order: -1;
        /* Move phone to top on mobile */
    }
}

/* Roadmap Section */
.roadmap {
    padding: 100px 0;
    background: linear-gradient(to bottom, transparent, rgba(249, 115, 22, 0.05));
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.roadmap-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 2rem;
    border: 1px dashed var(--border-color);
    /* Dashed border to indicate "future" */
    transition: all 0.3s ease;
    text-align: left;
}

.roadmap-card:hover {
    transform: translateY(-5px);
    border-style: solid;
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.roadmap-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.roadmap-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.roadmap-feedback {
    margin-top: 4rem;
    font-weight: 600;
    opacity: 0.7;
    font-style: italic;
}

@media (max-width: 992px) {
    .roadmap-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Pricing */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.pricing-grid.single-plan {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--card-bg);
    padding: 4rem 3rem;
    border-radius: 3rem;
    width: 100%;
    max-width: 420px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.pricing-card.premium {
    transform: scale(1.05);
    background: white;
    border: 3px solid var(--primary);
}

.price-desc {
    margin: 1rem 0;
    opacity: 0.7;
    font-size: 1.1rem;
    font-weight: 600;
}

[data-theme="dark"] .pricing-card.premium {
    background: #262626;
}

.no-dots {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.no-dots li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
    text-align: left;
}

.no-dots li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 800;
}

.price .amount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
}

.btn {
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-weight: 800;
    cursor: pointer;
    border: none;
    transition: 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

#google-play-badge {
    height: 40px;
    /* Standardize height for better centering */
    display: block;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-color);
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
}

.footer-logo img {
    width: 24px;
    height: 24px;
}

.footer-contact-info {
    font-size: 0.95rem;
    opacity: 0.8;
}

.email-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* Back to Top Feature */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: var(--primary-dark);
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-bg-text {
        display: none;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
    }

    .screenshots {
        padding: 60px 1.5rem;
    }
}