/* ============================================
   FLAMEHOSTING — MAIN / LANDING CSS
   Reforged. Maximum fidelity.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ============================================
   DESIGN TOKENS
   ============================================ */

:root {
    /* — Flame Palette — */
    --flame:          #FF6B00;
    --flame-deep:     #C94A00;
    --flame-bright:   #FF8C35;
    --flame-hot:      #FF3D00;
    --flame-yellow:   #FFB800;
    --gold:           #FFB800;
    --gold-light:     #FFD95C;

    /* — Glow — */
    --glow-orange:    rgba(255, 107, 0, 0.45);
    --glow-sm:        rgba(255, 107, 0, 0.18);
    --glow-lg:        rgba(255, 107, 0, 0.08);

    /* — Backgrounds — */
    --dark-bg:        #07090F;
    --darker-bg:      #040508;
    --bg-2:           #0D1018;

    /* — Surfaces — */
    --glass-bg:       rgba(255, 255, 255, 0.04);
    --glass-bg-2:     rgba(255, 255, 255, 0.07);
    --card-bg:        rgba(14, 18, 30, 0.85);
    --surface-inset:  rgba(0, 0, 0, 0.25);

    /* — Borders — */
    --border-color:   rgba(255, 107, 0, 0.18);
    --border-hover:   rgba(255, 107, 0, 0.5);
    --border-subtle:  rgba(255, 255, 255, 0.07);

    /* — Text — */
    --text-primary:   #F0F0F0;
    --text-secondary: #8A93A8;
    --text-muted:     #525866;

    /* — Semantic — */
    --success:        #1DCC8A;
    --warning:        #FFB800;
    --danger:         #F76B6B;

    /* — Typography — */
    --font-display:   'Syne', sans-serif;
    --font-body:      'DM Sans', sans-serif;

    /* — Layout — */
    --radius:         16px;
    --radius-sm:      10px;
    --radius-lg:      24px;
    --radius-xl:      32px;
    --container:      1380px;

    /* — Shadows — */
    --shadow-card:    0 8px 40px rgba(0, 0, 0, 0.45);
    --shadow-flame:   0 12px 48px rgba(255, 107, 0, 0.3);
    --shadow-nav:     0 1px 0 rgba(255, 107, 0, 0.1), 0 8px 32px rgba(0, 0, 0, 0.4);

    /* — Motion — */
    --ease-out:       cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-in-out:    cubic-bezier(0.4, 0, 0.2, 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-body);
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img, svg {
    display: block;
    max-width: 100%;
}

button {
    font-family: var(--font-body);
    cursor: pointer;
}


/* ============================================
   ANIMATED BACKGROUND
   ============================================ */

.flame-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255, 107, 0, 0.09) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 85% 80%, rgba(255, 61, 0, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 15% 70%, rgba(255, 184, 0, 0.05) 0%, transparent 55%),
        linear-gradient(180deg, #0A0D16 0%, var(--darker-bg) 100%);
    overflow: hidden;
}

/* Slow drifting orbs */
.flame-bg::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background:
        radial-gradient(circle at 25% 55%, rgba(255, 107, 0, 0.11) 0%, transparent 45%),
        radial-gradient(circle at 75% 25%, rgba(255, 61, 0, 0.07) 0%, transparent 40%),
        radial-gradient(circle at 55% 85%, rgba(255, 184, 0, 0.06) 0%, transparent 40%);
    animation: orbDrift 38s ease-in-out infinite alternate;
    will-change: transform;
}

/* Subtle noise grain overlay */
.flame-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    opacity: 0.5;
    pointer-events: none;
}

@keyframes orbDrift {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(3%, 2%) scale(1.04); }
    66%  { transform: translate(-2%, 3%) scale(0.97); }
    100% { transform: translate(2%, -2%) scale(1.02); }
}


/* ============================================
   LAYOUT
   ============================================ */

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}


/* ============================================
   NAVBAR
   ============================================ */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    background: rgba(7, 9, 15, 0.7);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-nav);
    transition: background 0.3s ease;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 20px;
}

/* — Brand — */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--flame), var(--flame-hot));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(255, 107, 0, 0.35);
    transition: all 0.3s var(--ease-spring);
}

.nav-brand-icon i {
    font-size: 1.1rem;
    color: #fff;
    animation: flamePulse 2.5s ease-in-out infinite;
}

