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

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

:root {
    /* Universal color tokens */
    --color-white: #FFFFFF;
    --color-off-white: #F9FAFB;
    --color-light-gray: #F5F5F5;
    --color-light-gray-alt: #F2F8F5;
    --color-border-gray: #C3D2C8;
    --color-light-blue: #E0E7FF;
    --color-medium-gray: #77837D;
    --color-muted-gray: #87908C;
    --color-dark-gray: #46504B;
    --color-darker-gray: #373636;
    --color-near-black: #100F0F;
    --color-charcoal: #282828;
    --color-brand-red: #FF473A;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 124px;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--color-dark-gray);
    background-color: var(--color-white);
    line-height: 1.6;
    font-size: 16px;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    --nav-accent: var(--color-brand-red);
    --nav-accent-hover: var(--color-brand-red);
    --nav-text: var(--color-dark-gray);
    --nav-muted: var(--color-muted-gray);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 0.5px solid var(--color-border-gray);
}

.navbar.scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    gap: 20px;
}

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

.logo a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--color-near-black);
    text-decoration: none;
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
    margin: 0 auto;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 16px;
    align-items: center;
}

.mobile-language-switcher {
    display: none;
}

.mobile-language-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mobile-language-buttons {
    display: flex;
    gap: 12px;
}

.lang-btn {
    padding: 12px;
    background: transparent;
    border-radius: 12px;
    color: var(--nav-muted);
    font-weight: 600;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--color-dark-gray);
}

.lang-btn:hover {
    color: var(--nav-accent-hover);
    background: rgba(255, 71, 58, 0.08);
}

.lang-btn.active {
    background: var(--nav-accent);
    color: white;
    border: none;
}

.nav-link {
    text-decoration: none;
    color: var(--color-dark-gray);
    font-size: 20px;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}


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

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

.download-btn {
    background: var(--nav-accent);
    color: white !important;
    padding: 12px 32px;
    border-radius: 12px;
    transition: background 0.3s ease;
    font-weight: 600;
}

.download-btn:hover {
    background: var(--nav-accent-hover);
}

.download-btn::after {
    display: none;
}

.hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger img {
    width: 24px;
    height: 24px;
    display: block;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 48px;
    text-align: center;
    background-color: var(--color-light-gray);
}

.hero .container {
    width: 100%;
}

.hero-label {
    font-size: 24px;
    color: var(--color-darker-gray);
    font-weight: 600;
    margin-top: 64px;
    margin-bottom: 48px;
}

.hero-title {
    font-size: 56px;
    color: var(--color-near-black);
    font-weight: 800;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;

}

.hero-subtitle {
    max-width: 980px;
    margin: 0 auto 48px;
    font-size: 24px;
    color: var(--color-darker-gray);
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-img {
    display: block;
    width: min(100%, 100%);
    margin: 0 auto;
    height: auto;
}

.btn {
    padding: 16px 32px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--color-brand-red);
    color: white;
    border-color: var(--color-brand-red);
}

.btn-primary:hover {
    background: var(--color-brand-red);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12);
}

.btn-secondary {
    background: transparent;
    color: var(--color-brand-red);
    border-color: var(--color-brand-red);
}

.btn-secondary:hover {
    background: var(--color-light-gray-alt);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.testimonials,
.about {
    padding: 64px 120px;
    background: var(--color-white);
}

.about h2,
.how-it-works h2,
.testimonials h2,
.fit h2,
.download h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-near-black);
}

.about h2 {
    margin-bottom: 16px;
    text-align: center;
}

.about-intro,
.section-subtitle {
    font-size: 24px;
    color: var(--color-darker-gray);
    text-align: center;
    font-weight: 400;
    margin-bottom: 48px;
    margin-left: auto;
    margin-right: auto;
}

.about-intro {
    white-space: pre-line; /* preserve '\n' from i18n strings */
}

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

.feature-card,
.step-card {
    border: none;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    background: var(--color-light-gray);
}

.feature-card {
    padding: 40px 24px;
}

.feature-card:hover,
.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12);
    border-color: var(--color-brand-red);
}

