/* ============================================
   SpookyCodes — Design System v2.0
   Purple/Cyan palette, Inter font, enterprise dark
   ============================================ */

/* --- CSS Variables --- */
:root {
    --bg-deepest:    #07060e;
    --bg-dark:       #0c0b14;
    --bg-card:       #110f1d;
    --bg-elevated:   #1a1730;
    --bg-hover:      #211e3a;

    --purple-200:    #c4b5fd;
    --purple-300:    #a78bfa;
    --purple-400:    #8b5cf6;
    --purple-500:    #7c3aed;
    --purple-600:    #6d28d9;
    --purple-700:    #5b21b6;
    --purple-800:    #4c1d95;
    --purple-900:    #2e1065;

    --cyan-300:      #22d3ee;
    --cyan-400:      #05d9e8;
    --cyan-500:      #0aafb8;
    --cyan-600:      #0a8f96;

    --success:       #22c55e;
    --warning:       #f59e0b;
    --danger:        #ef4444;

    --text-light:    #f0f0f5;
    --text-secondary:#a8a8be;
    --text-muted:    #6b6b80;

    --border:        rgba(124, 58, 237, 0.08);
    --border-hover:  rgba(124, 58, 237, 0.25);
    --glow-purple:   0 0 20px rgba(124, 58, 237, 0.2);
    --glow-strong:   0 0 40px rgba(124, 58, 237, 0.3), 0 0 80px rgba(124, 58, 237, 0.08);
    --ease:          cubic-bezier(0.4, 0, 0.2, 1);

    /* Legacy aliases (used in HTML inline) */
    --neon-cyan:     #05d9e8;
    --neon-green:    #22c55e;
    --neon-pink:     #a78bfa;
    --light-purple:  #8b5cf6;
    --dark-purple:   #2e1065;
    --medium-purple: #5b21b6;
    --dark-bg:       #07060e;
    --darker-bg:     #07060e;
}

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

html {
    font-size: 17px;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--bg-deepest);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Gradient Text Utility --- */
.gradient-text {
    background: linear-gradient(135deg, var(--purple-200) 0%, var(--purple-400) 40%, var(--cyan-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Header & Navigation
   ============================================ */
header {
    background: rgba(7, 6, 14, 0.7);
    backdrop-filter: blur(24px) saturate(1.3);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);
    padding: 0;
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

header .container {
    height: 100%;
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    overflow: visible;
}

.logo-img::before {
    display: none;
}

.logo-img img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.logo-img i {
    font-size: 24px;
    color: var(--purple-400);
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    color: var(--text-light);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

.nav-links li a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s var(--ease);
    position: relative;
    font-size: 0.9rem;
}

.nav-links li a::after {
    display: none;
}

.nav-links li a:hover {
    color: var(--text-secondary);
}

.nav-links li a.active {
    color: var(--text-light);
    background: rgba(255,255,255,0.04);
}

/* --- Hamburger Menu --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.2s var(--ease);
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--purple-500);
    color: white;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2), 0 4px 16px rgba(124, 58, 237, 0.25);
}

.btn-primary:hover {
    background: var(--purple-600);
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3), 0 8px 32px rgba(124, 58, 237, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255,255,255,0.08);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.15);
    color: var(--text-light);
}

/* ============================================
   Sections
   ============================================ */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.25rem;
    display: inline-block;
    padding-bottom: 12px;
    position: relative;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--purple-500), var(--cyan-400));
    border-radius: 1px;
}

.section-title p {
    color: var(--text-muted);
    margin-top: 1rem;
    font-size: 1rem;
}

/* ============================================
   Hero Section (index.html)
   ============================================ */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    background: url('img/spookycodes_banner.jpg') center center / cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 70% at 50% 45%, rgba(7,6,14,0.55) 0%, rgba(7,6,14,0.75) 50%, rgba(7,6,14,0.88) 100%),
        linear-gradient(180deg, rgba(7,6,14,0.3) 0%, rgba(7,6,14,0.97) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h2 {
    font-size: 3.75rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--purple-200) 0%, var(--purple-400) 40%, var(--cyan-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 2rem;
}

/* --- Floating Icons --- */
.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
    color: var(--purple-400);
}

.floating-icon:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; color: var(--cyan-400); }
.floating-icon:nth-child(2) { top: 60%; left: 80%; animation-delay: 1s; color: var(--purple-300); }
.floating-icon:nth-child(3) { top: 40%; left: 75%; animation-delay: 2s; color: var(--cyan-500); }
.floating-icon:nth-child(4) { top: 70%; left: 15%; animation-delay: 3s; color: var(--purple-400); }
.floating-icon:nth-child(5) { top: 30%; left: 50%; animation-delay: 4s; color: var(--cyan-400); }

