:root {
    --primary: #0066cc;
    --primary-dark: #0052a3;
    --primary-light: #e6f0fa;
    --bg: #ffffff;
    --bg-alt: #f7f9fc;
    --text: #1a1a2e;
    --text-light: #666;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: var(--bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

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

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

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

.lang-switch {
    background: rgba(0,102,204,0.1);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

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

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

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary-light);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 160px 40px 100px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 40px;
}

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

/* Trust Section */
.trust-section {
    padding: 80px 40px;
    background: var(--bg);
}

.trust-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--text);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-item {
    text-align: center;
    padding: 30px;
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.trust-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text);
}

.trust-item p {
    color: var(--text-light);
}

/* How Section */
.how-section {
    padding: 80px 40px;
    background: var(--bg-alt);
}

.how-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--text);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text);
}

.step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 40px;
    text-align: center;
    background: var(--primary);
    color: white;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-section p {
    opacity: 0.9;
    margin-bottom: 30px;
}

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

.cta-section .btn-primary:hover {
    background: var(--bg-alt);
}

/* Footer */
.footer {
    background: #1a1a2e;
    color: white;
    padding: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px 40px;
}

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

.footer-section p, .footer-section a {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

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

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 20px;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px;
    background: var(--bg-alt);
}

.auth-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.auth-card h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-block {
    width: 100%;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
    color: var(--text-light);
}

.auth-link a {
    color: var(--primary);
}

.message {
    padding: 10px;
    border-radius: 6px;
    margin-top: 15px;
    text-align: center;
}

.message.error {
    background: #ffe6e6;
    color: #cc0000;
}

.message.success {
    background: #e6ffe6;
    color: #006600;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .hero {
        padding: 120px 20px 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .trust-section, .how-section, .cta-section {
        padding: 60px 20px;
    }
    
    .footer-content {
        padding: 40px 20px;
    }
}
