:root {
    --bg-main: #FFFFFF;
    --bg-alt: #F2F7FA;
    --text-main: #0A1931; 
    --text-muted: #5E738B;
    --accent: #00B4D8;
    --accent-dark: #0077B6;
    --border-light: rgba(10, 25, 49, 0.08);
    --shadow-soft: 0 20px 40px rgba(10, 25, 49, 0.05);
}

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

body {
    font-family: 'Manrope', sans-serif;
    font-weight: 300; 
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

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

h1, h2, h3 {
    font-weight: 200;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-main);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
}

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

.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 4px;
    font-weight: 400;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s ease;
    cursor: pointer;
    text-align: center;
}

.btn-login {
    color: var(--text-main);
    border: 1px solid var(--border-light);
    padding: 10px 24px;
}

.btn-login:hover {
    border-color: var(--accent-dark);
    color: var(--accent-dark);
}

.btn-primary {
    background-color: var(--accent-dark);
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(0, 119, 182, 0.2);
}

.btn-primary:hover {
    background-color: #0A1931;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(10, 25, 49, 0.2);
}

.btn-block {
    display: block;
    width: 100%;
}

.header {
    padding: 30px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(10, 25, 49, 0.03);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 32px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--accent-dark);
}

/* Hero Section */
.hero {
    padding-top: 240px;
    padding-bottom: 200px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #FFFFFF 0%, #EAF2F8 100%);
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2; 
}

.hero-text-block {
    max-width: 900px;
}

.hero-title {
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    margin-bottom: 30px;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--text-muted);
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.action-note {
    font-size: 13px;
    color: var(--text-muted);
}

/* Ocean Waves Animation */
.ocean-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15vh;
    min-height: 100px;
    max-height: 180px;
    z-index: 1;
}

.parallax-waves > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax-waves > use:nth-child(1) { animation-delay: -2s; animation-duration: 10s; }
.parallax-waves > use:nth-child(2) { animation-delay: -3s; animation-duration: 14s; }
.parallax-waves > use:nth-child(3) { animation-delay: -4s; animation-duration: 18s; }
.parallax-waves > use:nth-child(4) { animation-delay: -5s; animation-duration: 22s; }

@keyframes move-forever {
    0% { transform: translate3d(-90px, 0, 0); }
    100% { transform: translate3d(85px, 0, 0); }
}

.placeholder-image {
    background: linear-gradient(145deg, #F2F7FA 0%, #E3EDF4 100%);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-align: center;
    padding: 20px;
    box-shadow: var(--shadow-soft);
}

.problem {
    padding: 100px 0 120px;
}

.problem-inner {
    max-width: 900px;
    margin: 0 auto;
}

.section-text {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 300;
}

.section-text b {
    color: var(--text-main);
    font-weight: 400;
}

.showcase {
    padding: 80px 0;
}

.showcase-item {
    padding: 100px 0;
    border-top: 1px solid var(--border-light);
}

.showcase-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.showcase-item.reverse .showcase-inner {
    grid-template-columns: 1.2fr 1fr;
}

.showcase-item.reverse .showcase-text {
    order: 2;
}

.tool-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-dark);
    display: block;
    margin-bottom: 20px;
    font-weight: 500;
}

.tool-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 30px;
}

.tool-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.image-tall { height: 700px; }
.image-wide { height: 500px; }
.image-square { height: 600px; }

.pricing {
    padding: 120px 0;
    background: var(--bg-alt);
}

.pricing-header {
    margin-bottom: 60px;
}

.pricing-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--bg-main);
    box-shadow: var(--shadow-soft);
}

.pricing-left {
    padding: 60px;
    border-right: 1px solid var(--border-light);
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.plan-price {
    font-size: 4.5rem;
    font-weight: 200;
    line-height: 1;
    margin-bottom: 20px;
    color: var(--accent-dark);
}

.plan-period {
    font-size: 1rem;
    color: var(--text-muted);
}

.plan-desc {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.pricing-right {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.plan-features {
    list-style: none;
}

.plan-features li {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
}

.plan-features li::before {
    content: '—';
    margin-right: 15px;
    color: var(--accent-dark);
    font-weight: 400;
}

.plan-features li span {
    font-weight: 300;
}

.faq {
    padding: 120px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
    padding: 30px 0;
}

.faq-item summary {
    font-size: 1.5rem;
    font-weight: 300;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 40px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 200;
    font-size: 2rem;
    color: var(--accent-dark);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-answer {
    padding-top: 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.footer {
    padding: 60px 0;
    border-top: 1px solid var(--border-light);
    background: var(--bg-alt);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 24px;
    margin-bottom: 20px;
    filter: invert(1) hue-rotate(180deg) opacity(0.8); 
}

.footer-text {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-text b {
    color: var(--text-main);
    font-weight: 400;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-dark);
}

@media (max-width: 992px) {
    .showcase-inner,
    .showcase-item.reverse .showcase-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .showcase-item.reverse .showcase-text { order: -1; }
    
    .pricing-card {
        grid-template-columns: 1fr;
    }
    .pricing-left { border-right: none; border-bottom: 1px solid var(--border-light); }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .hero-title { font-size: 3rem; }
    .footer-inner { flex-direction: column; gap: 40px; }
    .footer-links { flex-direction: column; gap: 15px; }
}
/* --- Фон с китом для первого блока --- */
.hero-kit-bg {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160%;
    height: 160%;
    max-width: 4000px;
    background: url('../img/back_kit.webp') center center / contain no-repeat;
    z-index: 1; /* Помещаем позади текста (z-index: 2), но на уровне с волнами */
    opacity: 0.15; /* Делаем полупрозрачным, чтобы сохранить читаемость текста */
    pointer-events: none; /* Чтобы картинка не перекрывала клики по кнопкам */
    animation: float-kit 8s ease-in-out infinite; /* Легкая анимация парения */
}

/* Плавная анимация, чтобы кит "дышал" вместе с волнами */
@keyframes float-kit {
    0%, 100% {
        transform: translate(-50%, -50%);
    }
    50% {
        transform: translate(-50%, -48%);
    }
}