/* =========================================================
   NIRVOR MAIN WEBSITE CSS
   ========================================================= */

:root {
    --primary: #00B5A5;
    --primary-dark: #00998C;
    --primary-deep: #007F75;
    --primary-light: #E9FBF8;
    --primary-soft: #F5FDFC;
    --dark: #0F172A;
    --dark-soft: #1E293B;
    --text: #475569;
    --text-light: #64748B;
    --muted: #94A3B8;
    --white: #FFFFFF;
    --background: #F8FBFB;
    --border: #E5EEEE;
    --border-dark: #D8E5E4;
    --container: 1180px;
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 20px 50px rgba(15, 23, 42, 0.09);
    --shadow-primary: 0 18px 40px rgba(0, 181, 165, 0.20);
}

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

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

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--white);
    color: var(--dark);
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

html[lang="bn"] body {
    font-family: "Noto Sans Bengali", "Poppins", sans-serif;
}

body.menu-open,
body.modal-open {
    overflow: hidden;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
}

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

svg {
    display: block;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

.container {
    width: min(calc(100% - 48px), var(--container));
    margin: 0 auto;
}

.section {
    padding: 90px 0;
}

.primary-text {
    color: var(--primary);
}

/* Header */
.header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.header.scrolled {
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.04);
}

.header-container {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

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

.logo {
    width: 150px;
    height: auto;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-link {
    position: relative;
    padding: 9px;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 1px;
    width: 17px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
    transform: translateX(-50%);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-switch {
    min-height: 38px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--white);
}

.language-option {
    padding: 4px 2px;
    background: transparent;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.language-option.active {
    color: var(--primary);
}

.language-divider {
    width: 1px;
    height: 14px;
    background: var(--border-dark);
}

.header-button {
    min-height: 40px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 10px;
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 181, 165, 0.16);
    transition: background 0.2s ease, transform 0.2s ease;
}

.header-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.menu-button {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-light);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-button span {
    width: 19px;
    height: 2px;
    border-radius: 20px;
    background: var(--dark);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-button.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-button.active span:nth-child(2) {
    opacity: 0;
}

.menu-button.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
}

/* Hero */
.hero {
    position: relative;
    min-height: 690px;
    padding-top: 112px;
    padding-bottom: 58px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 83% 42%, rgba(0, 181, 165, 0.11), transparent 28%),
        linear-gradient(180deg, #FFFFFF 0%, #FBFEFE 100%);
}

.hero-decoration {
    position: absolute;
    right: -180px;
    top: 80px;
    width: 390px;
    height: 390px;
    border-radius: 50%;
    background: rgba(0, 181, 165, 0.04);
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(410px, 0.97fr);
    gap: 55px;
    align-items: center;
}

.eyebrow {
    width: fit-content;
    margin-bottom: 18px;
    padding: 7px 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 100px;
    background: var(--primary-light);
    color: var(--primary-deep);
    font-size: 13px;
    font-weight: 600;
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 181, 165, 0.11);
}

.hero-title {
    max-width: 660px;
    margin-bottom: 19px;
    color: var(--dark);
    font-size: clamp(42px, 4.7vw, 61px);
    line-height: 1.1;
    letter-spacing: -2px;
    font-weight: 800;
}

.hero-title span {
    display: block;
}

.hero-primary {
    color: var(--primary);
}

.hero-description {
    max-width: 610px;
    margin-bottom: 26px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.75;
}

.hero-buttons {
    margin-bottom: 27px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
}

.button {
    min-height: 47px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(0, 181, 165, 0.18);
}

.button-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.button-secondary {
    border: 1px solid var(--border-dark);
    background: var(--white);
    color: var(--dark);
}

.button-secondary:hover {
    border-color: rgba(0, 181, 165, 0.4);
    transform: translateY(-2px);
}

.hero-benefits {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.hero-benefit {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
}

.benefit-check {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
}

/* App preview */
.hero-app {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-app-background {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(0, 181, 165, 0.16), rgba(0, 181, 165, 0.025));
}

.hero-app-background::before {
    content: "";
    position: absolute;
    inset: 38px;
    border-radius: inherit;
    border: 1px dashed rgba(0, 181, 165, 0.22);
}

.phone-device {
    position: relative;
    z-index: 3;
    width: 238px;
    height: 490px;
    padding: 7px;
    border-radius: 35px;
    background: linear-gradient(145deg, #1C302F, #071615);
    box-shadow: 0 32px 65px rgba(9, 53, 50, 0.22);
    transform: rotate(2deg);
}

.phone-device::before {
    content: "";
    position: absolute;
    inset: 3px;
    pointer-events: none;
    border-radius: 33px;
    border: 1px solid rgba(255, 255, 255, 0.13);
}

.phone-speaker {
    position: absolute;
    z-index: 7;
    top: 12px;
    left: 50%;
    width: 62px;
    height: 17px;
    border-radius: 0 0 11px 11px;
    background: #0B1616;
    transform: translateX(-50%);
}

.phone-screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 29px;
    background: var(--white);
}

.nirvor-app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.app-floating-card {
    position: absolute;
    z-index: 8;
    min-width: 175px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.app-floating-doctor {
    top: 75px;
    right: -5px;
}

.app-floating-reminder {
    left: -5px;
    bottom: 90px;
}

.floating-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
}

.floating-icon svg {
    width: 19px;
    height: 19px;
}

.app-floating-card strong,
.app-floating-card span {
    display: block;
}

.app-floating-card strong {
    margin-bottom: 2px;
    color: var(--dark);
    font-size: 11px;
    font-weight: 600;
}

.app-floating-card span {
    color: var(--muted);
    font-size: 10px;
}

/* Feature strip */
.feature-strip {
    position: relative;
    z-index: 10;
}

.feature-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.strip-item {
    min-height: 94px;
    padding: 21px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-right: 1px solid var(--border);
}

.strip-item:last-child {
    border-right: 0;
}

.strip-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 11px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 18px;
    font-weight: 600;
}

.strip-item strong,
.strip-item span {
    display: block;
}

.strip-item strong {
    margin-bottom: 2px;
    color: var(--dark);
    font-size: 13px;
    font-weight: 600;
}

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

/* Shared headings */
.section-heading {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-label {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary-deep);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.section-heading h2,
.security-content h2 {
    margin-bottom: 15px;
    color: var(--dark);
    font-size: clamp(32px, 3.6vw, 43px);
    line-height: 1.2;
    letter-spacing: -1.3px;
    font-weight: 700;
}

.section-heading h2 span,
.security-content h2 span {
    display: block;
}

.section-heading p {
    max-width: 610px;
    margin: auto;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.75;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card {
    min-height: 265px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: var(--white);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 181, 165, 0.25);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 20px;
    font-weight: 600;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: var(--dark);
    font-size: 17px;
    font-weight: 600;
}

.feature-card p {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.75;
}

/* How it works */
.how-it-works {
    background: linear-gradient(180deg, #F7FCFB, #FBFDFD);
}

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

.step-card {
    position: relative;
    min-height: 255px;
    padding: 27px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
}

.step-number {
    position: absolute;
    top: 19px;
    right: 20px;
    color: rgba(0, 181, 165, 0.13);
    font-size: 26px;
    font-weight: 800;
}

.step-icon {
    width: 47px;
    height: 47px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 20px;
}

.step-card h3 {
    margin-bottom: 10px;
    color: var(--dark);
    font-size: 17px;
    font-weight: 600;
}

.step-card p {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.75;
}

/* Security */
.security-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 80px;
}

.security-visual {
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.circle-large {
    width: 360px;
    height: 360px;
    background: var(--primary-soft);
}

.circle-middle {
    width: 280px;
    height: 280px;
    background: #DAF8F4;
}

.circle-small {
    width: 175px;
    height: 175px;
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.circle-small svg {
    width: 76px;
    height: 76px;
}

.security-description {
    max-width: 570px;
    margin-bottom: 27px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.75;
}

.security-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.security-item {
    padding: 14px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.security-item:hover {
    background: var(--primary-soft);
}

.security-check {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 15px;
    font-weight: 700;
}

.security-item h3 {
    margin-bottom: 4px;
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
}

.security-item p {
    margin: 0;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.7;
}

/* Download */
.app-download-section {
    padding-top: 45px;
}

.download-card {
    position: relative;
    overflow: hidden;
    padding: 62px 35px;
    border-radius: 27px;
    background: linear-gradient(135deg, #006A62, var(--primary));
    box-shadow: var(--shadow-primary);
}

.download-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.download-circle-one {
    width: 390px;
    height: 390px;
    right: -150px;
    top: -220px;
}

.download-circle-two {
    width: 300px;
    height: 300px;
    left: -120px;
    bottom: -220px;
}

.download-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: auto;
    text-align: center;
}

.download-logo {
    width: 120px;
    margin: 0 auto 18px;
    padding: 7px 11px;
    border-radius: 10px;
    background: var(--white);
}

.download-small {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
}

.download-content h2 {
    max-width: 650px;
    margin: 0 auto 14px;
    color: var(--white);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.2;
    letter-spacing: -1px;
}

.download-content > p {
    max-width: 590px;
    margin: 0 auto 27px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.75;
}

.store-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 11px;
}

.store-button {
    min-width: 180px;
    min-height: 58px;
    padding: 9px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 12px;
    background: #111827;
    color: var(--white);
    text-align: left;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.14);
    transition: transform 0.2s ease, background 0.2s ease;
}

.store-button:hover {
    transform: translateY(-2px);
    background: #000000;
}

.google-play-icon {
    width: 29px;
    height: 32px;
    flex-shrink: 0;
}

.google-play-icon svg,
.store-icon svg {
    width: 100%;
    height: 100%;
}

.store-icon {
    width: 29px;
    height: 29px;
    flex-shrink: 0;
}

.store-button small,
.store-button strong {
    display: block;
}

.store-button small {
    margin-bottom: 1px;
    color: rgba(255, 255, 255, 0.70);
    font-size: 8px;
}

.store-button strong {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
}

/* Footer */
.footer {
    padding: 65px 0 22px;
    border-top: 1px solid var(--border);
    background: var(--white);
}

.footer-main {
    padding-bottom: 45px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
}

.footer-logo {
    width: 145px;
    margin-bottom: 16px;
}

.footer-brand p {
    max-width: 380px;
    margin: 0;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-links > div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4 {
    margin-bottom: 5px;
    color: var(--dark);
    font-size: 14px;
    font-weight: 600;
}

.footer-links a {
    width: fit-content;
    color: var(--text-light);
    font-size: 12px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 19px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
}

/* Modal */
.coming-soon-modal {
    position: fixed;
    z-index: 5000;
    inset: 0;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.coming-soon-modal.active {
    opacity: 1;
    visibility: visible;
}

.coming-soon-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 20, 25, 0.52);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.coming-soon-box {
    position: relative;
    z-index: 2;
    width: min(100%, 475px);
    padding: 36px 34px 32px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--white);
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #F6F8F8;
    color: var(--text);
    font-size: 22px;
    cursor: pointer;
}

.modal-logo {
    width: 118px;
    margin: 0 auto 18px;
}

.modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: var(--primary-light);
    color: var(--primary);
}

.modal-icon svg {
    width: 30px;
    height: 30px;
}

.modal-label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.coming-soon-box h2 {
    margin-bottom: 11px;
    color: var(--dark);
    font-size: 26px;
    line-height: 1.3;
}

.coming-soon-box > p {
    max-width: 390px;
    margin: 0 auto 20px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.75;
}

.modal-store-row {
    margin-bottom: 22px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.modal-store-row span {
    padding: 8px 13px;
    border-radius: 100px;
    background: #F5F8F8;
    color: var(--text);
    font-size: 11px;
    font-weight: 600;
}

.modal-button {
    width: 100%;
    min-height: 46px;
    border-radius: 11px;
    background: var(--primary);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.modal-button:hover {
    background: var(--primary-dark);
}

/* Scroll top */
.scroll-top {
    position: fixed;
    z-index: 900;
    right: 22px;
    bottom: 22px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-primary);
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Tablet */
@media (max-width: 1024px) {
    .desktop-nav,
    .header-button {
        display: none;
    }

    .menu-button {
        display: flex;
    }

    .mobile-menu {
        position: fixed;
        display: block;
        top: 68px;
        left: 0;
        width: 100%;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        border-bottom: 1px solid var(--border);
        background: rgba(255, 255, 255, 0.99);
        transition: max-height 0.3s ease, opacity 0.2s ease, visibility 0.2s ease;
    }

    .mobile-menu.active {
        max-height: 650px;
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-inner {
        width: min(calc(100% - 48px), var(--container));
        margin: auto;
        padding: 15px 0 23px;
        display: flex;
        flex-direction: column;
    }

    .mobile-nav-link,
    .mobile-download-link {
        width: 100%;
        padding: 13px 4px;
        border: 0;
        border-bottom: 1px solid #EEF2F2;
        background: transparent;
        color: var(--text);
        text-align: left;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
    }

    .mobile-language {
        margin-top: 15px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .mobile-language-button {
        min-height: 42px;
        border: 1px solid var(--border);
        border-radius: 10px;
        background: var(--white);
        color: var(--text);
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
    }

    .mobile-language-button.active {
        border-color: rgba(0, 181, 165, 0.3);
        background: var(--primary-light);
        color: var(--primary);
    }

    .mobile-menu-button {
        min-height: 46px;
        margin-top: 10px;
        border-radius: 10px;
        background: var(--primary);
        color: var(--white);
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
    }

    .hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 55px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero-content {
        max-width: 760px;
        margin: auto;
        text-align: center;
    }

    .eyebrow,
    .hero-title,
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-benefits {
        justify-content: center;
    }

    .hero-app {
        width: min(100%, 600px);
        margin: auto;
    }

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

    .strip-item:nth-child(2) {
        border-right: 0;
    }

    .strip-item:nth-child(1),
    .strip-item:nth-child(2) {
        border-bottom: 1px solid var(--border);
    }

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

    .security-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .security-content {
        max-width: 700px;
        margin: auto;
        text-align: center;
    }

    .security-content h2,
    .security-description {
        margin-left: auto;
        margin-right: auto;
    }

    .security-list {
        max-width: 600px;
        margin: auto;
        text-align: left;
    }

    .security-visual {
        order: 2;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Mobile */
@media (max-width: 700px) {
    .container {
        width: calc(100% - 32px);
    }

    .section {
        padding: 70px 0;
    }

    .header-container {
        min-height: 62px;
    }

    .logo {
        width: 128px;
    }

    .language-switch {
        min-height: 35px;
        padding: 0 8px;
    }

    .mobile-menu {
        top: 62px;
    }

    .mobile-menu-inner {
        width: calc(100% - 32px);
    }

    .hero {
        padding-top: 104px;
        padding-bottom: 48px;
    }

    .hero-container {
        gap: 35px;
    }

    .hero-title {
        font-size: clamp(35px, 10vw, 47px);
        letter-spacing: -1.4px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-app {
        min-height: 440px;
        transform: scale(0.90);
        margin-top: -15px;
        margin-bottom: -25px;
    }

    .hero-app-background {
        width: 355px;
        height: 355px;
    }

    .phone-device {
        width: 220px;
        height: 452px;
    }

    .app-floating-doctor {
        right: -15px;
    }

    .app-floating-reminder {
        left: -15px;
    }

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

    .strip-item {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .strip-item:last-child {
        border-bottom: 0;
    }

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

    .section-heading h2,
    .security-content h2 {
        font-size: 29px;
    }

    .security-visual {
        min-height: 350px;
        transform: scale(0.84);
        margin-top: -25px;
        margin-bottom: -35px;
    }

    .circle-large {
        width: 340px;
        height: 340px;
    }

    .download-card {
        padding: 50px 20px;
        border-radius: 22px;
    }

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

    .coming-soon-box {
        padding: 32px 22px 24px;
        border-radius: 20px;
    }
}

/* Small mobile */
@media (max-width: 470px) {
    .hero-buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-benefits {
        flex-direction: column;
    }

    .hero-app {
        width: 128%;
        margin-left: -14%;
        margin-top: -45px;
        margin-bottom: -60px;
        transform: scale(0.78);
    }

    .security-visual {
        width: 120%;
        margin-left: -10%;
        margin-top: -55px;
        margin-bottom: -70px;
        transform: scale(0.72);
    }

    .store-buttons {
        flex-direction: column;
    }

    .store-button {
        width: 100%;
        max-width: 260px;
    }

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}


/* =========================================================
   CONTACT US - ONE PAGE SECTION
   ========================================================= */

.contact-onepage {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 12%, rgba(0, 181, 165, 0.08), transparent 26%),
        linear-gradient(180deg, #F8FDFC 0%, #FFFFFF 100%);
}

.contact-onepage::before {
    content: "";
    position: absolute;
    left: -140px;
    bottom: -170px;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: rgba(0, 181, 165, 0.035);
    pointer-events: none;
}

.contact-onepage .container {
    position: relative;
    z-index: 2;
}

.contact-section-heading {
    margin-bottom: 42px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1.24fr);
    align-items: start;
    gap: 32px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.contact-info-card {
    width: 100%;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.contact-info-card > div:last-child {
    min-width: 0;
    flex: 1;
}

.contact-info-icon {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    max-width: 52px !important;
    max-height: 52px !important;
    flex: 0 0 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
}

.contact-info-icon svg {
    display: block !important;
    width: 25px !important;
    height: 25px !important;
    min-width: 25px !important;
    min-height: 25px !important;
    max-width: 25px !important;
    max-height: 25px !important;
    flex: 0 0 25px !important;
}

.contact-small-title {
    display: block;
    margin-bottom: 5px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.contact-info-card h3 {
    margin: 0 0 12px;
    color: var(--dark);
    font-size: 23px;
    font-weight: 700;
}

.contact-info-card p {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.9;
}

.contact-help-box {
    width: 100%;
    padding: 23px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    border: 1px solid rgba(0, 181, 165, 0.08);
    border-radius: 16px;
    background: var(--primary-light);
}

.contact-help-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
}

.contact-help-box > div {
    min-width: 0;
    flex: 1;
}

.contact-help-box strong {
    display: block;
    margin-bottom: 6px;
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
}

.contact-help-box p {
    margin: 0;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.75;
}

.contact-form-card {
    width: 100%;
    min-width: 0;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 14px 45px rgba(15, 23, 42, 0.06);
}

.contact-form-heading {
    margin-bottom: 28px;
}

.contact-form-heading h3 {
    margin: 0 0 9px;
    color: var(--dark);
    font-size: 26px;
    font-weight: 700;
}

.contact-form-heading p {
    max-width: 620px;
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.75;
}

#contactForm {
    width: 100%;
}

.contact-form-row {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-group {
    width: 100%;
    min-width: 0;
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-soft);
    font-size: 13px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    border: 1px solid var(--border-dark);
    outline: none;
    background: #FBFDFD;
    color: var(--dark);
    font-size: 14px;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-group input {
    height: 48px;
    padding: 0 14px;
    border-radius: 10px;
}

.form-group textarea {
    min-height: 155px;
    padding: 13px 14px;
    resize: vertical;
    border-radius: 10px;
    line-height: 1.7;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9CA8B6;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 181, 165, 0.08);
}

.contact-submit {
    width: 100%;
    min-height: 50px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 11px;
    background: var(--primary);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 181, 165, 0.18);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 181, 165, 0.23);
}

.contact-submit svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    flex: 0 0 18px !important;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .contact-info-card,
    .contact-help-box {
        height: 100%;
    }
}

@media (max-width: 700px) {
    .contact-section-heading {
        margin-bottom: 32px;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
    }

    .contact-info-card {
        padding: 22px;
        border-radius: 17px;
    }

    .contact-info-icon {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        min-height: 46px !important;
        max-width: 46px !important;
        max-height: 46px !important;
        flex-basis: 46px !important;
    }

    .contact-info-icon svg {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        min-height: 22px !important;
        max-width: 22px !important;
        max-height: 22px !important;
    }

    .contact-form-card {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 420px) {
    .contact-info-card {
        padding: 19px;
    }

    .contact-form-card {
        padding: 21px 17px;
    }
}