.nav-brand:hover .nav-brand-icon {
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 6px 24px rgba(255, 107, 0, 0.55);
}

.nav-brand-name {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.4px;
    background: linear-gradient(135deg, #fff 20%, var(--flame-bright) 60%, var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

@keyframes flamePulse {
    0%, 100% { transform: scale(1);    filter: drop-shadow(0 0 4px rgba(255,255,255,0.4)); }
    50%       { transform: scale(1.18); filter: drop-shadow(0 0 8px rgba(255,255,255,0.7)); }
}

/* — Nav Center Links — */
.nav-center {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--glass-bg);
}

.nav-link.active {
    color: var(--flame-bright);
    background: rgba(255, 107, 0, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--flame);
    border-radius: 1px;
}

/* — Nav Right — */
.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Status indicator pill */
.nav-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(29, 204, 138, 0.08);
    border: 1px solid rgba(29, 204, 138, 0.2);
    border-radius: 99px;
    font-size: 0.73rem;
    font-weight: 600;
    color: var(--success);
    letter-spacing: 0.3px;
    cursor: default;
}

.nav-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 6px var(--success);
    animation: statusPulse 2.4s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.6; transform: scale(0.85); }
}


/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    transition: all 0.25s var(--ease-out);
    letter-spacing: 0.15px;
    white-space: nowrap;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* Ripple on click */
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.12);
    opacity: 0;
    transition: opacity 0.15s ease;
    border-radius: inherit;
}

.btn:active::before { opacity: 1; }

/* — Primary — */
.btn-primary {
    background: linear-gradient(135deg, var(--flame) 0%, var(--flame-deep) 100%);
    box-shadow: 0 6px 24px rgba(255, 107, 0, 0.32), inset 0 1px 0 rgba(255,255,255,0.12);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--flame-bright) 0%, var(--flame) 100%);
    box-shadow: 0 10px 36px rgba(255, 107, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-primary:active { transform: translateY(0); }

/* — Secondary — */
.btn-secondary {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-secondary:hover {
    background: rgba(255, 107, 0, 0.08);
    border-color: var(--border-hover);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 107, 0, 0.12);
}

/* — Success — */
.btn-success {
    background: linear-gradient(135deg, #1DCC8A 0%, #17A86F 100%);
    box-shadow: 0 6px 24px rgba(29, 204, 138, 0.32), inset 0 1px 0 rgba(255,255,255,0.12);
    color: #ffffff;
}

.btn-success:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #22E09B 0%, #1DCC8A 100%);
    box-shadow: 0 10px 36px rgba(29, 204, 138, 0.5), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-success:active { transform: translateY(0); }

/* — Danger — */
.btn-danger {
    background: linear-gradient(135deg, #F76B6B 0%, #E74C3C 100%);
    box-shadow: 0 6px 24px rgba(247, 107, 107, 0.32), inset 0 1px 0 rgba(255,255,255,0.12);
    color: #ffffff;
}

.btn-danger:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #FF8080 0%, #F76B6B 100%);
    box-shadow: 0 10px 36px rgba(247, 107, 107, 0.5), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-danger:active { transform: translateY(0); }

/* — Ghost — */
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
    background: var(--glass-bg);
    color: var(--flame-bright);
    border-color: var(--border-color);
}

/* — Sizes — */
.btn-sm {
    padding: 7px 16px;
    font-size: 0.82rem;
    border-radius: var(--radius-sm);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.05rem;
    border-radius: var(--radius);
}

.btn-block {
    width: 100%;
}

.btn i {
    font-size: 0.85rem;
    flex-shrink: 0;
}


/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    padding: 130px 0 110px;
    text-align: center;
    position: relative;
    isolation: isolate;
}

/* Faint grid lines behind hero */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,107,0,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,107,0,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 30%, transparent 100%);
    z-index: -1;
    pointer-events: none;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.25);
    border-radius: 99px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--flame-bright);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 32px;
    animation: fadeUp 0.6s var(--ease-out) both;
}

.hero-eyebrow i { font-size: 0.7rem; }

.hero-content {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2.5px;
    margin-bottom: 24px;
    color: var(--text-primary);
    animation: fadeUp 0.65s 0.05s var(--ease-out) both;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--flame-bright) 0%, var(--gold-light) 50%, var(--flame) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease-in-out infinite alternate;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 48px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeUp 0.65s 0.1s var(--ease-out) both;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
    animation: fadeUp 0.65s 0.15s var(--ease-out) both;
}

