/* ============================================
   COSMIC IBIZA — Location Voiture Ibiza
   Futuristic Dark Theme with Starfield
   ============================================ */

/* ========== CSS CUSTOM PROPERTIES ========== */
:root {
    /* Colors */
    --bg-space: #0a0a12;
    --bg-deep: #0d1b2a;
    --bg-card: rgba(13, 27, 42, 0.85);
    --bg-glass: rgba(10, 10, 18, 0.7);

    --accent-teal: #00fff7;
    --accent-gold: #ffd700;
    --accent-pink: #ff4081;
    --accent-purple: #9d4edd;

    --text-white: #f0f0f0;
    --text-muted: #a0a0a0;
    --text-dim: #6c7086;

    --glow-teal: rgba(0, 255, 247, 0.4);
    --glow-gold: rgba(255, 215, 0, 0.3);
    --glow-pink: rgba(255, 64, 129, 0.3);

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 255, 247, 0.3);

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --section-padding: clamp(4rem, 10vw, 8rem);
    --container-max: 1280px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-space);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent-teal);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--accent-gold);
    text-shadow: 0 0 10px var(--glow-teal);
}

/* ========== TYPOGRAPHY ========== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-teal), transparent);
    border-radius: 2px;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: var(--accent-teal);
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* ========== LAYOUT ========== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* ========== STARFIELD BACKGROUND ========== */
.starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

#starfield-canvas {
    width: 100%;
    height: 100%;
}

/* CSS-only fallback stars */
.stars-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, var(--accent-teal), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, white, transparent),
        radial-gradient(2px 2px at 160px 120px, var(--accent-gold), transparent),
        radial-gradient(1px 1px at 230px 80px, rgba(255, 255, 255, 0.6), transparent);
    background-size: 250px 250px;
    animation: twinkle 8s ease-in-out infinite;
}

.stars-layer:nth-child(2) {
    background-position: 50px 50px;
    animation-delay: -2s;
    opacity: 0.7;
}

.stars-layer:nth-child(3) {
    background-position: 100px 100px;
    animation-delay: -4s;
    opacity: 0.5;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 0.75rem 0;
    background: rgba(10, 10, 18, 0.95);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 0.05em;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    background: linear-gradient(135deg, var(--text-white), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-teal);
    transition: var(--transition-fast);
}

.nav-menu a:hover {
    color: var(--text-white);
}

.nav-menu a:hover::after {
    width: 100%;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--accent-teal);
    color: var(--accent-teal);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.header-cta:hover {
    background: var(--accent-teal);
    color: var(--bg-space);
    box-shadow: 0 0 30px var(--glow-teal);
}

/* Mobile menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition-fast);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-space);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-smooth);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .header-cta {
        display: none;
    }
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 1.5rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    opacity: 0.5;
    filter: saturate(0.7) brightness(0.9);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 10, 18, 0.4) 0%,
            rgba(10, 10, 18, 0.6) 50%,
            var(--bg-space) 100%);
}

.hero-content {
    max-width: 900px;
    margin-bottom: 3rem;
    z-index: 1;
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent-teal);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero h1 {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--accent-teal) 50%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

/* Typewriter cursor */
.typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--accent-teal);
    margin-left: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* ========== WIDGET (GLASSMORPHISM) ========== */
.widget {
    width: 100%;
    max-width: 700px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
    z-index: 1;
}

.widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-teal), var(--accent-gold), var(--accent-teal), transparent);
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.widget-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1rem;
}

.widget-tab {
    flex: 1;
    padding: 0.75rem;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.widget-tab:hover,
.widget-tab.active {
    background: rgba(0, 255, 247, 0.1);
    border-color: var(--accent-teal);
    color: var(--accent-teal);
}

.widget-form {
    display: grid;
    gap: 1rem;
}

.widget-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .widget-row {
        grid-template-columns: 1fr;
    }
}

.widget-field {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
}

.widget-field-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.widget-field-input {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    cursor: pointer;
}

.widget-field-input svg {
    width: 20px;
    height: 20px;
    color: var(--accent-teal);
    flex-shrink: 0;
}

.widget-field:hover .widget-field-input,
.widget-field:focus .widget-field-input {
    border-color: var(--accent-teal);
    background: rgba(0, 255, 247, 0.05);
    box-shadow: 0 0 20px var(--glow-teal);
}

.widget-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.25rem 2rem;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, var(--accent-teal), #00c9c2);
    border: none;
    border-radius: 8px;
    color: var(--bg-space);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.widget-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.widget-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px var(--glow-teal);
}

.widget-cta:hover::before {
    width: 300px;
    height: 300px;
}

.widget-cta svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.widget-cta:hover svg {
    transform: translateX(5px);
}

/* ========== SECTION TITLES ========== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    display: inline-block;
}

.section-header h2::after {
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
}

.section-header p {
    max-width: 600px;
    margin: 1rem auto 0;
}

/* ========== FLEET SECTION ========== */
.fleet {
    background: linear-gradient(180deg, var(--bg-space) 0%, var(--bg-deep) 100%);
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.fleet-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    text-decoration: none;
    color: inherit;
    display: block;
}

.fleet-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-teal);
    box-shadow: 0 20px 60px rgba(0, 255, 247, 0.15);
}

.fleet-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.fleet-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.fleet-card:hover .fleet-card-image img {
    transform: scale(1.1);
}

.fleet-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.35rem 0.75rem;
    background: var(--accent-gold);
    color: var(--bg-space);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
}

.fleet-card-content {
    padding: 1.5rem;
}

.fleet-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.fleet-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.fleet-spec {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.fleet-spec svg {
    width: 16px;
    height: 16px;
    color: var(--accent-teal);
}

.fleet-card-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.fleet-card-price .amount {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-teal);
}