/* ============================================
   Services Grid (services.html)
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* Grid 5 card: 3 sopra + 2 sotto centrate */
.services-5col {
    grid-template-columns: repeat(6, 1fr);
}

.services-5col .service-card:nth-child(1) { grid-column: 1 / 3; }
.services-5col .service-card:nth-child(2) { grid-column: 3 / 5; }
.services-5col .service-card:nth-child(3) { grid-column: 5 / 7; }
.services-5col .service-card:nth-child(4) { grid-column: 2 / 4; }
.services-5col .service-card:nth-child(5) { grid-column: 4 / 6; }

@media (max-width: 968px) {
    .services-5col {
        grid-template-columns: 1fr 1fr;
    }
    .services-5col .service-card { grid-column: auto; }
    .services-5col .service-card:nth-child(5) { grid-column: 1 / -1; max-width: 400px; justify-self: center; }
}

@media (max-width: 576px) {
    .services-5col {
        grid-template-columns: 1fr;
    }
    .services-5col .service-card:nth-child(5) { max-width: none; }
}

.service-card {
    background: var(--bg-card);
    border-radius: 14px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s var(--ease);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--purple-500), transparent);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--glow-purple);
}

/* Icon old (fallback) */
.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--purple-400);
}

/* Icon box — nuovo stile con sfondo */
.service-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.service-icon-box.purple {
    background: rgba(124, 58, 237, 0.1);
    color: var(--purple-400);
}

.service-icon-box.cyan {
    background: rgba(5, 217, 232, 0.1);
    color: var(--cyan-400);
}

.service-icon-box.green {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

/* Service tag */
.service-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

/* Service CTA button */
.service-cta {
    margin-top: auto;
    padding-top: 1.5rem;
    width: 100%;
}

/* Card con flex column per push del bottone in fondo */
.service-card {
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
}

.service-card .features {
    text-align: left;
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
    list-style: none;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border);
}

.service-card .features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.service-card .features li i {
    color: var(--success);
    font-size: 0.8rem;
}

/* ============================================
   Contact Section (contact.html)
   ============================================ */
/* --- Contact page: card grid --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s var(--ease);
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    opacity: 0;
    transition: opacity 0.3s;
}

.contact-card[data-accent="purple"]::before { background: var(--purple-500); }
.contact-card[data-accent="cyan"]::before { background: var(--cyan-400); }
.contact-card[data-accent="muted"]::before { background: var(--text-muted); }

.contact-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--glow-purple);
    transform: translateY(-4px);
}

.contact-card:hover::before { opacity: 1; }

.contact-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.contact-card-icon.purple { background: rgba(124, 58, 237, 0.1); color: var(--purple-400); }
.contact-card-icon.cyan { background: rgba(5, 217, 232, 0.1); color: var(--cyan-400); }
.contact-card-icon.muted { background: rgba(255, 255, 255, 0.04); color: var(--text-muted); }

.contact-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.contact-card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex: 1;
}

.contact-card-value {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: var(--bg-elevated);
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.contact-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 3px 10px;
    border-radius: 100px;
}

.contact-card-badge.green {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* --- FAQ --- */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem;
    transition: all 0.25s var(--ease);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* Legacy contact (retrocompatibilità) */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info {
    background: var(--bg-card);
    border-radius: 14px;
    padding: 2.5rem;
    border: 1px solid var(--border);
}

@media (max-width: 968px) {
    .contact-grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
    .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .contact-grid { max-width: none; }
}

/* ============================================
   Footer
   ============================================ */
footer {
    background: var(--bg-dark);
    padding: 0;
    border-top: 1px solid var(--border);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding: 4rem 0 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand .logo {
    display: inline-flex;
    width: fit-content;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-links-group h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-links-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links-group ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links-group ul li a:hover {
    color: var(--text-light);
}

.footer-links-group ul li a i {
    width: 16px;
    text-align: center;
    font-size: 0.85rem;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Legacy */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: all 0.2s var(--ease);
}

.social-links a:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--border-hover);
    color: var(--purple-300);
    transform: translateY(-2px);
}

@media (max-width: 968px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 576px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 0 2rem;
    }
}

/* ============================================
   Services - Featured Card
   ============================================ */
