/* HitVPN — Fire/Energy Theme */
/* Unique design with red-orange accents and dynamic effects */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

:root {
    /* HitVPN Fire Color Palette */
    --fire-100: #fff5f0;
    --fire-200: #ffe4d9;
    --fire-300: #ffb899;
    --fire-400: #ff8c5a;
    --fire-500: #ff6b35;
    --fire-600: #ff4d1a;
    --fire-700: #e63900;
    --fire-800: #cc3300;
    --fire-900: #991f00;

    /* Dark Theme Background */
    --bg-primary: #0d0d0d;
    --bg-secondary: #141414;
    --bg-tertiary: #1a1a1a;
    --bg-card: #1f1f1f;
    --bg-elevated: #262626;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #808080;

    /* Accent Gradients */
    --gradient-fire: linear-gradient(135deg, #ff6b35 0%, #ff4d1a 50%, #e63900 100%);
    --gradient-fire-soft: linear-gradient(135deg, #ff8c5a 0%, #ff6b35 100%);
    --gradient-glow: radial-gradient(circle, rgba(255, 107, 53, 0.4) 0%, transparent 70%);

    /* Typography */
    --font-display: 'Unbounded', sans-serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

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

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-fire: 0 0 30px rgba(255, 107, 53, 0.3);
    --shadow-fire-intense: 0 0 60px rgba(255, 107, 53, 0.5);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-full: 9999px;
}

html {
    scroll-behavior: smooth;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-lg);
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
}

h4 {
    font-size: 1.125rem;
}

p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.text-accent {
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    transition: var(--transition-normal);
}

.nav {
    padding: var(--space-md) 0;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.logo-icon {
    font-size: 1.6rem;
    filter: drop-shadow(0 0 8px rgba(255, 107, 53, 0.6));
}

.logo-text {
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo:hover {
    transform: scale(1.02);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-2xl);
    margin: 0;
    padding: 0;
}

.nav-actions {
    flex-shrink: 0;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    font-size: 0.9375rem;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-fire);
    transition: var(--transition-normal);
    border-radius: 1px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--fire-400);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--fire-400);
    transition: var(--transition-fast);
    border-radius: 1px;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-fire);
    color: var(--text-primary);
    box-shadow: var(--shadow-fire);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-fire-intense);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: var(--gradient-fire);
    border-radius: inherit;
    transform: translate(-50%, -50%);
    animation: pulse-ring 2s ease-out infinite;
    opacity: 0;
    z-index: -1;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--bg-elevated);
}

.btn-secondary:hover {
    border-color: var(--fire-500);
    background: rgba(255, 107, 53, 0.1);
}

.btn-large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1rem;
    border-radius: var(--radius-xl);
}

.btn-small {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.875rem;
}

.btn-icon {
    font-size: 1.1em;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: var(--bg-primary);
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, rgba(255, 77, 26, 0.05) 40%, transparent 70%);
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.6;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
    }
}

.hero-particles {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 107, 53, 0.4) 0%, transparent 100%),
        radial-gradient(2px 2px at 40% 70%, rgba(255, 140, 90, 0.3) 0%, transparent 100%),
        radial-gradient(2px 2px at 60% 20%, rgba(255, 107, 53, 0.3) 0%, transparent 100%),
        radial-gradient(2px 2px at 80% 60%, rgba(255, 77, 26, 0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 15% 50%, rgba(255, 184, 153, 0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 75% 40%, rgba(255, 184, 153, 0.3) 0%, transparent 100%);
    animation: particles-float 20s linear infinite;
}

@keyframes particles-float {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100px);
    }
}

.hero-content {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    color: var(--fire-300);
    margin-bottom: var(--space-xl);
}

.badge-icon {
    font-size: 1rem;
}

.hero-title {
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.title-accent {
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 107, 53, 0.3);
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
}

.hero-actions {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ========================================
   SECTIONS COMMON
   ======================================== */

section {
    padding: var(--space-4xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    margin-bottom: var(--space-3xl);
    color: var(--text-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features {
    background: var(--bg-secondary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.3), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    background: var(--bg-card);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--bg-elevated);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-fire);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: var(--shadow-fire);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-fire);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-fire);
}

.feature-icon svg {
    width: 26px;
    height: 26px;
    fill: var(--text-primary);
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    font-family: var(--font-display);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9375rem;
}

/* ========================================
   PROTOCOLS SECTION
   ======================================== */

.protocols {
    background: var(--bg-primary);
}

.protocols-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.protocol-card {
    background: var(--bg-card);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--bg-elevated);
    position: relative;
    transition: all var(--transition-normal);
}

.protocol-card:hover {
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-4px);
}

.protocol-badge {
    position: absolute;
    top: -12px;
    right: var(--space-lg);
    background: var(--gradient-fire);
    color: var(--text-primary);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    box-shadow: var(--shadow-fire);
}

.protocol-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.protocol-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    font-size: 0.9375rem;
}

.protocol-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.protocol-features li {
    padding: var(--space-sm) 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
    border-bottom: 1px solid var(--bg-elevated);
}

.protocol-features li:last-child {
    border-bottom: none;
}

/* ========================================
   STATS BAR SECTION
   ======================================== */

.stats-bar {
    background: linear-gradient(135deg, var(--fire-700) 0%, var(--fire-900) 100%);
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.stats-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

.stats-bar-item {
    text-align: center;
}

.stats-bar-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.stats-bar-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .stats-bar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq {
    background: var(--bg-secondary);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--bg-elevated);
}

.faq-question {
    width: 100%;
    padding: var(--space-xl) 0;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: var(--font-weight-medium);
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--fire-400);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--fire-400);
    transition: var(--transition-fast);
    font-weight: var(--font-weight-regular);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: var(--space-xl);
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta {
    background: var(--bg-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(255, 107, 53, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta h2 {
    margin-bottom: var(--space-lg);
}

.cta p {
    margin-bottom: var(--space-2xl);
    font-size: 1.125rem;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--bg-elevated);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand .logo {
    font-size: 1.3rem;
    margin-bottom: var(--space-md);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: var(--space-md);
}

.footer-disclaimer {
    font-size: 0.8125rem !important;
    color: var(--text-muted) !important;
    opacity: 0.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
}

.footer-column h4 {
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    font-family: var(--font-display);
    font-size: 0.9375rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: var(--space-sm);
}

.footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--fire-400);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--bg-elevated);
}

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

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.5s ease-out;
}

.animate-slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 992px) {
    .hero-stats {
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    :root {
        --space-4xl: 3rem;
        --space-3xl: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn-secondary {
        display: none;
    }

    .hero-stats {
        gap: var(--space-xl);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .protocols-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .stats-bar-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Focus States */
.btn:focus,
.nav-link:focus,
.faq-question:focus {
    outline: 2px solid var(--fire-400);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}
