/* ═══════════════════════════════════════════════════════════
   landing.css — FaceShift Front Page Styles
   Extends style.css base variables and utilities.
   Uses: Inter (body), Outfit (headings)
═══════════════════════════════════════════════════════════ */

/* ── Typography override for landing page ── */
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-main);
    background-image:
        radial-gradient(circle at 50% 0%, rgba(17, 97, 170, 0.12) 0%, transparent 55%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.07) 0%, transparent 45%);
}

h1, h2, h3, h4, h5 {
    font-family: 'Outfit', sans-serif;
}

/* ═══════════════════════════════════════
   HEADER / NAVBAR
═══════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(var(--bg-rgb), 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(var(--glass-rgb), 0.05);
    transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
    box-shadow: 0 4px 24px rgba(var(--shadow-rgb), 0.5);
}
.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}
.brand-link { display: flex; align-items: center; }
.nav-logo { height: 36px; }
.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}
.main-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-nav);
    transition: color 0.2s;
}
.main-nav a:hover { color: var(--text-main); }
.btn-ghost {
    padding: 9px 20px;
    border: 1px solid rgba(var(--glass-rgb), 0.15);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light) !important;
    transition: border-color 0.2s, background 0.2s;
    display: inline-block;
}
.btn-ghost:hover {
    border-color: rgba(17, 97, 170, 0.5);
    background: rgba(17, 97, 170, 0.06);
    color: var(--text-main) !important;
}
.btn-lg { padding: 14px 32px !important; font-size: 16px !important; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: rgba(var(--bg-rgb), 0.97);
    border-bottom: 1px solid rgba(var(--glass-rgb), 0.06);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 15px; font-weight: 500; color: var(--text-nav); padding: 6px 0; }

/* ═══════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════ */
.hero-section {
    position: relative;
    padding: 100px 0 60px;
    overflow: hidden;
    text-align: center;
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}
.hero-glow-1 {
    width: 600px; height: 600px;
    background: rgba(17, 97, 170, 0.12);
    top: -200px; left: 50%;
    transform: translateX(-50%);
}
.hero-glow-2 {
    width: 400px; height: 400px;
    background: rgba(139, 92, 246, 0.08);
    top: 100px; right: -100px;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(17, 97, 170, 0.1);
    border: 1px solid rgba(17, 97, 170, 0.25);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #64f7ff;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}
.badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #1161aa;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.75); }
}

.hero-headline {
    font-size: clamp(44px, 7vw, 80px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -2px;
    color: var(--text-main);
    margin-bottom: 24px;
}

.text-cycle-wrapper {
    display: inline-block;
    color: #1161aa;
    position: relative;
}
.text-cycle {
    display: inline-block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-sub {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 580px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 32px;
    background: rgba(var(--glass-rgb), 0.03);
    border: 1px solid rgba(var(--glass-rgb), 0.07);
    border-radius: 16px;
}
.stat-item { text-align: center; }
.stat-item strong {
    display: block;
    font-size: 26px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
}
.stat-item span { font-size: 13px; color: var(--text-darker); font-weight: 500; }
.stat-divider {
    width: 1px; height: 40px;
    background: rgba(var(--glass-rgb), 0.08);
}

/* ═══════════════════════════════════════
   DEMO STRIP
═══════════════════════════════════════ */
.demo-strip { padding: 0 0 80px; }
.demo-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(17, 97, 170, 0.2), 0 0 0 1px rgba(var(--glass-rgb), 0.06);
}
.demo-img { width: 100%; display: block; height: 400px; object-fit: cover; }
.demo-overlay-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(var(--shadow-rgb), 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(var(--glass-rgb), 0.1);
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}
.live-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #EF4444;
    animation: pulse-dot 1.5s infinite;
}

/* ═══════════════════════════════════════
   SECTION SHARED
═══════════════════════════════════════ */
.section-block { padding: 96px 0; }
.section-dark { background: rgba(var(--glass-rgb), 0.015); }

