/* ==========================================
   HitBAS — Premium Dark Theme
   ========================================== */

/* CSS Custom Properties */
:root {
    /* Color Palette */
    --bg-primary: #0a0b0f;
    --bg-secondary: #12141c;
    --bg-tertiary: #1a1d2a;
    --bg-card: rgba(22, 25, 38, 0.7);
    --bg-card-hover: rgba(30, 34, 52, 0.8);
    
    --accent-primary: #6c5ce7;
    --accent-secondary: #a29bfe;
    --accent-tertiary: #fd79a8;
    --accent-glow: rgba(108, 92, 231, 0.3);
    
    --gradient-primary: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 50%, #fd79a8 100%);
    --gradient-accent: linear-gradient(135deg, #6c5ce7 0%, #fd79a8 100%);
    --gradient-success: linear-gradient(135deg, #00b894 0%, #55efc4 100%);
    
    --text-primary: #f0f0f5;
    --text-secondary: #9ca0b8;
    --text-muted: #5f6380;
    
    --border-color: rgba(108, 92, 231, 0.15);
    --border-hover: rgba(108, 92, 231, 0.35);
    
    --success: #00b894;
    --error: #d63031;
    --warning: #fdcb6e;
    --info: #74b9ff;
    
    /* Spacing */
    --section-padding: 120px 0;
    --container-max: 1200px;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --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);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Background Particles */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-primary);
    opacity: 0;
    animation: particleFade 6s infinite;
}

@keyframes particleFade {
    0%, 100% { opacity: 0; transform: translateY(0) scale(0.5); }
    50% { opacity: 0.15; transform: translateY(-40px) scale(1); }
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 11, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

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

/* Mobile menu elements - hidden on desktop */
.mobile-menu-header,
.mobile-menu-footer {
    display: none;
}

.logo-badge {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 6px;
    background: var(--accent-primary);
    color: white;
    margin-top: -8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(108, 92, 231, 0.1);
}

.nav-link-cta {
    background: var(--gradient-accent);
    color: white !important;
    font-weight: 600;
}

.nav-link-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    margin-left: 8px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-sans);
}

.lang-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 150px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition-fast);
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.lang-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 9px 14px;
    border: none;
    background: none;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-family: var(--font-sans);
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition-fast);
    text-align: left;
}

.lang-option:hover {
    background: rgba(108, 92, 231, 0.1);
    color: var(--text-primary);
}

.lang-option.active {
    background: rgba(108, 92, 231, 0.15);
    color: var(--accent-secondary);
    font-weight: 600;
}

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

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

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(108, 92, 231, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(108, 92, 231, 0.12);
    border: 1px solid var(--border-color);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent-secondary);
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease-out;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-primary);
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-line {
    display: block;
    animation: fadeInUp 0.8s ease-out backwards;
}

.hero-line:nth-child(2) { animation-delay: 0.15s; }
.hero-line:nth-child(3) { animation-delay: 0.3s; }

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

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
    font-family: var(--font-sans);
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.4);
}

.btn-ghost {
    background: rgba(108, 92, 231, 0.08);
    color: var(--accent-secondary);
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    background: rgba(108, 92, 231, 0.15);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

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

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

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

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-value::after {
    content: '+';
}

.stat-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
}

/* Terminal Window */
.hero-visual {
    animation: fadeInRight 1s ease-out 0.3s backwards;
}

.terminal-window {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(108, 92, 231, 0.08);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
}

.terminal-dots {
    display: flex;
    gap: 7px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 18px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 1.9;
    min-height: 280px;
}

.terminal-line {
    opacity: 0;
    transform: translateX(-10px);
    animation: termLine 0.5s ease-out forwards;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes termLine {
    to { opacity: 1; transform: translateX(0); }
}

.t-time {
    color: var(--text-muted);
    margin-right: 8px;
}

.t-tag {
    font-size: 0.75rem;
    padding: 1px 6px;
    border-radius: 4px;
    margin-right: 8px;
    font-weight: 600;
}

.t-system { background: rgba(116, 185, 255, 0.15); color: var(--info); }
.t-info { background: rgba(116, 185, 255, 0.15); color: var(--info); }
.t-success { background: rgba(0, 184, 148, 0.15); color: var(--success); }
.t-warning { background: rgba(253, 203, 110, 0.15); color: var(--warning); }
.t-error { background: rgba(214, 48, 49, 0.15); color: var(--error); }

.t-msg { color: var(--text-secondary); }

/* ==========================================
   SECTION COMMON
   ========================================== */
section {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid var(--border-color);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-secondary);
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   MODES SECTION
   ========================================== */
.modes {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.modes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.mode-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 48px 36px;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.mode-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition-smooth);
}

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

