/* ================================================================
   Elated Studio — Homepage Stylesheet
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Mono:wght@400;500&display=swap');

:root {
    --teal:         #14B8A6;
    --teal-light:   #5EEBD5;
    --teal-dim:     rgba(20,184,166,0.12);
    --coral:        #F87171;
    --amber:        #FBBF24;
    --navy:         #0F172A;
    --navy-mid:     #1E293B;
    --navy-border:  #334155;
    --text-primary: #F1F5F9;
    --text-secondary:#94A3B8;
    --text-muted:   #64748B;
    --white:        #FFFFFF;
    --radius-sm:    8px;
    --radius-md:    16px;
    --radius-lg:    24px;
    --shadow-card:  0 4px 24px rgba(0,0,0,0.3);
    --shadow-glow:  0 0 60px rgba(20,184,166,0.15);
    --transition:   all 0.3s cubic-bezier(0.4,0,0.2,1);
    --font-main:    'Plus Jakarta Sans', sans-serif;
    --font-mono:    'DM Mono', monospace;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-main);
    background: var(--navy);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: var(--teal); transition: var(--transition); }
a:hover { color: var(--teal-light); }
img { max-width: 100%; height: auto; display: block; }
.font-mono { font-family: var(--font-mono); }

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

/* ── Navbar ────────────────────────────────────────────────────── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15,23,42,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--navy-border);
}

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

.nav-logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

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

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-links a:hover { color: var(--white); background: var(--navy-mid); }

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
    position: relative;
    text-align: center;
    padding: 8rem 0 0;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(20,184,166,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20,184,166,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-glow-left {
    position: absolute;
    top: 10%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(20,184,166,0.1) 0%, transparent 65%);
    pointer-events: none;
}

.hero-glow-right {
    position: absolute;
    top: 5%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(248,113,113,0.06) 0%, transparent 65%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 5rem;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal);
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%,100% { opacity:1; } 50% { opacity:0.3; }
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 1.75rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

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

.hero-curve {
    height: 80px;
    background: var(--navy-mid);
    clip-path: ellipse(60% 100% at 50% 100%);
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--teal);
    color: var(--navy);
}
.btn-primary:hover {
    background: var(--teal-light);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(20,184,166,0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--navy-border);
}
.btn-ghost:hover {
    background: var(--navy-mid);
    color: var(--white);
    border-color: var(--teal);
}

/* ── Section Shared ─────────────────────────────────────────────── */
section { padding: 6rem 0; }

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--teal);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ── Products ───────────────────────────────────────────────────── */
.products { background: var(--navy-mid); }

.product-card {
    background: var(--navy);
    border: 1px solid var(--navy-border);
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 24px;
    transition: var(--transition);
}

.product-card:hover {
    border-color: rgba(20,184,166,0.4);
    box-shadow: var(--shadow-glow);
}

.product-card.featured { border-color: rgba(20,184,166,0.2); }

.product-card-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.product-info {
    padding: 3.5rem;
    border-right: 1px solid var(--navy-border);
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--navy-mid);
    border-radius: 14px;
    border: 1px solid var(--navy-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Icon bars */
.caltrako-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px;
}
.bar { height: 5px; border-radius: 3px; }
.bar-teal  { width: 28px; background: var(--teal); }
.bar-coral { width: 21px; background: var(--coral); }
.bar-amber { width: 14px; background: var(--amber); }

.product-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.25rem 0.6rem;
    border-radius: 100px;
    letter-spacing: 0.5px;
}

.badge-new     { background: var(--teal-dim); color: var(--teal-light); border: 1px solid rgba(20,184,166,0.3); }
.badge-free    { background: rgba(74,222,128,0.1); color: #4ADE80; border: 1px solid rgba(74,222,128,0.3); }
.badge-android { background: rgba(251,191,36,0.1); color: var(--amber); border: 1px solid rgba(251,191,36,0.3); }

.product-info h3 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.product-tagline {
    font-size: 1.1rem;
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.product-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.product-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.pf-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.pf-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
}

.product-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.product-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--navy-border);
}

.ps-item { text-align: center; }
.ps-val {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--teal);
}
.ps-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}
.ps-divider {
    width: 1px;
    height: 30px;
    background: var(--navy-border);
}

/* Screenshot stack */
.product-visual {
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-mid);
}

.screenshot-stack {
    position: relative;
    width: 220px;
    height: 340px;
}

.ss-back, .ss-front {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 2px solid var(--navy-border);
}

.ss-back {
    width: 180px;
    top: 20px;
    right: 0;
    opacity: 0.7;
    transform: rotate(4deg);
}

.ss-front {
    width: 190px;
    bottom: 0;
    left: 0;
    z-index: 2;
    transform: rotate(-2deg);
}

.ss-back img, .ss-front img { width: 100%; }

/* Coming soon */
.coming-soon-card {
    border-style: dashed !important;
    border-color: var(--navy-border) !important;
    border-radius: 20px !important;
}

.cs-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 2.5rem;
}

.cs-icon { font-size: 2.5rem; }

.cs-inner h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.cs-inner p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ── About ─────────────────────────────────────────────────────── */
.about { background: var(--navy); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    margin-bottom: 5rem;
}

.about-text .section-tag { display: block; margin-bottom: 1rem; }

.about-text h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.about-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.value-card {
    background: var(--navy-mid);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: var(--transition);
}

.value-card:hover {
    border-color: rgba(20,184,166,0.4);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.value-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }

.value-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.studio-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: var(--navy-mid);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.ss-stat { text-align: center; }

.ss-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.ss-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* ── Contact ────────────────────────────────────────────────────── */
.contact { background: var(--navy-mid); }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-card {
    display: block;
    background: var(--navy);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    color: inherit;
}

.contact-card:hover {
    border-color: rgba(20,184,166,0.4);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    color: inherit;
}

.cc-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--teal);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.cc-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    padding-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.footer-copy { margin-top: 1.5rem !important; font-family: var(--font-mono); font-size: 0.75rem !important; }

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

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    transition: var(--transition);
}
.footer-col a:hover { color: var(--teal-light); }

.footer-bottom {
    border-top: 1px solid var(--navy-border);
    padding: 1.5rem 24px;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 1200px;
    margin: 0 auto;
}

/* ── Animations ─────────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.revealed { opacity: 1; transform: translateY(0); }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .product-card-inner { grid-template-columns: 1fr; }
    .product-info { border-right: none; border-bottom: 1px solid var(--navy-border); }
    .product-visual { min-height: 300px; }
    .studio-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--navy-mid);
        border-bottom: 1px solid var(--navy-border);
        padding: 1rem;
    }
    .nav-hamburger { display: flex; }

    .hero h1 { letter-spacing: -2px; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .values-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer-links { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    .studio-stats { grid-template-columns: repeat(2, 1fr); }
    .product-info { padding: 2rem; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; }
    .footer-links { grid-template-columns: 1fr; }
    .studio-stats { grid-template-columns: 1fr 1fr; }
}
