/*
Theme Name: Kuailian Theme
Theme URI: https://example.com/kuailian-theme
Author: Antigravity/User
Author URI: https://example.com
Description: A 100% replica theme of the Kuailian VPN landing page.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kuailian-theme
*/

:root {
    --primary-gradient: linear-gradient(135deg, #7F00FF 0%, #E100FF 100%); /* Approx purple/pink */
    --secondary-gradient: linear-gradient(135deg, #6c33f2 0%, #87CEFA 100%);
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --bg-light: #f9f9f9;
    --radius-md: 10px;
    --radius-full: 50px;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden; /* Prevent horizontal scroll */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px; /* Standard width */
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    position: absolute; /* Overlay on hero */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    color: white;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px; /* Adjust based on asset */
}
.logo-text {
    font-weight: bold;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    transition: opacity 0.3s;
}

.main-nav a:hover {
    opacity: 0.8;
}

.nav-actions .btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    color: white;
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    background: var(--secondary-gradient); /* Will tweak to match image exactly */
    background: linear-gradient(135deg, #4c1df2 0%, #9b5cf2 100%);
    padding-top: 120px; /* Space for header */
    padding-bottom: 80px;
    color: white;
    position: relative;
    border-bottom-right-radius: 50% 20px; /* Curve effect at bottom, strictly approximation */
    overflow: hidden;
}

.hero-curve {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}
.hero-curve svg {
    width: 100%;
    height: 100px;
    fill: #ffffff;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    position: relative;
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 15px;
}

.btn-download {
    background: white;
    color: var(--text-dark); /* Or brand color */
    padding: 12px 25px;
    border-radius: var(--radius-full);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}
.btn-download:hover {
    transform: translateY(-2px);
}

/* Sections General */
.section {
    padding: 80px 0;
}

.section-title-center {
    text-align: center;
    margin-bottom: 60px;
}
.section-title-center h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Features Grid */
.features-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    width: 280px;
    text-align: center;
    transition: transform 0.3s;
}
.feature-card:hover {
    transform: translateY(-10px);
}

/* Alternating Feature Rows */
.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}
.feature-row.reverse {
    flex-direction: row-reverse;
}
.feature-row-text {
    flex: 1;
}
.feature-row-image {
    flex: 1;
}
.feature-row-tag {
    display: inline-block;
    padding: 5px 15px;
    background: #eef2ff;
    color: #4c1df2;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}
.feature-row-title {
    font-size: 32px;
    margin-bottom: 20px;
}
.feature-row-desc {
    color: var(--text-light);
    font-size: 16px;
}

/* Footer */
.site-footer {
    background: #000;
    color: white;
    padding: 80px 0 40px;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}
.footer-col h4 {
    margin-bottom: 20px;
    font-size: 18px;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col a {
    color: #999;
    font-size: 14px;
}
.footer-col a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .feature-row, .feature-row.reverse {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .main-nav {
        display: none; /* Mobile menu needed later */
    }
}
