:root {
    --deep-ocean: #0a1628;
    --arctic-blue: #1e3a5f;
    --steel-blue: #2d5a87;
    --ice-blue: #4a90b8;
    --frost: #7fb8d8;
    --signal-orange: #ff6b35;
    --signal-yellow: #ffc857;
    --white-ice: #e8f4f8;
    --pure-white: #ffffff;
    --text-primary: #e8f4f8;
    --text-secondary: #7fb8d8;
    --border-color: rgba(79, 144, 184, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--deep-ocean);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== ФОНОВАЯ АНИМАЦИЯ ===== */
.ocean-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(45, 90, 135, 0.1) 25%, 
        rgba(74, 144, 184, 0.15) 50%, 
        rgba(45, 90, 135, 0.1) 75%, 
        transparent 100%);
    animation: wave 15s linear infinite;
}

.wave:nth-child(2) {
    bottom: 20px;
    animation-delay: -5s;
    opacity: 0.5;
}

.wave:nth-child(3) {
    bottom: 40px;
    animation-delay: -10s;
    opacity: 0.3;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(74, 144, 184, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 144, 184, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
}

/* ===== КОНТЕЙНЕР ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--pure-white);
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--ice-blue), var(--steel-blue));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.logo-text {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--pure-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--signal-orange);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 107, 53, 0.15);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 100px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    color: var(--signal-orange);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--signal-orange);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero h1 span {
    display: block;
    background: linear-gradient(135deg, var(--ice-blue), var(--frost));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    position: relative;
}

.stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 36px;
    font-weight: 700;
    color: var(--pure-white);
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.route-map {
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(74, 144, 184, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(255, 107, 53, 0.1) 0%, transparent 40%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.route-line {
    position: absolute;
    top: 50%;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--signal-orange), var(--ice-blue));
    transform: translateY(-50%);
}

.route-line::before,
.route-line::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid;
}

.route-line::before {
    left: 0;
    background: var(--deep-ocean);
    border-color: var(--signal-orange);
}

.route-line::after {
    right: 0;
    background: var(--deep-ocean);
    border-color: var(--ice-blue);
}

.port-marker {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.port-dot {
    width: 12px;
    height: 12px;
    background: var(--frost);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(127, 184, 216, 0.5);
}

.port-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* ===== СОДЕРЖАНИЕ ===== */
.toc-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.toc-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(30, 58, 95, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.toc-item:hover {
    background: rgba(45, 90, 135, 0.4);
    border-color: var(--ice-blue);
    transform: translateY(-4px);
}

.toc-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--ice-blue);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.toc-item:hover::before {
    transform: scaleY(1);
}

.toc-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 24px;
    font-weight: 700;
    color: var(--steel-blue);
}

.toc-text {
    font-size: 14px;
    font-weight: 500;
}

/* ===== СЕКЦИИ ===== */
.section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

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

.section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--signal-orange);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 600px;
}

/* ===== КОМПАНИИ ===== */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.company-card {
    background: linear-gradient(180deg, rgba(30, 58, 95, 0.5) 0%, rgba(10, 22, 40, 0.8) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.company-card:hover {
    transform: translateY(-8px);
    border-color: var(--ice-blue);
    box-shadow: 0 20px 60px rgba(74, 144, 184, 0.2);
}

.company-card.featured {
    border-color: var(--signal-orange);
    position: relative;
}

.company-card.featured::before {
    content: 'ПЕРЕЙТИ →';
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    background: var(--signal-orange);
    color: var(--deep-ocean);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    z-index: 10;
}

.card-image {
    height: 160px;
    background: linear-gradient(135deg, var(--arctic-blue), var(--steel-blue));
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.card-content {
    padding: 24px;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===== SEO ТЕКСТ БЛОК ===== */
.text-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.text-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.text-content p:last-child {
    margin-bottom: 0;
}

.text-highlight {
    padding: 40px;
    background: linear-gradient(135deg, rgba(45, 90, 135, 0.3), rgba(30, 58, 95, 0.5));
    border-left: 4px solid var(--signal-orange);
    border-radius: 0 16px 16px 0;
}

.highlight-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.highlight-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.highlight-list li:last-child {
    border-bottom: none;
}

.highlight-list li::before {
    content: '→';
    color: var(--signal-orange);
    font-weight: 700;
}

/* ===== ЭТАПЫ ===== */
.steps-container {
    position: relative;
}

.steps-line {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--ice-blue), var(--signal-orange));
}

.step-item {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--deep-ocean);
    border: 2px solid var(--ice-blue);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 28px;
    font-weight: 700;
    color: var(--ice-blue);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
    padding: 24px 32px;
    background: rgba(30, 58, 95, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== СТОИМОСТЬ ===== */
.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.price-card {
    background: rgba(30, 58, 95, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.price-card:hover {
    border-color: var(--ice-blue);
    transform: scale(1.02);
}

.price-card.accent {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(45, 90, 135, 0.4));
    border-color: var(--signal-orange);
}

.price-type {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.price-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.price-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 36px;
    font-weight: 700;
    color: var(--signal-orange);
    margin-bottom: 8px;
}

.price-unit {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ===== ГАЛЕРЕЯ ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--arctic-blue), var(--steel-blue));
}

.gallery-item:first-child {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(10, 22, 40, 0.9));
    font-size: 14px;
    font-weight: 500;
}

/* ===== FAQ ===== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.faq-item {
    background: rgba(30, 58, 95, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-icon {
    width: 32px;
    height: 32px;
    background: var(--arctic-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    background: var(--signal-orange);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 24px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 100px;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-brand a {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    color: var(--pure-white);
    text-decoration: none;
    letter-spacing: 2px;
}

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

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

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1200px) {
    .companies-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .toc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        height: 300px;
    }

    .text-block {
        grid-template-columns: 1fr;
    }

    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .price-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 200px 200px;
    }

    .gallery-item:first-child {
        grid-row: span 1;
        grid-column: span 2;
    }

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

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 16px;
    }

    .main-nav {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        font-size: 11px;
    }

    .hero {
        padding: 140px 0 60px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

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

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

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

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 200px);
    }

    .gallery-item:first-child {
        grid-column: span 1;
    }

    .steps-line {
        left: 20px;
    }

    .step-item {
        flex-direction: column;
        gap: 20px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

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

    .section {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 28px;
    }

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