.fleet-card-price .period {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* ========== ROUTES SECTION ========== */
.routes {
    background: var(--bg-deep);
    position: relative;
}

.routes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-teal), transparent);
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.route-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

.route-card:hover {
    border-color: var(--accent-pink);
    box-shadow: 0 10px 40px var(--glow-pink);
}

.route-card-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.route-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.route-card-content {
    flex: 1;
}

.route-card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.route-card-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.route-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
}

.route-meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-dim);
}

.route-meta-item svg {
    width: 14px;
    height: 14px;
    color: var(--accent-gold);
}

@media (max-width: 480px) {
    .routes-grid {
        grid-template-columns: 1fr;
    }

    .route-card {
        flex-direction: column;
    }

    .route-card-image {
        width: 100%;
        height: 150px;
    }
}

/* ========== STEPS SECTION ========== */
.steps {
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-space) 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    position: relative;
}

.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    background: var(--bg-card);
    border: 2px solid var(--accent-teal);
    border-radius: 50%;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-teal);
    position: relative;
}

.step-number::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 1px dashed var(--border-glow);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.step-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-white);
}

.step-description {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ========== TERMINAL STYLE (DRIVING TIPS) ========== */
.tips {
    background: var(--bg-space);
}

.terminal {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--border-subtle);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red {
    background: #ff5f56;
}

.terminal-dot.yellow {
    background: #ffbd2e;
}

.terminal-dot.green {
    background: #27ca40;
}

.terminal-title {
    margin-left: 1rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-dim);
}

.terminal-body {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.8;
}

.terminal-line {
    margin-bottom: 1rem;
}

.terminal-prompt {
    color: var(--accent-teal);
}

.terminal-command {
    color: var(--accent-gold);
}

.terminal-output {
    color: var(--text-muted);
    padding-left: 1.5rem;
    border-left: 2px solid var(--border-subtle);
    margin: 0.5rem 0 1rem 0.5rem;
}

/* ========== INSURANCE SECTION ========== */
.insurance {
    background: var(--bg-deep);
}

.insurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.insurance-card {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.insurance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-gold));
}

.insurance-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 255, 247, 0.1);
}

.insurance-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: rgba(0, 255, 247, 0.1);
    border-radius: 10px;
    color: var(--accent-teal);
}

.insurance-icon svg {
    width: 100%;
    height: 100%;
}

.insurance-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-white);
}

.insurance-description {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ========== DEALS SECTION ========== */
.deals {
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-space) 100%);
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.deal-card {
    display: block;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.deal-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 40%,
            rgba(255, 255, 255, 0.03) 50%,
            transparent 60%);
    transform: rotate(45deg);
    animation: holographic 3s linear infinite;
}

@keyframes holographic {
    0% {
        transform: rotate(45deg) translateY(-100%);
    }

    100% {
        transform: rotate(45deg) translateY(100%);
    }
}

.deal-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 15px 50px var(--glow-gold);
}

.deal-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
}

.deal-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-white);
}

.deal-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.deal-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-teal);
    font-weight: 600;
    font-size: 0.9rem;
}

.deal-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.deal-card:hover .deal-cta svg {
    transform: translateX(5px);
}

/* ========== REVIEWS SECTION ========== */
.reviews {
    background: var(--bg-space);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.review-card {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-family: var(--font-mono);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--accent-teal);
    object-fit: cover;
}

.review-author {
    font-size: 0.95rem;
    color: var(--accent-teal);
}

.review-date {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.review-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.review-stars svg {
    width: 16px;
    height: 16px;
    color: var(--accent-gold);
}

.review-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.review-text::before {
    content: '> ';
    color: var(--accent-teal);
}

/* ========== FAQ SECTION ========== */
.faq {
    background: var(--bg-deep);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--accent-teal);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    text-align: left;
    color: var(--text-white);
    transition: var(--transition-fast);
}

.faq-question::before {
    content: '>';
    color: var(--accent-teal);
    margin-right: 0.5rem;
}

.faq-question:hover {
    background: rgba(0, 255, 247, 0.05);
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-teal);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 1.25rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    border-top: 1px solid var(--border-subtle);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--bg-space);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-teal), var(--accent-gold), var(--accent-teal), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.footer-column h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-white);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-dim);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-teal);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.8rem;
    color: var(--text-dim);
}

@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--text-dim);
}

.footer-legal a:hover {
    color: var(--accent-teal);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
.animate-on-scroll:nth-child(1) {
    transition-delay: 0s;
}

.animate-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.animate-on-scroll:nth-child(4) {
    transition-delay: 0.3s;
}

/* ========== GLITCH EFFECT ========== */
.glitch {
    position: relative;
}

.glitch:hover::before,
.glitch:hover::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch:hover::before {
    color: var(--accent-teal);
    animation: glitch-1 0.3s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.glitch:hover::after {
    color: var(--accent-pink);
    animation: glitch-2 0.3s infinite;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes glitch-1 {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-3px);
    }

    40% {
        transform: translateX(3px);
    }

    60% {
        transform: translateX(-2px);
    }

    80% {
        transform: translateX(2px);
    }
}

@keyframes glitch-2 {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(3px);
    }

    40% {
        transform: translateX(-3px);
    }

    60% {
        transform: translateX(2px);
    }

    80% {
        transform: translateX(-2px);
    }
}

/* ========== UTILITIES ========== */
.text-center {
    text-align: center;
}

.text-teal {
    color: var(--accent-teal);
}

.text-gold {
    color: var(--accent-gold);
}

.text-pink {
    color: var(--accent-pink);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}