:root {
    --orange: #F7931E;
    --teal: #00A99D;
    --red: #ED1C24;
    --dark: #1a1a2e;
    --dark-secondary: #16213e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --gradient-accent: linear-gradient(135deg, #F7931E 0%, #ED1C24 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 4px; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16,1,0.3,1); }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Header */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px 0; transition: all 0.4s ease;
}
.header.scrolled {
    background: rgba(26,26,46,0.95); backdrop-filter: blur(20px);
    padding: 12px 0; box-shadow: var(--shadow-md);
}
.header-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { height: 48px; width: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
    color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 500;
    font-size: 0.95rem; padding: 8px 16px; border-radius: 8px; transition: all 0.3s ease;
}
.nav a:hover { color: var(--orange); background: rgba(255,255,255,0.08); }
.header-phone {
    display: flex; align-items: center; gap: 8px; color: white; text-decoration: none;
    font-weight: 700; font-size: 1.05rem; padding: 10px 20px;
    background: var(--gradient-accent); border-radius: 50px;
    transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(247,147,30,0.3);
}
.header-phone:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(247,147,30,0.4); }
.header-phone svg { width: 18px; height: 18px; }
.menu-toggle { display: none; background: none; border: none; color: white; cursor: pointer; padding: 8px; }

/* Hero */
.hero {
    min-height: 100vh; background: var(--gradient-hero); display: flex; align-items: center;
    position: relative; overflow: hidden; padding: 120px 24px 80px;
}
.hero::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(247,147,30,0.08) 0%, transparent 70%);
    border-radius: 50%; animation: float 6s ease-in-out infinite;
}
.hero::after {
    content: ''; position: absolute; bottom: -30%; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,169,157,0.06) 0%, transparent 70%);
    border-radius: 50%; animation: float 8s ease-in-out infinite reverse;
}
.hero-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}
.hero-inner {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: center; position: relative; z-index: 1; width: 100%;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(247,147,30,0.15); border: 1px solid rgba(247,147,30,0.3);
    color: var(--orange); padding: 8px 20px; border-radius: 50px;
    font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
    animation: fadeInUp 0.8s ease forwards;
}
.hero-badge span { width: 8px; height: 8px; background: var(--orange); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; color: white;
    line-height: 1.1; margin-bottom: 24px; animation: fadeInUp 0.8s ease 0.1s both;
}
.hero h1 .accent {
    background: var(--gradient-accent); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,0.7);
    max-width: 520px; margin-bottom: 40px; animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-buttons {
    display: flex; gap: 16px; flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s both;
}
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 32px; border-radius: 50px; font-weight: 600;
    font-size: 1rem; text-decoration: none; transition: all 0.3s ease;
    cursor: pointer; border: none; font-family: inherit;
}
.btn-primary {
    background: var(--gradient-accent); color: white;
    box-shadow: 0 8px 30px rgba(247,147,30,0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(247,147,30,0.45); }
.btn-secondary {
    background: rgba(255,255,255,0.08); color: white;
    border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); }
.hero-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    margin-top: 60px; animation: fadeInUp 0.8s ease 0.4s both;
}
.stat-item {
    text-align: center; padding: 20px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md); backdrop-filter: blur(10px);
}
.stat-number { font-size: 2.2rem; font-weight: 800; color: var(--orange); line-height: 1; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 8px; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; animation: fadeIn 1s ease 0.5s both; }
.hero-visual-inner { position: relative; width: 100%; max-width: 500px; }
.hero-card {
    background: rgba(255,255,255,0.05); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg);
    padding: 32px; position: relative; overflow: hidden;
}
.hero-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--gradient-accent);
}
.hero-card-icon {
    width: 64px; height: 64px; background: var(--gradient-accent);
    border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.hero-card-icon svg { width: 32px; height: 32px; color: white; }
.hero-card h3 { color: white; font-size: 1.3rem; margin-bottom: 12px; }
.hero-card p { color: rgba(255,255,255,0.6); font-size: 0.95rem; margin: 0; }
.floating-card {
    position: absolute; background: rgba(255,255,255,0.08); backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-md);
    padding: 16px 20px; display: flex; align-items: center; gap: 12px;
    animation: float 5s ease-in-out infinite;
}
.floating-card-1 { top: -20px; right: -20px; animation-delay: 0s; }
.floating-card-2 { bottom: 20px; left: -30px; animation-delay: 2s; }
.floating-card-icon { width: 40px; height: 40px; background: var(--teal); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.floating-card-icon svg { width: 20px; height: 20px; color: white; }
.floating-card-text { color: white; font-size: 0.85rem; font-weight: 600; }
.floating-card-text span { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.5); font-weight: 400; }

/* Section common */
.section { padding: 100px 24px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-tag {
    display: inline-block; background: rgba(247,147,30,0.1); color: var(--orange);
    padding: 6px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: var(--dark); line-height: 1.2; margin-bottom: 16px; }
.section-subtitle { font-size: 1.1rem; color: var(--gray); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card {
    background: white; border-radius: var(--radius-lg); padding: 40px 32px;
    box-shadow: var(--shadow-sm); transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    position: relative; overflow: hidden; border: 1px solid rgba(0,0,0,0.04);
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--gradient-accent); transform: scaleX(0); transition: transform 0.4s ease; transform-origin: left;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 72px; height: 72px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px; position: relative;
}
.service-icon::after { content: ''; position: absolute; inset: 0; border-radius: inherit; opacity: 0.15; }
.service-icon svg { width: 36px; height: 36px; position: relative; z-index: 1; }
.service-icon-1 { background: rgba(247,147,30,0.1); color: var(--orange); }
.service-icon-1::after { background: var(--orange); }
.service-icon-2 { background: rgba(0,169,157,0.1); color: var(--teal); }
.service-icon-2::after { background: var(--teal); }
.service-icon-3 { background: rgba(237,28,36,0.1); color: var(--red); }
.service-icon-3::after { background: var(--red); }
.service-icon-4 { background: rgba(102,126,234,0.1); color: #667eea; }
.service-icon-4::after { background: #667eea; }
.service-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; color: var(--dark); }
.service-card p { color: var(--gray); font-size: 0.95rem; line-height: 1.7; }
.service-features { margin-top: 20px; list-style: none; }
.service-features li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--dark); padding: 6px 0; }
.service-features li svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; }

