/* ============================================================
   CSS VARIABLES — Styllable Brand Identity
   ============================================================ */
:root {
    --styllable-blue: #6ACCEA;
    --styllable-blue-light: rgba(106, 204, 234, 0.12);
    --styllable-blue-glow: rgba(106, 204, 234, 0.35);
    --off-white: #FFFDE6;
    --off-white-warm: #FFFEF2;
    --charcoal: #1A1A1A;
    --charcoal-soft: #2E2E2E;
    --charcoal-muted: #6B6B6B;
    --border-subtle: rgba(26, 26, 26, 0.08);
    --border-medium: rgba(26, 26, 26, 0.12);
    --white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(26, 26, 26, 0.04);
    --shadow-md: 0 4px 20px rgba(26, 26, 26, 0.06);
    --shadow-lg: 0 12px 40px rgba(26, 26, 26, 0.08);
    --shadow-xl: 0 20px 60px rgba(26, 26, 26, 0.1);
    --shadow-blue: 0 8px 30px rgba(106, 204, 234, 0.25);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   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: var(--font);
    color: var(--charcoal);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: var(--styllable-blue);
    color: var(--white);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.6; }
}

@keyframes counter-tick {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.08); }
    100% { transform: scale(1); }
}

@keyframes gradient-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 24px;
    transition: all 0.4s var(--transition-smooth);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
    color: var(--charcoal);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: contain;
}

.nav-cta {
    background: var(--charcoal);
    color: var(--white);
    border: none;
    padding: 10px 22px;
    border-radius: 100px;
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    text-decoration: none;
}

.nav-cta:hover {
    background: var(--styllable-blue);
    transform: translateY(-1px);
    box-shadow: var(--shadow-blue);
}

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

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--styllable-blue-light) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 253, 230, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    max-width: 820px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--styllable-blue-light);
    border: 1px solid rgba(106, 204, 234, 0.2);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 32px;
    animation: fadeUp 0.8s var(--transition-smooth) 0.1s both;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    background: var(--styllable-blue);
    border-radius: 50%;
    animation: pulse-soft 2s ease-in-out infinite;
}

.hero h1 {
    font-size: clamp(2.75rem, 7vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 24px;
    animation: fadeUp 0.8s var(--transition-smooth) 0.2s both;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--styllable-blue), #4db8d9, var(--styllable-blue));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
}

.hero-sub {
    font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
    line-height: 1.7;
    color: var(--charcoal-muted);
    max-width: 620px;
    margin: 0 auto 44px;
    font-weight: 400;
    animation: fadeUp 0.8s var(--transition-smooth) 0.35s both;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    animation: fadeUp 0.8s var(--transition-smooth) 0.5s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--styllable-blue);
    color: var(--white);
    border: none;
    padding: 18px 40px;
    border-radius: 100px;
    font-family: var(--font);
    font-size: 1.0625rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s var(--transition-smooth);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
    background: #5cbfdf;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary svg {
    transition: transform 0.3s var(--transition-smooth);
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.hero-note {
    font-size: 0.8125rem;
    color: var(--charcoal-muted);
    opacity: 0.7;
}

/* ============================================================
   SECTION SHARED STYLES
   ============================================================ */
section {
    padding: 100px 24px;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--styllable-blue);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--styllable-blue);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--charcoal-muted);
    line-height: 1.7;
    max-width: 560px;
}

/* ============================================================
   FOUNDING MEMBER / FOMO BOX
   ============================================================ */
.fomo-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--off-white-warm) 100%);
    padding: 80px 24px 100px;
}

.fomo-card {
    max-width: 740px;
    margin: 0 auto;
    background: var(--white);
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: clamp(36px, 6vw, 60px);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.fomo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--styllable-blue), #4db8d9, var(--styllable-blue));
    background-size: 200% auto;
    animation: gradient-shift 3s ease infinite;
}

.fomo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--off-white);
    border: 1px solid rgba(26, 26, 26, 0.06);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--charcoal);
    margin-bottom: 24px;
}

.fomo-badge svg {
    width: 14px;
    height: 14px;
}

.fomo-card h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.fomo-card h2 span {
    color: var(--styllable-blue);
}

.fomo-body {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--charcoal-muted);
    margin-bottom: 28px;
}

.fomo-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.fomo-price-amount {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--charcoal);
}

.fomo-price-period {
    font-size: 0.9375rem;
    color: var(--charcoal-muted);
    font-weight: 500;
}

