/* 
 * Win11Debloat - Design Iteration 3 (Twinkle Tray Style)
 * Theme: Native Windows, Purple Glow, Slate Footer, Full Content
 */

/* Fonts: Local Imports */
@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/inter-var.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('assets/fonts/manrope-var.woff2') format('woff2-variations');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('assets/fonts/jetbrains-mono-var.woff2') format('woff2-variations');
    font-weight: 100 800;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Colors */
    --bg-color: #050505;
    --bg-gradient-top: radial-gradient(circle at 50% -20%, #7c3aed 0%, transparent 60%);
    --bg-slate: #1e1e24;
    /* Footer/Section BG */

    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;

    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-green: #10b981;

    --card-bg: #2d2d35;
    --card-hover: #373740;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --input-bg: rgba(255, 255, 255, 0.05);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

body {
    background-color: var(--bg-color);
    background-image: var(--bg-gradient-top);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

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

.mb-60 {
    margin-bottom: 60px;
}

/* Header */
header {
    padding: 40px 0;
}

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

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-btn {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.nav-btn:hover {
    color: #fff;
}

/* Hero Section */
.hero {
    padding: 100px 0 60px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.hero p {
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.hero-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.hero-visual img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 50px 100px -20px rgba(124, 58, 237, 0.3);
    border: 1px solid var(--border-subtle);
}

/* Introduction Text Block */
.intro-block {
    max-width: 800px;
    margin: 80px auto;
    text-align: center;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-subtle);
}

/* Centered Showcase Section */
.showcase-section {
    text-align: center;
    padding: 80px 0;
}

.showcase-visual {
    background: linear-gradient(to right, #1f1f2e, #2d2d3d);
    padding: 60px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    gap: 40px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.showcase-visual img {
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    max-width: 85%;
}

/* Feature Grid (Detailed & Premium) */
.features-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-box {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    /* Highlight top edge */
    padding: 35px;
    border-radius: 16px;
    height: 100%;
    /* No hover movement, but keeping a subtle glow/border shift if needed, sticking to static for now per rules */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* Add a subtle colorful glow at the top of each card */
.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
    opacity: 0.7;
}

.feature-box h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-check {
    color: #fff;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 8px;
    /* Squircle */
    padding: 8px;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Split Content Section (What's New / Comparison) */
.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 100px 0;
    border-top: 1px solid var(--border-subtle);
}

/* Changelog List */
.changelog-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.changelog-list li i {
    color: var(--accent-purple);
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
    background: rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.comparison-table td {
    font-size: 0.95rem;
}

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

/* Benefits Grid */
.benefits-section {
    padding: 100px 0;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: var(--bg-slate);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
}

/* Install Guide (Timeline) */
.install-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: left;
    margin-top: 40px;
}

.step-num {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    margin-bottom: 10px;
}

/* FAQ Accordion & Common Issues */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 100px 0;
    border-top: 1px solid var(--border-subtle);
}

.faq-item h4,
.issue-item h4 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.faq-item p,
.issue-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.faq-item {
    margin-bottom: 30px;
}

/* Contact Form Styles */
.form-group {
    margin-bottom: 20px;
}

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

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--input-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: 0.2s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
    background: rgba(255, 255, 255, 0.08);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.error-msg {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.success-msg {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.invalid {
    border-color: #ef4444 !important;
}

/* Download Footer (Slate BG) Expanded */
.footer-slate {
    background: var(--bg-slate);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-subtle);
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(2, 300px);
    gap: 30px;
    justify-content: center;
    margin: 40px 0 80px;
}

.dl-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    transition: background 0.2s;
    cursor: pointer;
    border: 1px solid var(--border-subtle);
}

.dl-card:hover {
    background: var(--card-hover);
}

.dl-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
}

.dl-title {
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
    color: #fff;
    font-size: 1.2rem;
}

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

/* Expanded Footer Links */
.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--accent-purple);
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: 0.2s;
}

.social-icon:hover {
    color: #fff;
}

.bottom-footer {
    border-top: 1px solid var(--border-subtle);
    padding-top: 40px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

/* Responsive */
@media (max-width: 900px) {

    .hero,
    .split-content,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .download-cards {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .benefits-grid,
    .install-steps {
        grid-template-columns: 1fr;
    }

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

    .social-icons {
        justify-content: center;
    }
}