.feature-icon {
    margin-bottom: 24px;
}

.feature-icon img {
    width: 48px;
    height: 48px;
    display: block;
    margin: 0 auto;
}

.feature-card h3,
.step-card h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--color-near-black);
}

.feature-card p,
.step-card p {
    color: var(--color-darker-gray);
    font-size: 20px;
    font-weight: 400;
}

/* How It Works Section */
.how-it-works {
    padding: 0 120px 64px;
    background: var(--color-white);
}

.how-it-works h2 {
    margin-bottom: 48px;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.steps-grid .step-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

@media (max-width: 1200px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

.step-card {
    padding: 32px 16px;
    position: relative;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-brand-red);
    color: white;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 24px;
}

/* Testimonials Section */
.testimonials h2 {
    text-align: center;
    margin-bottom: 28px;
}

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

.testimonial-card {
    background: white;
    padding: 32px 40px;
    border-radius: 12px;
    border: 1px solid var(--color-border-gray);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    align-items: center;
}

.stars img {
    width: 24px;
    height: 24px;
    display: block;
}

.testimonial-text {
    color: var(--color-medium-gray);
    margin-bottom: 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: auto; /* keep author block aligned at bottom of card */
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #4F4F4F;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
}

.author-name {
    font-weight: 600;
    color: var(--color-dark-gray);
    font-size: 20px;
}

.author-title {
    font-size: 16px;
    color: var(--color-medium-gray);
    font-weight: 400;
}

/* Fit Section */
.fit {
    padding: 64px 120px;
    background: var(--color-white);
}

.fit .container {
    max-width: 100%;
}

.fit-title {
    text-align: center;
    margin-bottom: 32px;
}

.fit-layout {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    width: 100%;
}

.fit-text {
    flex: 1 1 560px;
}

.fit-lead {
    font-size: 24px;
    margin-bottom: 32px;
    color: var(--color-near-black);
}

.fit-label {
    font-weight: 600;
    font-size: 28px;
    margin-bottom: 24px;
    color: var(--color-near-black);
}

.fit-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fit-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--color-near-black);
    font-size: 24px;
}

.fit-bullets li::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-brand-red);
    margin-top: 10px;
    flex: 0 0 10px;
}

.fit-visual {
    flex: 0 0 484px;
    max-width: 484px;
}

.fit-visual-img {
    display: block;
    width: 100%;
    height: auto;
}

/* Download Section */
.download {
    padding: 64px 120px;
    background: var(--color-near-black);
    background-image: none;
    color: var(--color-white);
}

.download .container {
    max-width: 100%;
}

.download-content {
    text-align: left;
}

.download h2 {
    margin-bottom: 16px;
    color: var(--color-white);
}

.download p {
    font-size: 24px;
    margin-bottom: 56px;
    margin-left: 0;
    margin-right: 0;
    font-weight: 500;
    color: #FFFFFF;
}

.download-layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
    width: 100%;
}

.download-text {
    flex: 1 1 560px;
    text-align: left;
}

.download p.download-lead {
    font-size: 18px;
    margin-bottom: 24px;
}

.download p.download-home-label {
    font-weight: 700;
    margin-bottom: 14px;
}

.download-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.download-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--color-dark-gray);
    font-size: 18px;
    line-height: 1.6;
}

.download-bullets li::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-brand-red);
    margin-top: 10px; /* aligns dot with the first line */
    flex: 0 0 10px;
}

.download-phones img {
    display: block;
    width: 100%;
    height: auto;
}

.download-phones {
    flex: 1 1 420px;
}

/* CTA (final block) */
.cta-layout {
    display: flex;
    align-items: center;
    gap: 48px;
    width: 100%;
}

.cta-visual {
    flex: 0 0 484px;
    max-width: 484px;
    min-width: 0;
}

.cta-visual-img {
    display: block;
    width: 100%;
    height: auto;
}

