:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --accent-color: #f59e0b;
    --bg-color: #ffffff;
    --surface-color: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --header-height: 80px;
    --footer-bg: #0f172a;
    --footer-text: #cbd5e1;
    --transition: all 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

/* Header */
header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.lang-switch {
    background: none;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-main);
    background-color: var(--surface-color);
    transition: var(--transition);
}

.lang-switch:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Main Content */
main {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background-color: var(--surface-color);
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-main);
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 40px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background-color: white;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--text-main);
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: center;
}

/* Cards */
.card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-muted);
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col p {
    margin-bottom: 10px;
    color: var(--footer-text);
}

.footer-col a {
    color: var(--footer-text);
    display: block;
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
}

/* Page Headers */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* Content Pages (Privacy, Terms) */
.content-box {
    background-color: white;
    padding: 50px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin: -40px auto 80px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
}

.content-box h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    color: var(--text-main);
}

.content-box h2:first-child {
    margin-top: 0;
}

.content-box h3 {
    font-size: 22px;
    margin: 30px 0 15px;
}

.content-box p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.content-box ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style: disc;
    color: var(--text-muted);
}

.content-box li {
    margin-bottom: 10px;
}

/* Contact Info Box */
.contact-info {
    background-color: var(--surface-color);
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
    border-left: 4px solid var(--primary-color);
}

.contact-info p {
    margin-bottom: 10px;
    color: var(--text-main);
}

.contact-info strong {
    color: var(--text-main);
}

/* Responsive */
@media (max-width: 768px) {
    .grid-3, .grid-2, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none; /* In a real app, add a hamburger menu */
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .content-box {
        padding: 30px 20px;
    }
}
