/* WinTuner Landing — Cosmic Dark Theme */

:root {
    --bg-dark: #0a0e1a;
    --bg-panel: #111827;
    --bg-card: #1a2332;
    --accent: #3b82f6;
    --accent-cyan: #06b6d4;
    --green: #10b981;
    --green-glow: #34d399;
    --yellow: #f59e0b;
    --red: #ef4444;
    --text: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #475569;
    --border: #1e293b;
    --radius: 12px;
    --radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.center { text-align: center; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent);
    color: white;
}
.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 17px;
    border-radius: 14px;
}

.btn-xl {
    padding: 20px 48px;
    font-size: 20px;
    border-radius: 16px;
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 16px;
}

.accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 36px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-cyan);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

/* ── Sections ── */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--bg-panel);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 48px;
    letter-spacing: -1px;
}

.section-desc {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* ── Problems ── */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.problem-card {
    background: var(--bg-panel);
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.1);
}

.problem-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.problem-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.problem-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ── Steps ── */
.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    width: 260px;
    transition: all 0.3s ease;
}

.step:hover {
    border-color: var(--green);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.1);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
    color: white;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.step-arrow {
    font-size: 28px;
    color: var(--text-muted);
}

/* ── Features ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.feature-card {
    background: var(--bg-panel);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-cyan);
}

.feature-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 10px;
}

.feature-card h3 {
    font-size: 15px;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ── Pricing ── */
.pricing {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.price-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    width: 340px;
    text-align: center;
    transition: all 0.3s ease;
}

.price-card.pro {
    border-color: var(--green);
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.1);
    position: relative;
}

.price-badge {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    background: var(--bg-panel);
    color: var(--text-muted);
    margin-bottom: 12px;
}

.pro-badge {
    background: linear-gradient(135deg, var(--green), var(--accent-cyan));
    color: white;
}

.price-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.price {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 4px;
}

.pro .price {
    background: linear-gradient(135deg, var(--green), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.price-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
}

.price-card li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

/* ── Modal ── */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
}

.modal-content h2 {
    margin-bottom: 12px;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.modal-content input {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-dark);
    color: var(--text);
    font-size: 16px;
    margin-bottom: 16px;
    outline: none;
    transition: border 0.3s;
}

.modal-content input:focus {
    border-color: var(--accent);
}

.modal-note {
    font-size: 12px;
    color: var(--text-muted) !important;
    margin-top: 12px;
}

/* ── FAQ ── */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.faq-q:hover {
    background: var(--bg-dark);
}

.faq-arrow {
    font-size: 24px;
    color: var(--text-muted);
    transition: transform 0.3s;
}

.faq-item.open .faq-arrow {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.faq-item.open .faq-a {
    max-height: 200px;
    padding: 0 20px 18px;
}

/* ── Download ── */
.download-info {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ── Trust grid ── */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.trust-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.trust-card:hover {
    transform: translateY(-4px);
    border-color: var(--green);
}

.trust-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.trust-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.trust-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ── Footer ── */
.footer {
    padding: 40px 0 20px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 800;
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
}

/* ── Animations ── */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-title { font-size: 42px; }
    .hero-stats { gap: 24px; }
    .steps { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; align-items: center; }
}