/* Advantages */
.advantages { background: var(--dark); position: relative; overflow: hidden; }
.advantages::before {
    content: ''; position: absolute; top: 0; right: 0;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(247,147,30,0.05) 0%, transparent 70%);
}
.advantages .section-title, .advantages .section-subtitle { color: white; }
.advantages .section-subtitle { opacity: 0.7; }
.advantages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.advantage-card {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg); padding: 36px 28px; transition: all 0.4s ease;
}
.advantage-card:hover { background: rgba(255,255,255,0.06); transform: translateY(-4px); }
.advantage-number {
    font-size: 3rem; font-weight: 900; background: var(--gradient-accent);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    line-height: 1; margin-bottom: 16px;
}
.advantage-card h3 { color: white; font-size: 1.2rem; margin-bottom: 10px; }
.advantage-card p { color: rgba(255,255,255,0.6); font-size: 0.95rem; line-height: 1.7; }

/* How it works */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; position: relative; }
.steps-grid::before {
    content: ''; position: absolute; top: 40px; left: 10%; right: 10%; height: 2px;
    background: linear-gradient(90deg, var(--orange), var(--teal)); opacity: 0.2; z-index: 0;
}
.step-card { text-align: center; position: relative; z-index: 1; }
.step-number {
    width: 80px; height: 80px; background: white; border: 3px solid var(--orange);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; font-weight: 800; color: var(--orange); margin: 0 auto 24px;
    box-shadow: var(--shadow-md);
}
.step-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.step-card p { color: var(--gray); font-size: 0.95rem; }

/* CTA Section */
.cta-section {
    background: var(--gradient-hero); padding: 100px 24px; position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; top: -50%; left: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(247,147,30,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.cta-inner {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: center; position: relative; z-index: 1;
}
.cta-content h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: white; line-height: 1.2; margin-bottom: 20px; }
.cta-content p { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 32px; }
.cta-features { display: flex; flex-direction: column; gap: 16px; }
.cta-feature { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.8); }
.cta-feature svg { width: 24px; height: 24px; color: var(--teal); flex-shrink: 0; }

/* Form */
.form-card {
    background: white; border-radius: var(--radius-lg); padding: 40px;
    box-shadow: var(--shadow-lg);
}
.form-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.form-card > p { color: var(--gray); margin-bottom: 28px; font-size: 0.95rem; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 14px 18px; border: 2px solid #e9ecef;
    border-radius: var(--radius-sm); font-size: 1rem; font-family: inherit;
    transition: all 0.3s ease; background: #fafbfc;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--orange); background: white;
    box-shadow: 0 0 0 4px rgba(247,147,30,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; padding: 16px; font-size: 1rem; }
.form-success {
    display: none; background: rgba(0,169,157,0.1); border: 1px solid var(--teal);
    color: var(--teal); padding: 16px; border-radius: var(--radius-sm);
    margin-bottom: 20px; font-weight: 600;
}
.form-success.visible { display: block; animation: fadeIn 0.5s ease; }

/* Contacts */
.contacts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.contact-card {
    background: white; border-radius: var(--radius-lg); padding: 36px 28px;
    text-align: center; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-icon { width: 64px; height: 64px; background: var(--gradient-accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.contact-icon svg { width: 28px; height: 28px; color: white; }
.contact-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.contact-card a, .contact-card p { color: var(--gray); text-decoration: none; font-size: 1rem; transition: color 0.3s ease; }
.contact-card a:hover { color: var(--orange); }
.contact-phone { font-size: 1.3rem !important; font-weight: 700; color: var(--dark) !important; }
.contact-phone:hover { color: var(--orange) !important; }

/* Footer */
.footer { background: var(--dark); padding: 60px 24px 30px; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 { color: white; font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.footer-col a { display: block; color: rgba(255,255,255,0.5); text-decoration: none; padding: 6px 0; font-size: 0.9rem; transition: color 0.3s ease; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.85rem; }

/* Mobile menu */
.mobile-menu {
    position: fixed; top: 0; right: -100%; width: 80%; max-width: 360px; height: 100vh;
    background: var(--dark); z-index: 1001; padding: 80px 32px 32px;
    transition: right 0.4s ease; box-shadow: -10px 0 40px rgba(0,0,0,0.3);
}
.mobile-menu.open { right: 0; }
.mobile-menu a { display: block; color: white; text-decoration: none; font-size: 1.2rem; font-weight: 600; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu .header-phone { margin-top: 24px; justify-content: center; }
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.overlay.open { opacity: 1; visibility: visible; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-inner, .cta-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { order: -1; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .steps-grid::before { display: none; }
}
@media (max-width: 768px) {
    .nav { display: none; }
    .header-phone { display: none; }
    .menu-toggle { display: block; }
    .hero { padding: 100px 20px 60px; }
    .hero-stats { grid-template-columns: 1fr; gap: 12px; }
    .section { padding: 60px 20px; }
    .services-grid, .advantages-grid, .steps-grid, .contacts-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .floating-card { display: none; }
    .form-card { padding: 28px 20px; }
}
