/* ============================
   TAQSIM LABS — STYLESHEET
   Theme: Deep Navy + Electric Blue
   ============================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue-primary:   #1A8FFF;
    --blue-bright:    #00C2FF;
    --blue-deep:      #0A4B8C;
    --navy:           #0D1B2E;
    --navy-light:     #132238;
    --navy-card:      #1A2D47;
    --cyan-glow:      #00D4FF;
    --white:          #FFFFFF;
    --off-white:      #F0F6FF;
    --text-muted:     #94A8C0;
    --text-body:      #CBD8E8;
    --border-subtle:  rgba(26, 143, 255, 0.15);
    --glow-sm:        0 0 20px rgba(0, 194, 255, 0.25);
    --glow-md:        0 0 40px rgba(0, 194, 255, 0.35);
    --radius-sm:      10px;
    --radius-md:      16px;
    --radius-lg:      24px;
    --transition:     0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--navy);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: var(--blue-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--blue-bright);
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================
   NAVIGATION
   ============================ */

nav {
    background: rgba(13, 27, 46, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 68px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 38px;
    width: auto;
}

.nav-brand-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
    transition: all var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
    border-bottom-color: var(--blue-bright);
    text-decoration: none;
}

/* ============================
   HERO SECTION
   ============================ */

.hero {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
}

/* Radial glow background */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 70%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(0, 132, 255, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 50%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.10) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 6rem 0;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(26, 143, 255, 0.12);
    border: 1px solid rgba(26, 143, 255, 0.3);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--blue-bright);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue-bright);
    box-shadow: 0 0 8px var(--blue-bright);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-title .gradient-text {
    background: linear-gradient(90deg, var(--blue-primary) 0%, var(--cyan-glow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--blue-primary), var(--cyan-glow));
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    box-shadow: var(--glow-sm);
}

.btn-primary:hover {
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--glow-md);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition);
}

.btn-ghost:hover {
    color: var(--white);
    border-color: rgba(26, 143, 255, 0.5);
    text-decoration: none;
    background: rgba(26, 143, 255, 0.08);
}

/* Hero visual / logo card */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-card {
    width: 340px;
    height: 340px;
    background: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-md), 0 32px 80px rgba(0, 0, 0, 0.3);
    position: relative;
}

.hero-logo-img {
    width: 340px;
    height: auto;
    border-radius: 40px;
}

/* ============================
   SECTION HEADERS
   ============================ */

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-bright);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* ============================
   MISSION STRIP
   ============================ */

.mission-strip {
    padding: 5rem 0;
    background: var(--navy-light);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

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

.mission-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-bright);
    margin-bottom: 1rem;
}

.mission-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    line-height: 1.25;
}

.mission-text {
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.mission-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-item {
    background: var(--navy-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--blue-bright);
    display: block;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================
   APPS SECTION
   ============================ */

.apps-section {
    padding: 6rem 0;
    background: var(--navy);
}

/* App grid: first card big, rest smaller */
.apps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.app-card {
    background: var(--navy-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
}

.app-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--glow-md), 0 24px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 194, 255, 0.35);
}

/* Featured card spans full width */
.app-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 380px;
    align-items: center;
}

.app-card-body {
    padding: 2.5rem;
}

.app-card.featured .app-card-body {
    padding: 3rem;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

.badge-live {
    background: rgba(0, 212, 255, 0.12);
    color: var(--cyan-glow);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.badge-soon {
    background: rgba(26, 143, 255, 0.12);
    color: var(--blue-primary);
    border: 1px solid rgba(26, 143, 255, 0.3);
}

.badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.badge-live .badge-dot {
    animation: pulse 2s ease-in-out infinite;
}

.app-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.app-card.featured .app-name {
    font-size: 2rem;
}

.app-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.app-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
}

.app-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-body);
}