/* Social proof strip */
.hero-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    animation: fadeUp 0.65s 0.22s var(--ease-out) both;
}

.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.proof-value {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--flame-bright), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.proof-label {
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.proof-divider {
    width: 1px;
    height: 36px;
    background: var(--border-subtle);
}

/* Hero mockup / image area */
.hero-visual {
    max-width: 960px;
    margin: 80px auto 0;
    position: relative;
    animation: fadeUp 0.8s 0.28s var(--ease-out) both;
}

.hero-visual-inner {
    background: var(--glass-bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 107, 0, 0.08);
    position: relative;
}

/* Glow below the visual */
.hero-visual::before {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 120px;
    background: radial-gradient(ellipse, rgba(255, 107, 0, 0.2) 0%, transparent 70%);
    filter: blur(24px);
    pointer-events: none;
    z-index: -1;
}

/* Window chrome bar */
.hero-visual-chrome {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-subtle);
}

.chrome-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.chrome-dot:nth-child(1) { background: #F76B6B; }
.chrome-dot:nth-child(2) { background: var(--gold); }
.chrome-dot:nth-child(3) { background: var(--success); }

.chrome-bar {
    flex: 1;
    height: 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    margin: 0 12px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 6px;
}

.chrome-bar-lock {
    font-size: 0.65rem;
    color: var(--success);
}

.chrome-bar-url {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: 'SF Mono', 'Fira Mono', monospace;
}

.hero-visual-body {
    min-height: 280px;
    background: linear-gradient(180deg, rgba(14,18,28,0.9) 0%, rgba(7,9,15,0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}


/* ============================================
   SECTION SHARED STYLES
   ============================================ */

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    background: rgba(255, 107, 0, 0.08);
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--flame-bright);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.8px;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-title .gradient-text {
    background: linear-gradient(135deg, var(--flame-bright), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-lead {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.section-center {
    text-align: center;
    margin-bottom: 64px;
}


/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    padding: 110px 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
}

/* — Feature Card — */
.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
    transition: all 0.45s var(--ease-out);
    animation: fadeUp 0.6s var(--ease-out) both;
    isolation: isolate;
}

/* Top flame bar */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--flame), var(--gold), transparent);
    transform: scaleX(0);
    transition: transform 0.45s var(--ease-out);
    z-index: 1;
}

/* Corner glow */
.feature-card::after {
    content: '';
    position: absolute;
    top: -60px;
    left: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.45s ease;
    z-index: 0;
    pointer-events: none;
}

.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover::after  { opacity: 1; }

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-color);
    background: rgba(255, 107, 0, 0.04);
    box-shadow: var(--shadow-card), 0 0 0 0.5px rgba(255,107,0,0.1);
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

/* Icon box */
.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.35s var(--ease-spring);
}

.feature-icon i {
    font-size: 1.4rem;
    background: linear-gradient(135deg, var(--flame-bright), var(--flame-hot));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(255, 107, 0, 0.4));
}

.feature-card:hover .feature-icon {
    background: rgba(255, 107, 0, 0.16);
    border-color: rgba(255, 107, 0, 0.4);
    transform: scale(1.1) rotate(-4deg);
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.2);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.2px;
    transition: color 0.2s ease;
}

.feature-card:hover h3 { color: #fff; }

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* Feature learn more link */
.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 18px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--flame-bright);
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.3s var(--ease-out);
}

.feature-link i { font-size: 0.7rem; }

.feature-card:hover .feature-link {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered entrance */
.feature-card:nth-child(1) { animation-delay: 0.08s; }
.feature-card:nth-child(2) { animation-delay: 0.14s; }
.feature-card:nth-child(3) { animation-delay: 0.20s; }
.feature-card:nth-child(4) { animation-delay: 0.26s; }
.feature-card:nth-child(5) { animation-delay: 0.32s; }
.feature-card:nth-child(6) { animation-delay: 0.38s; }


/* ============================================
   PRICING SECTION (bonus)
   ============================================ */

.pricing {
    padding: 110px 0;
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color);
    box-shadow: var(--shadow-card);
}

