/* ===== CSS VARIABLES ===== */
:root {
    --bg-dark: #08080c;
    --bg-darker: #040406;
    --bg-card: rgba(12, 12, 20, 0.85);
    --bg-card-hover: rgba(20, 20, 35, 0.9);
    
    --neon-cyan: #00e5ff;
    --neon-purple: #d500f9;
    --neon-pink: #f50057;
    --neon-green: #00e676;
    --neon-orange: #ff6d00;
    --neon-blue: #2979ff;
    --neon-yellow: #ffea00;
    
    --gradient-primary: linear-gradient(135deg, #00e5ff, #d500f9);
    --gradient-hot: linear-gradient(135deg, #f50057, #ff6d00);
    --gradient-success: linear-gradient(135deg, #00e676, #00e5ff);
    --gradient-gold: linear-gradient(135deg, #ffea00, #ff6d00);
    
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-muted: rgba(255, 255, 255, 0.45);
    
    --border-glow: rgba(0, 229, 255, 0.35);
    
    --font-display: 'Orbitron', monospace;
    --font-body: 'Rajdhani', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 245, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 245, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #d500f9, #7c4dff);
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #00e5ff, #00b8d4);
    bottom: -200px;
    left: -200px;
    animation-delay: -7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #f50057, #ff4081);
    top: 40%;
    left: 40%;
    animation-delay: -12s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -30px) scale(1.1); }
    50% { transform: translate(-30px, 50px) scale(0.9); }
    75% { transform: translate(-50px, -20px) scale(1.05); }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--neon-cyan);
    border-radius: 50%;
    animation: particleFloat 10s linear infinite;
    box-shadow: 0 0 10px var(--neon-cyan);
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    opacity: 0.3;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glow);
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--neon-green);
    text-shadow: 0 0 10px rgba(0, 230, 118, 0.4);
}

.logo-text .pro {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    background: var(--gradient-hot);
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    color: white;
    border-radius: 4px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--neon-cyan);
}

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

.header-stats .stat {
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--neon-green);
    display: block;
}

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

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 5rem 4rem;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid var(--neon-green);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--neon-green);
    margin-bottom: 1.5rem;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 230, 118, 0.3); }
    50% { box-shadow: 0 0 20px rgba(0, 230, 118, 0.5); }
}

.title {
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 3px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--neon-green) 0%, #00ff88 50%, var(--neon-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
    background-size: 200% 200%;
    text-shadow: none;
}

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

.subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.25), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    box-shadow: 0 8px 30px rgba(0, 230, 118, 0.4), inset 0 1px 0 rgba(255,255,255,0.1);
    color: #fff;
    border-color: var(--neon-green);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

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

