/* ============================================
   Fit — Apple/Linear Style
   Light Theme | Teal Accent | 2026
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #14B8A6;
    --primary-dark: #0D9488;
    --primary-darker: #0F766E;
    --primary-light: #5EEAD4;
    --primary-pale: #CCFBF1;
    --primary-ghost: rgba(20, 184, 166, 0.08);

    --secondary: #6366F1;
    --secondary-light: #818CF8;

    --background: #FAFAFA;
    --background-alt: #F0FDFA;
    --surface: #FFFFFF;
    --surface-hover: #F5F5F5;

    --text: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;

    --border: #E2E8F0;
    --border-light: #F1F5F9;

    --gradient-hero: linear-gradient(135deg, #14B8A6 0%, #0EA5E9 50%, #6366F1 100%);
    --gradient-cta: linear-gradient(135deg, #0F766E 0%, #14B8A6 50%, #5EEAD4 100%);

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(20, 184, 166, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    --section-padding: clamp(80px, 12vh, 160px);
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--text);
    color: #fff;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    letter-spacing: -0.01em;
}

.btn-primary:hover {
    background: #1E293B;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--text);
    color: var(--text);
    transform: translateY(-2px);
}

.btn-store {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--text);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.btn-store:hover {
    background: #1E293B;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-store-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--text);
    padding: 16px 36px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-store-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* --- Navbar --- */
#navbar,
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    transition: all 0.4s ease;
    background: transparent;
}

#navbar.scrolled,
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

/* Legal/blog pages: navbar always has bg */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--text);
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.visitor-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--primary-ghost);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
    width: 28px;
    height: 28px;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    will-change: transform;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-light);
    top: -20%;
    right: -10%;
    opacity: 0.2;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-light);
    bottom: -10%;
    left: -5%;
    opacity: 0.15;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.08;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--primary-ghost);
    border: 1px solid var(--primary-pale);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 32px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    animation: dotPulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: var(--text);
    margin-bottom: 24px;
}

.split-text {
    display: inline-block;
    overflow: hidden;
}

.split-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%) rotateX(-80deg);
    animation: charReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform-origin: bottom;
}

.split-char.space {
    width: 0.3em;
}

@keyframes charReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-arrow {
    animation: scrollBounce 2s ease-in-out infinite;
    color: var(--text-muted);
    opacity: 0.5;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-divider {
    width: 48px;
    height: 3px;
    background: var(--gradient-hero);
    border-radius: 2px;
    margin: 24px auto 0;
}

/* --- Products Section --- */
.products-section {
    padding-top: var(--section-padding);
}

.product-section {
    padding: var(--section-padding) 0;
}

.product-teal {
    background: var(--background-alt);
}

.product-white {
    background: var(--surface);
}

.product-warm {
    background: #FFFBF5;
}

.product-purple {
    background: #F4F2FA;
}

.product-pink {
    background: #FDF2F8;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.product-section-reversed .product-layout {
    direction: rtl;
}

.product-section-reversed .product-layout > * {
    direction: ltr;
}

/* Phone Mockup */
.phone-mockup {
    width: 280px;
    margin: 0 auto;
    background: #1A1A2E;
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        var(--shadow-xl),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 30px 60px rgba(0, 0, 0, 0.12);
    position: relative;
    transform: perspective(1000px) rotateY(-2deg);
    transition: transform var(--transition-slow);
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.phone-notch {
    width: 120px;
    height: 28px;
    background: #1A1A2E;
    border-radius: 0 0 20px 20px;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.phone-screen {
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    background: #000;
    aspect-ratio: 9 / 19.5;
}

/* Carousel */
.carousel-viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all var(--transition);
    color: var(--text);
    box-shadow: var(--shadow-md);
    opacity: 0;
}

.phone-screen:hover .carousel-arrow {
    opacity: 1;
}

.carousel-prev {
    left: 8px;
}

.carousel-next {
    right: 8px;
}

.carousel-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition);
}

.carousel-dot.active {
    background: #fff;
    width: 18px;
    border-radius: 3px;
}

/* Product Placeholder (Coming Soon) */
.product-placeholder {
    width: 280px;
    height: 400px;
    margin: 0 auto;
    border-radius: 32px;
    background: linear-gradient(135deg, var(--primary-pale) 0%, #E0F2FE 100%);
    border: 2px dashed var(--primary-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.placeholder-warm {
    background: linear-gradient(135deg, #FEF3C7 0%, #FECACA 100%);
    border-color: #FCD34D;
}

.placeholder-purple {
    background: linear-gradient(135deg, #F4F2FA 0%, #E9E1F7 100%);
    border-color: #C7B3EA;
}

.placeholder-pink {
    background: linear-gradient(135deg, #FDF2F8 0%, #FBCFE8 100%);
    border-color: #F9A8D4;
}

.placeholder-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.placeholder-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.placeholder-warm .placeholder-text {
    color: #92400E;
}

.placeholder-purple .placeholder-text {
    color: #5B3A99;
}

.placeholder-pink .placeholder-text {
    color: #9D174D;
}

.placeholder-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--primary-light);
    opacity: 0.15;
    filter: blur(60px);
    animation: placeholderFloat 6s ease-in-out infinite;
}

.placeholder-glow-warm {
    background: #FCD34D;
}

.placeholder-glow-purple {
    background: #9A6DD4;
}

.placeholder-glow-pink {
    background: #EC4899;
}

@keyframes placeholderFloat {
    0%, 100% { transform: translate(-20px, -20px); }
    50% { transform: translate(20px, 20px); }
}

/* Product Info */
.product-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.product-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.product-name {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
}

.product-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.status-live {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.status-live .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
}

.status-soon {
    background: rgba(245, 158, 11, 0.1);
    color: #D97706;
}

.status-soon .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #F59E0B;
}

.status-dot.pulse {
    animation: dotPulse 2s ease-in-out infinite;
}

.product-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.product-features li svg {
    flex-shrink: 0;
    color: var(--primary);
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.platform-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    border: 1px solid var(--border);
    background: var(--surface);
}

/* --- Features Section --- */
.features-section {
    padding: var(--section-padding) 0;
    background: var(--surface);
}

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

.feature-card {
    padding: 36px 32px;
    background: var(--background);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-ghost);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* --- Stats Section --- */
.stats-section {
    padding: 60px 0;
    background: var(--background);
}

.stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 48px 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--gradient-cta);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.cta-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    top: -30%;
    right: -10%;
}

.cta-orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(99, 102, 241, 0.15);
    bottom: -20%;
    left: -5%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    line-height: 1.15;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 36px;
}

