/* --- CSS Variables & Resets --- */
:root {
    /* Color Palette */
    --bg-dark: #0a0a0f;
    --bg-panel: rgba(255, 255, 255, 0.03);
    --bg-panel-hover: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.08);
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --secondary: rgba(255, 255, 255, 0.1);
    --secondary-hover: rgba(255, 255, 255, 0.15);
    
    --accent-glow: rgba(99, 102, 241, 0.5);
    --success: #10b981;
    --error: #ef4444;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Effects */
    --transition: all 0.3s ease;
    --glass-blur: blur(12px);
    --border-radius: 16px;
    --border-radius-sm: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

/* --- Utilities --- */
.text-gradient {
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.glass-panel-inner {
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
}

.w-100 { width: 100%; }
.mt-4 { margin-top: 1.5rem; }
.hidden { display: none !important; }

/* --- Buttons --- */
button {
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition);
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover:not(:disabled) {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:disabled {
    background-color: var(--bg-panel);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-text {
    background: none;
    color: var(--text-muted);
    padding: 0.5rem;
}
.btn-text:hover {
    color: var(--error);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 1.25rem 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo i {
    color: var(--primary);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 10rem 2rem 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
}

.glow-orb.top-left {
    background: rgba(99, 102, 241, 0.3);
    top: -200px;
    left: -200px;
}

.glow-orb.bottom-right {
    background: rgba(168, 85, 247, 0.2);
    bottom: -200px;
    right: -200px;
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.badge {
    background: rgba(99, 102, 241, 0.1);
    color: #818cf8;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Terminal Mockup */
.terminal-mockup {
    margin-top: 4rem;
    width: 100%;
    max-width: 600px;
    background: #000;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: left;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.terminal-header {
    background: #1f2023;
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-body {
    padding: 1.5rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: #a9b1d6;
}

.terminal-body p { margin-bottom: 0.5rem; }
.terminal-body .prompt { color: #7aa2f7; font-weight: bold; }
.terminal-body .success { color: #9ece6a; margin-top: 1rem;}
.terminal-body .url { color: #bb9af7; text-decoration: underline; }

/* --- Features Section --- */
.features, .pricing {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.4);
    background: var(--bg-panel-hover);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

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

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Pricing Section --- */
.pricing-container {
    display: flex;
    justify-content: center;
}

.pricing-card {
    width: 100%;
    max-width: 400px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.premium-glow::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.currency { font-size: 1.5rem; font-weight: 600; margin-top: 0.5rem; }
.amount { font-size: 3.5rem; font-weight: 800; font-family: var(--font-heading); }
.period { font-size: 1rem; color: var(--text-muted); align-self: flex-end; margin-bottom: 1rem; }

.billing-note { font-size: 0.85rem; color: var(--text-muted); }

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.pricing-features i {
    color: var(--success);
    font-size: 1.25rem;
}

/* --- Footer --- */
footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.footer-brand p, .footer-links p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* --- Wizard Modal --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.wizard-container {
    width: 100%;
    max-width: 550px;
    padding: 2.5rem;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
    background: #111118;
}

.modal-overlay.active .wizard-container {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: var(--bg-panel);
    color: white;
}

.wizard-header { margin-bottom: 2rem; }
.wizard-header h2 { font-size: 1.8rem; margin-bottom: 1.5rem; }

.progress-bar {
    height: 6px;
    background: var(--bg-panel);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.steps-indicator {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.step.active { color: var(--primary); }

.wizard-step {
    display: none;
    animation: fadeIn 0.4s ease;
}
.wizard-step.active { display: block; }

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

.wizard-step h3 { margin-bottom: 0.5rem; font-size: 1.3rem;}
.wizard-step p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; }

/* Input Group */
.input-group {
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.input-prefix {
    padding: 0.75rem 1rem;
    background: var(--bg-panel);
    color: var(--text-muted);
    border-right: 1px solid var(--border-color);
    font-family: monospace;
}

input[type="text"] {
    flex: 1;
    background: none;
    border: none;
    padding: 0.75rem 1rem;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

.error-text {
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    min-height: 20px;
}

/* Dropzone */
.dropzone {
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(0,0,0,0.2);
}

.dropzone:hover, .dropzone.dragover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.dropzone-icon {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.dropzone:hover .dropzone-icon { color: var(--primary); }

.dropzone-text { color: var(--text-main); font-weight: 500; margin-bottom: 0.25rem !important; }
.dropzone-sub { font-size: 0.85rem !important; margin-bottom: 0 !important; }

.file-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
}

.file-preview i.ph-file-zip {
    font-size: 1.5rem;
    color: var(--primary);
}

#file-name {
    flex: 1;
    font-family: monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Checkout Summary */
.checkout-summary {
    padding: 1.5rem;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}
.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 1rem 0;
}
.summary-row.total {
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.wizard-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}
.wizard-actions .btn-primary { flex: 1; }

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .nav-links { display: none; }
}
