/* --- 1. Base Variables & Reset --- */
:root {
    --brand-navy: #022550;
    --brand-orange: #EF7B45;
    --brand-blue: #8FA1E0;
    --brand-amber: #edae49;
    --brand-gradient: linear-gradient(135deg, #EF7B45 0%, #8FA1E0 100%);
    --brand-gradient-hover: linear-gradient(135deg, #ff8c56 0%, #aabbf5 100%);
    --bg-void: #05070a;
    --bg-surface: #0f121d;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(255, 255, 255, 0.15);
    --text-main: #ffffff;
    --text-muted: #a0aec0;
    --font-main: 'Inter', sans-serif;
    --font-head: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-void);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.5;
}
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; color: white; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { display: block; max-width: 100%; }

.text-orange { color: var(--brand-orange); }
.text-blue { color: var(--brand-blue); }
.text-amber { color: var(--brand-amber); }
.center { text-align: center; }

.text-gradient {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* --- Ambient Backgrounds --- */

.ambient-light {
    position: fixed; width: 800px; height: 800px; border-radius: 50%;
    filter: blur(140px); opacity: 0.15; z-index: -1; pointer-events: none;
}
.light-1 { top: -200px; left: -100px; background: var(--brand-navy); }
.light-2 { bottom: -200px; right: -100px; background: var(--brand-blue); }

/* --- Navbar --- */
.navbar {
    position: fixed; top: 20px; left: 0; width: 100%;
    display: flex; justify-content: center; z-index: 1000;
    padding: 0 20px;
}
.nav-pill {
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    padding: 10px 24px;
    display: flex; align-items: center; gap: 32px; flex-wrap: nowrap    ;
    position: relative;
    background-clip: padding-box;
    border: 1px solid transparent;
}
.nav-pill::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 100px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(239, 123, 69, 0.3), rgba(143, 161, 224, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.logo { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: white; }
.logo-text { font-weight: 800; }
.nav-link {
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}
.nav-link:hover, .nav-link.active {
    background: var(--brand-gradient, linear-gradient(135deg, #EF7B45 0%, #8FA1E0 100%));
    color: #fff;
}
.nav-links-desktop {
    display: flex;
    gap: 20px;
    align-items: center;
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-dropdown { position: relative; }
.lang-btn {
    background: rgba(255,255,255,0.05); border: 1px solid var(--border-subtle);
    color: white; padding: 6px 14px; border-radius: 20px;
    cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: 0.85rem;
    transition: 0.2s;
}
.lang-btn:hover { background: rgba(255,255,255,0.1); }
.lang-menu {
    display: none; position: absolute; top: 120%; right: 0;
    background: #111; border: 1px solid var(--border-subtle);
    border-radius: 12px; overflow: hidden; min-width: 120px;
}
.lang-dropdown.active .lang-menu {
    display: block;
}
.lang-menu a {
    display: block; 
    width: 100%; 
    text-align: left; 
    background: none; 
    border: none;
    color: var(--text-muted); 
    padding: 10px 16px; 
    cursor: pointer; 
    font-size: 0.9rem;
    text-decoration: none; /* Removes the default link underline */
    box-sizing: border-box; /* Ensures padding doesn't break the width */
}
.lang-menu a:hover { 
    background: rgba(255,255,255,0.05); 
    color: white; 
}
.menu-btn { display: none; background: none; border: none; color: white; font-size: 1.2rem; }


.mobile-menu {
    position: absolute;
    top: 100%; /* Positions it directly below the navbar */
    left: 20px;
    right: 20px;
    background: rgba(20, 25, 40, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 16px;
    display: none;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    z-index: 1001;
}

.mobile-menu.active {
    display: flex;
    animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    padding: 14px 20px;
    border-radius: 16px;
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.mobile-nav-link:hover {
    background: var(--brand-gradient);
    color: white;
    transform: translateX(4px);
    border-color: rgba(255,255,255,0.1);
}


/* --- Hero Section --- */
.hero { padding: 160px 0 100px; }
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(239, 123, 69, 0.1); border: 1px solid rgba(239, 123, 69, 0.3);
    color: var(--brand-orange); padding: 6px 12px; border-radius: 20px;
    font-size: 0.8rem; font-weight: 600; margin-bottom: 24px;
}
.hero-text h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 24px; letter-spacing: -1.5px; }
.hero-text p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 40px; max-width: 90%; }
.store-buttons-row { display: flex; gap: 16px; margin-bottom: 40px; }
.store-btn {
    display: flex; align-items: center; gap: 12px;
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border: 1px solid var(--border-subtle); border-radius: 12px;
    padding: 10px 20px; color: white; transition: 0.3s;
}
.store-btn:hover { border-color: var(--brand-orange); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.4); }
.store-btn i { font-size: 1.8rem; }
.btn-content { display: flex; flex-direction: column; line-height: 1.1; }
.small { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; }
.large { font-weight: 700; font-size: 1rem; }
.phone-frame {
    border-radius: 36px;
    border: 3px solid #1a1a1a;
    box-shadow: 0 30px 80px rgba(0,0,0,0.8);
    overflow: hidden;
    background: #000;
    position: relative;
    z-index: 2;
    height: 535px;
    width: 255px; 
    flex-shrink: 0;
}

/* --- Features Section & Grid --- */
.features-section { padding: 100px 0; }
.section-head { margin-bottom: 40px; }
.section-head h2 { font-size: 2.5rem; margin-bottom: 10px; }
.section-head p { color: var(--text-muted); }
.bento-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto; gap: 20px;
}
.bento-card {
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: 24px; padding: 24px; position: relative; overflow: hidden;
}
.bento-card.large { grid-row: span 2; padding-bottom: 0; }
.bento-card.wide { grid-column: span 2; }
.bento-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.bento-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.4; }
.coming-soon-btn {
    background: rgba(239, 123, 69, 0.12); /* Glassy orange */
    border: 1px solid rgba(239, 123, 69, 0.3);
    color: var(--brand-orange);
    font-weight: 600;
    border-radius: 12px;
    padding: 8px 24px;
    font-size: 1.1rem;
    box-shadow: 0 2px 12px rgba(143,161,224,0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: not-allowed;
    opacity: 1;
    transition: background 0.2s, box-shadow 0.2s;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.coming-soon-btn i {
    font-size: 1.3rem;
    color: var(--brand-orange);
}
.coming-soon-btn:disabled {
    opacity: 1;
}
/* --- Why Section --- */
.why-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 12px;
}
.why-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(143,161,224,0.07);
    border-radius: 10px;
    padding: 12px 14px;
}
.why-point i {
    font-size: 1.5em;
    margin-top: 2px;
    min-width: 28px;
    text-shadow: 0 2px 8px rgba(143,161,224,0.08);
}
.why-point strong {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}
.why-point span {
    color: var(--text-muted, #64748b);
    font-size: 1em;
}

/* Visually hidden utility for accessibility */
.visually-hidden {
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}
/* Refined Why Section Styles */
.why-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 12px;
}
.why-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(143,161,224,0.07);
    border-radius: 10px;
    padding: 12px 14px;
}
.why-point i {
    font-size: 1.5em;
    margin-top: 2px;
    min-width: 28px;
    text-shadow: 0 2px 8px rgba(143,161,224,0.08);
}
.why-point strong {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}
.why-point span {
    color: var(--text-muted, #64748b);
    font-size: 1em;
}
.nav-link {
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}
.nav-link:hover, .nav-link.active {
    background: var(--brand-gradient, linear-gradient(135deg, #EF7B45 0%, #8FA1E0 100%));
    color: #fff;
}
/* --- Desktop Nav Links --- */
.nav-links-desktop {
    display: flex;
    gap: 20px;
    align-items: center;
}
/* --- Scroll to Top Button --- */
#scrollToTopBtn {
    position: fixed;
    right: 24px;
    bottom: 32px;
    z-index: 1200;
    background: var(--brand-navy);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
#scrollToTopBtn:hover {
    background: var(--brand-gradient-hover);
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.28);
}

/* --- Footer --- */
footer { border-top: 1px solid var(--border-subtle); padding: 60px 0 30px; background: #010205; }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer-left p { font-size: 0.9rem; color: var(--text-muted); margin-top: 8px; }
.store-buttons-row.small { margin: 0; }
.store-btn.small { padding: 6px 16px; font-size: 0.8rem; }
.socials { display: flex; gap: 16px; margin-bottom: 10px; justify-content: flex-end; }
.socials a { color: var(--text-muted); font-size: 1.2rem; }
.copyright { font-size: 0.8rem; color: #555; }

/* --- Responsive Media Queries --- */
@media (max-width: 900px) {
    .nav-links-desktop { display: none; }
    .menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255,255,255,0.05);
        border-radius: 50%;
        cursor: pointer;
    }
    .nav-pill {
        gap: 15px;
        width: 100%;
        justify-content: space-between;
    }
    .hero-layout { grid-template-columns: 1fr; text-align: center; }
    .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .bento-card.large, .bento-card.wide { grid-column: span 1; grid-row: span 1; }
    .footer-content { flex-direction: column; gap: 30px; text-align: center; }
        .phone-frame {
        height: 450px;
        width: 215px; /* Slightly smaller phone frame on tablets */
    }
}
@media (max-width: 600px) {
    .nav-pill { gap: 8px; padding: 6px 20px; }
    .logo { font-size: 0.95rem; }
    .nav-link { font-size: 1rem; padding: 12px 10px; }
    .hero-text h1 { font-size: 2rem !important; }
    .features-section { padding: 40px 0; }
    .section-head h2 { font-size: 1.8rem; }
    .bento-card { padding: 16px; border-radius: 16px; }
    .phone-frame.main-phone { height: 395px; width: 190px; }
}