/* WellCare — Aurora / clinical soft UI (full redesign) */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700&display=swap');

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

:root {
    --bg: #e8f1f0;
    --bg-deep: #0c4d4a;
    --surface: #ffffff;
    --surface-2: #f4faf9;
    --ink: #0a1f1d;
    --muted: #4a6b66;
    --line: #c5ddd8;
    --brand: #0d9488;
    --brand-2: #0f766e;
    --cta: #ea580c;
    --cta-hover: #c2410c;
    --glow: rgba(13, 148, 136, 0.12);
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 4px 24px rgba(10, 31, 29, 0.08);
    --shadow-lg: 0 20px 50px rgba(10, 31, 29, 0.12);
    --font: 'DM Sans', system-ui, sans-serif;
    --serif: 'Fraunces', Georgia, serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    min-height: 100vh;
    font-weight: 400;
    font-optical-sizing: auto;
}

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

a {
    color: var(--brand-2);
}

/* ========== HEADER ========== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    min-height: 64px;
}

.logo {
    font-family: var(--serif);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.logo a::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), #2dd4bf);
    box-shadow: 0 0 0 3px var(--glow);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    padding: clamp(3.5rem, 10vw, 7rem) 0;
    background: var(--bg-deep);
    color: #ecfdf8;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(45, 212, 191, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(234, 88, 12, 0.12) 0%, transparent 45%),
        linear-gradient(180deg, rgba(12, 77, 74, 0.3) 0%, var(--bg-deep) 100%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(to top, var(--bg), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 42rem;
}

.hero-content h1 {
    font-family: var(--serif);
    font-size: clamp(2rem, 4.5vw, 3.15rem);
    font-weight: 600;
    line-height: 1.12;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.92;
    line-height: 1.6;
    max-width: 36ch;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.75rem;
}

.hero-pill {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ========== PRODUCT ========== */
.product-section {
    padding: clamp(3rem, 8vw, 5.5rem) 0;
    margin-top: -1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
    align-items: start;
}

.product-image {
    position: sticky;
    top: 90px;
}

.product-card-wrap {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    background: var(--surface-2);
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: min(480px, 55vw);
    min-height: 300px;
    overflow: hidden;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.carousel-slide.active {
    display: block;
    animation: fadeSlide 0.5s ease;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    display: block;
    border: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--line);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.carousel-btn:hover {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
    transform: translateY(-50%) scale(1.04);
}

.carousel-prev {
    left: 12px;
}
.carousel-next {
    right: 12px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    padding: 1.25rem;
    background: var(--surface);
    border-top: 1px solid var(--line);
}

.dot {
    width: 28px;
    height: 6px;
    border-radius: 999px;
    background: var(--line);
    cursor: pointer;
    transition: background 0.2s, width 0.2s;
    border: none;
    padding: 0;
    font-size: 0;
}

.dot.active,
.dot:hover {
    background: var(--brand);
    width: 36px;
}

.product-info h2 {
    font-family: var(--serif);
    font-size: 1.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-2);
    background: var(--glow);
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.product-description {
    color: var(--muted);
    margin-bottom: 1.75rem;
    font-size: 1.02rem;
    line-height: 1.8;
}

.product-features {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    background: var(--surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.feature:hover {
    border-color: var(--brand);
    box-shadow: 0 4px 16px var(--glow);
}

.feature-icon {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.1rem;
}

.product-specs {
    background: var(--surface-2);
    border-radius: var(--radius-sm);
    border: 1px dashed var(--line);
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
}

.product-specs h3 {
    font-family: var(--serif);
    font-size: 1.15rem;
    margin-bottom: 0.85rem;
    color: var(--ink);
}

.product-specs p {
    color: var(--muted);
    margin-bottom: 0.45rem;
    font-size: 0.98rem;
    line-height: 1.65;
}

.product-price {
    margin-bottom: 1.5rem;
}

.price-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
}

.btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--cta);
    color: #fff;
    padding: 1.1rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    font-family: inherit;
}

.btn-primary:hover {
    background: var(--cta-hover);
    transform: translateY(-1px);
}

