/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    background: #b8d4ff;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background: linear-gradient(to bottom, #ffffff 0%, #dbeafe 50%, #b8d4ff 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 1000;
    padding: 0;
    margin: 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1.5rem;
    max-height: 100px;
    direction: ltr;
    background: transparent;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 0 0 auto;
    min-width: 120px;
}

.nav-store-badges {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    min-width: 120px;
    justify-content: flex-end;
}

.nav-store-badge img {
    height: 44px;
    width: auto;
    display: block;
    transition: opacity 0.2s;
}

.nav-store-badge:hover img {
    opacity: 0.8;
}

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

.logo-icon img {
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    transform: scale(0.35);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-900);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--gray-600);
}

.btn-nav {
    background: var(--black);
    color: var(--white);
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    font-weight: 600;
}

.btn-nav:hover {
    background: var(--gray-800);
}

/* Language dots menu */
.lang-menu {
    position: relative;
    padding-left: 1rem;
    border-left: 1px solid var(--gray-200);
}

.lang-menu-trigger {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    padding: 0.4rem 0.875rem;
    background: #f0f6ff;
    border: 1.5px solid #c7deff;
    border-radius: 9999px;
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-900);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.lang-menu-trigger:hover {
    background: #dbeafe;
    border-color: #93c5fd;
}

.lang-menu-chevron {
    transition: transform 0.2s;
}

.lang-menu-trigger[aria-expanded="true"] .lang-menu-chevron {
    transform: rotate(180deg);
}

.lang-menu-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 0.625rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    min-width: 140px;
    z-index: 200;
    overflow: hidden;
}

.lang-menu-dropdown.open {
    display: block;
}

.lang-menu-item {
    display: block;
    width: 100%;
    padding: 0.6rem 1rem;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: background 0.15s;
}

.lang-menu-item:hover {
    background: #f0f6ff;
}

.lang-menu-item.active {
    color: var(--gray-900);
    font-weight: 600;
    background: #e8f1ff;
}

/* Hero Section */
.hero {
    padding: 5rem 0 3rem;
    width: 100%;
    overflow: visible;
    background: #ffffff;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    overflow: visible;
    align-items: center;
}

.hero-content {
    text-align: left;
    padding: 2rem 0;
}

.hero-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.hero-mockup img,
.hero-mockup .app-preview-image {
    width: 140%;
    max-width: 140%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    display: block;
    margin-top: 40px;
}

.users-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgba(198, 198, 198, 0.56);
    border-radius: 9999px;
    padding: 0.5rem 1.5rem 0.5rem 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    width: fit-content;
    color: var(--gray-700);
    background: #fff;
    white-space: nowrap;
}
.users-badge-avatars {
    display: flex;
}
.users-badge-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
    margin-left: -8px;
}
.users-badge-avatars .users-badge-avatar:first-child {
    margin-left: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--black);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.hero-title-sub {
    color: var(--black);
    font-family: 'Inter', sans-serif;
    font-size: 0.65em;
    font-weight: 500;
}

