/*
Theme Name: Kuailian2
Theme URI: https://example.com/kuailian2
Author: Antigravity
Author URI: https://example.com
Description: A custom high-fidelity VPN landing page theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kuailian2
*/

:root {
    --bg-dark: #0a0e17;
    /* Very dark blue/black background */
    --bg-card: #111827;
    /* Slightly lighter for cards */
    --accent-primary: #4f46e5;
    /* Primary Indigo/Purple */
    --accent-secondary: #06b6d4;
    /* Cyan/Light Blue */
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --gradient-btn: linear-gradient(90deg, #4f46e5 0%, #06b6d4 100%);
    --gradient-text: linear-gradient(90deg, #a5b4fc 0%, #67e8f9 100%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: rgba(10, 14, 23, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: #4f46e5;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-size: 15px;
    color: var(--text-muted);
}

.main-nav a:hover {
    color: var(--text-main);
}

.header-cta .btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.btn-login {
    margin-right: 15px;
}

.btn-primary {
    background: var(--gradient-btn);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    padding-top: 160px;
    padding-bottom: 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content .highlight {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-btns .btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-features i {
    color: #10b981;
    /* Green check */
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translatey(0px);
    }

    50% {
        transform: translatey(-20px);
    }

    100% {
        transform: translatey(0px);
    }
}

/* Sections General */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
}

/* Platforms / Downloads */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.platform-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
}

.platform-card:hover {
    transform: translateY(-10px);
    background: #1f2937;
}

.platform-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.platform-card h3 {
    margin-bottom: 10px;
}

.platform-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 30px;
    text-align: center;
    display: inline-block;
    width: 100%;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(6, 182, 212, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #67e8f9;
    font-size: 20px;
}

.feature-item h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Stats */
.stats-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0f132a 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 5px;
    color: #67e8f9;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 14px;
}

/* FAQ */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 20px 0;
    color: var(--text-main);
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding-bottom: 20px;
    color: var(--text-muted);
    display: none;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-icon {
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Footer */
.site-footer {
    background: #05080f;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 20px;
    max-width: 300px;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 16px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }

    .main-nav {
        display: none;
        /* Simplify for now */
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Inner Pages (Single & Page)
   ========================================= */

/* Inner Page Header */
.page-header-section {
    padding-top: 140px;
    padding-bottom: 60px;
    background: linear-gradient(180deg, rgba(10, 14, 23, 1) 0%, rgba(17, 24, 39, 1) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.page-header-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-main);
}

.entry-meta {
    color: var(--text-muted);
    font-size: 14px;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.entry-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.entry-meta i {
    color: var(--accent-secondary);
}

/* Content Container */
.content-area {
    padding: 60px 0;
    max-width: 900px;
    /* Narrower for better readability */
    margin: 0 auto;
}

/* Typography for Post Content */
.entry-content {
    font-size: 18px;
    color: #d1d5db;
    /* Light gray */
}

.entry-content p {
    margin-bottom: 25px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--text-main);
    margin-top: 50px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.entry-content h2 {
    font-size: 32px;
    border-left: 4px solid var(--accent-primary);
    padding-left: 15px;
}

.entry-content h3 {
    font-size: 26px;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.entry-content li {
    margin-bottom: 10px;
    list-style-type: disc;
    /* Restore list style for content */
}

.entry-content a {
    color: #67e8f9;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.entry-content a:hover {
    color: #a5b4fc;
}

.entry-content blockquote {
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid #06b6d4;
    padding: 20px 30px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    font-size: 20px;
    color: white;
}

.entry-content img {
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Comments (Basic) */
.comments-area {
    max-width: 900px;
    margin: 60px auto 0;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-list {
    margin-bottom: 40px;
}

.comment-body {
    background: var(--bg-card);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.fn {
    font-weight: bold;
    color: white;
    font-style: normal;
}

.comment-metadata {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}