/* ========== HOW IT WORKS ========== */
.how-it-works {
    padding: clamp(3.5rem, 8vw, 5.5rem) 0;
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-title {
    font-family: var(--serif);
    text-align: center;
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 600;
    margin-bottom: 2.5rem;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.how-it-works .section-title {
    margin-bottom: 0.5rem;
}

.section-lead {
    text-align: center;
    color: var(--muted);
    max-width: 32rem;
    margin: 0 auto 2.5rem;
    font-size: 1.02rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.comparison-item {
    background: var(--surface-2);
    border-radius: var(--radius);
    padding: 1.75rem;
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.comparison-item::before {
    content: attr(data-step);
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 2.25rem;
    height: 2.25rem;
    background: var(--ink);
    color: #fff;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-item h3 {
    font-family: var(--serif);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--ink);
    padding-right: 2.5rem;
    line-height: 1.3;
}

.comparison-image {
    margin-bottom: 1.1rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
}

.comparison-image img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: top;
}

.comparison-item p {
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.8;
    margin-bottom: 0.85rem;
}

.comparison-item p:last-child {
    margin-bottom: 0;
}

.how-it-works .comparison-item:nth-child(1) {
    border-color: #fecaca;
    background: linear-gradient(180deg, #fff7f7 0%, var(--surface-2) 100%);
}
.how-it-works .comparison-item:nth-child(1)::before {
    background: #dc2626;
}
.how-it-works .comparison-item:nth-child(2) {
    border-color: #99f6e4;
    background: linear-gradient(180deg, #f0fdfa 0%, var(--surface-2) 100%);
}
.how-it-works .comparison-item:nth-child(2)::before {
    background: var(--brand-2);
}

/* ========== SOCIAL ========== */
.social-responsibility {
    padding: clamp(3.5rem, 8vw, 5.5rem) 0;
    background: var(--bg);
}

.responsibility-content {
    max-width: 720px;
    margin: 0 auto;
}

.responsibility-image {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.responsibility-image img {
    width: 100%;
    display: block;
    vertical-align: top;
    background: var(--surface-2);
}

.responsibility-content p {
    color: var(--muted);
    line-height: 1.9;
    font-size: 1.05rem;
    text-align: left;
}

/* ========== GUARANTEE ========== */
.guarantee {
    padding: 3.5rem 0;
    background: linear-gradient(120deg, var(--brand) 0%, #0d9488 40%, #0f766e 100%);
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.guarantee::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.guarantee .container {
    position: relative;
    z-index: 1;
}

.guarantee .section-title {
    color: #fff;
    margin-bottom: 1rem;
}

.guarantee p {
    max-width: 40rem;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.75;
    opacity: 0.96;
}

/* ========== FAQ ========== */
.faq {
    padding: clamp(3.5rem, 8vw, 5.5rem) 0;
    background: var(--surface);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq details.faq-item {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    margin-bottom: 0.6rem;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq details.faq-item[open] {
    border-color: var(--brand);
    box-shadow: 0 8px 30px var(--glow);
}

.faq details.faq-item summary {
    padding: 1.15rem 1.25rem;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 2.5rem;
    font-size: 1.02rem;
    line-height: 1.4;
}

.faq details.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq details.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--brand);
    line-height: 1;
    transition: transform 0.25s;
}

.faq details.faq-item[open] summary::after {
    content: '−';
    transform: translateY(-50%) rotate(0);
}

.faq .faq-answer {
    padding: 0 1.25rem 1.2rem 1.25rem;
    color: var(--muted);
    line-height: 1.85;
    font-size: 0.98rem;
    border-top: 1px solid var(--line);
    padding-top: 0.9rem;
}

.faq .faq-answer p {
    margin: 0;
}

/* legacy faq h3 if any */
.faq-item h3 {
    color: var(--ink);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--muted);
    line-height: 1.85;
}

/* ========== CONTACT ========== */
.contact-section {
    padding: clamp(3.5rem, 8vw, 5.5rem) 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
}

.contact-section > .container > p:not(.section-lead) {
    text-align: center;
    color: var(--muted);
    max-width: 32rem;
    margin: 0 auto 0.5rem;
}

.contact-section .section-title {
    margin-bottom: 0.75rem;
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    max-width: 560px;
    margin: 2rem auto 0;
}

.contact-item {
    text-align: center;
    padding: 1.75rem 1.5rem;
    background: var(--surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.contact-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--ink);
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.contact-item a {
    color: var(--brand-2);
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item span {
    color: var(--muted);
    font-size: 0.9rem;
    display: block;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--ink);
    color: #e2e8f0;
    padding: 3.5rem 0 1.5rem;
}

.footer-legal h3 {
    font-family: var(--serif);
    color: #fff;
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
}

.legal-info p,
.contact-info-footer p,
.health-notice p {
    color: rgba(226, 232, 240, 0.9);
    margin-bottom: 0.6rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

.legal-info {
    margin-bottom: 1.5rem;
}

.legal-info strong,
.contact-info-footer strong {
    color: #fff;
    font-weight: 600;
}

.contact-info-footer {
    margin-bottom: 1.5rem;
}

.contact-info-footer a,
.health-notice a {
    color: #5eead4;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    padding-top: 2rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem 1.75rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: #5eead4;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.health-notice {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.health-notice h4 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

/* ========== LEGAL PAGES ========== */
.legal-page {
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 4rem;
    min-height: 55vh;
    background: var(--bg);
}

.legal-page .container > h1 {
    font-family: var(--serif);
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    margin-bottom: 2.5rem;
    color: var(--ink);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    display: block;
    width: 100%;
    border-left: 4px solid var(--brand);
    padding: 0 0 1.25rem 1rem;
    border-bottom: 1px solid var(--line);
}

.legal-page section {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow);
}

.legal-page h2 {
    font-family: var(--serif);
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--ink);
    font-weight: 600;
}

.legal-page h3 {
    font-size: 1.1rem;
    margin: 1.25rem 0 0.6rem;
    color: var(--ink);
    font-weight: 600;
}

.legal-page p,
.legal-page li {
    margin-bottom: 0.9rem;
    color: var(--muted);
    line-height: 1.85;
    font-size: 0.98rem;
}

.legal-page ul {
    margin-left: 1.4rem;
}

.legal-page a {
    color: var(--brand-2);
    font-weight: 500;
}

.legal-page a:hover {
    text-decoration: underline;
}

.withdrawal-form {
    background: var(--surface-2);
    border: 1px dashed var(--line);
    border-radius: var(--radius-sm);
    padding: 1.5rem 1.75rem;
    margin: 1rem 0 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .product-image {
        position: static;
    }

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

    .how-it-works .comparison-item::before {
        top: 1rem;
    }

    .contact-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .hero-pill {
        font-size: 0.7rem;
    }
}

/* images */
img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

.product-image img,
.comparison-image img,
.responsibility-image img {
    background-color: var(--surface-2);
    min-height: 160px;
    display: block;
}