.mode-card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}

.mode-icon-wrapper {
    position: relative;
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
}

.mode-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: var(--radius-lg);
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.mode-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.3;
}

.ctr-glow { background: var(--accent-primary); }
.direct-glow { background: var(--accent-tertiary); }

.mode-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.mode-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.mode-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.mode-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.check {
    color: var(--success);
    font-weight: 700;
}

.mode-more-item {
    opacity: 0.7;
    font-style: italic;
}

.mode-more-item span:last-child {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.more-dots {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.7rem;
}

.mode-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(108, 92, 231, 0.1);
    color: var(--accent-secondary);
    border: 1px solid var(--border-color);
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features {
    padding: var(--section-padding);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

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

/* ==========================================
   SPECS SECTION
   ========================================== */
.specs {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.specs-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.specs-table-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table tr:hover {
    background: rgba(108, 92, 231, 0.05);
}

.specs-table td {
    padding: 16px 24px;
    font-size: 0.9rem;
}

.spec-label {
    color: var(--text-muted);
    font-weight: 600;
    width: 40%;
}

.spec-value {
    color: var(--text-primary);
    font-weight: 500;
}

.spec-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(0, 184, 148, 0.12);
    color: var(--success);
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
}

/* Live Stats Panel */
.live-stats-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.panel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: dotPulse 2s infinite;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border-color);
}

.live-stat {
    background: var(--bg-secondary);
    padding: 20px;
    text-align: center;
}

.live-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-mono);
}

.success-val { color: var(--success); }
.failed-val { color: var(--error); }
.total-val { color: var(--accent-secondary); }
.rate-val { color: var(--warning); }

.live-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.progress-section {
    padding: 20px 24px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(108, 92, 231, 0.1);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    border-radius: 4px;
    background: var(--gradient-primary);
    transition: width 0.5s ease;
}

/* ==========================================
   TRY IT SECTION / FORM
   ========================================== */
.try-it {
    padding: var(--section-padding);
}

.form-wrapper {
    max-width: 640px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 48px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.required {
    color: var(--accent-tertiary);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    font-size: 1rem;
    pointer-events: none;
    z-index: 1;
}

.form-input {
    width: 100%;
    padding: 14px 14px 14px 44px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.92rem;
    font-family: var(--font-sans);
    transition: var(--transition-fast);
    outline: none;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-hint {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* Hit Type Selector */
.hit-type-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.hit-type-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.type-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.type-card:hover {
    border-color: var(--border-hover);
}

.hit-type-option input:checked + .type-card {
    border-color: var(--accent-primary);
    background: rgba(108, 92, 231, 0.08);
}

.type-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.type-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.type-name {
    font-weight: 700;
    font-size: 0.92rem;
}

.type-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.type-check {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(-50%) scale(0);
    transition: var(--transition-bounce);
}

.hit-type-option input:checked + .type-card .type-check {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

/* Form Divider */
.form-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 32px 0 24px;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* Form Row */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* Form Note */
.form-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    background: rgba(108, 92, 231, 0.06);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 18px;
    font-size: 1.05rem;
    font-weight: 700;
    background: var(--gradient-accent);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit.loading .btn-text { display: none; }
.btn-submit.loading .btn-loading { display: flex; }

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================
   SUCCESS STATE
   ========================================== */
.form-success {
    text-align: center;
    padding: 20px 0;
}

.success-animation {
    margin-bottom: 24px;
}

.success-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke: var(--success);
    animation: circleStroke 0.6s ease-in-out forwards;
}

.checkmark-check {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: var(--success);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: checkStroke 0.3s ease-in-out 0.6s forwards;
}

@keyframes circleStroke {
    to { stroke-dashoffset: 0; }
}

@keyframes checkStroke {
    to { stroke-dashoffset: 0; }
}

.success-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: var(--gradient-success);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.success-desc {
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.success-details {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 24px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.detail-row + .detail-row {
    border-top: 1px solid var(--border-color);
    margin-top: 8px;
    padding-top: 16px;
}

.detail-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.detail-value {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-secondary);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans) !important;
    font-size: 0.82rem !important;
    padding: 5px 12px;
    border-radius: 50px;
    background: rgba(253, 203, 110, 0.1);
    border: 1px solid rgba(253, 203, 110, 0.2);
    color: var(--warning) !important;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--warning);
    animation: dotPulse 2s infinite;
}

.success-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.bot-cta-text {
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #0088cc, #6c5ce7, #00d68f);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    line-height: 1.5;
}

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

.bot-notify-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(0,136,204,0.08), rgba(108,92,231,0.08));
    border: 1px solid rgba(0,136,204,0.25);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}