.cta-content {
    flex: 1 1 520px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta-title {
    margin-bottom: 16px;
    text-align: center;
}

.cta-text {
    width: 100%;
    margin: 0 0 24px;
    line-height: 1.7;
}

.cta-btn {
    display: inline-block;
    padding: 14px 28px;
}

.cta-divider {
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: center;
    width: 100%;
    margin: 20px 0 18px;
}

.cta-divider-line {
    display: block;
    height: 1px;
    flex: 0 0 260px;
    background: #EDF1F3;
}

.cta-divider-label {
    color: #6C7278;
    font-size: 20px;
    font-weight: 400;
    font-style: normal;
    text-transform: none;
}

.cta-email {
    width: 100%;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    text-align: center;
}

.cta-email > span,
.cta-email > a {
    display: block;
}

.cta-email-link {
    color: var(--color-brand-red);
    text-decoration: none;
    font-weight: 700;
}

.cta-email-link:hover {
    text-decoration: underline;
}

.download-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.download-badge-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: transparent;
    text-decoration: none;
    min-width: 0; /* allow shrinking inside flex on small screens */
}

.download-badge-img {
    display: block;
    width: 160px;
    max-width: 220px;
    height: 46px;
}

.download-screens {
    display: block;
    margin: 0 auto;
    max-width: 568px;
}

.download-screens-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.download .btn-primary {
    background: white;
    color: var(--color-dark-gray);
    border-color: white;
}

.download .btn-primary:hover {
    background: var(--color-light-gray-alt);
}

.download .cta-btn {
    background: var(--color-brand-red);
    border-color: var(--color-brand-red);
    color: var(--color-white);
}

.download .cta-btn:hover {
    background: var(--color-brand-red);
    border-color: var(--color-brand-red);
}

.download .btn-secondary {
    border-color: white;
    color: white;
}

.download .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.platform-links {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.platform-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: white;
    transition: opacity 0.3s ease;
}

.platform-link:hover {
    opacity: 0.7;
}

.platform-link .icon {
    font-size: 32px;
}

/* Footer */
.footer {
    color: white;
    padding: 64px 120px;
    background: var(--color-charcoal);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 1;
}

.footer-section a:hover {
    color: var(--color-brand-red);
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-white);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links img {
    width: 20px;
    height: 20px;
    display: block;
}

.social-links a:hover {
    border-color: var(--color-brand-red);
    background: var(--color-brand-red);
}

.footer-bottom {
    border-top: 1px solid var(--color-white);
    padding: 32px 0;
    text-align: center;
    color: var(--color-white);
}

.footer-bottom p {
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
}

/* Blog Page Styles */
.blog-hero {
    padding: 100px 0 60px;
    margin-top: 60px;
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-off-white) 100%);
    text-align: center;
}

.blog-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.blog-hero p {
    font-size: 18px;
    color: var(--color-muted-gray);
    margin-bottom: 32px;
}

