@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --primary: #0066FF;
    --primary-light: #E6F0FF;
    --accent: #00C853;
    --accent-light: #E8F9EF;
    --text-main: #1A1C1E;
    --text-muted: #6C727A;
    --bg-main: #FFFFFF;
    --bg-secondary: #F8F9FB;
    --white: #FFFFFF;
    
    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 102, 255, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.5);
    
    /* Layout */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --container-width: 1200px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

/* Base Components */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: #0052CC;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 102, 255, 0.2);
}

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

.btn-accent:hover {
    background: #00B248;
    transform: translateY(-2px);
}

/* Header */
header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

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

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: 100px;
    padding: 2px;
    background: rgba(255, 255, 255, 0.5);
}

.lang-btn {
    border: none;
    background: none;
    padding: 6px 16px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.lang-btn.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}

.lang-btn:hover:not(.active) {
    color: var(--primary);
    background: rgba(0, 102, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--text-main);
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 100px;
    background: radial-gradient(circle at top right, #F0F7FF 0%, #FFFFFF 50%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

/* Calculator */
.calc-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 2;
}

.calc-group {
    margin-bottom: 30px;
}

.calc-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 1.1rem;
}

.calc-value {
    color: var(--primary);
    font-size: 1.4rem;
}

input[type="range"] {
    width: 100%;
    height: 6px;
    background: #E0E4E9;
    border-radius: 5px;
    appearance: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--primary);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.calc-result {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-item span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.result-item strong {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Mockup */
.mockup-container {
    position: relative;
}

.mockup-image {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.15));
    animation: float 6s ease-in-out infinite;
    border-radius: 40px;
    overflow: hidden;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Benefits Block */
.benefits {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-md);
    transition: transform 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 1.5rem;
}

/* How it Works */
.steps {
    padding: 100px 0;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

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

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

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

/* Conditions */
.conditions {
    padding: 100px 0;
    background: var(--primary);
    color: var(--white);
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.condition-item i {
    font-size: 2rem;
    margin-bottom: 16px;
    opacity: 0.8;
}

.condition-item p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Final CTA */
.final-cta {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(135deg, #0066FF 0%, #00C853 100%);
    color: var(--white);
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

.btn-white:hover {
    background: #F0F7FF;
    transform: scale(1.05);
}

/* Footer */
footer {
    padding: 60px 0;
    background: var(--bg-main);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        margin: 0 auto 40px;
    }
    
    .mockup-image {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .calc-card {
        padding: 24px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

/* Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}
