/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    touch-action: manipulation;
}

html {
    scroll-behavior: smooth;
    overscroll-behavior: none;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", sans-serif;
    overflow-x: hidden;
    color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Liquid Glass Base */
.liquid-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        inset 0 2px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15),
        0 0 20px rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.liquid-glass::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.liquid-glass:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.5rem 1rem;
}

.nav-container {
    border-radius: 2rem;
    padding: 1rem 1.5rem;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-icon, .nav-title {
    color: #60a5fa;
}

.nav-icon {
    width: 2rem;
    height: 2rem;
}

.nav-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.desktop-menu {
    display: none;
}

.nav-link {
    background: none;
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.nav-link:hover, .nav-link.active {
    background: rgba(59, 130, 246, 0.3);
    border: 1px solid rgba(96, 165, 250, 0.5);
}

.mobile-menu-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-menu-toggle {
    padding: 0.5rem;
}

.menu-icon, .close-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.mobile-menu {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    justify-content: flex-start;
    width: 100%;
}

.hidden {
    display: none;
}

/* Buttons */
.liquid-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.liquid-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

.liquid-btn:active {
    transform: translateY(0) scale(0.98);
}

.liquid-btn-primary {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.7) 0%, rgba(37, 99, 235, 0.7) 100%);
    border-color: rgba(96, 165, 250, 0.8);
}

.liquid-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.liquid-btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.1);
}

.liquid-btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 0.75rem;
}

.liquid-btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 1.5rem;
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1rem 2rem;
}

.hero-content {
    text-align: center;
    padding: 3rem;
    border-radius: 3rem;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    display: block;
    color: #60a5fa;
}

.hero-description {
    font-size: 1.125rem;
    color: #d1d5db;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: white;
}

.feature-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #60a5fa;
}

.feature-icon.green {
    color: #10b981;
}

.feature-icon.yellow {
    color: #f59e0b;
}

/* Services Section */
.services-section {
    padding: 3rem 1rem;
}

.section-header {
    text-align: center;
    padding: 2rem;
    border-radius: 2rem;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.section-description {
    color: #d1d5db;
    font-size: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-card {
    border-radius: 1.5rem;
    position: relative;
    overflow: visible;
}

.service-popular {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, #3b82f6, #8b5cf6);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

.service-content {
    text-align: center;
    padding: 1.5rem;
    position: relative;
    z-index: 5;
}

.service-icon {
    width: 2rem;
    height: 2rem;
    color: #60a5fa;
    margin: 0 auto 1rem;
}

.service-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-description {
    color: #d1d5db;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.service-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #60a5fa;
}

.services-cta {
    text-align: center;
}

/* Contacts Section */
.contacts-section {
    padding: 3rem 1rem;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.form-container, .contact-info {
    padding: 2rem;
    border-radius: 2rem;
}

.form-title, .contact-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

/* Form Styles */
.order-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input::placeholder, .form-textarea::placeholder {
    color: #9ca3af;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #60a5fa;
}

.form-textarea {
    resize: none;
    min-height: 100px;
}

.form-privacy {
    font-size: 0.75rem;
    color: #9ca3af;
}

.privacy-link {
    color: #60a5fa;
    text-decoration: none;
}

.privacy-link:hover {
    text-decoration: underline;
}

.form-submit {
    width: 100%;
    margin-top: 0.5rem;
}

/* Contact Info */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #60a5fa;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-value {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-desc {
    color: #9ca3af;
    font-size: 0.875rem;
}

.guarantees {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 0.75rem;
}

.guarantees-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.guarantees-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #10b981;
}

.guarantees-title {
    font-weight: 600;
}

.guarantees-list {
    list-style: none;
    color: #d1d5db;
    font-size: 0.875rem;
}

.guarantees-list li {
    margin-bottom: 0.25rem;
}

.company-info {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.company-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.company-details {
    font-size: 0.875rem;
    color: #9ca3af;
}

.company-details > div {
    margin-bottom: 0.25rem;
}

.company-name {
    color: white;
    font-weight: 500;
}

.company-policy {
    padding-top: 0.5rem;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #10b981;
}

.alert-error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.alert-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

/* Footer */
.footer {
    padding: 1.5rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    padding: 1.5rem;
    border-radius: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #60a5fa;
}

.footer-title {
    font-weight: 600;
    font-size: 0.875rem;
}

.footer-info {
    color: #9ca3af;
    font-size: 0.75rem;
}

.footer-info > div {
    margin-bottom: 0.25rem;
}

.footer-phone {
    font-weight: 600;
    font-size: 0.875rem;
}

.phone-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: #60a5fa;
}

/* Policy Page */
.policy-section {
    padding: 8rem 1rem 3rem;
}

.policy-content {
    padding: 3rem;
    border-radius: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.policy-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: center;
}

.policy-text {
    position: relative;
    z-index: 5;
}

.policy-text h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #60a5fa;
}

.policy-text h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
}

.policy-text p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #d1d5db;
}

.policy-text ul, .policy-text ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: #d1d5db;
}

.policy-text li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.policy-contact {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 1rem;
}

.policy-contact h3 {
    color: #60a5fa;
    margin-bottom: 1rem;
}

.policy-contact p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-buttons {
        flex-direction: row;
    }
    
    .hero-features {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .footer-info {
        order: 2;
    }
    
    .footer-phone {
        order: 3;
    }
}

@media (min-width: 768px) {
    .desktop-menu {
        display: flex;
    }
    
    .mobile-menu-container {
        display: none;
    }
    
    .nav-icon, .nav-title {
        font-size: 1.5rem;
    }
    
    .nav-icon {
        width: 2rem;
        height: 2rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .service-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* Touch and Mobile Optimizations */
@media (max-width: 768px) {
    .liquid-glass {
        backdrop-filter: blur(10px);
    }
    
    button, a, input, textarea {
        min-height: 44px;
    }
    
    input, textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Focus States for Accessibility */
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Loading and Form States */
.form-loading {
    opacity: 0.7;
    pointer-events: none;
}

.form-success {
    border-color: #10b981 !important;
}

.form-error {
    border-color: #ef4444 !important;
}