.search-box {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    border: 2px solid var(--color-border-gray);
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.search-box input {
    flex: 1;
    border: none;
    padding: 12px 16px;
    font-size: 16px;
    outline: none;
}

.search-box button {
    border: none;
    background: var(--color-brand-red);
    color: white;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 16px;
}

/* Blog Filters */
.blog-filters {
    padding: 40px 0;
    border-bottom: 1px solid var(--color-border-gray);
}

.filter-tags {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-tag {
    padding: 10px 19px;
    border: 2px solid var(--color-border-gray);
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--color-dark-gray);
}

.filter-tag:hover,
.filter-tag.active {
    border-color: var(--color-brand-red);
    background: var(--color-brand-red);
    color: white;
}

/* Blog Grid */
.blog-grid-section {
    padding: 60px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.blog-card {
    border: 1px solid var(--color-border-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    text-decoration: none;
    color: var(--color-dark-gray);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
    border-color: var(--color-brand-red);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background: var(--color-light-gray-alt);
    overflow: hidden;
    object-fit: cover;
}

.blog-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-category {
    display: inline-block;
    width: fit-content;
    background: var(--color-light-blue);
    color: var(--color-brand-red);
    padding: 5px 13px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.blog-card-title {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-excerpt {
    color: var(--color-muted-gray);
    font-size: 15px;
    margin-bottom: 16px;
    flex: 1;
    line-height: 1.6;
}

.blog-card-meta {
    font-size: 14px;
    color: var(--color-muted-gray);
    display: flex;
    gap: 8px;
}

.no-results {
    text-align: center;
    padding: 64px 0;
    color: var(--color-muted-gray);
    font-size: 18px;
}

/* Article Detail Page */
.article-container {
    padding: 80px 0 60px;
    margin-top: 60px;
}

.article-header {
    margin-bottom: 48px;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    color: var(--color-muted-gray);
    font-size: 15px;
}

.breadcrumb a {
    color: var(--color-brand-red);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.article-header h1 {
    font-size: 45px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    gap: 16px;
    color: var(--color-muted-gray);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.author {
    font-weight: 600;
    color: var(--color-dark-gray);
}

.article-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.article-tags span {
    display: inline-block;
    background: var(--color-light-blue);
    color: var(--color-brand-red);
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
}

.article-featured-image {
    margin-bottom: 48px;
}

.article-featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

.article-content {
    max-width: 800px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-dark-gray);
    margin-bottom: 48px;
}

.article-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 32px 0 16px;
}

.article-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 24px 0 12px;
}

.article-content p {
    margin-bottom: 24px;
    color: var(--color-muted-gray);
}

.article-content ul,
.article-content ol {
    margin-left: 32px;
    margin-bottom: 24px;
}

.article-content li {
    margin-bottom: 12px;
    color: var(--color-muted-gray);
}

.article-content blockquote {
    border-left: 4px solid var(--color-brand-red);
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: var(--color-muted-gray);
}

.article-content code {
    background: var(--color-light-gray-alt);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.article-content pre {
    background: var(--color-light-gray-alt);
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 24px;
}

.related-articles {
    padding: 48px 0;
    border-top: 1px solid var(--color-border-gray);
    border-bottom: 1px solid var(--color-border-gray);
}

.related-articles h3 {
    font-size: 24px;
    margin-bottom: 32px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

/* Legal Pages (Terms, Privacy Policy) */
.legal-page {
    padding: 120px 0 80px;
    margin-top: 60px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 48px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.legal-content h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--color-dark-gray);
}

.legal-content .last-updated {
    color: var(--color-muted-gray);
    font-size: 14px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border-gray);
}

.legal-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--color-dark-gray);
}

.legal-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--color-dark-gray);
}

.legal-content p {
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--color-dark-gray);
}

.legal-content ul,
.legal-content ol {
    margin: 16px 0;
    padding-left: 32px;
    line-height: 1.8;
}

.legal-content li {
    margin-bottom: 8px;
    color: var(--color-dark-gray);
}

.legal-content a {
    color: var(--color-brand-red);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: var(--color-brand-red);
}

.legal-content strong {
    font-weight: 600;
    color: var(--color-dark-gray);
}

