/* ═══════════════════════════════════════════
   ClawClones.com v2 — Ultra-Minimal Coming Soon
   ═══════════════════════════════════════════ */

/* Lenis.js Recommended CSS */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* ── Custom Properties ─────────────────── */
:root {
    /* Colors */
    --bg: #0A0A0F;
    --bg-surface: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.04);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.14);
    --text: #E4E4E7;
    --text-muted: #71717A;
    --text-dim: #52525B;
    --white: #FAFAFA;

    /* Accent */
    --accent-blue: #00D4FF;
    --accent-purple: #8B5CF6;
    --accent-gradient: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
}

/* ── Grain Overlay ─────────────────────── */
.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
}

/* ── Animated Mesh Gradient Background ── */
.mesh-gradient {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(139, 92, 246, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 60% 80% at 80% 20%, rgba(0, 212, 255, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 70% 50% at 50% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
    animation: mesh-drift 20s ease-in-out infinite alternate;
}

@keyframes mesh-drift {
    0% {
        background:
            radial-gradient(ellipse 80% 60% at 20% 40%, rgba(139, 92, 246, 0.12) 0%, transparent 70%),
            radial-gradient(ellipse 60% 80% at 80% 20%, rgba(0, 212, 255, 0.08) 0%, transparent 70%),
            radial-gradient(ellipse 70% 50% at 50% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
    }

    33% {
        background:
            radial-gradient(ellipse 70% 70% at 60% 30%, rgba(0, 212, 255, 0.10) 0%, transparent 70%),
            radial-gradient(ellipse 80% 60% at 30% 70%, rgba(139, 92, 246, 0.10) 0%, transparent 70%),
            radial-gradient(ellipse 50% 80% at 70% 60%, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
    }

    66% {
        background:
            radial-gradient(ellipse 60% 80% at 40% 60%, rgba(139, 92, 246, 0.08) 0%, transparent 70%),
            radial-gradient(ellipse 80% 50% at 70% 30%, rgba(0, 212, 255, 0.12) 0%, transparent 70%),
            radial-gradient(ellipse 70% 60% at 20% 80%, rgba(139, 92, 246, 0.07) 0%, transparent 70%);
    }

    100% {
        background:
            radial-gradient(ellipse 80% 70% at 75% 50%, rgba(0, 212, 255, 0.10) 0%, transparent 70%),
            radial-gradient(ellipse 60% 60% at 25% 25%, rgba(139, 92, 246, 0.12) 0%, transparent 70%),
            radial-gradient(ellipse 70% 80% at 50% 70%, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
    }
}

/* ── Cursor Glow ───────────────────────── */
.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s ease;
    opacity: 0;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* ── Reveal Animations ─────────────────── */
/* ── Utilities ─────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

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

.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.reveal:nth-child(4) {
    transition-delay: 0.3s;
}

/* ── Gradient Text ─────────────────────── */
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 6s ease-in-out infinite alternate;
    background-size: 200% 200%;
}

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

    100% {
        background-position: 100% 50%;
    }
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.particle-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: var(--space-xl);
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-blue);
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.15);
    padding: var(--space-sm) var(--space-lg);
    border-radius: 100px;
    margin-bottom: var(--space-2xl);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-badge-icon {
    width: 14px;
    height: 14px;
    animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 1;
        filter: drop-shadow(0 0 4px var(--accent-blue));
    }

    50% {
        opacity: 0.5;
        filter: drop-shadow(0 0 10px var(--accent-blue));
    }
}

/* Title */
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.03em;
}

/* Subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-muted);
    max-width: 440px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.7;
    font-weight: 300;
}

/* ── Email Signup ──────────────────────── */
.signup-form {
    display: flex;
    gap: var(--space-sm);
    max-width: 460px;
    margin: 0 auto;
}

.input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    width: 16px;
    height: 16px;
    color: var(--text-dim);
    pointer-events: none;
    transition: color 0.3s;
}

.email-input {
    width: 100%;
    padding: 14px 14px 14px 40px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.9rem;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.email-input::placeholder {
    color: var(--text-dim);
}

.email-input:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12), 0 0 24px rgba(139, 92, 246, 0.08);
    background: rgba(255, 255, 255, 0.06);
}

.input-wrapper:has(.email-input:focus) .input-icon {
    color: var(--accent-purple);
}

.signup-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 14px 24px;
    background: var(--accent-gradient);
    color: #fff;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: transform 0.25s var(--ease-spring), box-shadow 0.35s;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.signup-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.signup-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow:
        0 0 24px rgba(139, 92, 246, 0.35),
        0 0 60px rgba(0, 212, 255, 0.12);
}

.signup-btn:hover::before {
    opacity: 1;
}

.signup-btn:active {
    transform: translateY(0) scale(0.98);
}

.btn-icon {
    width: 15px;
    height: 15px;
    transition: transform 0.3s var(--ease-spring);
}

.signup-btn:hover .btn-icon {
    transform: translateX(3px);
}

.signup-feedback {
    margin-top: var(--space-md);
    font-size: 0.82rem;
    color: var(--accent-blue);
    min-height: 1.2em;
    transition: opacity 0.3s;
}

/* ═══════════════════════════════════════════
   TEASER ICON BLOCKS
   ═══════════════════════════════════════════ */
.teaser {
    position: relative;
    z-index: 2;
    padding: 0 var(--space-lg) var(--space-4xl);
}

.teaser-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.teaser-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    cursor: default;
}

.teaser-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.35s var(--ease-spring), border-color 0.35s, background 0.35s, box-shadow 0.4s;
}

.teaser-icon-wrapper i {
    width: 26px;
    height: 26px;
    color: var(--accent-purple);
    transition: color 0.3s;
}

.teaser-block:hover .teaser-icon-wrapper {
    transform: translateY(-6px) scale(1.08);
    border-color: rgba(139, 92, 246, 0.25);
    background: rgba(139, 92, 246, 0.08);
    box-shadow:
        0 0 28px rgba(139, 92, 246, 0.15),
        0 0 56px rgba(139, 92, 246, 0.06);
}

.teaser-block:hover .teaser-icon-wrapper i {
    color: var(--accent-blue);
}

.teaser-label {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-dim);
    transition: color 0.3s;
}

.teaser-block:hover .teaser-label {
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
    position: relative;
    z-index: 2;
    padding: var(--space-2xl) var(--space-lg) var(--space-xl);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.footer-links {
    display: flex;
    gap: var(--space-md);
}

.footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--text-dim);
    transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s var(--ease-spring), box-shadow 0.4s;
}

.footer-link i {
    width: 16px;
    height: 16px;
}

.footer-link:hover {
    color: var(--white);
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.1);
}

.footer-copy {
    font-size: 0.72rem;
    color: var(--text-dim);
    letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 640px) {
    .hero-content {
        padding: var(--space-lg);
    }

    .signup-form {
        flex-direction: column;
        gap: var(--space-md);
    }

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

    .teaser-grid {
        gap: var(--space-xl);
    }

    .teaser-icon-wrapper {
        width: 56px;
        height: 56px;
    }

    .teaser-icon-wrapper i {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 2.2rem;
    }
}