.service-card-featured {
    border-color: rgba(124, 58, 237, 0.3);
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.04) 0%, var(--bg-card) 40%);
}

.service-card-featured::before {
    opacity: 1;
}

.service-card-featured .service-icon {
    color: var(--purple-300);
}

/* ============================================
   SpookyPulse Page
   ============================================ */

/* --- SP Hero --- */
.sp-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem;
    text-align: center;
    background: url('img/spookycodes_banner.jpg') center center / cover no-repeat;
}

.sp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 70% at 50% 45%, rgba(7,6,14,0.55) 0%, rgba(7,6,14,0.75) 50%, rgba(7,6,14,0.88) 100%),
        linear-gradient(180deg, rgba(7,6,14,0.3) 0%, rgba(7,6,14,0.97) 100%);
    pointer-events: none;
}

.sp-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.sp-hero-title {
    font-size: 4rem;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--purple-200) 0%, var(--purple-400) 40%, var(--cyan-400) 100%);
    background-size: 100% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sp-hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

.sp-hero .hero-buttons {
    justify-content: center;
}

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

/* --- Stats Bar --- */
.sp-stats {
    padding: 0;
}

.sp-stats-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2rem 3rem;
    max-width: 800px;
    margin: -2rem auto 0;
    position: relative;
    z-index: 3;
}

.sp-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.sp-stat-number {
    font-family: 'Inter', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--purple-300), var(--cyan-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sp-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.sp-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* --- Feature Cards --- */
.sp-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.sp-feature-card {
    background: var(--bg-card);
    border-radius: 14px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.sp-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 14px 14px 0 0;
}

.sp-feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--glow-purple);
}

/* Accent colors — unified purple/cyan tones */
.sp-accent-cyan::before { background: var(--cyan-400); }
.sp-accent-cyan:hover { border-color: rgba(5, 217, 232, 0.25); }
.sp-accent-cyan .sp-feature-icon { color: var(--cyan-400); }

.sp-accent-pink::before { background: var(--purple-300); }
.sp-accent-pink:hover { border-color: rgba(167, 139, 250, 0.25); }
.sp-accent-pink .sp-feature-icon { color: var(--purple-300); }

.sp-accent-green::before { background: var(--success); }
.sp-accent-green:hover { border-color: rgba(34, 197, 94, 0.25); }
.sp-accent-green .sp-feature-icon { color: var(--success); }

.sp-accent-purple::before { background: var(--purple-400); }
.sp-accent-purple:hover { border-color: rgba(139, 92, 246, 0.25); }
.sp-accent-purple .sp-feature-icon { color: var(--purple-400); }

.sp-feature-icon {
    font-size: 2.25rem;
    margin-bottom: 1.2rem;
}

.sp-feature-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text-light);
}

.sp-feature-list {
    list-style: none;
}

.sp-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.sp-feature-list li i {
    color: var(--success);
    font-size: 0.75rem;
    margin-top: 5px;
    flex-shrink: 0;
}

/* --- Pricing --- */
.sp-pricing {
    background: rgba(7, 6, 14, 0.5);
}

.sp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    align-items: start;
}

.sp-pricing-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    transition: all 0.35s var(--ease);
    display: flex;
    flex-direction: column;
    position: relative;
}

.sp-pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

/* Highlighted card */
.sp-pricing-highlighted {
    border-color: rgba(124, 58, 237, 0.3);
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.04) 0%, var(--bg-card) 40%);
    padding-top: 3.5rem;
}

.sp-pricing-highlighted:hover {
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow: var(--glow-strong);
}

.sp-pricing-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--purple-500);
    color: white;
    padding: 4px 16px;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.sp-pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.sp-pricing-emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.sp-pricing-header h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.sp-pricing-price {
    font-family: 'Inter', sans-serif;
    font-size: 2.75rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--purple-300), var(--cyan-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sp-pricing-price span {
    font-size: 1rem;
    font-weight: 400;
}

.sp-pricing-alt {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.sp-pricing-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.6;
}

.sp-pricing-features {
    list-style: none;
    flex: 1;
    margin-bottom: 1.5rem;
}

.sp-pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.sp-pricing-features li i {
    color: var(--success);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.sp-pricing-limits {
    background: rgba(124, 58, 237, 0.06);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    margin-bottom: 1.5rem;
}

.sp-pricing-limits span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.sp-pricing-limits i {
    color: var(--purple-400);
}

.sp-pricing-cta {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

/* --- Comparison Table --- */
.sp-table-wrapper {
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid var(--border);
}

.sp-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    font-size: 0.95rem;
}

.sp-comparison-table thead {
    background: var(--bg-elevated);
}

.sp-comparison-table th {
    padding: 1.2rem 1rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--text-light);
    white-space: nowrap;
    font-size: 0.85rem;
}

.sp-comparison-table th:first-child {
    text-align: left;
}

.sp-comparison-table td {
    padding: 1rem;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

.sp-comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-light);
}

