@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
    --c-bg: #0f1115;
    --c-surface: #161920;
    --c-surface-hover: #1c2029;
    --c-text-main: #e0e6ed;
    --c-text-muted: #8b94a3;
    --c-primary: #00e5ff; /* Electrolytic Blue */
    --c-primary-dim: rgba(0, 229, 255, 0.1);
    --c-accent: #00ff9d; /* Neon Accent */
    --c-border: rgba(255, 255, 255, 0.08);
    --c-gradient-text: linear-gradient(135deg, #ffffff 0%, #9ecaff 100%);
    --c-gradient-hero: linear-gradient(180deg, rgba(15, 17, 21, 0) 0%, #0f1115 100%);
    
    --font-main: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --fs-hero: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    --fs-h1: clamp(2rem, 4vw + 1rem, 3rem);
    --fs-h2: clamp(1.75rem, 3vw + 1rem, 2.5rem);
    --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
    --fs-body: clamp(1rem, 1vw + 0.25rem, 1.125rem);
    --fs-small: clamp(0.875rem, 1vw, 0.9375rem);
    
    --space-xs: clamp(0.5rem, 1vw, 0.75rem);
    --space-s: clamp(1rem, 2vw, 1.5rem);
    --space-m: clamp(1.5rem, 3vw, 2.5rem);
    --space-l: clamp(3rem, 5vw, 5rem);
    --space-xl: clamp(4rem, 8vw, 8rem);
    
    --radius-s: 6px;
    --radius-m: 12px;
    --radius-l: 24px;
    
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --glow: 0 0 20px rgba(0, 229, 255, 0.3);
    
    --container-width: 1280px;
    --container-pad: clamp(1rem, 3vw, 2rem);
}

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

body {
    background-color: var(--c-bg);
    color: var(--c-text-main);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection {
    background: var(--c-primary);
    color: var(--c-bg);
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-s);
}

h1 { font-size: var(--fs-hero); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { margin-bottom: var(--space-s); }

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul { list-style: none; }

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

/* Utility: Container */
.ff-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* Utility: Grid */
.ff-grid {
    display: grid;
    gap: var(--space-m);
}
.ff-grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.ff-grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.ff-grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Components: Buttons */
.ff-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: var(--fs-small);
    border-radius: var(--radius-s);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.ff-btn--primary {
    background: var(--c-primary);
    color: var(--c-bg);
    border: 1px solid var(--c-primary);
}
.ff-btn--primary:hover {
    box-shadow: var(--glow);
    transform: translateY(-2px);
    background: #33eaff;
    border-color: #33eaff;
}

.ff-btn--secondary {
    background: transparent;
    color: var(--c-text-main);
    border: 1px solid var(--c-border);
}
.ff-btn--secondary:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
}

/* Components: Tag/Eyebrow */
.ff-tag {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--c-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-xs);
    display: block;
    font-weight: 700;
}

/* Components: Card */
.ff-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    padding: var(--space-m);
    border-radius: var(--radius-m);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.ff-card:hover {
    transform: translateY(-5px);
    background: var(--c-surface-hover);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: var(--shadow-card);
}

/* Header */
.ff-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 17, 21, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--c-border);
    padding: 1rem 0;
}
.ff-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ff-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.ff-logo span { color: var(--c-primary); }
.ff-nav {
    display: flex;
    gap: var(--space-m);
}
.ff-nav__link {
    font-size: 0.95rem;
    color: var(--c-text-muted);
    font-weight: 500;
}
.ff-nav__link:hover, .ff-nav__link--active {
    color: var(--c-primary);
}

/* Footer */
.ff-footer {
    background: var(--c-surface);
    border-top: 1px solid var(--c-border);
    padding: var(--space-xl) 0 var(--space-m);
    margin-top: auto;
}
.ff-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-l);
    margin-bottom: var(--space-l);
}
.ff-footer__brand p {
    color: var(--c-text-muted);
    max-width: 300px;
    margin-top: 1rem;
    font-size: 0.9rem;
}
.ff-footer__col h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: var(--space-s);
}
.ff-footer__col a {
    display: block;
    color: var(--c-text-muted);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}
.ff-footer__col a:hover { color: var(--c-primary); }
.ff-footer__bottom {
    border-top: 1px solid var(--c-border);
    padding-top: var(--space-m);
    display: flex;
    justify-content: space-between;
    color: var(--c-text-muted);
    font-size: 0.8rem;
}

/* Hero Specifics */
.ff-hero {
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 0%, rgba(0, 229, 255, 0.08) 0%, transparent 60%);
}
.ff-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-l);
    align-items: center;
}
.ff-hero__content {
    z-index: 2;
}
.ff-hero__title {
    background: var(--c-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-m);
}
.ff-hero__actions {
    display: flex;
    gap: var(--space-s);
    margin-top: var(--space-m);
}
.ff-hero__visual {
    position: relative;
    height: 100%;
    min-height: 400px;
    background: var(--c-surface);
    border-radius: var(--radius-l);
    border: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
}

/* Stats */
.ff-stats {
    background: var(--c-surface);
    padding: var(--space-l) 0;
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}
.ff-stat__number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--c-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.ff-stat__label {
    color: var(--c-text-muted);
    font-size: 0.9rem;
}

/* FAQ */
.ff-faq__item {
    border-bottom: 1px solid var(--c-border);
    padding: var(--space-s) 0;
}
.ff-faq__question {
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}
.ff-faq__answer {
    color: var(--c-text-muted);
    margin-top: var(--space-xs);
    padding-left: 1rem;
    border-left: 2px solid var(--c-primary);
}

/* Mobile */
@media (max-width: 768px) {
    .ff-header__inner { flex-direction: column; gap: 1rem; }
    .ff-nav { flex-wrap: wrap; justify-content: center; gap: 1rem; }
    .ff-hero__grid, .ff-footer__grid { grid-template-columns: 1fr; }
    .ff-hero__visual { min-height: 250px; order: -1; }
    .ff-footer__bottom { flex-direction: column; gap: 1rem; }
}img,svg,video{max-width:100%;height:auto}html{-webkit-text-size-adjust:100%}*{box-sizing:border-box}