﻿/* === RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0a1a;
    --bg-card: rgba(20, 20, 40, 0.8);
    --accent-gold: #c9a03d;
    --accent-gold-light: #e8c77a;
    --text-primary: #ffffff;
    --text-secondary: #b8b8d0;
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Stars background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(ellipse at 20% 30%, #1a1a2e, #0a0a1a);
    z-index: -2;
}
.stars::before,
.stars::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(2px 2px at 20px 30px, #fff, rgba(0,0,0,0)),
                      radial-gradient(1px 1px at 40px 70px, #ffe9a0, rgba(0,0,0,0));
    background-size: 200px 200px;
    background-repeat: repeat;
    opacity: 0.6;
    animation: twinkle 4s infinite;
}
.stars::after {
    background-size: 150px 150px;
    opacity: 0.3;
    animation: twinkle 6s infinite reverse;
}
@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glass card */
.glass-card {
    background: rgba(15, 15, 30, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    border: 1px solid rgba(201, 160, 61, 0.2);
    padding: 40px 36px;
    transition: all 0.3s ease;
}
.glass-card:hover {
    border-color: rgba(201, 160, 61, 0.4);
    box-shadow: 0 0 30px rgba(201, 160, 61, 0.1);
}

h1, h2, h3, .logo, .nav-links a {
    font-family: var(--font-serif);
}
h1 {
    font-size: 4rem;
    font-weight: 600;
    background: linear-gradient(135deg, #fff 0%, #c9a03d 50%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}
.gradient-text {
    background: linear-gradient(135deg, #c9a03d, #e8c77a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    flex-wrap: wrap;
    gap: 16px;
}
.logo {
    font-size: 1.8rem;
    font-weight: 600;
}
.logo span:first-of-type { color: var(--accent-gold); }
.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--accent-gold); }

/* Language switcher */
.lang-selector { position: relative; }
.lang-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 40px;
    padding: 8px 18px;
    color: white;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
}
.lang-btn:hover {
    background: rgba(201,160,61,0.2);
    border-color: var(--accent-gold);
}
.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(10,10,26,0.95);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    border: 1px solid rgba(201,160,61,0.3);
    margin-top: 8px;
    min-width: 160px;
    display: none;
    z-index: 100;
}
.lang-selector:hover .lang-dropdown { display: block; }
.lang-dropdown a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.9rem;
}
.lang-dropdown a:hover {
    background: rgba(201,160,61,0.2);
    color: var(--accent-gold);
}

/* Hero */
.hero {
    padding: 80px 0 60px;
    text-align: center;
}
.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 24px auto 0;
}

/* Form */
.form-group { margin-bottom: 24px; }
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--accent-gold-light);
}
input, select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    color: white;
    font-size: 1rem;
}
input:focus, select:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255,255,255,0.1);
}
.btn-primary {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #c9a03d, #a8812e);
    border: none;
    border-radius: 40px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201,160,61,0.3);
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}
.pricing-card {
    background: rgba(20,20,40,0.7);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s;
}
.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
}
.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 20px 0;
}
.price small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-gold);
    padding: 12px 24px;
    border-radius: 40px;
    color: var(--accent-gold);
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}
.btn-outline:hover {
    background: var(--accent-gold);
    color: #0a0a1a;
}

/* AI Result */
.ai-result {
    display: none;
    margin-top: 40px;
    padding: 30px;
    background: rgba(20,20,40,0.8);
    border-radius: 24px;
    border-left: 4px solid var(--accent-gold);
}
.ai-result.active { display: block; animation: fadeIn 0.5s ease; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.loading { text-align: center; padding: 40px; }
.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(201,160,61,0.3);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.modal.active { display: flex; }
.modal-content {
    background: var(--bg-dark);
    border-radius: 32px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    border: 1px solid var(--accent-gold);
    position: relative;
}
.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-secondary);
}

/* Footer */
footer {
    margin-top: 80px;
    padding: 50px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
footer a { color: var(--accent-gold); text-decoration: none; }
.legal-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.disclaimer {
    margin-top: 15px;
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .navbar { flex-direction: column; }
    .nav-links { justify-content: center; gap: 20px; }
    .container { padding: 0 16px; }
    .glass-card { padding: 24px 20px; }
}