.sp-comparison-table tbody tr:hover {
    background: rgba(124, 58, 237, 0.03);
}

.sp-table-highlight {
    background: rgba(5, 217, 232, 0.03);
}

.sp-check {
    color: var(--success);
}

.sp-xmark {
    color: rgba(255, 255, 255, 0.12);
}

.sp-table-price-row {
    background: rgba(124, 58, 237, 0.04);
}

/* --- Bottom CTA --- */
.sp-bottom-cta {
    padding: 5rem 0;
}

.sp-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.sp-cta-content h2 {
    font-family: 'Inter', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, var(--purple-300), var(--cyan-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sp-cta-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* ============================================
   Products Page
   ============================================ */
.products-hero {
    padding: 5rem 0 2rem;
}

.products-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all 0.2s var(--ease);
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-light);
}

.filter-btn.active {
    background: var(--purple-500);
    border-color: var(--purple-500);
    color: white;
}

.products-section {
    padding: 2rem 0 5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

/* --- Product Card --- */
.product-card {
    background: var(--bg-card);
    border-radius: 14px;
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--glow-purple);
}

.product-card-live {
    border-color: rgba(5, 217, 232, 0.15);
}

.product-card-live:hover {
    border-color: rgba(5, 217, 232, 0.3);
}

/* Status badge */
.product-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 4px 12px;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.status-live {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-soon {
    background: rgba(124, 58, 237, 0.1);
    color: var(--purple-300);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.product-platform {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.product-icon {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.product-icon-cyan { color: var(--cyan-400); }
.product-icon-pink { color: var(--purple-300); }
.product-icon-green { color: var(--success); }
.product-icon-purple { color: var(--purple-400); }

.product-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.product-tagline {
    color: var(--cyan-400);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.product-highlights {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.product-highlights li i {
    color: var(--success);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.product-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    margin-top: auto;
}

.product-price {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--purple-300), var(--cyan-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-price-detail {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.product-actions {
    display: flex;
    gap: 0.75rem;
}

.product-actions .btn {
    font-size: 0.85rem;
    padding: 10px 20px;
}

/* --- Coming Soon Teaser --- */
.products-coming-soon {
    margin-top: 3rem;
}

.coming-soon-content {
    text-align: center;
    background: var(--bg-card);
    border: 1px dashed rgba(124, 58, 237, 0.15);
    border-radius: 14px;
    padding: 3rem 2rem;
}

.coming-soon-content i {
    font-size: 2rem;
    color: var(--purple-400);
    margin-bottom: 1rem;
    display: block;
}

.coming-soon-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.coming-soon-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Animations
   ============================================ */
@keyframes float {
    0%   { transform: translateY(0) rotate(0deg); }
    50%  { transform: translateY(-15px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

@keyframes shine {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ============================================
   Scrollbar
   ============================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--purple-900); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple-800); }

/* ============================================
   Responsive
   ============================================ */

/* ── Tablet landscape (max 968px) ── */
@media (max-width: 968px) {
    html { font-size: 16px; }
    .container { padding: 0 28px; }

    /* Nav */
    .hamburger { display: flex; }
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: rgba(7, 6, 14, 0.97);
        backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0.25rem;
        border-left: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .nav-links li a { font-size: 1.05rem; padding: 0.8rem 1rem; }

    /* Hero */
    .hero { min-height: 70vh; padding: 3rem 0; }
    .hero h2 { font-size: 2.5rem; }
    .hero p { font-size: 1.05rem; }
    .hero-buttons { flex-wrap: wrap; }

    /* Services */
    .services-grid { grid-template-columns: 1fr 1fr; }
    .service-card { padding: 2rem; text-align: left; }

    /* Products */
    .products-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

    /* Contact */
    .contact-container { grid-template-columns: 1fr; }

    /* SpookyPulse */
    .sp-hero-title { font-size: 2.75rem; }
    .sp-stats-bar { gap: 1.5rem; padding: 1.5rem 2rem; }
    .sp-stat-number { font-size: 1.75rem; }
    .sp-pricing-highlighted { transform: scale(1); }
    .sp-pricing-highlighted:hover { transform: translateY(-4px); }
    .sp-pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .sp-features-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Tablet portrait (max 768px) ── */
@media (max-width: 768px) {
    .hero h2 { font-size: 2.25rem; }
    .hero-content { max-width: 100%; }
    .sp-hero-title { font-size: 2.5rem; }
    .sp-features-grid { grid-template-columns: 1fr; }
    .section-title h2 { font-size: 1.85rem; }
    .sp-cta-content h2 { font-size: 1.85rem; }
}

/* ── Mobile (max 576px) ── */
@media (max-width: 576px) {
    html { font-size: 15px; }
    .container { padding: 0 16px; }

    /* Hero */
    .hero { min-height: auto; padding: 5rem 0 3rem; }
    .hero h2 { font-size: 2rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; text-align: center; }

    /* Topbar */
    .topbar, header { padding: 0 16px; }
    .logo-text { font-size: 0.9rem; }

    /* Sections */
    section { padding: 3rem 0; }
    .section-title { margin-bottom: 2rem; }
    .section-title h2 { font-size: 1.65rem; }

    /* Services */
    .services-grid { grid-template-columns: 1fr; }
    .service-card { padding: 1.75rem; }

    /* SpookyPulse */
    .sp-hero { padding: 4rem 0 3rem; min-height: auto; }
    .sp-hero-title { font-size: 2rem; }
    .sp-hero-subtitle { font-size: 1rem; }
    .sp-stats-bar { flex-wrap: wrap; gap: 1rem; padding: 1.25rem 1rem; }
    .sp-stat-divider { display: none; }
    .sp-stat { width: 45%; }
    .sp-stat-number { font-size: 1.5rem; }
    .sp-cta-content h2 { font-size: 1.5rem; }
    .sp-comparison-table { font-size: 0.78rem; }
    .sp-comparison-table th,
    .sp-comparison-table td { padding: 0.6rem 0.4rem; }
    .sp-pricing-card { padding: 2rem 1.5rem; }

    /* Products */
    .products-grid { max-width: none; }
    .product-card { padding: 1.75rem; }
    .products-filters { flex-wrap: wrap; }

    /* Contact */
    .contact-card { padding: 1.75rem; }
    .faq-item { padding: 1.5rem; }

    /* Footer */
    .footer-main { padding: 2.5rem 0 1.5rem; }
    .footer-tagline { max-width: none; }
}

/* ── Small mobile (max 380px) ── */
@media (max-width: 380px) {
    html { font-size: 14px; }
    .hero h2 { font-size: 1.75rem; }
    .sp-hero-title { font-size: 1.75rem; }
    .topbar-logo img, .logo-img img { width: 30px; height: 30px; }
    .sp-stats-bar { padding: 1rem; }
    .sp-stat { width: 100%; }
}

/* ============================================
   HOME PAGE — New Sections
   ============================================ */

/* --- Animated Background Orbs --- */
.animated-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.animated-bg .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 10s ease-in-out infinite;
}

.animated-bg .orb-1 {
    width: 600px; height: 600px;
    background: rgba(124, 58, 237, 0.3);
    top: -15%; left: -10%;
}
.animated-bg .orb-2 {
    width: 500px; height: 500px;
    background: rgba(5, 217, 232, 0.15);
    top: 35%; right: -12%;
    animation-delay: -3s;
}
.animated-bg .orb-3 {
    width: 450px; height: 450px;
    background: rgba(167, 139, 250, 0.2);
    bottom: -10%; left: 15%;
    animation-delay: -6s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%  { transform: translate(40px, -50px) scale(1.06); }
    50%  { transform: translate(-30px, 30px) scale(0.94); }
    75%  { transform: translate(20px, 40px) scale(1.03); }
}

/* --- Particle Canvas --- */
#particles-canvas {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
}

/* --- Reveal on Scroll --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-scale.revealed { opacity: 1; transform: none; }

/* Stagger children */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.35s; }

/* --- Glass Card Base --- */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 30px rgba(124, 58, 237, 0.08);
    transform: translateY(-5px);
}

/* --- Gradient Shimmer Text --- */
.gradient-shimmer {
    background: linear-gradient(135deg, var(--purple-200) 0%, var(--purple-400) 25%, var(--cyan-400) 50%, var(--purple-400) 75%, var(--purple-200) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- Section Glow Divider --- */
.section-glow { position: relative; }
.section-glow::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(124, 58, 237, 0.3), rgba(5, 217, 232, 0.15), transparent);
}

/* --- Glass Footer & Header --- */
footer.glass-footer {
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}
header.glass-header {
    background: rgba(7, 6, 14, 0.5) !important;
    backdrop-filter: blur(28px) saturate(1.5);
    -webkit-backdrop-filter: blur(28px) saturate(1.5);
}

/* --- Home: Service Cards Grid --- */
.home-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.home-service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.home-service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--purple-400), var(--cyan-400), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.home-service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 58, 237, 0.25);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), 0 0 30px rgba(124, 58, 237, 0.08);
}
.home-service-card:hover::before { opacity: 1; }

.home-service-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
}
.home-service-icon.purple { background: rgba(124, 58, 237, 0.15); color: var(--purple-300); }
.home-service-icon.cyan   { background: rgba(5, 217, 232, 0.12); color: var(--cyan-400); }
.home-service-icon.green  { background: rgba(34, 197, 94, 0.12); color: var(--success); }

.home-service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}
.home-service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* --- Home: Stats Bar --- */
.home-stats-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 2.5rem 3rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.home-stat { text-align: center; }

