/*
Theme Name: Clash Premium SEO
Theme URI: https://github.com/antigravity/clash-theme
Author: Antigravity
Author URI: https://antigravity.ai
Description: A high-performance, SEO-optimized WordPress theme for software landing pages, based on the Clash client design.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: clash-seo
*/

:root {
    --bg-dark: #0B1120;
    --bg-card: #161D2E;
    --primary: #00BFFF;
    --primary-glow: rgba(0, 191, 255, 0.4);
    --text-main: #FFFFFF;
    --text-muted: #94A3B8;
    --text-dim: #64748B;
    --border: rgba(255, 255, 255, 0.08);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --container-width: 1140px;
    --section-spacing: 120px;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    box-shadow: 0 10px 20px -10px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -10px var(--primary-glow);
    filter: brightness(1.1);
}

.btn-outline {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(0, 191, 255, 0.05);
}

.btn-full {
    width: 100%;
}

.card-action-white {
    background: #fff !important;
    color: #000 !important;
}

/* Typography */
.gradient-text {
    background: linear-gradient(135deg, #fff 40%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.site-footer {
    padding: 100px 0 40px;
    background: #080C16;
    border-top: 1px solid var(--border);
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-links h4 {
    color: var(--text-main);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 28px;
}

.footer-links ul li {
    margin-bottom: 14px;
}

.footer-links ul li a {
    color: var(--text-muted);
    font-size: 14px;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: var(--primary);
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Scroll Animations */
section {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 0.6, 0.2, 1);
    padding: var(--section-spacing) 0;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.site-header {
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 17, 32, 0.82);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-icon {
    color: var(--primary);
    filter: drop-shadow(0 0 5px var(--primary-glow));
}

.main-navigation ul {
    display: flex;
    gap: 36px;
}

.main-navigation ul li a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 14px;
    transition: 0.3s;
}

.main-navigation ul li a:hover {
    color: var(--text-main);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 14px;
}

/* Hero */
.hero-section {
    padding: 180px 0 120px;
    background: radial-gradient(circle at center top, rgba(0, 191, 255, 0.12), transparent 70%);
}

.hero-title {
    font-size: 72px;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -3px;
}

.hero-desc {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 760px;
    margin: 0 auto 48px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Grids & Cards */
.features-grid,
.download-grid,
.trust-grid {
    display: grid;
    gap: 24px;
}

.features-grid,
.download-grid {
    grid-template-columns: repeat(4, 1fr);
}

.trust-grid {
    grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.download-card,
.trust-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px 30px;
    transition: 0.4s;
}

.feature-card:hover,
.download-card:hover,
.trust-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

.card-icon,
.os-icon,
.card-icon-box {
    font-size: 44px;
    margin-bottom: 24px;
    display: block;
}

h3,
h4 {
    margin-bottom: 16px;
    font-size: 20px;
}

p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Download Specific */
.download-card {
    text-align: center;
    padding: 48px 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
}

.version-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 191, 255, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 32px;
}

.download-footer-note {
    margin-top: 48px;
    color: var(--text-dim);
    font-size: 14px;
}

/* Steps */
.steps-wrapper {
    position: relative;
    margin-top: 80px;
}

.steps-line {
    position: absolute;
    top: 8px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 191, 255, 0.3), transparent);
    z-index: 1;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.step-item {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.step-marker {
    margin-bottom: 32px;
}

.step-circle {
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 0 20px var(--primary-glow);
    border: 4px solid var(--bg-dark);
}

.step-label {
    font-size: 12px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

/* FAQ */
.section-faq {
    background: rgba(255, 255, 255, 0.01);
}

.faq-accordion {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    transition: 0.3s;
}

.faq-header {
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.faq-toggle {
    font-size: 24px;
    color: var(--primary);
}

.faq-body {
    height: 0;
    overflow: hidden;
    transition: 0.3s ease-out;
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--primary-glow);
}

.faq-item.active .faq-body {
    height: auto;
}

.faq-content {
    padding: 0 32px 32px;
    color: var(--text-muted);
    font-size: 15px;
}

/* Responsive */
@media (max-width: 1024px) {

    .features-grid,
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        gap: 60px;
    }

    .steps-line {
        display: none;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .section-spacing {
        --section-spacing: 80px;
    }
}

@media (max-width: 640px) {

    .features-grid,
    .download-grid {
        grid-template-columns: 1fr;
    }
}