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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #102a43;
    background-color: #f5f7fa;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 50;
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-area img {
    width: 42px;
    height: 42px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .brand {
    font-weight: 700;
    font-size: 18px;
    color: #166d72;
}

.logo-text .tagline {
    font-size: 12px;
    color: #64748b;
}

.main-nav a {
    margin-left: 20px;
    font-size: 15px;
    color: #475569;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: #166d72;
    border-color: #ff5924;
}

/* Hero */

.hero {
    background: radial-gradient(circle at top left, #3ca2ab, #166d72);
    color: #ffffff;
    padding: 40px 0 32px;
}

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

.hero-text h1 {
    font-size: 32px;
    margin-bottom: 16px;
}

.hero-text p {
    font-size: 15px;
    max-width: 520px;
    opacity: 0.95;
}

.hero-cta {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.play-text p {
    font-size: 14px;
}

.play-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000000;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
    font-size: 13px;
}

.play-icon {
    font-size: 20px;
}

.play-lines {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.play-lines .small {
    font-size: 11px;
    opacity: 0.8;
}

.play-lines .big {
    font-weight: 600;
    font-size: 15px;
}

.hero-image img {
    border-radius: 24px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
}

/* Features */

.features {
    padding: 40px 0;
}

.features h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 26px;
    color: #0f172a;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.feature-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-card img {
    border-radius: 16px;
}

.feature-card h3 {
    font-size: 18px;
    color: #0f172a;
}

.feature-card p {
    font-size: 14px;
    color: #475569;
}

/* Promo banner */

.promo-banner {
    background: #0f172a;
    color: #e5f6f7;
    padding: 38px 0;
}

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

.promo-text h2 {
    font-size: 22px;
    margin-bottom: 12px;
}

.promo-text p {
    font-size: 14px;
    margin-bottom: 10px;
    max-width: 520px;
}

.promo-text ul {
    list-style: none;
    font-size: 14px;
}

.promo-text li::before {
    content: "•";
    margin-right: 8px;
    color: #ffbf69;
}

.promo-image img {
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.55);
}

/* Slider */

.screenshots {
    padding: 40px 0;
}

.screenshots h2 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 18px;
    color: #0f172a;
}

.slider {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #020617;
    max-width: 420px;
    margin: 0 auto;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.6);
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide.active {
    opacity: 1;
    position: relative;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(15, 23, 42, 0.7);
    color: #e5e7eb;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 18px;
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

/* Blog preview */

.blog-preview {
    padding: 40px 0 50px;
}

.blog-preview-inner {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.blog-preview h2 {
    font-size: 22px;
    margin-bottom: 12px;
}

.blog-preview p {
    font-size: 14px;
    color: #475569;
    margin-bottom: 16px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #166d72;
    color: #166d72;
    font-size: 14px;
}

/* Footer */

.site-footer {
    background: #020617;
    color: #cbd5f5;
    padding: 14px 0;
    font-size: 13px;
}

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

.social-label {
    margin-right: 6px;
}

.social-link {
    margin-left: 10px;
    opacity: 0.8;
}

/* Blog page */

.blog-main {
    padding-bottom: 40px;
}

.blog-hero {
    background: #0f766e;
    color: #e0f2f1;
    padding: 30px 0;
}

.blog-hero h1 {
    font-size: 26px;
    margin-bottom: 10px;
}

.blog-hero p {
    font-size: 14px;
    max-width: 620px;
}

.blog-list {
    padding: 32px 0;
}

.blog-post {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px 16px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    margin-bottom: 18px;
}

.blog-post h2 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #0f172a;
}

.blog-post p {
    font-size: 14px;
    color: #475569;
}

/* Contact page */

.contact-main {
    padding-bottom: 40px;
}

.contact-hero {
    background: #0f766e;
    color: #e0f2f1;
    padding: 30px 0;
}

.contact-hero h1 {
    font-size: 26px;
    margin-bottom: 10px;
}

.contact-hero p {
    font-size: 14px;
    max-width: 620px;
}

.contact-form-section {
    padding: 32px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    gap: 24px;
}

.contact-info p {
    font-size: 14px;
    color: #475569;
    margin-bottom: 10px;
}

.contact-info strong {
    font-size: 16px;
    color: #0f172a;
}

.contact-form-wrapper h2 {
    font-size: 18px;
    margin-bottom: 12px;
}

.contact-form label {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
    color: #334155;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
    margin-bottom: 12px;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.15);
}

.btn-primary {
    background: #ff5924;
    color: #ffffff;
    border: none;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 14px;
    cursor: pointer;
}

.contact-note {
    font-size: 12px;
    color: #64748b;
    margin-top: 8px;
}

/* Responsive */

@media (max-width: 900px) {
    .hero-inner,
    .promo-inner,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-text p {
        margin: 0 auto;
    }

    .hero-cta {
        align-items: center;
    }

    .hero-image {
        order: -1;
    }

    .promo-image {
        order: -1;
    }

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

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        margin-top: 8px;
    }

    .main-nav a {
        margin-left: 0;
        margin-right: 16px;
    }
}

@media (max-width: 600px) {
    .hero-text h1 {
        font-size: 24px;
    }

    .promo-text h2 {
        font-size: 20px;
    }

    .blog-hero h1,
    .contact-hero h1 {
        font-size: 22px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* Full blog article */
.blog-article {
    padding: 32px 0 40px;
}

.blog-post.full {
    line-height: 1.7;
}

.blog-post.full p {
    white-space: pre-line;
}

.blog-navigation {
    margin-top: 16px;
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.blog-navigation .divider {
    opacity: 0.5;
}

/* Legal pages */

.legal-main {
    padding-bottom: 40px;
}

.legal-hero {
    background: #0f766e;
    color: #e0f2f1;
    padding: 30px 0;
}

.legal-hero h1 {
    font-size: 26px;
    margin-bottom: 10px;
}

.legal-hero p {
    font-size: 14px;
    max-width: 620px;
}

.legal-content-section {
    padding: 32px 0;
}

.legal-content {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    font-size: 14px;
    color: #334155;
}

.legal-content pre {
    white-space: pre-wrap;
    font-family: inherit;
}

/* Footer legal links */

.footer-right .legal-link {
    margin-right: 14px;
    font-size: 13px;
}