/* Phone Mockup */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #1a1a2e, #0f0f1a);
    border-radius: 45px;
    padding: 12px;
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        0 0 50px rgba(0, 245, 255, 0.2);
    animation: phoneFloat 6s ease-in-out infinite;
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #0a0a0f;
    border-radius: 20px;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0) rotateY(-5deg); }
    50% { transform: translateY(-20px) rotateY(5deg); }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
    border-radius: 35px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    padding-top: 3rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.phone-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.cydia-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8B4513, #654321);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.app-name {
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* ===== TOOLS SECTION ===== */
.tools-section {
    padding: 4rem 5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-icon {
    font-size: 2rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.tool-card {
    position: relative;
    background: linear-gradient(145deg, rgba(15, 15, 25, 0.9), rgba(8, 8, 15, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 30%, rgba(0, 229, 255, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tool-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 229, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

.tool-card.selected {
    border-color: var(--neon-cyan);
    box-shadow: 
        0 0 50px rgba(0, 229, 255, 0.3),
        0 25px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.tool-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.tool-card:hover .tool-glow {
    opacity: 1;
}

.tool-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.tool-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-family: var(--font-display);
    font-weight: 700;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.tool-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    border-radius: 14px 14px 0 0;
}

.unc0ver-icon {
    background: linear-gradient(145deg, #2a2a3a, #1a1a2a);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}

.checkra1n-icon {
    background: linear-gradient(145deg, #3a3a4a, #1a1a2a);
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.dopamine-icon {
    background: linear-gradient(145deg, #ff7b7b, #e84a5f);
    box-shadow: 0 4px 20px rgba(232, 74, 95, 0.4);
}

.palera1n-icon {
    background: linear-gradient(145deg, #8bc34a, #4caf50);
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.4);
}

.nugget-icon {
    background: linear-gradient(145deg, #ffca28, #ff9800);
    box-shadow: 0 4px 20px rgba(255, 152, 0, 0.4);
}

.cydia-icon {
    background: linear-gradient(145deg, #a1887f, #6d4c41);
    box-shadow: 0 4px 20px rgba(109, 76, 65, 0.4);
}

.taurine-icon {
    background: linear-gradient(145deg, #ab47bc, #7b1fa2);
    box-shadow: 0 4px 20px rgba(123, 31, 162, 0.4);
}

.electra-icon {
    background: linear-gradient(145deg, #42a5f5, #1565c0);
    box-shadow: 0 4px 20px rgba(21, 101, 192, 0.4);
}

.tool-badge {
    padding: 0.25rem 0.7rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.25), rgba(0, 229, 255, 0.1));
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.tool-badge.premium {
    background: linear-gradient(135deg, rgba(213, 0, 249, 0.25), rgba(213, 0, 249, 0.1));
    color: var(--neon-purple);
    border-color: rgba(213, 0, 249, 0.3);
}

.tool-badge.new {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.25), rgba(0, 230, 118, 0.1));
    color: var(--neon-green);
    border-color: rgba(0, 230, 118, 0.3);
}

.tool-badge.hot {
    background: linear-gradient(135deg, rgba(245, 0, 87, 0.25), rgba(245, 0, 87, 0.1));
    color: var(--neon-pink);
    border-color: rgba(245, 0, 87, 0.3);
}

.tool-badge.classic {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    color: var(--text-secondary);
    border-color: rgba(255, 255, 255, 0.2);
}

.tool-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.tool-version {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-mono);
}

.tool-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature {
    font-size: 0.75rem;
    color: var(--neon-green);
    background: rgba(0, 230, 118, 0.12);
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    border: 1px solid rgba(0, 230, 118, 0.2);
}

.tool-btn {
    width: 100%;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tool-btn:hover {
    background: rgba(0, 230, 118, 0.15);
    border-color: var(--neon-green);
    color: var(--neon-green);
    box-shadow: 0 5px 20px rgba(0, 230, 118, 0.2);
    transform: translateY(-2px);
}

.tool-card.selected .tool-btn {
    background: var(--neon-green);
    border-color: var(--neon-green);
    color: var(--bg-dark);
    box-shadow: 0 5px 25px rgba(0, 230, 118, 0.4);
    font-weight: 700;
}

/* ===== CONFIG SECTION ===== */
.config-section {
    padding: 4rem 5rem;
}

.config-panel {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
}

.config-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.config-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.config-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.config-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.select-wrapper {
    position: relative;
}

.config-select {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
}

.config-select:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.2);
}

.config-select option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    font-size: 0.8rem;
}

.selected-tool {
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-height: 56px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.selected-tool.has-tool {
    background: rgba(0, 230, 118, 0.08);
    border-color: rgba(0, 230, 118, 0.4);
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.1);
}

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

.selected-tool-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.selected-tool-display .tool-mini-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.selected-tool-name {
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.selected-tool-check {
    color: var(--neon-green);
    font-size: 1.2rem;
    font-weight: bold;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.checkbox-wrapper:hover {
    background: rgba(255, 255, 255, 0.05);
}

.checkbox-wrapper input {
    display: none;
}

.checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkbox-wrapper input:checked + .checkmark {
    background: var(--gradient-primary);
    border-color: transparent;
}

.checkbox-wrapper input:checked + .checkmark::after {
    content: '✓';
    color: var(--bg-dark);
    font-size: 0.9rem;
    font-weight: bold;
}

.checkbox-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.start-btn {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(145deg, #0d2818 0%, #1a4d2e 50%, #0d2818 100%);
    border: 2px solid var(--neon-green);
    border-radius: 14px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(0, 230, 118, 0.2), inset 0 1px 0 rgba(255,255,255,0.1);
}

.start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 230, 118, 0.4), inset 0 1px 0 rgba(255,255,255,0.1);
    background: linear-gradient(145deg, #1a4d2e 0%, #0d2818 50%, #1a4d2e 100%);
}

.start-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.start-btn .btn-icon {
    font-size: 1.5rem;
}

.start-btn .btn-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--neon-green);
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 230, 118, 0.5);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 230, 118, 0.2), transparent);
    animation: btnGlowMove 3s linear infinite;
}

@keyframes btnGlowMove {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    margin-bottom: 2rem;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: var(--neon-green);
    border-radius: 50%;
    animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--neon-green); }
    50% { opacity: 0.5; box-shadow: 0 0 20px var(--neon-green); }
}

.progress-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.progress-ring {
    position: relative;
    width: 200px;
    height: 200px;
}

.progress-ring svg {
    transform: rotate(-90deg);
}

.progress-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 10;
}

.progress-ring-fill {
    fill: none;
    stroke: var(--neon-green);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 534;
    stroke-dashoffset: 534;
    transition: stroke-dashoffset 0.5s ease;
    filter: drop-shadow(0 0 10px var(--neon-green));
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.progress-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--neon-green);
    text-shadow: 0 0 20px rgba(0, 230, 118, 0.5);
}

.progress-percent {
    font-size: 1.5rem;
    color: var(--text-muted);
}

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

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--neon-green) 0%, #00ff88 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.6);
}

