/* XCELL Tech — shared styles for product pages.
   Mirrors the design language of the homepage (index.html). */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

a { color: #00ffff; }

/* ---------- Brand mark ---------- */
.logo-mark { display: block; width: auto; overflow: visible; }

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo .logo-mark { height: 42px; }

.logo-wordmark {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 4px;
    line-height: 1;
}

.brand-tagline {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 4px;
    color: #9aa7bd;
    text-transform: uppercase;
}

.brand-tagline .dot { color: #2f6bff; }

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.nav-links { display: flex; gap: 40px; list-style: none; }

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00ffff;
    transition: width 0.3s;
}

.nav-links a:hover::after { width: 100%; }

/* ---------- Layout ---------- */
.section {
    padding: 90px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 40px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff, #00ffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-lede {
    color: #a0a0a0;
    max-width: 820px;
    margin-bottom: 22px;
    font-size: 17px;
}

.section-lede + .feature-grid,
.section-lede + .info-card { margin-top: 40px; }

.eyebrow {
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #2f6bff;
    font-weight: 600;
    margin-bottom: 14px;
}

/* ---------- Product hero ---------- */
.app-hero {
    position: relative;
    padding: 170px 40px 70px;
    background: radial-gradient(ellipse at 50% 0%, #0a1628 0%, #0a0a0a 70%);
    overflow: hidden;
}

.app-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.app-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 40px;
    align-items: center;
}

.app-icon {
    width: 180px;
    height: 180px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    display: block;
}

.app-hero h1 {
    font-size: 46px;
    line-height: 1.15;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #ffffff, #8fb0ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.app-tagline { font-size: 21px; color: #c0c0c0; margin-bottom: 24px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* Store badges: Apple live, Google Play greyed out until the Android build ships. */
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 26px 12px 22px;
    border-radius: 14px;
    border: 1px solid rgba(0, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    text-decoration: none;
    line-height: 1.15;
    transition: all 0.3s;
}

.store-badge span {
    display: flex;
    flex-direction: column;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.store-badge small {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #9aa7bd;
    margin-bottom: 3px;
}

.store-icon { width: 26px; height: 30px; flex: 0 0 auto; color: #ffffff; }

a.store-badge:hover {
    transform: translateY(-3px);
    border-color: #00ffff;
    background: rgba(0, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 255, 255, 0.22);
}

.store-badge.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    filter: grayscale(1);
    border-color: rgba(255, 255, 255, 0.18);
}

/* ---------- Feature tour (screenshot + copy, alternating) ---------- */
.tour { margin-top: 30px; }

.tour-row {
    display: grid;
    grid-template-columns: minmax(0, 248px) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tour-row:first-child { border-top: none; padding-top: 26px; }

/* mirror every second row so the page reads as a rhythm, not a list */
.tour-row:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 248px); }
.tour-row:nth-child(even) .tour-media { grid-column: 2; grid-row: 1; }
.tour-row:nth-child(even) .tour-copy { grid-column: 1; grid-row: 1; }

.tour-media { position: relative; display: flex; justify-content: center; }

.tour-media::before {
    content: '';
    position: absolute;
    inset: 4% 0;
    background: radial-gradient(circle at 50% 40%, rgba(0, 255, 255, 0.20), rgba(47, 107, 255, 0.12) 45%, transparent 72%);
    filter: blur(30px);
    z-index: 0;
}

.shot {
    position: relative;
    z-index: 1;
    margin: 0;
    width: 100%;
    max-width: 238px;
    border-radius: 24px;
    padding: 7px;
    background: linear-gradient(160deg, rgba(0, 255, 255, 0.20), rgba(47, 107, 255, 0.14) 45%, rgba(255, 255, 255, 0.04));
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s, box-shadow 0.4s;
}

.tour-row:hover .shot {
    transform: translateY(-8px);
    box-shadow: 0 38px 80px rgba(0, 255, 255, 0.16);
}

.shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    background: #111;
}

.tour-index {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #4d5a70;
    margin-bottom: 16px;
}

.tour-index span {
    font-size: 24px;
    letter-spacing: 1px;
    color: #2f6bff;
    margin-right: 6px;
    vertical-align: -2px;
}

.tour-copy h3 {
    font-size: 29px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.2px;
    color: #ffffff;
    margin-bottom: 16px;
}

.tour-copy p { color: #a8b3c4; font-size: 17px; max-width: 560px; }

.tag-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
    padding: 0;
}

.tag-list li {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: #c8d3e6;
    border: 1px solid rgba(0, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 999px;
    padding: 7px 15px;
}

@media (max-width: 900px) {
    .tour-row,
    .tour-row:nth-child(even) { grid-template-columns: 1fr; gap: 34px; padding: 44px 0; }
    .tour-row:nth-child(even) .tour-media,
    .tour-row:nth-child(even) .tour-copy { grid-column: 1; grid-row: auto; }
    .tour-media { justify-content: flex-start; }
    .shot { max-width: 210px; }
    .tour-copy h3 { font-size: 24px; }
}

/* ---------- Cards ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 255, 255, 0.45);
    box-shadow: 0 20px 50px rgba(0, 255, 255, 0.12);
}

.feature-card h3 { font-size: 19px; margin-bottom: 10px; color: #00ffff; }
.feature-card p { color: #a0a0a0; font-size: 15px; }

.info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 20px;
    padding: 34px;
    margin-bottom: 26px;
}

.info-card h3 {
    font-size: 20px;
    color: #00ffff;
    margin-bottom: 8px;
    letter-spacing: 0.4px;
}

.info-card > p, .info-card li { color: #b8c2d0; font-size: 15.5px; }
.info-card > p + p { margin-top: 12px; }
.info-card ul { margin: 12px 0 0 20px; }
.info-card li { margin-bottom: 8px; }
.info-card a { color: #ffffff; border-bottom: 1px solid rgba(0, 255, 255, 0.4); text-decoration: none; }
.info-card a:hover { color: #00ffff; border-color: #00ffff; }

.card-note { font-size: 13.5px; color: #7c8899; margin-top: 16px; }

/* ---------- Fine print (privacy note) ---------- */
.section-quiet { padding-top: 20px; padding-bottom: 20px; }

.fine-print {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 6px 0;
}

.fine-print summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 16px;
    padding: 18px 34px 18px 0;
    position: relative;
    color: #7c8899;
    transition: color 0.25s;
}

.fine-print summary::-webkit-details-marker { display: none; }

.fine-print summary:hover,
.fine-print[open] summary { color: #c8d3e6; }

.fine-print-title { font-size: 15px; font-weight: 600; letter-spacing: 0.4px; }
.fine-print-hint { font-size: 13.5px; color: #5d6878; }

.fine-print summary::after {
    content: '';
    position: absolute;
    right: 6px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s;
}

.fine-print[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }

.fine-print-body { padding: 0 0 22px; max-width: 900px; }
.fine-print-body ul { margin: 0 0 0 18px; padding: 0; }
.fine-print-body li { color: #8b95a5; font-size: 14px; margin-bottom: 7px; line-height: 1.65; }
.fine-print-body li strong { color: #b8c2d0; font-weight: 600; }
.fine-print-body a { color: #9aa7bd; text-decoration: none; border-bottom: 1px solid rgba(154, 167, 189, 0.35); }
.fine-print-body a:hover { color: #00ffff; border-color: #00ffff; }
.fine-print-body .card-note { font-size: 13px; color: #5d6878; margin-top: 16px; }

/* ---------- Footer ---------- */
.footer {
    background: #050505;
    padding: 60px 40px 30px;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
}

.footer-content { max-width: 1400px; margin: 0 auto; text-align: center; }

.footer-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-logo .logo-mark { height: 67px; }
.footer-logo .logo-wordmark { font-size: 32px; letter-spacing: 6px; }

.footer p { color: #606060; margin-top: 24px; font-size: 14px; }

.footer-legal { color: #606060; font-size: 13px; line-height: 1.8; }
.footer-legal a { color: #808080; text-decoration: none; border-bottom: 1px solid rgba(0, 255, 255, 0.2); }
.footer-legal a:hover { color: #00ffff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .app-hero-inner { grid-template-columns: 1fr; text-align: left; }
    .app-icon { width: 128px; height: 128px; border-radius: 28px; }
}

@media (max-width: 768px) {
    .nav-links { gap: 20px; font-size: 14px; }
    .nav-container { padding: 0 20px; flex-wrap: wrap; }
    .logo .logo-mark { height: 35px; }
    .logo-wordmark { font-size: 20px; letter-spacing: 2px; }
    .section { padding: 64px 20px; }
    .section-title { font-size: 30px; }
    .app-hero { padding: 150px 20px 50px; }
    .app-hero h1 { font-size: 32px; }
    .app-tagline { font-size: 18px; }
    .info-card { padding: 24px; }
    .footer-logo .logo-mark { height: 55px; }
    .footer-logo .logo-wordmark { font-size: 24px; letter-spacing: 4px; }
    .brand-tagline { font-size: 11px; letter-spacing: 3px; }
}
