:root {
    --bg-color: #f5f7f7;
    --surface-color: rgba(255, 255, 255, 0.78);
    --surface-border: rgba(13, 26, 41, 0.1);
    --primary-color: #1a73e9;
    --primary-glow: rgba(26, 115, 233, 0.24);
    --secondary-color: #0d1a29;
    --text-main: #0d1a29;
    --text-muted: #365169;
    --danger-color: #0d1a29;
    --success-color: #2bc48b;
    --accent-color: #7abbd9;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Apparat', 'Avenir Next', 'Segoe UI', sans-serif;
    background: radial-gradient(circle at 10% 20%, rgba(122, 187, 217, 0.18), transparent 35%),
        radial-gradient(circle at 85% 10%, rgba(26, 115, 233, 0.12), transparent 40%),
        var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.highlight,
.pre-title,
.btn {
    font-family: 'Futura PT', 'Futura', 'Trebuchet MS', sans-serif;
}

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

.glass {
    background: var(--surface-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    box-shadow: 0 10px 28px -18px rgba(13, 26, 41, 0.35);
}

.glass-section {
    background: linear-gradient(180deg, rgba(245, 247, 247, 0) 0%, rgba(122, 187, 217, 0.1) 50%, rgba(245, 247, 247, 0) 100%);
}

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

section {
    padding: 6rem 0;
    position: relative;
}

.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(13, 26, 41, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 26, 41, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    background-position: center center;
    z-index: -1;
    pointer-events: none;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    letter-spacing: -0.8px;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--secondary-color);
    letter-spacing: -0.4px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 45%, var(--accent-color) 100%);
    color: #fff;
    border: 1px solid rgba(122, 187, 217, 0.65);
    box-shadow: 0 10px 24px rgba(26, 115, 233, 0.28);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(13, 26, 41, 0.22);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 65%, var(--accent-color) 100%);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(26, 115, 233, 0.36);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(122, 187, 217, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(26, 115, 233, 0);
    }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 0;
    z-index: 100;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(245, 247, 247, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-border);
    padding: 1rem 0;
    box-shadow: 0 6px 22px rgba(13, 26, 41, 0.08);
}

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

.logo img {
    height: 112px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.04);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 100px;
}

.hero .pre-title {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    display: block;
}

.hero p {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.25rem;
    color: var(--text-muted);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.problem-card {
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    border-color: rgba(26, 115, 233, 0.3);
}

.problem-icon {
    font-size: 1.4rem;
    margin-top: 2px;
    color: var(--secondary-color);
}

.problem-card p {
    font-weight: 500;
    color: var(--secondary-color);
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.method-card {
    padding: 3rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.method-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(13, 26, 41, 0.12);
}

.method-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    color: var(--primary-color);
    background: rgba(122, 187, 217, 0.18);
    border: 1px solid rgba(26, 115, 233, 0.2);
    margin-bottom: 1.5rem;
}

.method-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.method-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.method-list {
    list-style: none;
}

.method-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.method-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.filter-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.filter-box {
    padding: 3rem;
    border-radius: 20px;
}

.filter-box.do-not {
    background: rgba(13, 26, 41, 0.04);
    border: 1px solid rgba(13, 26, 41, 0.18);
}

.filter-box.do {
    background: rgba(43, 196, 139, 0.06);
    border: 1px solid rgba(43, 196, 139, 0.2);
}

.filter-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.filter-box h3 i {
    margin-right: 0.45rem;
}

.filter-box.do-not h3 i {
    color: var(--secondary-color);
}

.filter-box.do h3 i {
    color: var(--success-color);
}

.filter-box ul {
    list-style: none;
}

.filter-box li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-muted);
}

.filter-box li::before {
    content: "•";
    color: var(--primary-color);
    font-size: 1.5rem;
    line-height: 1;
}

.cta-box {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(122, 187, 217, 0.15) 100%);
    border: 1px solid rgba(26, 115, 233, 0.2);
}

.cta-box h2 {
    margin-bottom: 1.5rem;
}

.cta-box p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    min-width: 0;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(13, 26, 41, 0.16);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.88);
    transition: all 0.3s ease;
}

.form-group textarea {
    max-width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: #fff;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
}

footer {
    padding: 4rem 0;
    border-top: 1px solid var(--surface-border);
    text-align: center;
}

.footer-logo img {
    height: 78px;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

footer p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.method-grid>div:nth-child(1) {
    transition-delay: 0.1s;
}

.method-grid>div:nth-child(2) {
    transition-delay: 0.2s;
}

.method-grid>div:nth-child(3) {
    transition-delay: 0.3s;
}

@media (max-width: 900px) {
    .filter-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 1rem;
    }

    header {
        padding: 1rem 0;
    }

    .header-content {
        justify-content: center;
    }

    header nav,
    header .btn {
        display: none !important;
    }

    .logo {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .logo img {
        width: min(92vw, 520px);
        height: auto;
        max-height: 44svh;
    }

    header.scrolled .logo img {
        width: min(56vw, 220px);
        max-height: none;
    }

    .hero {
        min-height: 100svh;
        padding-top: 50svh;
    }

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

    .contact-form,
    .contact-form-grid,
    .cta-box {
        width: 100%;
        max-width: 100%;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: auto;
    }

    .cta-box {
        padding: 2.6rem 1rem;
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .logo img {
        width: min(92vw, 420px);
        height: auto;
        max-height: 36svh;
    }

    header.scrolled .logo img {
        width: min(55vw, 180px);
        max-height: none;
    }

    .hero {
        min-height: 100svh;
        padding-top: 42svh;
    }

    .hero h1 {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .hero p {
        font-size: 1.1rem;
    }

    .cta-box {
        padding: 2.2rem 0.85rem;
    }
}