.status-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    min-height: 1.5rem;
}

.log-container {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    overflow: hidden;
}

.log-header {
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.log-content {
    padding: 1rem;
    max-height: 150px;
    overflow-y: auto;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.8;
}

.log-content::-webkit-scrollbar {
    width: 6px;
}

.log-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.log-content::-webkit-scrollbar-thumb {
    background: var(--neon-cyan);
    border-radius: 3px;
}

.log-entry {
    color: var(--text-muted);
}

.log-entry.success {
    color: var(--neon-green);
}

.log-entry.warning {
    color: var(--neon-orange);
}

.log-entry.info {
    color: var(--neon-cyan);
}

.modal-footer {
    margin-top: 2rem;
    text-align: center;
}

.btn-success {
    background: var(--neon-green);
    color: var(--bg-dark);
    padding: 1rem 3rem;
    font-size: 1.1rem;
    border: none;
    box-shadow: 0 5px 25px rgba(0, 230, 118, 0.4);
}

.btn-success:hover {
    background: #00ff88;
    box-shadow: 0 8px 30px rgba(0, 230, 118, 0.5);
}

/* Success Modal */
.success-content {
    text-align: center;
}

.success-animation {
    margin-bottom: 1.5rem;
}

.success-checkmark {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.success-checkmark svg {
    width: 100%;
    height: 100%;
}

.success-checkmark circle {
    stroke: var(--neon-green);
    stroke-width: 2;
    stroke-dasharray: 157;
    stroke-dashoffset: 157;
    animation: circleAnim 0.6s ease forwards;
}

.success-checkmark path {
    stroke: var(--neon-green);
    stroke-width: 3;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: checkAnim 0.4s ease forwards 0.4s;
}

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

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

.success-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--neon-green);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 255, 157, 0.5);
}

.success-message {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.success-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.info-icon {
    font-size: 1.2rem;
}

.success-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ===== COMPATIBILITY SECTION ===== */
.compatibility-section {
    padding: 4rem 5rem;
}

.compat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.compat-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.compat-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow);
}

.compat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.compat-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.compat-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.compat-status {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.compat-status.supported {
    background: rgba(0, 255, 157, 0.2);
    color: var(--neon-green);
}

.compat-status.partial {
    background: rgba(255, 107, 43, 0.2);
    color: var(--neon-orange);
}

/* ===== FOOTER ===== */
.footer {
    padding: 3rem 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

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

.footer-brand .logo-text {
    font-size: 1.2rem;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--neon-cyan);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 7rem 2rem 3rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .subtitle {
        max-width: 100%;
    }

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

    .title-line {
        font-size: 2.5rem;
    }

    .tools-section,
    .config-section,
    .compatibility-section,
    .footer {
        padding: 3rem 2rem;
    }

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

    .header {
        padding: 1rem 1.5rem;
    }

    .nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .title-line {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
    }

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

    .config-panel {
        padding: 1.5rem;
    }

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

    .success-info {
        flex-direction: column;
        gap: 1rem;
    }

    .success-buttons {
        flex-direction: column;
    }

    .success-buttons .btn {
        width: 100%;
    }
}

/* ===== SVG GRADIENT ===== */
svg defs {
    position: absolute;
}