.home-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--purple-300), var(--cyan-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.home-stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-top: 0.35rem;
}

.home-stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.06);
}

/* --- Home: Product Showcase (SpookyPulse) --- */
.home-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.home-product-visual {
    position: relative;
    padding: 3rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}
.home-product-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.home-product-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.home-product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 1;
}
.home-product-features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
}

.home-product-info h3 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--purple-200), var(--cyan-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.home-product-info p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* --- Home: Process Steps --- */
.home-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}
.home-process::before {
    content: '';
    position: absolute;
    top: 38px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(to right, var(--purple-500), var(--cyan-400), var(--purple-500));
    opacity: 0.2;
}

.home-process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.home-process-number {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 800;
    font-size: 1.1rem;
    background: rgba(124, 58, 237, 0.15);
    border: 2px solid rgba(124, 58, 237, 0.3);
    color: var(--purple-300);
}

.home-process-step h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}
.home-process-step p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* --- Home: Testimonials --- */
.home-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
.testimonial-card:hover {
    border-color: rgba(124, 58, 237, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    font-style: italic;
    flex: 1;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
}

.testimonial-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}
.testimonial-avatar.purple { background: rgba(124, 58, 237, 0.2); color: var(--purple-300); }
.testimonial-avatar.cyan   { background: rgba(5, 217, 232, 0.15); color: var(--cyan-400); }
.testimonial-avatar.green  { background: rgba(34, 197, 94, 0.15); color: var(--success); }