.cta-actions {
    margin-bottom: 20px;
}

.cta-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* --- Footer --- */
.footer {
    padding: 80px 0 40px;
    background: var(--background);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2.5fr;
    gap: 60px;
    margin-bottom: 48px;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    display: block;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 320px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.footer-column h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--primary-dark);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ======================================
   Responsive
   ====================================== */

/* Tablet */
@media (max-width: 1024px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .product-section-reversed .product-layout {
        direction: ltr;
    }

    .product-visual {
        order: -1;
    }

    .product-header {
        justify-content: center;
    }

    .product-features li {
        justify-content: center;
    }

    .product-actions {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(4, 1fr);
    }

    .phone-mockup {
        transform: none;
    }

    .phone-mockup:hover {
        transform: none;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: clamp(60px, 10vh, 100px);
    }

    .nav-links {
        position: fixed;
        inset: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        z-index: 1000;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 700;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 100px 20px 60px;
        min-height: 90vh;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .hero-badge {
        margin-bottom: 24px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

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

    .stats-bar {
        flex-direction: column;
        gap: 32px;
    }

    .stat-divider {
        width: 48px;
        height: 1px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .phone-mockup {
        width: 240px;
    }

    .product-placeholder {
        width: 240px;
        height: 340px;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .scroll-indicator {
        display: none;
    }

    .visitor-badge {
        display: none;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .product-name {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .phone-mockup {
        width: 220px;
    }

    .product-placeholder {
        width: 220px;
        height: 300px;
    }

    .feature-card {
        padding: 28px 24px;
    }
}

/* ============================================
   Redesign additions — personal brand layer
   ============================================ */

/* Logo dot accent */
.logo {
    gap: 6px;
}
.logo-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-ghost);
    display: inline-block;
}

/* Nav CTA */
.nav-links .nav-cta {
    padding: 8px 18px;
    background: var(--text);
    color: #fff;
    border-radius: var(--radius-full);
    font-weight: 600;
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover {
    background: #1E293B;
    color: #fff;
}

/* Hero subtle grid backdrop */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    pointer-events: none;
}

.hero-title strong,
.hero-subtitle strong,
.about-lead strong,
.about-text strong {
    color: var(--primary-dark);
    font-weight: 700;
}

/* Hero meta row */
.hero-meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}
.hero-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.hero-meta .meta-item svg {
    color: var(--primary);
}
.hero-meta .meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--border);
}

/* About section */
.about-section {
    padding: var(--section-padding) 0;
    background: var(--background);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 72px;
    align-items: center;
}

.about-copy .section-label {
    margin-bottom: 12px;
}
.about-copy .section-title {
    text-align: left;
    margin-bottom: 24px;
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}
.about-lead {
    font-size: 1.15rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 18px;
    font-weight: 500;
}
.about-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 32px;
}
.about-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Stack card */
.stack-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
    transition: transform var(--transition-slow);
}
.stack-card:hover {
    transform: perspective(1200px) rotateY(0) rotateX(0);
}

.stack-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: var(--background-alt);
    border-bottom: 1px solid var(--border-light);
}
.stack-dots {
    display: inline-flex;
    gap: 6px;
}
.stack-dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    display: inline-block;
}
.stack-dots i:first-child { background: #FCA5A5; }
.stack-dots i:nth-child(2) { background: #FCD34D; }
.stack-dots i:nth-child(3) { background: #86EFAC; }
.stack-title {
    font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.stack-list {
    padding: 10px 6px;
}
.stack-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.stack-list li:hover {
    background: var(--background-alt);
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background: var(--surface-hover);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    flex-shrink: 0;
}
.chip-primary {
    background: var(--primary-ghost);
    border-color: var(--primary-pale);
    color: var(--primary-dark);
}
.stack-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Footer — support 5 columns cleanly */
.footer-links {
    grid-template-columns: repeat(5, 1fr);
}

/* Responsive overrides for new pieces */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-copy .section-title {
        text-align: center;
    }
    .about-copy .section-label,
    .about-lead,
    .about-text {
        text-align: center;
    }
    .about-cta {
        justify-content: center;
    }
    .stack-card {
        transform: none;
        max-width: 520px;
        margin: 0 auto;
    }
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links .nav-cta {
        padding: 12px 28px;
        font-size: 1.05rem;
    }
    .hero-meta {
        gap: 10px;
        font-size: 0.8rem;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
    .about-lead {
        font-size: 1.05rem;
    }
}
