* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #62c0ae;
    --bg-color: #e4f2f8;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --white: #ffffff;
    --transition-soft: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bouncy: cubic-bezier(0.34, 1.56, 0.64, 1);
    --header-height: 84px; /* высота шапки для корректного offset при скролле */
}

/* New global layout: full-screen sections + scroll snapping */
html, body {
    height: 100%;
}

html {
    scroll-padding-top: var(--header-height);
}

body {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Reserve space for fixed header */
body {
    padding-top: var(--header-height);
}

section {
    height: calc(100vh - var(--header-height));
    min-height: 0;
    scroll-snap-align: start;
    overflow: auto;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(98, 192, 174, 0.25), transparent 45%),
                radial-gradient(circle at 80% 0%, rgba(157, 216, 205, 0.25), transparent 40%),
                radial-gradient(circle at 50% 80%, rgba(75, 184, 150, 0.2), transparent 45%);
    opacity: 0.6;
    filter: blur(60px);
    animation: auroraShift 25s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes auroraShift {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.05) translate(-2%, 2%); }
    100% { transform: scale(1) translate(0, 0); }
}

@keyframes glassPulse {
    0% { box-shadow: 0 0 0 0 rgba(98, 192, 174, 0.25); }
    70% { box-shadow: 0 0 0 25px rgba(98, 192, 174, 0); }
    100% { box-shadow: 0 0 0 0 rgba(98, 192, 174, 0); }
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(98, 192, 174, 0.15);
    position: fixed; /* changed from sticky to fixed so header всегда виден */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    color: #000000;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav a:hover {
    color: var(--primary-color);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav a:hover::after {
    width: 100%;
}

/* Glass Button Effect (macOS Tahoe style) */
.btn-glass {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 18px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.7),
                0 0 0 0 rgba(98, 192, 174, 0);
    position: relative;
    overflow: hidden;
}

.btn-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-glass:hover::before {
    left: 100%;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(98, 192, 174, 0.6);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(98, 192, 174, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.8),
                0 0 0 6px rgba(98, 192, 174, 0.15);
}

.btn-glass:active {
    transform: translateY(0);
}

.btn-primary {
    background: rgba(98, 192, 174, 0.2);
    border-color: rgba(98, 192, 174, 0.4);
    color: var(--primary-color);
    font-weight: 600;
}

.btn-primary:hover {
    background: rgba(98, 192, 174, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.25);
}

/* Hero Section */
.hero {
    padding: 150px 0 200px;
    position: relative;
    overflow: hidden;
    background-image: url('images/circle.png');
    background-position: right top;
    background-repeat: no-repeat;
    background-size: 41%;
    min-height: 80vh;
    padding-left: clamp(20px, 5vw, 140px);
}

.hero-container {
    width: 50%;
    max-width: 50%;
    margin: 0;
    padding: 0 20px;
}

.hero-content {
    max-width: 100%;
    margin: 0;
    position: relative;
    z-index: 2;
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: 96px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 40px 0;
    padding: 0 20px;
    width: 60%;
    background: linear-gradient(135deg, #2d8659 0%, #4fb896 25%, #62c0ae 50%, #7dd4c4 75%, #9ae8d9 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    animation: fadeSlideUp 0.8s ease-out, gradientShift 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
    animation: fadeSlideUp 0.9s ease 0.15s backwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeSlideUp 1s ease 0.25s backwards;
}


/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* About Section */
.about-section {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 40px 20px;
    padding: 60px 40px;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    animation: fadeSlideUp 0.9s ease;
}

.about-list {
    list-style: none;
    margin: 30px auto 0;
    padding: 0;
    max-width: 820px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px 32px;
}

.about-list li {
    position: relative;
    padding-left: 28px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
    animation: fadeSlideUp 1s ease;
}

.about-list li::before {
    content: '';
    position: absolute;
    top: 9px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 14px rgba(98, 192, 174, 0.5);
}

/* Advantages Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.advantage-tile {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(24px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 28px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
}

.advantage-tile:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 48px rgba(98, 192, 174, 0.3);
    border-color: rgba(98, 192, 174, 0.5);
    background: rgba(255, 255, 255, 0.65);
}

.advantage-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.advantage-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.advantage-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Process Section */
.process-section {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 40px 20px;
    padding: 60px 40px;
}

.process-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.process-tile {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s;
}

.process-tile:hover {
    transform: translateX(10px);
}

.process-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.3;
    min-width: 80px;
}