.article-navigation {
    padding: 32px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }

    .nav-wrapper {
        padding: 18px 0;
    }

    .logo a {
        font-size: 18px;
        gap: 8px;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    .hamburger {
        display: flex;
        position: static;
        transform: none;
        right: auto;
        top: auto;
        gap: 5px;
        padding: 4px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
        background: var(--color-white);
        gap: 8px;
        padding: 12px;
        border: 1px solid var(--color-border-gray);
        border-radius: 20px;
        min-width: min(320px, calc(100vw - 64px));
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
        backdrop-filter: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .language-switcher {
        display: none;
    }

    .mobile-language-switcher {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 16px 0 4px;
        margin-top: 4px;
        border-top: 1px solid var(--color-border-gray);
    }

    .mobile-language-buttons {
        justify-content: center;
    }

    .mobile-language-buttons .lang-btn {
        flex: 1;
        padding: 12px 16px;
        font-size: 16px;
    }

    .hamburger img {
        width: 32px;
        height: 32px;
    }

    .nav-link {
        padding: 14px 16px;
        width: 100%;
        border-bottom: none;
        border-radius: 12px;
        text-align: center;
    }

    .nav-link:hover {
        background: var(--color-light-gray-alt);
    }

    .nav-link::after {
        display: none;
    }

    .download-btn {
        margin: 8px 0 0;
        border-radius: 8px;
        text-align: center;
    }

    .hero {
        padding: 104px 0 32px;
    }

    .hero-label {
        font-size: 16px;
    }

    .hero h1 {
        font-size: 44px;
        line-height: 1.2;
        margin-bottom: 32px;
    }

    .hero-subtitle {
        font-size: 24px;
        margin-bottom: 32px;
    }

    .hero-buttons {
        flex-wrap: nowrap;
        gap: 16px;
    }

    .hero .btn {
        padding: 14px 24px;
        font-size: 18px;
    }

    .hero-img {
        display: block;
        width: min(100%, 560px);
        margin: 28px auto 0;
        height: auto;
    }

    .about h2,
    .testimonials h2,
    .download h2,
    .fit h2,
    .how-it-works h2 {
        font-size: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .download-buttons .btn,
    .download-buttons .download-badge-btn {
        width: auto;
    }

    .download p {
        font-size: 18px;
        margin-bottom: 22px;
    }

    .fit {
        padding: 32px 0 48px;
    }

    .fit-layout {
        flex-direction: column;
        gap: 24px;
    }

    .fit-visual {
        max-width: 420px;
        margin: 0 auto;
    }

    .fit-visual-img {
        margin: 0 auto;
    }

    .download-layout {
        flex-direction: column;
        gap: 24px;
    }

    .download-phones {
        order: 2;
    }

    .cta-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .cta-visual-img {
        width: auto;
        height: auto;
        max-width: 100%;
    }

    .cta-visual {
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }

    .platform-links {
        gap: 24px;
    }

    .blog-hero h1 {
        font-size: 32px;
    }

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

    .article-header h1 {
        font-size: 29px;
    }

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

    .search-box {
        max-width: 100%;
    }

    .filter-tags {
        gap: 8px;
    }

    .filter-tag {
        padding: 8px 16px;
        font-size: 14px;
    }

    /* About block (tablet middle) */
    .about,
    .download,
    .testimonials,
    .how-it-works,
    .footer {
        padding: 32px 0 48px;
    }

    .footer-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between; /* "space between" across 5 blocks */
        gap: 0;
    }

    .footer-section {
        flex: 1 1 180px;
    }

    .footer-section h4 {
        font-weight: 700;
        font-style: normal;
        font-size: 24px;
        margin-bottom: 16px; /* title -> items */
    }

    .footer-section ul li {
        font-weight: 400;
        font-style: normal;
        font-size: 20px;
        margin-bottom: 12px; /* between items */
    }

    .footer-section p {
        font-weight: 400;
        font-style: normal;
        font-size: 20px;
    }

    .about h2,
    .testimonials h2,
    .download h2,
    .how-it-works h2 {
        margin-bottom: 20px;
    }

    .about-intro,
    .section-subtitle {
        margin-bottom: 28px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-icon img {
        width: 36px;
        height: 36px;
    }

    .feature-card h3,
    .step-card h3 {
        font-size: 22px;
        margin-bottom: 14px;
    }

    .feature-card p,
    .step-card p {
        font-size: 16px;
    }

    .testimonial-text {
        line-height: 1.7;
    }

    .stars {
        margin-bottom: 24px;
    }

    .testimonial-author {
        margin-top: auto;
    }

    .testimonial-card {
        padding: 20px;
    }

    .stars img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    html,
    body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 16px;
    }

    .nav-menu {
        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
    }

    .hero {
        min-height: auto;
        display: block;
        padding: 104px 0 24px;
    }

    .about,
    .download,
    .testimonials,
    .fit,
    .how-it-works,
    .footer {
        padding: 28px 16px;
    }

    .download-buttons {
        flex-wrap: nowrap;
    }

    .download-buttons .download-badge-btn {
        width: auto;
        flex: 1 1 0;
        min-width: 0;
    }

    .download-badge-img {
        width: 100%;
        max-width: 160px;
    }

    .download-screens {
        margin-top: 16px;
        max-width: 420px;
    }

    .download-screens-img {
        max-width: 360px;
        margin: 0 auto;
    }

    .about h2,
    .testimonials h2,
    .download h2,
    .fit h2,
    .how-it-works h2 {
        margin-bottom: 16px;
        font-size: 24px;
    }

    .fit-title {
        margin-bottom: 16px;
    }

    .download p {
        font-size: 16px;
        margin-bottom: 22px;
    }

    .fit-bullets li {
        font-size: 16px;
        font-weight: 400;
    }

    .fit-text {
        flex: none;
        width: 100%;
        max-width: none;
    }

    .fit-visual {
        display: none;
    }

    .fit-lead {
        font-size: 14px;
        font-weight: 500;
    }

    .fit-label {
        display: none;
    }

    .fit-bullets {
        gap: 16px;
    }

    .fit-bullets li::before {
        width: 8px;
        height: 8px;
        flex: 0 0 8px;
        margin-top: 9px;
    }

    .download-layout {
        flex-direction: column;
        gap: 24px;
    }

    .download-bullets li {
        font-size: 16px;
    }

    .download-phones img {
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }

    .download-phones {
        display: none;
    }

    .cta-visual {
        display: block;
        order: 1;
        flex: none;
        width: 100%;
        max-width: none;
        margin: 0 auto;
    }

    .cta-content {
        order: 2;
        flex: none;
        width: 100%;
        max-width: none;
    }

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

    .cta-divider-line {
        flex: 0 0 140px;
    }

    .cta-email {
        font-size: 16px;
        font-weight: 400;
    }

    .about-intro,
    .section-subtitle {
        margin-bottom: 28px;
        font-size: 16px;
        font-weight: 400;
        font-style: normal;
    }

    .features-grid {
        gap: 12px;
    }

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

    .feature-card {
        padding: 12px 8px;
    }

    .feature-icon {
        margin-bottom: 8px;
    }

    .feature-icon img {
        width: 24px;
        height: 24px;
    }

    .feature-card h3,
    .step-card h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .feature-card p,
    .step-card p,
    .author-title {
        font-size: 14px;
    }

    .testimonial-text {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 16px;
    }

    .stars {
        margin-bottom: 16px;
    }

    .stars img {
        width: 20px;
        height: 20px;
    }

    .testimonial-author {
        margin-top: 0;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .author-name {
        font-size: 16px;
    }

    .nav-wrapper {
        padding: 16px 0;
    }

    .logo a {
        font-size: 16px;
        font-weight: 600;
    }

    .logo-icon {
        width: 24px;
        height: 24px;
    }

    .hero h1 {
        font-size: 24px;
        margin-bottom: 24px;
        font-weight: 900;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .hero-label {
        font-size: 16px;
        font-weight: 600;
        margin-top: 0;
        margin-bottom: 24px;
    }

    .hero-buttons {
        gap: 16px;
        flex-wrap: nowrap;
    }

    .hero .btn {
        width: calc((100% - 16px) / 2);
        min-width: 0;
        height: 48px;
        padding: 12px 8px;
        border-radius: 12px;
        font-size: 13px;
        line-height: 1.2;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        white-space: nowrap;
    }

    .hero-img {
        width: min(100%, 340px);
        margin-top: 24px;
    }

    .blog-hero h1,
    .article-header h1,
    .legal-content h2 {
        font-size: 24px;
    }

    .legal-page {
        padding: 100px 0 60px;
    }

    .legal-content {
        padding: 32px 24px;
    }

    .legal-content h1 {
        font-size: 32px;
    }

    .legal-content h3 {
        font-size: 18px;
    }

    .feature-card,
    .testimonial-card,
    .blog-card {
        padding: 24px;
    }

    .testimonial-card {
        padding: 16px;
    }

    .download .btn-large {
        padding: 11px 24px;
        font-size: 15px;
    }

    .footer-bottom p {
        font-weight: 400;
        font-style: normal; /* Regular */
        font-size: 14px;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .footer-section {
        flex: 0 0 auto;
    }

    .article-content {
        font-size: 16px;
    }

}
