/* ========================================
   Global Styles & Reset
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Доверительные, успокаивающие цвета */
    --primary-color: #2563eb;        /* Надежный синий */
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    
    --success-color: #10b981;        /* Успокаивающий зеленый */
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-accent: #eff6ff;
    
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    --font-size-base: 16px;
    --line-height: 1.6;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    padding-top: 60px; /* Space for urgency bar */
}

@media (max-width: 768px) {
    body {
        padding-bottom: 70px; /* Space for mobile sticky CTA */
    }
}

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

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* ========================================
   Buttons
   ======================================== */
.cta-button, .submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.cta-button:hover, .submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* ========================================
   🔥 URGENCY TIMER BAR
   ======================================== */
.urgency-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    padding: 12px 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 2px 10px rgba(239, 68, 68, 0.3); }
    50% { box-shadow: 0 2px 20px rgba(239, 68, 68, 0.6); }
}

.urgency-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.urgency-icon {
    font-size: 1.5rem;
    animation: shake 0.5s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.urgency-text {
    font-size: 0.95rem;
}

.urgency-timer {
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 2px;
}

/* ========================================
   🔥 SOCIAL PROOF NOTIFICATION
   ======================================== */
.social-proof {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 9998;
    max-width: 320px;
    animation: slideInLeft 0.5s ease;
    display: none;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.social-proof-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-proof-avatar {
    font-size: 2.5rem;
}

.social-proof-text strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.social-proof-text span {
    color: var(--success-color);
    font-size: 0.85rem;
    font-weight: 500;
}

.social-proof-close {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 25px;
    height: 25px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #fff;
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,60 Q300,0 600,60 T1200,60 L1200,120 L0,120 Z" fill="rgba(255,255,255,0.1)"/></svg>') repeat-x bottom;
    background-size: 1200px 120px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #fde68a;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
}

.hero-guarantee {
    margin-top: 20px;
    font-size: 1rem;
    color: #fde68a;
    font-weight: 600;
}

/* ========================================
   Pain Points Section
   ======================================== */
.pain-section {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.pain-card {
    background: var(--bg-primary);
    padding: 35px 25px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pain-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--danger-color);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper i {
    font-size: 2rem;
    color: var(--danger-color);
}

.pain-card h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.pain-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.reassurance {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--bg-accent), #dbeafe);
    border-radius: 16px;
    margin-top: 30px;
}

.reassurance p {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.live-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.live-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--text-primary);
}

.live-indicator {
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ========================================
   Solution Section
   ======================================== */
.solution-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.law-explanation {
    max-width: 900px;
    margin: 0 auto;
}

.law-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

.law-badge i {
    font-size: 1.75rem;
    color: var(--warning-color);
}

.law-badge span {
    font-weight: 600;
    color: var(--text-primary);
}

.law-intro {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.law-explanation h3 {
    color: var(--primary-color);
    margin: 30px 0 20px;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.right-card {
    background: var(--bg-accent);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--success-color);
    transition: all 0.3s ease;
}

.right-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.right-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.right-icon i {
    font-size: 1.5rem;
    color: var(--success-color);
}

.right-card h4 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.125rem;
}

.right-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.important-note {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-radius: 12px;
    margin-top: 40px;
}

.important-note i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 3px;
}

.important-note p {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
}

/* ========================================
   DIY Problems Section
   ======================================== */
.diy-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 50px;
}

.obstacles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.obstacle-card {
    background: var(--bg-primary);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.obstacle-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.obstacle-card i {
    font-size: 3rem;
    color: var(--danger-color);
    margin-bottom: 20px;
    display: block;
}

.obstacle-card h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
}

.obstacle-card p {
    color: var(--text-secondary);
    margin: 0;
}

.warning-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border-radius: 16px;
    border-left: 6px solid var(--danger-color);
    box-shadow: var(--shadow-md);
}

.warning-box i {
    font-size: 2rem;
    color: var(--danger-color);
    margin-top: 3px;
}

.warning-box p {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin: 0;
}

/* ========================================
   Offer Section
   ======================================== */
.offer-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.promise-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 30px;
    background: var(--bg-accent);
    border-radius: 16px;
    margin: 40px auto;
    max-width: 900px;
    text-align: center;
}

.promise-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.promise-box p {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin: 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 60px 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.step-card {
    position: relative;
    background: var(--bg-secondary);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.step-card h3 {
    margin-top: 20px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.step-card p {
    color: var(--text-secondary);
    margin: 0;
}

.result-box {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.result-box h3 {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--success-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.result-box h3 i {
    font-size: 2rem;
}

.result-box ul {
    list-style: none;
    padding: 0;
}

.result-box ul li {
    padding: 12px 0 12px 35px;
    color: var(--text-primary);
    font-size: 1.125rem;
    position: relative;
}

.result-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
    font-size: 1.5rem;
}

/* ========================================
   CTA Sections
   ======================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #fff;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    color: #fff;
    margin-bottom: 15px;
}

.cta-content > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-button-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 25px 50px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    margin-bottom: 30px;
}

.cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #059669, #047857);
}

.cta-button-large i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.cta-button-large:hover i {
    transform: translateX(5px);
}

.cta-benefits {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.8;
    text-align: center;
    margin: 0;
}

.cta-center {
    text-align: center;
    margin-top: 40px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 60px 0 30px;
    background: var(--text-primary);
    color: #fff;
}

.footer-content {
    text-align: left;
}

.footer-main {
    margin-bottom: 40px;
}

.footer-info {
    margin-bottom: 40px;
}

.footer-info h4 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.footer-disclaimer {
    max-width: 900px;
}

.footer-disclaimer h5 {
    color: #fde68a;
    font-size: 1.1rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.footer-disclaimer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-disclaimer a {
    color: #fde68a;
    text-decoration: underline;
}

.footer-disclaimer a:hover {
    color: #fef3c7;
}

.footer-details {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.footer-details li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-details li:last-child {
    border-bottom: none;
}

.footer-details strong {
    color: rgba(255, 255, 255, 0.9);
}

.cookie-note {
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 5px 0;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.slide-in {
    animation: slideIn 0.6s ease-out;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Intersection Observer classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 50px;
    }
    
    .pain-section,
    .solution-section,
    .diy-section,
    .offer-section,
    .cta-section {
        padding: 50px 0;
    }
    
    .pain-grid,
    .rights-grid,
    .obstacles-grid,
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .check-form {
        padding: 30px 20px;
    }
    
    .cta-button, .submit-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .warning-box,
    .promise-box {
        flex-direction: column;
        text-align: center;
    }
    
    .law-badge {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}