.fomo-price-forever {
    display: inline-flex;
    background: var(--styllable-blue-light);
    color: var(--charcoal);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fomo-alt-price {
    font-size: 0.875rem;
    color: var(--charcoal-muted);
    margin-bottom: 32px;
}

/* Counter */
.fomo-counter {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--off-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 18px 24px;
    margin-bottom: 32px;
}

.counter-visual {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    position: relative;
}

.counter-visual svg {
    width: 52px;
    height: 52px;
    transform: rotate(-90deg);
}

.counter-ring-bg {
    fill: none;
    stroke: var(--border-subtle);
    stroke-width: 4;
}

.counter-ring-fill {
    fill: none;
    stroke: var(--styllable-blue);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 138.23;
    stroke-dashoffset: 36.94;
    transition: stroke-dashoffset 1.5s var(--transition-smooth);
}

.counter-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--charcoal);
}

.counter-text {
    flex: 1;
}

.counter-text strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 2px;
}

.counter-text span {
    font-size: 0.8125rem;
    color: var(--charcoal-muted);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-section {
    background: var(--white);
}

.features-header {
    text-align: center;
    margin-bottom: 64px;
}

.features-header .section-desc {
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: clamp(32px, 5vw, 44px);
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--styllable-blue-light), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s var(--transition-smooth);
    pointer-events: none;
}

.feature-card:hover {
    border-color: rgba(106, 204, 234, 0.3);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--styllable-blue-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--styllable-blue);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--charcoal-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--off-white-warm) 100%);
}

.pricing-header {
    text-align: center;
    margin-bottom: 56px;
}

.pricing-header .section-desc {
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 980px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: clamp(32px, 5vw, 40px);
    display: flex;
    flex-direction: column;
    transition: all 0.4s var(--transition-smooth);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--styllable-blue);
    background: var(--white);
    position: relative;
    box-shadow: var(--shadow-blue);
}

.pricing-card.featured:hover {
    box-shadow: 0 12px 40px rgba(106, 204, 234, 0.35);
}

.pricing-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--styllable-blue);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.pricing-tier {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--charcoal-muted);
    margin-bottom: 16px;
}

.pricing-card.featured .pricing-tier {
    color: var(--styllable-blue);
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 6px;
}

.pricing-currency {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
    align-self: flex-start;
    margin-top: 6px;
}

.pricing-value {
    font-size: clamp(2.5rem, 5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--charcoal);
    line-height: 1;
}

.pricing-period {
    font-size: 0.875rem;
    color: var(--charcoal-muted);
    font-weight: 500;
    margin-bottom: 24px;
}

.pricing-founding-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--styllable-blue-light);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 24px;
}

.pricing-divider {
    width: 100%;
    height: 1px;
    background: var(--border-subtle);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--charcoal-soft);
    line-height: 1.5;
}

.pricing-features li svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--styllable-blue);
    margin-top: 2px;
}

.pricing-card .btn-pricing {
    display: block;
    width: 100%;
    padding: 16px;
    border-radius: 100px;
    border: none;
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s var(--transition-smooth);
    text-align: center;
    text-decoration: none;
}

.btn-pricing-outline {
    background: transparent;
    border: 1.5px solid var(--border-medium);
    color: var(--charcoal);
}

.btn-pricing-outline:hover {
    border-color: var(--charcoal);
    background: var(--charcoal);
    color: var(--white);
}

.btn-pricing-filled {
    background: var(--styllable-blue);
    color: var(--white);
}

.btn-pricing-filled:hover {
    background: #5cbfdf;
    box-shadow: var(--shadow-blue);
    transform: translateY(-2px);
}

.pricing-card.featured .btn-pricing-filled:hover {
    box-shadow: 0 8px 30px rgba(106, 204, 234, 0.4);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.5);
    padding: 48px 24px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.03em;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo .logo-mark {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--styllable-blue);
}

.footer-tagline {
    font-size: 0.8125rem;
    line-height: 1.6;
}

.footer-tagline em {
    display: block;
    color: rgba(255, 255, 255, 0.35);
    font-style: normal;
    margin-top: 4px;
}

/* ============================================================
   RESPONSIVE — TABLET+
   ============================================================ */
@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    section {
        padding: 120px 40px;
    }

    .nav {
        padding: 0 40px;
    }

    .fomo-section {
        padding: 100px 40px 120px;
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        align-items: start;
    }

    .pricing-card.featured {
        transform: scale(1.03);
        z-index: 2;
    }

    .pricing-card.featured:hover {
        transform: scale(1.03) translateY(-4px);
    }

    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .footer-tagline {
        text-align: right;
    }
}

@media (min-width: 1024px) {
    section {
        padding: 140px 60px;
    }

    .nav {
        padding: 0 60px;
    }

    .hero {
        padding: 140px 60px 100px;
    }

    .fomo-section {
        padding: 100px 60px 140px;
    }
}
