/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #e74c3c;
}

.logo-svg {
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.logo svg {
    filter: drop-shadow(0 2px 4px rgba(231, 76, 60, 0.3));
}

.phone-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.phone-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(231, 76, 60, 0.1), rgba(52, 152, 219, 0.1));
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -5%;
    animation-delay: -7s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 20%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
        opacity: 0.5;
    }
    66% {
        transform: translateY(30px) rotate(240deg);
        opacity: 0.2;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(231, 76, 60, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(52, 152, 219, 0.3) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: 60vh;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.animated-evacuator {
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-text {
    text-align: left;
}

.hero h1 {
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero-title-main {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    margin-bottom: 10px;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.hero-title-sub {
    display: block;
    font-size: 2.5rem;
    font-weight: 600;
    color: #ecf0f1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes titleGlow {
    0% {
        filter: brightness(1);
    }
    100% {
        filter: brightness(1.2);
    }
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 50px;
    opacity: 0.9;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.highlight {
    background: linear-gradient(120deg, rgba(231, 76, 60, 0.2) 0%, rgba(231, 76, 60, 0.3) 100%);
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(231, 76, 60, 0.3);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    position: relative;
}

.highlight::before {
    content: '✓';
    margin-right: 10px;
    color: #27ae60;
    font-weight: 700;
    font-size: 1.1em;
}

.highlight:hover {
    background: linear-gradient(120deg, rgba(231, 76, 60, 0.3) 0%, rgba(231, 76, 60, 0.4) 100%);
    transform: translateX(5px);
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 50px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    justify-content: center;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.feature-icon i {
    font-size: 1.1rem;
    color: white;
}

.hero-cta {
    margin-top: 40px;
}

.cta-button {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 20px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 35px rgba(231, 76, 60, 0.4);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(231, 76, 60, 0.5);
}

.phone-display {
    text-align: left;
}

.phone-label {
    font-size: 1rem;
    color: #bdc3c7;
    margin-bottom: 8px;
    font-weight: 500;
}

.phone-large {
    font-size: 2.2rem;
    font-weight: 700;
    color: #00ff88;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    animation: phoneGlow 2s ease-in-out infinite alternate;
}

@keyframes phoneGlow {
    0% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 10px rgba(0, 255, 136, 0.3);
    }
    100% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 255, 136, 0.6);
    }
}

/* Services */
.services {
    padding: 100px 0;
    background: #f8f9fa;
}

.services h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card i {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature i {
    color: #e74c3c;
    font-size: 1.2rem;
}

.about-feature span {
    color: #333;
    font-weight: 500;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Responsive for About Section */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
}

/* Advantages */
.advantages {
    padding: 80px 0;
    background: white;
}

.advantages h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #2c3e50;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.advantage {
    text-align: center;
    padding: 30px 20px;
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}

.advantage-icon i {
    font-size: 2rem;
    color: white;
}

.advantage h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* Pricing */
.pricing {
    padding: 80px 0;
    background: #f8f9fa;
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #2c3e50;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.price-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.price-card.featured {
    border: 3px solid #e74c3c;
    transform: scale(1.05);
}

.price-card.featured::before {
    content: 'ПОПУЛЯРНО';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #e74c3c;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.price-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 30px;
}

.price-card ul {
    list-style: none;
    text-align: left;
}

.price-card li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.price-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: 600;
}

/* Contact */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
}

.contact-content {
    display: block;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-item i {
    font-size: 1.5rem;
    color: #e74c3c;
    min-width: 30px;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-item a {
    color: #00ff88;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: #1a252f;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-info .logo {
    margin-bottom: 15px;
}

.footer-contact h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-phone {
    color: #00ff88;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.3rem;
    display: block;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    opacity: 0.7;
}

/* Floating Phone Button */
.floating-phone {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.floating-phone:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 12px 40px rgba(231, 76, 60, 0.5);
}

.floating-phone:active {
    animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero {
        padding: 140px 0 100px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-visual {
        order: 1;
    }
    
    .hero-text {
        order: 2;
        text-align: center;
    }
    
    .hero-title-main {
        font-size: 2.5rem;
    }
    
    .hero-title-sub {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        align-items: center;
        gap: 15px;
    }
    
    .highlight {
        padding: 10px 20px;
        font-size: 1.1rem;
        justify-content: center;
        width: fit-content;
        margin: 0 auto;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature {
        justify-content: center;
    }
    
    .feature:hover {
        transform: translateY(-5px);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .phone-large {
        font-size: 1.8rem;
    }
    
    .services-grid,
    .advantages-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .price-card.featured {
        transform: none;
    }
    
    .price-card.featured:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 140px 0 60px;
        min-height: auto;
    }
    
    .hero-title-main {
        font-size: 2rem;
    }
    
    .hero-title-sub {
        font-size: 1.4rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .animated-evacuator object {
        width: 250px;
        height: 150px;
    }
    
    .services,
    .advantages,
    .pricing,
    .contact {
        padding: 60px 0;
    }
    
    .floating-phone {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
} 