.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #1161aa;
    margin-bottom: 12px;
    text-align: center;
}
.section-title {
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--text-main);
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.12;
}
.section-sub {
    font-size: 17px;
    color: var(--text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.7;
}
.text-accent { color: #1161aa; }

/* ═══════════════════════════════════════
   HOW IT WORKS — STEPS
═══════════════════════════════════════ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2px;
    background: rgba(var(--glass-rgb), 0.05);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(var(--glass-rgb), 0.07);
}
.step-card {
    padding: 40px 32px;
    background: var(--bg-main);
    position: relative;
    transition: background 0.3s;
}
.step-card:hover { background: rgba(17, 97, 170, 0.04); }
.step-number {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #1161aa;
    opacity: 0.7;
    margin-bottom: 16px;
}
.step-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: rgba(17, 97, 170, 0.08);
    border: 1px solid rgba(17, 97, 170, 0.15);
    display: flex; align-items: center; justify-content: center;
    color: #1161aa;
    margin-bottom: 20px;
    transition: background 0.3s, transform 0.3s;
}
.step-card:hover .step-icon { background: rgba(17, 97, 170, 0.15); transform: scale(1.05); }
.step-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}
.step-card p { font-size: 14px; color: var(--text-darker); line-height: 1.65; }

/* ═══════════════════════════════════════
   FEATURES GRID
═══════════════════════════════════════ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}
.feature-card--large { grid-column: span 1; }
.feature-card {
    background: rgba(var(--glass-rgb), 0.02);
    border: 1px solid rgba(var(--glass-rgb), 0.06);
    border-radius: 16px;
    padding: 30px;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
    border-color: rgba(17, 97, 170, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(var(--shadow-rgb), 0.4);
}
.feature-icon-wrap {
    width: 50px; height: 50px;
    border-radius: 12px;
    background: rgba(17, 97, 170, 0.06);
    border: 1px solid rgba(17, 97, 170, 0.12);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    transition: background 0.3s;
}
.feature-card:hover .feature-icon-wrap { background: rgba(17, 97, 170, 0.12); }
.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}
.feature-card p { font-size: 14px; color: var(--text-darker); line-height: 1.65; }
.feature-badge {
    display: inline-block;
    margin-top: 16px;
    padding: 4px 12px;
    background: rgba(17, 97, 170, 0.12);
    border: 1px solid rgba(17, 97, 170, 0.2);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: #64f7ff;
}

/* ═══════════════════════════════════════
   USE CASES GRID
═══════════════════════════════════════ */
.usecases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.usecase-card {
    padding: 30px;
    background: rgba(var(--glass-rgb), 0.02);
    border: 1px solid rgba(var(--glass-rgb), 0.06);
    border-radius: 16px;
    transition: border-color 0.3s, transform 0.3s;
}
.usecase-card:hover {
    border-color: rgba(17, 97, 170, 0.2);
    transform: translateY(-4px);
}
.usecase-icon { font-size: 36px; margin-bottom: 16px; }
.usecase-card h3 { font-size: 18px; font-weight: 700; color: var(--text-main); margin-bottom: 10px; }
.usecase-card p { font-size: 14px; color: var(--text-darker); line-height: 1.65; }

/* ═══════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.testimonial-card {
    background: rgba(var(--glass-rgb), 0.02);
    border: 1px solid rgba(var(--glass-rgb), 0.07);
    border-radius: 16px;
    padding: 30px;
    transition: border-color 0.3s, transform 0.3s;
}
.testimonial-card:hover {
    border-color: rgba(17, 97, 170, 0.2);
    transform: translateY(-3px);
}
.stars { color: #F59E0B; font-size: 18px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card p {
    font-size: 15px;
    font-style: italic;
    color: var(--text-nav);
    line-height: 1.7;
    margin-bottom: 24px;
}
.author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
}
.author strong { display: block; font-size: 14px; color: var(--text-main); font-weight: 600; }
.author span { font-size: 13px; color: var(--text-darker); }

/* ═══════════════════════════════════════
   ABOUT SECTION — creativhouz
═══════════════════════════════════════ */
.about-section { background: rgba(var(--glass-rgb), 0.015); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-copy .section-label { text-align: left; }
.about-copy p { font-size: 15px; color: var(--text-muted); line-height: 1.75; }
.brand-creativhouz {
    color: #1161aa;
    font-style: italic;
    font-weight: 900;
}
.about-values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}
.value-chip {
    padding: 8px 16px;
    background: rgba(var(--glass-rgb), 0.04);
    border: 1px solid rgba(var(--glass-rgb), 0.08);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
}

.about-stat-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.about-stat {
    background: rgba(17, 97, 170, 0.04);
    border: 1px solid rgba(17, 97, 170, 0.1);
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    transition: border-color 0.3s, background 0.3s;
}
.about-stat:hover {
    background: rgba(17, 97, 170, 0.08);
    border-color: rgba(17, 97, 170, 0.2);
}
.about-stat-num {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 6px;
}
.about-stat span:last-child { font-size: 12px; color: var(--text-darker); font-weight: 500; }

/* ═══════════════════════════════════════
   CTA STRIP
═══════════════════════════════════════ */
.cta-strip {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(17, 97, 170, 0.07), rgba(139, 92, 246, 0.05));
    border-top: 1px solid rgba(var(--glass-rgb), 0.05);
    border-bottom: 1px solid rgba(var(--glass-rgb), 0.05);
}
.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.cta-inner h2 {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
    letter-spacing: -1px;
}
.cta-inner p { font-size: 16px; color: var(--text-darker); }
.cta-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer {
    background: var(--footer-bg);
    border-top: 1px solid rgba(var(--glass-rgb), 0.05);
    padding-top: 72px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(var(--glass-rgb), 0.05);
}
.footer-logo { height: 32px; margin-bottom: 16px; }
.footer-tagline { font-size: 14px; color: var(--text-footer-link); line-height: 1.65; max-width: 240px; margin-bottom: 20px; }
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(var(--glass-rgb), 0.04);
    border: 1px solid rgba(var(--glass-rgb), 0.07);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-darker);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer-social a:hover {
    background: rgba(17, 97, 170, 0.1);
    border-color: rgba(17, 97, 170, 0.2);
    color: #1161aa;
}
.footer-links-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.footer-links-col ul {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links-col ul a {
    font-size: 14px;
    color: var(--text-footer-link);
    transition: color 0.2s;
}
.footer-links-col ul a:hover { color: var(--text-muted); }

.footer-bottom {
    padding: 20px 0;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--text-footer);
}
.footer-bottom-inner a { color: var(--text-footer-link); }
.footer-bottom-inner a:hover { color: var(--text-muted); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .hamburger { display: flex; }
    .hero-section { padding: 64px 0 40px; }
    .hero-headline { letter-spacing: -1px; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; background: none; border: none; gap: 16px; }
    .step-card { border: 1px solid rgba(var(--glass-rgb), 0.07); border-radius: 16px; }
    .demo-img { height: 220px; }
    .about-stat-stack { grid-template-columns: 1fr 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-buttons { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .stat-divider { display: none; }
    .hero-stats { gap: 20px; }
}

@media (max-width: 480px) {
    .hero-cta-group { flex-direction: column; align-items: center; }
    .about-stat-stack { grid-template-columns: 1fr; }
    .section-block { padding: 64px 0; }
}
