@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #166193;
    --primary-dark: #104c73;
    --accent: #4da3d9;
    --text: #e7efff;
    --muted: #9ab0d6;
    --bg: #0a1224;
    --surface: #0f1b35;
    --border: rgba(77, 120, 190, 0.25);
    --shadow: 0 12px 32px rgba(2, 6, 23, 0.5);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

body {
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(9, 13, 26, 0.95);
    border-bottom: 1px solid var(--border);
}

.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
}

.logo img {
    height: 38px;
}

.nav {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.nav a {
    margin-left: 16px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
    padding: 8px 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav a:hover {
    color: var(--primary);
    background: rgba(22, 97, 147, 0.12);
}

.cta-btn {
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 20px rgba(22, 97, 147, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(22, 97, 147, 0.35);
}

.hero {
    position: relative;
}

.hero-slider {
    width: 100%;
    height: 480px;
}

.slide-bg {
    height: 480px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(6, 10, 20, 0.85), rgba(6, 10, 20, 0.45));
}

.slide-bg.placeholder {
    background: linear-gradient(120deg, #0a1024, #102a4a 55%, #166193);
}

.slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    color: #fff;
    max-width: 1200px;
    width: 92%;
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    width: 100%;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(22, 97, 147, 0.2);
    border: 1px solid rgba(22, 97, 147, 0.6);
    color: #cfe8ff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 14px;
    background: rgba(7, 11, 24, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px;
    backdrop-filter: blur(6px);
}

.hero-stat strong {
    display: block;
    font-size: 22px;
    color: #fff;
}

.hero-stat span {
    font-size: 12px;
    color: var(--muted);
}

.stats-bar {
    background: #0b1020;
    color: var(--text);
    padding: 22px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 26px;
    color: var(--primary);
}

.section {
    padding: 64px 0;
}

.section.alt {
    background: #0c1733;
}

.section h2 {
    font-size: 32px;
    margin-bottom: 26px;
    text-align: center;
}

.service-category {
    margin-bottom: 26px;
}

.service-grid,
.package-grid,
.reference-grid,
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.service-card,
.package-card,
.portfolio-card {
    background: var(--surface);
    padding: 18px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.package-card ul {
    margin-top: 10px;
    padding-left: 18px;
}

.package-card .price {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
    margin: 6px 0;
}

.tab-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    background: #0e1526;
    border: 1px solid var(--border);
    padding: 10px 16px;
    border-radius: 22px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text);
}

.tab-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.reference-slider {
    overflow: hidden;
    width: 100%;
    margin-top: 20px;
}

.reference-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: reference-marquee 30s linear infinite;
}

.reference-item {
    width: 180px;
    min-width: 180px;
    height: 90px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid var(--border);
}

.reference-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.portfolio-card img,
.portfolio-card video {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
}

.portfolio-info {
    margin-top: 10px;
}

.about-text {
    max-width: 800px;
    line-height: 1.7;
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 16px;
}

.faq-item {
    margin-bottom: 0;
}

.faq-item button {
    width: 100%;
    text-align: left;
    background: #10182c;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.faq-item button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.faq-answer {
    display: none;
    padding: 10px 12px;
    background: #0e1526;
    border: 1px solid var(--border);
    border-top: none;
}

.contact-form {
    display: grid;
    gap: 12px;
    max-width: 600px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #0e1526;
    color: var(--text);
}

.contact-form button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form button:hover {
    transform: translateY(-1px);
}

.alert {
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.alert.error {
    background: #ffe3e3;
    color: #b00020;
}

.alert.success {
    background: #e0f7e9;
    color: #0b5b2a;
}

.site-footer {
    background: #0a0f1f;
    color: #fff;
    padding: 48px 0 24px;
    border-top: 1px solid var(--border);
}

.footer-wrap {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.footer-brand p {
    color: var(--muted);
    margin-top: 12px;
}

.footer-logo img {
    height: 42px;
}

.footer-links h4,
.footer-social-block h4 {
    margin-bottom: 12px;
    font-size: 15px;
}

.footer-links a {
    display: block;
    color: var(--muted);
    text-decoration: none;
    margin-bottom: 8px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-social a {
    color: #fff;
    margin-right: 10px;
    font-size: 18px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    margin-top: 24px;
    padding-top: 16px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

.support-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 20;
}

.support-toggle {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(22, 97, 147, 0.3);
}

.support-menu {
    display: none;
    background: #0f162b;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    padding: 10px;
    margin-bottom: 8px;
}

.support-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    text-decoration: none;
    color: var(--text);
    border-radius: 8px;
    transition: background 0.2s ease;
}

.support-menu a:hover {
    background: rgba(59, 91, 219, 0.1);
}

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

    .nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .cta-btn {
        width: 100%;
        text-align: center;
    }

    .hero-slider,
    .slide-bg {
        height: 420px;
    }

    .hero-text h1 {
        font-size: 34px;
    }

    .section {
        padding: 50px 0;
    }

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

    .hero-stats {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }

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

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