.process-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.process-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-tile {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(24px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 28px;
    padding: 40px 30px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
}

.service-tile:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 48px rgba(98, 192, 174, 0.3);
    border-color: rgba(98, 192, 174, 0.5);
    background: rgba(255, 255, 255, 0.65);
}

.service-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(98, 192, 174, 0.05) 0%, transparent 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(98, 192, 174, 0.25);
    border-color: rgba(98, 192, 174, 0.5);
}

.pricing-header {
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(98, 192, 174, 0.2);
}

.pricing-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.pricing-price {
    margin-top: 12px;
}

.price-amount {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #2d8659 0%, #62c0ae 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.pricing-features li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
}

.btn-pricing {
    width: 100%;
    margin-top: auto;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(98, 192, 174, 0.08) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    padding-top: 20px;
}

.contact-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #2d8659 0%, #62c0ae 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.contact-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}

.contact-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateX(5px);
}

.contact-form {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(98, 192, 174, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    font-size: 16px;
    font-family: inherit;
    color: var(--text-dark);
    transition: all 0.3s ease, border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(98, 192, 174, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #d9534f;
    background: rgba(217, 83, 79, 0.05);
}

.form-warning {
    min-height: 24px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #d9534f;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-warning.visible {
    opacity: 1;
}

.btn-large {
    width: 100%;
    margin-top: 10px;
    padding: 18px 32px;
    font-size: 18px;
    font-weight: 600;
}

/* Footer */
.footer {
    background: rgba(98, 192, 174, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(98, 192, 174, 0.2);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-contacts h3,
.footer-social h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-contacts p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: var(--primary-color);
    transition: all 0.3s;
    text-decoration: none;
}

.social-link:hover {
    background: rgba(98, 192, 174, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(98, 192, 174, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(98, 192, 174, 0.2);
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 968px) {
    .header-content {
        flex-wrap: wrap;
        gap: 15px;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 20px;
    }

    .hero-title {
        font-size: 60px;
        width: 110%;
    }

    .hero {
        padding: 120px 0 150px;
        min-height: 70vh;
        background-size: 40%;
        background-position: right bottom;
        background-image: url('images/newone.png');
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-title {
        font-size: 36px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }

    .advantages-grid,
    .services-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .process-tile {
        flex-direction: column;
        gap: 15px;
    }

    .process-number {
        min-width: auto;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 48px;
        width: 110%;
    }

    .hero {
        padding: 100px 0 120px;
        min-height: 60vh;
        background-size: 35%;
        background-position: right top;
        background-image: url('images/newone.png');
    }

    .contact-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 28px;
    }

    .nav {
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn-glass {
        width: 100%;
    }
}

/* Mobile adjustments: disable forced full-page snap, smaller header and reduced paddings */
@media (max-width: 768px) {
    :root {
        --header-height: 128px;
    }

    body {
        padding-top: var(--header-height);
        scroll-snap-type: none; /* allow normal touch scrolling */
    }

    section {
        height: auto; /* let sections size to content */
        min-height: calc(100vh - var(--header-height));
        padding: 60px 16px; /* reduced vertical padding */
        scroll-snap-align: none;
    }

    .hero {
        padding: 100px 0 80px;
        background-size: 30%;
    }

    .hero-container {
        width: 100%;
        max-width: 100%;
        padding: 0 12px;
    }

    .hero-title {
        font-size: 36px;
        width: 100%;
        padding: 0;
        margin-bottom: 18px;
        margin-left: 20px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 28px;
    }

    .contact-section, .pricing-section, .about-section, .process-section, .advantages-section, .services-section {
        margin: 16px 8px;
        border-radius: 14px;
        padding: 30px 16px;
    }

    .contact-wrapper {
        gap: 24px;
    }

    .btn-glass {
        padding: 12px 18px;
        font-size: 15px;
    }
}


