:root {
    --teal: #008896;
    --teal-dark: #006d78;
    --teal-light: #d9ebed;
    --text: #000000;
    --gray-bg: #fbfbfb;
    --border: #c8d8d9;
}

* { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior:smooth; }

body {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    color: var(--text);
    background: #fff;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }

img { max-width:100%; height:auto; display:block; }

h1,h2,h3,h4,h5,h6 {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    color: var(--teal);
    line-height: 1.2;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
.site-header {
    background: var(--gray-bg);
    padding: 18px 0;
    position: sticky; top: 0; z-index: 100;
    border-bottom: 1px solid #f0f0f0;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 30px;
}
.logo img { height: 38px; width: auto; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav > ul {
    display: flex; align-items: center; gap: 38px;
    list-style: none;
}
.main-nav > ul > li > a {
    color: #000;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 0;
    display: inline-flex; align-items: center; gap: 6px;
    position: relative;
}
.main-nav > ul > li > a.active,
.main-nav > ul > li:hover > a { color: var(--teal); }

.has-sub > a::after {
    content:"";
    width: 8px; height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 4px;
    margin-top: -3px;
}

.submenu {
    position: absolute;
    top: 100%; left: 50%;
    transform: translateX(-50%);
    min-width: 240px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 12px 0;
    list-style: none;
    opacity: 0; visibility: hidden;
    transition: all .2s;
    border-radius: 4px;
}
.has-sub { position: relative; }
.has-sub:hover > .submenu { opacity: 1; visibility: visible; }
.submenu li { position: relative; }
.submenu li a {
    display: block;
    padding: 10px 22px;
    color: #000;
    font-weight: 500;
    font-size: 14px;
}
.submenu li a:hover { color: var(--teal); background: #f8f8f8; }
.submenu .has-sub > a::after {
    position: absolute; right: 18px; top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}
.submenu .submenu {
    top: 0; left: 100%;
    transform: none;
}

.header-right {
    display: flex; align-items: center; gap: 24px;
}
.lang-toggle {
    display: flex; align-items: center; gap: 6px;
    color: #000;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    padding: 10px 0;
    position: relative;
    border-right: 1px solid #d0d0d0;
    padding-right: 24px;
}
.lang-toggle::after {
    content:"";
    width: 8px; height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -3px;
}
.lang-toggle .lang-menu {
    position: absolute;
    top: 100%; right: 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    list-style: none;
    padding: 10px 0;
    min-width: 220px;
    display: none;
    z-index: 200;
    border-radius: 4px;
}
.lang-toggle:hover .lang-menu { display: block; }
.lang-menu li a {
    display: block; padding: 8px 22px;
    color: #000; font-weight: 400; font-size: 14px;
}
.lang-menu li a:hover { color: var(--teal); background:#f8f8f8; }

.btn-primary {
    display: inline-block;
    background: var(--teal);
    color: #fff !important;
    padding: 12px 32px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .2px;
    transition: background .2s;
}
.btn-primary:hover { background: var(--teal-dark); color: #fff !important; }

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--teal) !important;
    border: 2px solid var(--teal);
    padding: 10px 30px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    transition: all .2s;
}
.btn-outline:hover { background: var(--teal); color: #fff !important; }

.mobile-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.mobile-toggle span { display:block; width: 26px; height: 2px; background: #000; margin: 6px 0; }

/* ===== HERO ===== */
.hero {
    position: relative;
    background: var(--gray-bg);
    min-height: 670px;
    display: flex; align-items: center; justify-content: center;
    background-image: url('https://nailner.com/app/uploads/sites/2/2024/05/background-about.jpg');
    background-size: cover;
    background-position: center;
}
.hero-card {
    background: #fff;
    padding: 36px 80px;
    text-align: center;
}
.hero-card h1 {
    font-size: 44px;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: -.5px;
}

/* ===== INTRO TEXT ===== */
.intro {
    padding: 128px 0;
    background: #fff;
}
.intro-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}
.intro p.lead {
    color: var(--teal);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 28px;
}
.intro ul {
    list-style: none;
    padding: 0;
}
.intro ul li {
    color: var(--teal);
    font-size: 20px;
    padding: 10px 0 10px 38px;
    position: relative;
}
.intro ul li::before {
    content: "";
    width: 10px; height: 10px;
    background: var(--teal);
    border-radius: 50%;
    position: absolute;
    left: 14px;
    top: 20px;
}

/* ===== TEAL VIDEO SECTION ===== */
.video-section {
    background: var(--teal);
    color: #fff;
    padding: 100px 0 130px;
    position: relative;
}
.video-section h2 {
    color: #fff;
    text-align: center;
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 60px;
    line-height: 1.2;
}
.video-wrap {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}
.video-wrap iframe {
    width: 100%; height: 100%; border: 0;
}

/* ===== HOW IT WORKS ===== */
.how-works {
    background: var(--teal);
    color: #fff;
    padding: 60px 0 120px;
}
.how-works-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.how-works h2 {
    color: #fff;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    position: relative;
    padding-bottom: 30px;
}
.how-works h2::after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    background: #fff;
    margin-top: 20px;
}
.how-works ul {
    list-style: none;
    padding: 0;
}
.how-works ul li {
    position: relative;
    padding: 14px 0 14px 38px;
    font-size: 22px;
    line-height: 1.5;
    color: #fff;
}
.how-works ul li::before {
    content: "";
    position: absolute;
    left: 0; top: 22px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: #fff;
}

/* ===== FAQ ===== */
.faq-section {
    background: var(--teal-light);
    padding: 70px 0;
}
.faq-list {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}
.faq-item {
    border-bottom: 1px solid #b8d0d3;
}
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 28px 50px 28px 4px;
    font-weight: 700;
    font-size: 19px;
    color: var(--teal);
    position: relative;
    user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 4px; top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    font-weight: 300;
    color: #000;
    line-height: 1;
    transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-body {
    padding: 0 4px 28px 4px;
    color: #000;
    font-size: 16px;
    line-height: 1.6;
    max-width: 800px;
}

/* ===== PRODUCTS SLIDER ===== */
.products {
    padding: 90px 0 60px;
    background: #fff;
    overflow: hidden;
}
.products-rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 20px 20px 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--teal) #e8e8e8;
    margin: 0 -20px;
    justify-content: center;
}
.products-rail::-webkit-scrollbar { height: 6px; }
.products-rail::-webkit-scrollbar-track { background: #e8e8e8; }
.products-rail::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }

.product-card {
    scroll-snap-align: start;
    text-align: center;
    padding: 24px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.product-card .pimg {
    height: 260px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 12px;
}
.product-card .pimg img {
    max-height: 260px;
    width: auto;
}
.product-card .ptitle {
    font-size: 16px;
    font-weight: 700;
    color: var(--teal);
    line-height: 1.3;
    min-height: 42px;
}
.product-card .psub {
    font-size: 14px;
    color: #000;
    font-weight: 400;
}
.product-card .pprice {
    font-size: 14px;
    color: #000;
    margin-bottom: 14px;
}
.product-card .pcta {
    margin-top: auto;
    position: relative;
}
.buy-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--teal);
    color: #fff;
    padding: 11px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    border: 0;
}
.buy-toggle::after {
    content: "";
    width: 8px; height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    margin-top: -3px;
}
.retailer-pop {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%; transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 160px;
    display: none;
    z-index: 5;
}
.pcta:hover .retailer-pop { display: block; }
.retailer-pop a {
    display: block;
    padding: 8px 20px;
    color: var(--teal);
    font-weight: 600;
    font-size: 14px;
    text-align: left;
}
.retailer-pop a:hover { background: #f5f9fa; }

.rail-progress {
    max-width: 400px;
    margin: 24px auto 0;
    height: 3px;
    background: #e8e8e8;
    border-radius: 2px;
    overflow: hidden;
}
.rail-progress .bar {
    width: 32%;
    height: 100%;
    background: var(--teal);
    border-radius: 2px;
}

/* ===== PHARMACY ===== */
.pharmacy {
    background: #fff;
    padding: 70px 0 90px;
    text-align: center;
}
.pharmacy h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 50px;
}
.pharmacy-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}
.pharmacy-logos img {
    height: 50px;
    width: auto;
    opacity: .9;
    transition: opacity .2s;
}
.pharmacy-logos a:hover img { opacity: 1; }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--teal);
    color: #fff;
    padding: 70px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 60px;
    margin-bottom: 50px;
    align-items: start;
}
.footer-logo img { height: 36px; width: auto; }
.site-footer h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
}
.site-footer ul { list-style: none; padding: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul li a {
    color: #fff;
    font-size: 15px;
    opacity: .95;
}
.site-footer ul li a:hover { opacity: 1; text-decoration: underline; }

.footer-cta { text-align: right; }
.footer-cta .btn-outline-white {
    display: inline-block;
    background: transparent;
    color: #fff !important;
    border: 1.5px solid #fff;
    padding: 11px 32px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    transition: all .2s;
}
.footer-cta .btn-outline-white:hover { background: #fff; color: var(--teal) !important; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.25);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
}
.footer-bottom ul {
    display: flex;
    list-style: none; padding: 0;
    gap: 0;
    flex-wrap: wrap;
}
.footer-bottom ul li {
    padding: 0 16px;
    border-right: 1px solid rgba(255,255,255,.4);
}
.footer-bottom ul li:first-child { padding-left: 0; }
.footer-bottom ul li:last-child { border-right: 0; }
.footer-bottom ul li a { color: #fff; }
.footer-bottom .copyright { color: #fff; opacity: .9; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .main-nav, .header-right .lang-toggle { display: none; }
    .mobile-toggle { display: block; }
    .how-works-grid { grid-template-columns: 1fr; gap: 30px; }
    .how-works h2 { font-size: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-cta { text-align: left; grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .hero { min-height: 420px; }
    .hero-card { padding: 24px 40px; }
    .hero-card h1 { font-size: 32px; }
    .intro { padding: 70px 0; }
    .intro p.lead { font-size: 18px; }
    .intro ul li { font-size: 17px; }
    .video-section { padding: 60px 0 80px; }
    .video-section h2 { font-size: 30px; }
    .how-works { padding: 40px 0 80px; }
    .how-works h2 { font-size: 34px; }
    .how-works ul li { font-size: 18px; }
    .pharmacy-logos { gap: 40px; }
    .pharmacy-logos img { height: 36px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}