.pricing-card.featured {
    background: linear-gradient(145deg, rgba(255,107,0,0.1), rgba(255,61,0,0.05));
    border-color: var(--border-color);
    box-shadow: var(--shadow-flame);
    transform: scale(1.03);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-6px);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--flame), var(--flame-deep));
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.pricing-plan {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--flame-bright);
    margin-bottom: 12px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 6px;
}

.price-currency {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-top: 6px;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    color: var(--text-primary);
    line-height: 1;
}

.price-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 4px;
}

.pricing-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.6;
}

.pricing-divider {
    height: 1px;
    background: var(--border-subtle);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.pricing-features li i {
    color: var(--success);
    font-size: 0.75rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.pricing-features li.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
}

.pricing-features li.disabled i {
    color: var(--text-muted);
}


/* ============================================
   STATS / TRUST BAR
   ============================================ */

.trust-bar {
    padding: 56px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    margin: 60px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 40px;
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.trust-number {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1;
    background: linear-gradient(135deg, var(--flame-bright), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* ============================================
   CTA SECTION
   ============================================ */

.cta {
    padding: 110px 0;
    text-align: center;
    position: relative;
    isolation: isolate;
    margin: 0 20px;
}

.cta-inner {
    background: linear-gradient(135deg,
        rgba(255, 107, 0, 0.1) 0%,
        rgba(255, 61, 0, 0.06) 50%,
        rgba(255, 184, 0, 0.05) 100%
    );
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 90px 60px;
    position: relative;
    overflow: hidden;
}

/* Spinning conic gradient blob */
.cta-inner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(255,107,0,0.06) 60deg,
        transparent 120deg,
        rgba(255,184,0,0.04) 180deg,
        transparent 240deg,
        rgba(255,61,0,0.05) 300deg,
        transparent 360deg
    );
    animation: ctaSpin 22s linear infinite;
    pointer-events: none;
    border-radius: 50%;
}

/* Central glow */
.cta-inner::after {
    content: '';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(255, 107, 0, 0.12) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

@keyframes ctaSpin {
    0%   { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.8px;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.cta p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 44px;
    line-height: 1.75;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-note {
    margin-top: 20px;
    font-size: 0.78rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.cta-note i {
    font-size: 0.7rem;
    color: var(--success);
}


/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-subtle);
    padding: 60px 0 32px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 56px;
}

.footer-brand {}

.footer-brand-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, #fff 20%, var(--flame-bright) 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 260px;
}

.footer-col-title {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
    width: fit-content;
}

.footer-links a:hover {
    color: var(--flame-bright);
    transform: translateX(3px);
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 28px;
    border-top: 1px solid var(--border-subtle);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: var(--flame-bright);
}

/* Social icons */
.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: rgba(255, 107, 0, 0.1);
    border-color: var(--border-color);
    color: var(--flame-bright);
    transform: translateY(-2px);
}


/* ============================================
   ERROR PAGE
   ============================================ */

.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 24px;
    text-align: center;
}

.error-content {
    max-width: 580px;
    padding: 72px 56px;
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.error-content::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(255, 107, 0, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

.error-code {
    font-family: var(--font-display);
    font-size: clamp(6rem, 16vw, 9rem);
    font-weight: 900;
    letter-spacing: -4px;
    line-height: 1;
    background: linear-gradient(135deg, var(--flame-bright) 0%, var(--flame-hot) 60%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 30px rgba(255, 107, 0, 0.25));
    position: relative;
    z-index: 1;
}

.error-content h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    position: relative;
    z-index: 1;
}

.error-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.75;
    position: relative;
    z-index: 1;
}

.error-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}


/* ============================================
   GLOBAL ANIMATIONS
   ============================================ */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

/* Scroll-triggered utility */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
    .pricing-card.featured:hover {
        transform: translateY(-6px);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 90px 0 72px;
    }

    .hero-title {
        letter-spacing: -1.5px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
    }

    .hero-social-proof {
        gap: 20px;
    }

    .proof-divider {
        display: none;
    }

    .navbar .container {
        height: 60px;
    }

    .nav-center {
        display: none;
    }

    .nav-status {
        display: none;
    }

    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        letter-spacing: -0.5px;
    }

    .cta-inner {
        padding: 60px 28px;
    }

    .cta h2 {
        letter-spacing: -0.5px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .error-content {
        padding: 52px 32px;
    }

    .error-code {
        font-size: 5.5rem;
    }
}

@media (max-width: 480px) {
    .hero-social-proof {
        flex-direction: column;
        gap: 16px;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}