.app-features-list li::before {
    content: '';
    width: 16px;
    height: 16px;
    min-width: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-primary), var(--cyan-glow));
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--blue-primary);
}

.app-store-btns {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 0.6rem 1.1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--white);
    transition: all var(--transition);
}

.store-btn:hover {
    background: rgba(26, 143, 255, 0.15);
    border-color: rgba(26, 143, 255, 0.4);
    color: var(--white);
    text-decoration: none;
}

.store-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* App card visual panel */
.app-card-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    height: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, rgba(26, 143, 255, 0.08) 0%, rgba(0, 212, 255, 0.05) 100%);
    border-left: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.app-card-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(0, 194, 255, 0.08) 0%, transparent 70%);
}

.app-icon-large {
    width: 160px;
    height: 160px;
    border-radius: 36px;
    background: linear-gradient(135deg, var(--blue-deep), var(--navy));
    box-shadow: var(--glow-md), 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    position: relative;
    z-index: 1;
}

.app-icon-small {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--navy-card), var(--navy));
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

/* Small placeholder card */
.app-card.placeholder .app-card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 260px;
}

/* ============================
   FEATURES SECTION
   ============================ */

.features-section {
    padding: 5.5rem 0;
    background: var(--navy-light);
    border-top: 1px solid var(--border-subtle);
}

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

.feature-card {
    background: var(--navy-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: transform var(--transition), border-color var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(26, 143, 255, 0.35);
}

.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.feature-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ============================
   FOOTER
   ============================ */

footer {
    background: var(--navy-light);
    border-top: 1px solid var(--border-subtle);
    padding: 3rem 0 2rem;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    height: 32px;
    width: auto;
}

.footer-brand-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--white);
    font-size: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ============================
   CONTENT PAGES (about/support/privacy)
   ============================ */

.content-page {
    background: var(--navy-card);
    border: 1px solid var(--border-subtle);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    max-width: 760px;
    margin: 0 auto;
}

.content-page h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    margin-top: 2rem;
}

.content-page h3:first-child {
    margin-top: 0;
}

.content-page p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-page ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-page li {
    color: var(--text-muted);
    font-size: 0.93rem;
    margin-bottom: 0.4rem;
}

.content-page a {
    color: var(--blue-primary);
}

.last-updated {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.contact-info {
    background: rgba(26, 143, 255, 0.08);
    border: 1px solid var(--border-subtle);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-sm);
    margin-top: 0.5rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
}

.faq-item h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--blue-bright);
    margin-bottom: 0.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.value-item {
    background: rgba(26, 143, 255, 0.06);
    border: 1px solid var(--border-subtle);
    padding: 1.25rem;
    border-radius: var(--radius-sm);
}

.value-item h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--blue-bright);
    margin-bottom: 0.4rem;
}

.value-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Inner page hero */
.page-hero {
    background: var(--navy-light);
    border-bottom: 1px solid var(--border-subtle);
    padding: 3.5rem 0 2.5rem;
    text-align: center;
}

.page-hero h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.page-hero p {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

.page-content {
    padding: 3.5rem 0;
    background: var(--navy);
    min-height: 60vh;
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
        padding: 4rem 0;
    }

    .hero-subtitle { margin: 0 auto 2rem; }
    .hero-actions { justify-content: center; }
    .hero-visual { order: -1; }
    .hero-logo-card { width: 240px; height: 240px; }
    .hero-logo-img { width: 190px; }

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

    .mission-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .app-card.featured {
        grid-template-columns: 1fr;
    }

    .app-card-visual {
        border-left: none;
        border-top: 1px solid var(--border-subtle);
        min-height: 200px;
    }

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

@media (max-width: 640px) {
    .nav-brand-text { display: none; }
    .nav-menu { gap: 1.25rem; }
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.7rem; }
    .features-grid { grid-template-columns: 1fr; }
    .mission-stats { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; align-items: center; text-align: center; }
    .footer-links { justify-content: center; }
}