.bot-notify-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,136,204,0.05), rgba(108,92,231,0.1));
    opacity: 0;
    transition: opacity 0.3s;
}

.bot-notify-card:hover::before { opacity: 1; }

.bot-notify-card:hover {
    border-color: rgba(0,136,204,0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,136,204,0.15);
}

.bot-notify-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0088cc, #6c5ce7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.bot-notify-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.bot-notify-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.bot-notify-arrow {
    font-size: 1.2rem;
    color: #0088cc;
    transition: transform 0.3s;
    position: relative;
    z-index: 1;
}

.bot-notify-card:hover .bot-notify-arrow {
    transform: translateX(4px);
}


/* ==========================================
   FOOTER
   ========================================== */
.footer {
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.footer-content {
    padding: 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding: 60px 0 40px;
}



.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-heading {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-tg-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    background: rgba(0, 136, 204, 0.1);
    border: 1px solid rgba(0, 136, 204, 0.2);
    color: #4fc3f7;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-tg-btn:hover {
    background: rgba(0, 136, 204, 0.18);
    border-color: rgba(0, 136, 204, 0.4);
    color: #81d4fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 136, 204, 0.15);
}

.tg-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.footer-community-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    transition: var(--transition-fast);
}

.footer-community-link:hover {
    color: var(--accent-secondary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

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

.footer-author {
    color: var(--accent-secondary);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-author:hover {
    color: var(--text-primary);
}

.footer-powered {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ==========================================
   SCROLL TO TOP
   ========================================== */
.scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 24px var(--accent-glow);
}

.scroll-top svg {
    width: 20px;
    height: 20px;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-visual {
        max-width: 600px;
    }

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

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

    .specs-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    /* ===== GLOBAL MOBILE FIXES ===== */
    body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 16px;
    }

    .section-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .section-desc {
        font-size: 0.9rem;
    }

    .section-badge {
        font-size: 0.75rem;
    }

    /* ===== NAVBAR ===== */
    .nav-container {
        padding: 0 16px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 100px 32px 32px;
        border-left: 1px solid var(--border-color);
        transition: var(--transition-smooth);
        z-index: 999;
        gap: 8px;
    }

    .nav-links.open {
        right: 0;
    }

    /* Mobile menu header & footer */
    .mobile-menu-header,
    .mobile-menu-footer {
        display: flex;
    }

    .mobile-menu-header {
        align-items: center;
        gap: 6px;
        padding-bottom: 20px;
        margin-bottom: 8px;
        border-bottom: 1px solid var(--border-color);
    }

    .mobile-menu-footer {
        flex-direction: column;
        gap: 12px;
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid var(--border-color);
    }

    .mobile-menu-tg {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 16px;
        background: rgba(0, 136, 204, 0.12);
        border: 1px solid rgba(0, 136, 204, 0.25);
        border-radius: var(--radius-md);
        color: #0088cc;
        font-size: 0.88rem;
        font-weight: 600;
        text-decoration: none;
        transition: var(--transition-fast);
    }

    .mobile-menu-tg:hover {
        background: rgba(0, 136, 204, 0.2);
    }

    .mobile-menu-author {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        color: var(--text-muted);
        font-size: 0.82rem;
        text-decoration: none;
        transition: var(--transition-fast);
    }

    .mobile-menu-author:hover {
        color: var(--text-primary);
    }

    .mobile-menu-author strong {
        color: var(--text-secondary);
    }

    .nav-links .nav-link {
        font-size: 1.05rem;
        padding: 12px 16px;
        width: 100%;
        text-align: center;
        border-radius: var(--radius-md);
    }

    .nav-links .nav-link:hover {
        background: rgba(108, 92, 231, 0.1);
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .lang-switcher {
        margin-left: auto;
        margin-right: 12px;
    }

    .lang-btn {
        padding: 6px 10px;
        font-size: 0.78rem;
    }

    .nav-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* ===== HERO ===== */
    .hero {
        min-height: auto;
        padding: 110px 0 50px;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 5px 14px;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.15;
    }

    .hero-description {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .hero-actions {
        flex-direction: row;
        gap: 12px;
    }

    .hero-actions .btn {
        padding: 12px 20px;
        font-size: 0.88rem;
        justify-content: center;
        flex: 1;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 28px;
    }

    .stat-item {
        padding: 12px 8px;
    }

    .stat-value {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.72rem;
    }

    /* ===== TERMINAL ===== */
    .terminal-window {
        margin-top: 32px;
        border-radius: var(--radius-md);
    }

    .terminal-header {
        padding: 10px 14px;
    }

    .terminal-title {
        font-size: 0.75rem;
    }

    .terminal-body {
        font-size: 0.65rem;
        padding: 10px;
        max-height: 220px;
        line-height: 1.6;
    }

    .terminal-line {
        gap: 4px;
        padding: 2px 0;
    }

    .t-time {
        font-size: 0.6rem;
        min-width: 52px;
    }

    .t-tag {
        font-size: 0.55rem;
        padding: 1px 4px;
        min-width: 58px;
    }

    .t-msg {
        font-size: 0.62rem;
    }

    /* ===== MODES ===== */
    .modes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mode-card {
        padding: 28px 20px;
    }

    .mode-title {
        font-size: 1.2rem;
    }

    .mode-desc {
        font-size: 0.88rem;
    }

    .mode-features li {
        font-size: 0.88rem;
    }

    /* ===== FEATURES ===== */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .feature-card h3 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    /* ===== SPECS ===== */
    .specs-wrapper {
        gap: 20px;
    }

    .specs-table {
        font-size: 0.82rem;
    }

    .specs-table td {
        padding: 10px 8px;
    }

    .spec-label {
        min-width: 100px;
        width: 38%;
        word-break: normal;
        font-size: 0.8rem;
    }

    .spec-value {
        font-size: 0.8rem;
        word-break: break-word;
    }

    .spec-badge {
        font-size: 0.6rem;
        padding: 2px 5px;
    }

    .live-stats-panel {
        padding: 16px;
    }

    .panel-header {
        font-size: 0.82rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .live-stat-value {
        font-size: 1.3rem;
    }

    .live-stat-label {
        font-size: 0.68rem;
    }

    /* ===== FORM ===== */
    .form-wrapper {
        padding: 24px 16px;
    }

    .hit-type-selector {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-label {
        font-size: 0.88rem;
    }

    .form-input {
        font-size: 0.88rem;
        padding: 10px 12px 10px 38px;
    }

    .form-hint {
        font-size: 0.75rem;
    }

    .form-note {
        font-size: 0.8rem;
    }

    .form-divider span {
        font-size: 0.78rem;
    }

    .btn-submit {
        font-size: 0.95rem;
        padding: 14px;
    }

    /* ===== FOOTER ===== */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 40px 0 24px;
    }

    .footer-brand-col {
        text-align: center;
    }

    .footer-desc {
        font-size: 0.82rem;
    }

    .footer-heading {
        font-size: 0.85rem;
    }

    .footer-tg-btn {
        font-size: 0.85rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        font-size: 0.78rem;
    }

    /* ===== SCROLL TOP ===== */
    .scroll-top-btn {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 16px;
    }
}

/* ===== EXTRA SMALL (< 400px) ===== */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.65rem;
    }

    .hero-badge {
        font-size: 0.68rem;
        padding: 4px 10px;
    }

    .hero-actions .btn {
        padding: 10px 14px;
        font-size: 0.82rem;
    }

    .stat-value {
        font-size: 1.4rem;
    }

    .terminal-body {
        font-size: 0.58rem;
    }

    .t-time {
        display: none;
    }

    .mode-card {
        padding: 22px 16px;
    }

    .specs-table td {
        padding: 8px 6px;
        font-size: 0.75rem;
    }

    .spec-label {
        min-width: 85px;
    }

    .form-wrapper {
        padding: 20px 14px;
    }
}


/* ===================== BUY NOW BUTTON ===================== */
.nav-buy-now {
    position: relative;
    padding: 10px 22px;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 12px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    cursor: pointer;
    white-space: nowrap;
    background: transparent;
    border: none;
}

.nav-buy-now::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: conic-gradient(from var(--angle, 0deg),
        #ff0844, #ffb199, #ff0844, #7b2ff7, #00c6ff, #7b2ff7, #ff0844);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: spin-border 3s linear infinite;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes spin-border {
    to { --angle: 360deg; }
}

.nav-buy-now::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 10px;
    background: rgba(10, 10, 18, 0.95);
    z-index: -1;
}

.nav-buy-now:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 25px rgba(123, 47, 247, 0.4), 0 0 50px rgba(255, 8, 68, 0.2);
    filter: brightness(1.2);
}

.nav-buy-now:active {
    transform: translateY(0) scale(0.98);
}

/* Fallback for browsers without @property support */
@supports not (background: conic-gradient(from 0deg, red, blue)) {
    .nav-buy-now::before {
        background: linear-gradient(135deg, #ff0844, #7b2ff7, #00c6ff);
    }
}

/* Mobile menu buy button */
@media (max-width: 768px) {
    .nav-buy-now {
        width: 100%;
        padding: 14px 20px;
        margin-top: 8px;
        font-size: 0.95rem;
        justify-content: center;
    }
}