.testimonial-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-light);
}
.testimonial-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- Home: CTA Glass Box --- */
.cta-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(124, 58, 237, 0.12);
    border-radius: 24px;
    padding: 4rem;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
    text-align: center;
}

/* --- Button glow on hover --- */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.12) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.3), 0 8px 32px rgba(124, 58, 237, 0.35), 0 0 60px rgba(124, 58, 237, 0.15);
}

/* --- Home responsive --- */
@media (max-width: 968px) {
    .home-services { grid-template-columns: 1fr; max-width: 450px; margin-left: auto; margin-right: auto; }
    .home-product { grid-template-columns: 1fr; }
    .home-process { grid-template-columns: repeat(2, 1fr); }
    .home-process::before { display: none; }
    .home-testimonials { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
    .home-stats-bar { gap: 2rem; padding: 2rem; flex-wrap: wrap; }
    .home-stat-divider { display: none; }
}

@media (max-width: 768px) {
    .animated-bg .orb { filter: blur(60px); }
    .animated-bg .orb-1 { width: 350px; height: 350px; }
    .animated-bg .orb-2 { width: 280px; height: 280px; }
    .animated-bg .orb-3 { width: 250px; height: 250px; }
    .reveal { transform: translateY(25px); }
    .reveal-left { transform: translateX(-25px); }
    .reveal-right { transform: translateX(25px); }
}

@media (max-width: 576px) {
    .animated-bg .orb-1 { width: 250px; height: 250px; }
    .animated-bg .orb-2 { width: 200px; height: 200px; }
    .animated-bg .orb-3 { display: none; }
    .home-stats-bar { gap: 1.5rem; padding: 1.5rem; }
    .home-stat-number { font-size: 1.75rem; }
    .home-process { grid-template-columns: 1fr; }
    .cta-glass { padding: 2.5rem 1.5rem; }
}