.hero-description {
    font-size: clamp(1rem, 1.75vw, 1.375rem);
    color: var(--gray-600);
    max-width: 48rem;
    margin: 0 0 3rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-store-badges {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-store-badge {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-store-badge img {
    height: 64px;
    width: auto;
    display: block;
    transition: opacity 0.2s, transform 0.2s;
}

.hero-store-badge:hover img {
    opacity: 0.85;
    transform: translateY(-1px);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--black);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--gray-800);
    transform: translateY(-2px);
}

.icon {
    flex-shrink: 0;
}

/* Mobile Showcase */
.mobile-showcase {
    padding: 5rem 1.5rem;
    background: transparent;
}

.mobile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mobile-mockup {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone {
    position: relative;
    width: 320px;
    background: var(--gray-900);
    border-radius: 3rem;
    padding: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.phone-notch {
    background: var(--gray-900);
    height: 2rem;
    width: 10rem;
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
    margin: 0 auto;
}

.phone-content {
    background: linear-gradient(to bottom, var(--gray-50), var(--white));
    border-radius: 2.5rem;
    padding: 1.5rem;
    min-height: 32rem;
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.phone-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.phone-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
}

.phone-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--black);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.phone-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.stat-card-small {
    background: var(--white);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-100);
}

.stat-label-small {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.stat-value-small {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.phone-preview {
    background: var(--white);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-100);
}

.phone-preview img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.app-preview-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Mobile Text */
.section-badge {
    display: inline-block;
    background: var(--gray-100);
    color: var(--gray-900);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.section-title-sub {
    color: var(--gray-400);
}

.section-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--black);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.feature-desc {
    color: var(--gray-600);
}

/* How It Works */
.how-it-works {
    padding: 5rem 1.5rem;
    background: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title-center {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
}

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

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

.step-icon {
    width: 4rem;
    height: 4rem;
    background: var(--black);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin: 0 auto 1.5rem;
}

.step-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
}

.step-title {
    font-size: clamp(1.3rem, 2.2vw, 1.75rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.step-description {
    font-size: clamp(1rem, 1.75vw, 1.375rem);
    color: var(--gray-600);
    line-height: 1.7;
}

/* Features Section */
.features {
    padding: 5rem 1.5rem;
    background: var(--gray-50);
}

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

.feature-card {
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: scale(1.02);
}

.feature-card-icon {
    width: 3rem;
    height: 3rem;
    background: var(--black);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 1rem;
}

.feature-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.feature-card-desc {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Value Section */
.value-section {
    padding: 5rem 1.5rem;
    background: transparent;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.value-card {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-100);
}

.value-avatars {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.value-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
    margin-left: -10px;
}

.value-avatars .value-avatar:first-child {
    margin-left: 0;
}

.value-number {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.value-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.value-desc {
    color: var(--gray-600);
}

.value-highlight {
    background: linear-gradient(to bottom right, var(--black), var(--gray-800));
    border-radius: 1.5rem;
    padding: 3rem;
    text-align: center;
    color: var(--white);
}

.value-icon {
    margin: 0 auto 1.5rem;
    color: var(--white);
}

.value-highlight-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.value-highlight-desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 48rem;
    margin: 0 auto;
}

/* Download Section */
.download-section-main {
    padding: 5rem 1.5rem;
    background: transparent;
    text-align: center;
}

.download-buttons-center {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.btn-primary-full {
    display: block;
    text-align: center;
    padding: 1rem 2rem;
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary-full:hover {
    background: var(--gray-800);
}

.store-badge {
    display: inline-block;
    transition: all 0.3s;
}

.store-badge:hover {
    transform: translateY(-4px);
    filter: brightness(1.1);
}

.store-badge-img {
    width: 180px;
    object-fit: contain;
    display: block;
}

/* Contact Section */
.contact-section {
    padding: 5rem 1.5rem;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-text {
    max-width: 500px;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-700);
    font-weight: 500;
}

.contact-feature svg {
    color: var(--black);
}

.contact-form-wrapper {
    background: var(--gray-50);
    padding: 3rem;
    border-radius: 1.5rem;
    border: 1px solid var(--gray-200);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.875rem;
}

.optional {
    font-weight: 400;
    color: var(--gray-400);
}

.form-input {
    padding: 0.875rem 1rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 0.75rem;
    font-size: 1rem;
    color: var(--gray-900);
    transition: all 0.2s;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--black);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-input::placeholder {
    color: var(--gray-400);
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

.form-status {
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-status.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.form-privacy {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 0.5rem;
}

.form-privacy a {
    color: var(--black);
    text-decoration: underline;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation scroll effect */
.nav.scrolled {
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 4rem 1.5rem 2rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: auto;
    height: auto;
    max-width: 100%;
    border-radius: 0.5rem;
    transform: scale(0.5);
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Seamless Experience Section */
.seamless-experience {
    padding: 5rem 1.5rem;
    background: transparent;
}

.seamless-content {
    max-width: 1400px;
    margin: 0 auto;
}

.seamless-desktop {
    display: none;
}

.seamless-mobile {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.seamless-feature-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.seamless-icon {
    width: 3rem;
    height: 3rem;
    background: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.seamless-icon img {
    width: 1.5rem;
    height: 1.5rem;
}

.seamless-feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
}

.seamless-feature-desc,
.seamless-feature-desc-mobile {
    color: var(--gray-700);
    line-height: 1.7;
    font-size: 1rem;
    text-align: center;
}

.seamless-image-mobile {
    width: 100%;
    height: 300px;
    border-radius: 1.5rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.seamless-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 3rem;
}

.seamless-dot {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--gray-400);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.seamless-dot.active {
    width: 2rem;
    height: 2rem;
    background: var(--black);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.seamless-dot:hover {
    background: var(--gray-500);
}

/* Desktop Layout */
@media (min-width: 1024px) {
    .seamless-mobile {
        display: none;
    }

    .seamless-desktop {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
        align-items: center;
        min-height: 600px;
        position: relative;
    }

    .seamless-image-side {
        position: relative;
        width: 100%;
        height: 600px;
        border-radius: 2rem;
        background-size: cover;
        background-position: left center;
        background-repeat: no-repeat;
    }

    .seamless-text-side {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding-left: 2rem;
    }

    .seamless-feature {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .seamless-icon {
        width: 3.75rem;
        height: 3.75rem;
    }

    .seamless-icon img {
        width: 2.25rem;
        height: 2.25rem;
    }

    .seamless-feature-title {
        font-size: 1.5rem;
    }

    .seamless-feature-desc {
        font-size: 1.125rem;
        text-align: left;
        max-width: 32rem;
    }
}

/* Key Features Section */
.key-features-section {
    padding: 6rem 1.5rem;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.key-features-wrapper {
    position: relative;
    z-index: 1;
}

.key-features-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/BackGroundKeyLine2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.05;
    z-index: 0;
}

.key-features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.key-features-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.key-features-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.7;
}

.key-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.key-feature-card {
    background: linear-gradient(to bottom, var(--white), var(--gray-50));
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.key-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.key-feature-content {
    flex: 1;
}

.key-feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.key-feature-desc {
    color: var(--gray-800);
    line-height: 1.7;
    font-size: 1rem;
}

.key-feature-image {
    width: 100%;
    border-radius: 1rem;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.key-feature-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 1rem;
}

.key-feature-card:hover .key-feature-image img {
    transform: scale(1.05);
}

/* Key Feature Carousel */
.kf-carousel {
    position: relative;
    width: 100%;
}
.kf-carousel-track {
    position: relative;
    width: 100%;
}
.kf-carousel-slide {
    width: 100%;
    height: auto;
    display: none;
    border-radius: 1rem;
    transition: opacity 0.5s ease;
}
.kf-carousel-slide.active {
    display: block;
}
.kf-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 0.6rem 0 0.2rem;
}
.kf-carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gray-300, #d1d5db);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}
.kf-carousel-dot.active {
    background: var(--gray-700);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .key-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 968px) {
    .users-badge {
        margin-top: 2rem;
    }

    /* Nav — hide text links, keep lang menu + store badges */
    .nav-links a:not(.btn-nav) {
        display: none;
    }

    .nav-store-badge img {
        height: 32px;
    }

    /* Hero — stack vertically */
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-mockup {
        order: 1;
    }

    .hero-content {
        text-align: left;
        padding: 0 1rem;
    }

    .hero-cta {
        justify-content: flex-start;
    }

    body.rtl .hero-content {
        text-align: right;
        align-items: flex-end;
        padding: 0;
    }

    .hero-mockup img,
    .hero-mockup .app-preview-image {
        max-width: 340px;
    }

    .mobile-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .phone {
        width: 280px;
    }

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

    .contact-form-wrapper {
        padding: 2rem;
    }

    .key-features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 5rem 1rem 2rem;
    }

    .hero-title {
        font-size: clamp(3rem, 11vw, 4rem);
    }

    .hero-description {
        font-size: 1.3rem;
    }

    /* Nav — minimal: logo + lang menu only, hide store badges */
    .nav-store-badges {
        display: none;
    }

    .nav-container {
        padding: 0.5rem 1rem;
    }

    .phone {
        width: 100%;
        max-width: 300px;
    }

    .download-buttons,
    .download-buttons-center {
        flex-direction: column;
        align-items: center;
    }

    .store-btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-store-badges {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .hero-store-badge img {
        height: 44px;
    }

    .key-features-section {
        padding: 4rem 1.5rem;
    }

    .key-feature-card {
        padding: 2rem 1.5rem;
    }
}

/* RTL support — nav is always LTR (logo left, badges right) */
body.rtl {
    direction: rtl;
}
body.rtl .hero-content {
    text-align: right;
}
body.rtl .hero-title-sub {
    font-size: 0.65em;
}

body.rtl .hero-mockup .app-preview-image {
    width: 140%;
    max-width: 140%;
    margin-top: 40px;
    margin-right: -20%;
    margin-left: -55%;
    margin-bottom: -70px;
}

body.rtl .hero-description {
    font-size: clamp(0.85rem, 1.4vw, 1.1rem);
}
body.rtl .nav,
body.rtl .nav-container,
body.rtl .nav-logo,
body.rtl .nav-links,
body.rtl .nav-store-badges {
    direction: ltr;
}
body.rtl .legal-content ul,
body.rtl .subscription-container .info-list {
    padding-right: 1.5rem;
    padding-left: 0;
}
body.rtl .legal-content li,
body.rtl .subscription-container .info-list li {
    text-align: right;
}
body.rtl .footer-content {
    flex-direction: row-reverse;
}
body.rtl .footer-section {
    text-align: right;
}

/* Language switcher (legal and subscription pages) */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 1rem;
}
.lang-btn {
    padding: 0.35rem 0.6rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    background: transparent;
    border: 1px solid var(--gray-200);
    border-radius: 0.375rem;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.lang-btn:hover {
    color: var(--gray-900);
    background: var(--gray-50);
    border-color: var(--gray-300);
}
.lang-btn.active {
    color: var(--white);
    background: var(--gray-900);
    border-color: var(--gray-900);
}
body.rtl .lang-switcher {
    margin-left: 0;
    margin-right: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   THEME SYSTEM — light | dark | glass
   ═══════════════════════════════════════════════════════════ */

/* ── Dark theme ─────────────────────────────────────────── */
:root[data-theme="dark"] {
    --black: #6366f1;
    --white: #0f172a;
    --gray-50: #1e293b;
    --gray-100: #1e293b;
    --gray-200: #334155;
    --gray-300: #475569;
    --gray-400: #94a3b8;
    --gray-600: #cbd5e1;
    --gray-700: #e2e8f0;
    --gray-800: #f1f5f9;
    --gray-900: #f8fafc;
}
[data-theme="dark"] body { background: #0f172a; color: #f8fafc; }
[data-theme="dark"] .nav { background: rgb(15, 23, 42) !important; border-bottom-color: rgba(255,255,255,0.08) !important; }
[data-theme="dark"] .nav.scrolled { background: rgba(15, 23, 42, 0.55) !important; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
[data-theme="dark"] .nav-links a { color: #e2e8f0; }
[data-theme="dark"] .btn-primary,
[data-theme="dark"] .hero-badge { background: #6366f1; color: #fff; }
[data-theme="dark"] .users-badge { background: rgba(30,41,59,0.8); border-color: rgba(255,255,255,0.12); color: #e2e8f0; }
[data-theme="dark"] .btn-primary:hover { background: #4f46e5; }
[data-theme="dark"] .mobile-showcase { background: #1e293b; }
[data-theme="dark"] .step-card,
[data-theme="dark"] .value-card,
[data-theme="dark"] .key-feature-card { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .key-features-background { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .footer { background: #020617; border-top-color: #1e293b; }
[data-theme="dark"] .footer-link { color: #94a3b8; }
[data-theme="dark"] .footer-link:hover { color: #f8fafc; }
[data-theme="dark"] .lang-btn { color: #94a3b8; border-color: #334155; }
[data-theme="dark"] .lang-btn:hover { background: #1e293b; }
[data-theme="dark"] .lang-btn.active { background: #6366f1; border-color: #6366f1; color: #fff; }

/* ── Glass theme ────────────────────────────────────────── */
:root[data-theme="glass"] {
    --black: #6366f1;
    --white: transparent;
    --gray-50: rgba(255,255,255,0.04);
    --gray-100: rgba(255,255,255,0.06);
    --gray-200: rgba(255,255,255,0.12);
    --gray-300: rgba(255,255,255,0.18);
    --gray-400: #94a3b8;
    --gray-600: #cbd5e1;
    --gray-700: #e2e8f0;
    --gray-800: #f1f5f9;
    --gray-900: #f8fafc;
}
[data-theme="glass"] body {
    background: #0a0f1e;
    color: #f8fafc;
    position: relative;
    overflow-x: hidden;
}
[data-theme="glass"] body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 15%, rgba(99,102,241,0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 80%, rgba(168,85,247,0.13) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 50%, rgba(14,165,233,0.07) 0%, transparent 65%);
    pointer-events: none;
    z-index: -1;
}
[data-theme="glass"] .nav {
    background: rgba(10, 15, 30, 0.75) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
[data-theme="glass"] .nav-links a { color: #e2e8f0; }
[data-theme="glass"] .hero-badge,
[data-theme="glass"] .btn-primary { background: linear-gradient(135deg, #6366f1, #a855f7); color: #fff; border: none; }
[data-theme="glass"] .btn-primary:hover { background: linear-gradient(135deg, #4f46e5, #9333ea); transform: translateY(-2px); }
[data-theme="glass"] .mobile-showcase { background: rgba(255,255,255,0.02); }
[data-theme="glass"] .step-card,
[data-theme="glass"] .value-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
[data-theme="glass"] .key-features-background {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
}
[data-theme="glass"] .key-feature-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}
[data-theme="glass"] .footer { background: rgba(5, 8, 18, 0.95); border-top: 1px solid rgba(255,255,255,0.08); }
[data-theme="glass"] .footer-link { color: #94a3b8; }
[data-theme="glass"] .footer-link:hover { color: #f8fafc; }
[data-theme="glass"] .lang-btn { color: #94a3b8; border-color: rgba(255,255,255,0.15); }
[data-theme="glass"] .lang-btn:hover { background: rgba(255,255,255,0.08); }
[data-theme="glass"] .lang-btn.active { background: linear-gradient(135deg,#6366f1,#a855f7); border-color: transparent; color: #fff; }
[data-theme="glass"] .section-badge { background: rgba(99,102,241,0.2); color: #a5b4fc; border: 1px solid rgba(99,102,241,0.3); }
[data-theme="glass"] .hero-title { color: #f8fafc; }
[data-theme="glass"] .hero-title-sub { background: linear-gradient(135deg,#818cf8,#c084fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent; }
[data-theme="glass"] .section-title-sub { color: #a5b4fc; }
[data-theme="glass"] .value-section { background: rgba(255,255,255,0.02); }
[data-theme="glass"] .how-it-works { background: rgba(255,255,255,0.02); }
[data-theme="glass"] .seamless-experience { background: rgba(255,255,255,0.01); }
[data-theme="glass"] .download-section-main { background: rgba(255,255,255,0.02); }


/* ── Skip-to-content link ──────────────────────────────── */
.skip-link {
    position: absolute;
    top: -9999px;
    left: 1rem;
    z-index: 9999;
    background: #6366f1;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
}
.skip-link:focus { top: 1rem; }

/* ═══════════════════════════════════════════════════════════
   COOKIE CONSENT BANNER
   ═══════════════════════════════════════════════════════════ */
#cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    padding: 1rem 1.5rem;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}
[data-theme="glass"] #cookie-consent,
[data-theme="dark"] #cookie-consent {
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #e2e8f0;
}
[data-theme="light"] #cookie-consent,
:root:not([data-theme]) #cookie-consent {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    color: #111827;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
}
.cookie-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 200px; }
.cookie-text strong { display: block; margin-bottom: 0.25rem; font-size: 0.9375rem; }
.cookie-text p { font-size: 0.875rem; opacity: 0.85; line-height: 1.5; margin: 0; }
.cookie-text a { color: #6366f1; text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}
.cookie-essential {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: inherit;
}
[data-theme="light"] .cookie-essential,
:root:not([data-theme]) .cookie-essential {
    border-color: #d1d5db;
    color: #374151;
}
.cookie-essential:hover { background: rgba(255,255,255,0.1); }
[data-theme="light"] .cookie-essential:hover { background: #f3f4f6; }
.cookie-accept { background: linear-gradient(135deg, #6366f1, #a855f7); color: #fff; }
.cookie-accept:hover { opacity: 0.9; transform: translateY(-1px); }

@media (max-width: 640px) {
    .cookie-inner { flex-direction: column; align-items: flex-start; }
    .cookie-actions { width: 100%; }
    .cookie-btn { flex: 1; text-align: center; }
}
