/* AI Aesthetic Design System Rules */
:root {
    --white: #ffffff;
    --medical-red: #dc2626;
    --dark-neutral: #0f172a;
    --text-body: #334155;
    --light-grey: #f8fafc;
    --border-soft: #e2e8f0;
    --glow-effect: rgba(220, 38, 38, 0.05);
    --glow-effect-strong: rgba(220, 38, 38, 0.12);
    --font-stack: 'Plus Jakarta Sans', sans-serif;
    --bezier: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-stack);
    background: var(--white);
    color: var(--dark-neutral);
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glassmorphism Navigation Rules */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-soft);
    z-index: 2000;
}

.logo-container .main-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-neutral);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s var(--bezier);
}

.nav-links a:hover {
    color: var(--medical-red);
}

.nav-links .btn-nav {
    background: var(--medical-red);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
}

.nav-links .btn-nav:hover {
    background: #b91c1c;
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.2);
}

/* Hero Modern AI Section Layout */
.hero-section {
    position: relative;
    min-height: 95vh;
    padding: 180px 24px 100px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(120% 120% at 50% 0%, var(--light-grey) 40%, var(--white) 100%);
    overflow: hidden;
    text-align: center;
}

.hero-glow-layer {
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--glow-effect) 0%, transparent 70%);
    top: -150px;
    z-index: 1;
}

.hero-wrapper {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.pill-announcement {
    display: inline-block;
    background: var(--glow-effect-strong);
    color: var(--medical-red);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border: 1px solid rgba(220, 38, 38, 0.15);
}

.hero-wrapper h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-top: 24px;
    letter-spacing: -1.5px;
    color: var(--dark-neutral);
}

.text-glow {
    color: var(--medical-red);
    position: relative;
}

.hero-wrapper p {
    font-size: 1.2rem;
    color: var(--text-body);
    margin: 28px auto 44px auto;
    max-width: 650px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.action-btn {
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.4s var(--bezier);
}

.action-btn.red-fill {
    background: var(--medical-red);
    color: var(--white);
}

.action-btn.red-fill:hover {
    background: #b91c1c;
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.25);
    transform: translateY(-2px);
}

.action-btn.clear-border {
    background: transparent;
    color: var(--dark-neutral);
    border: 1px solid var(--border-soft);
}

.action-btn.clear-border:hover {
    border-color: var(--medical-red);
    background: var(--glow-effect);
    color: var(--medical-red);
}

/* Structured Meta Headers */
.section-meta {
    margin-bottom: 50px;
}

.section-meta.center {
    text-align: center;
}

.section-meta h2 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--text-body);
    margin-top: 10px;
    font-size: 1.1rem;
}

.red-indicator {
    width: 50px;
    height: 4px;
    background: var(--medical-red);
    margin-top: 16px;
    border-radius: 2px;
}

.red-indicator.auto {
    margin: 16px auto 0 auto;
}

/* About Layout */
.about-section {
    padding: 120px 0;
    background: var(--light-grey);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.41fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text-block p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 24px;
}

.about-stats {
    display: flex;
    gap: 24px;
}

.stat-box {
    flex: 1;
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--medical-red);
    font-weight: 800;
    margin-bottom: 6px;
}

.stat-box p {
    font-size: 0.95rem;
    color: var(--text-body);
    font-weight: 500;
}

/* Clinical Portfolio Grid & Content Blocks */
.portfolio-section {
    padding: 120px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 40px;
}

.product-show-card {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s var(--bezier);
}

.product-show-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.06);
    border-color: rgba(220, 38, 38, 0.2);
}

.product-show-card.core-highlight {
    border-left: 4px solid var(--medical-red);
    background: linear-gradient(180deg, var(--white) 0%, rgba(220,38,38,0.005) 100%);
}

.product-show-card.sf-highlight {
    border-left: 4px solid #10b981;
}

.product-banner-frame {
    width: 100%;
    height: 270px;
    background: #f1f5f9;
    overflow: hidden;
}

.banner-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--bezier);
}

.product-show-card:hover .banner-media {
    transform: scale(1.03);
}

.product-details {
    padding: 36px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.badge-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.med-tag {
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.med-tag.flag { background: #fee2e2; color: var(--medical-red); }
.med-tag.form { background: #f1f5f9; color: var(--dark-neutral); }
.med-tag.sugar-free { background: #d1fae5; color: #065f46; }
.med-tag.specialized { background: #e0f2fe; color: #0369a1; }

.product-details h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark-neutral);
    letter-spacing: -0.3px;
}

.product-details h3 small {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-body);
}

.active-ingredients {
    font-size: 0.88rem;
    color: var(--medical-red);
    font-weight: 600;
    line-height: 1.5;
    margin: 12px 0 24px 0;
    background: var(--light-grey);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 2px solid var(--border-soft);
}

.sf-highlight .active-ingredients {
    color: #065f46;
}

.therapeutic-indications h4 {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    color: var(--dark-neutral);
}

.therapeutic-indications ul {
    list-style: none;
}

.therapeutic-indications ul li {
    font-size: 0.98rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.therapeutic-indications ul li::before {
    content: "■";
    position: absolute;
    left: 0;
    color: var(--medical-red);
    font-size: 0.75rem;
    top: 1px;
}

.sf-highlight .therapeutic-indications ul li::before {
    color: #10b981;
}

/* AI Interactive Contact Area */
.contact-section {
    padding: 120px 0;
    background: var(--light-grey);
}

.contact-card-box {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    background: var(--white);
    padding: 60px;
    border-radius: 32px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 10px 40px rgba(0,0,0,0.01);
}

.contact-narrative h2 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.contact-narrative p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 40px;
}

.hq-card {
    background: var(--light-grey);
    padding: 28px;
    border-left: 4px solid var(--medical-red);
    border-radius: 12px;
}

.hq-card h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.hq-card p {
    font-size: 0.98rem;
    margin-bottom: 6px;
    color: var(--text-body);
}

.hq-card .support-email {
    font-weight: 700;
    color: var(--medical-red);
    margin-top: 12px;
}

.contact-form-block form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-set {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-set label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark-neutral);
}

.contact-form-block input, .contact-form-block select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-soft);
    background: var(--light-grey);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s var(--bezier);
}

.contact-form-block input:focus, .contact-form-block select:focus {
    border-color: var(--medical-red);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.06);
}

.form-submit-btn {
    background: var(--dark-neutral);
    color: var(--white);
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s var(--bezier);
    margin-top: 10px;
}

.form-submit-btn:hover {
    background: var(--medical-red);
}

footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-soft);
    text-align: center;
    background: var(--white);
}

footer p {
    font-size: 0.9rem;
    color: var(--text-body);
}

@media (max-width: 1024px) {
    .portfolio-grid { grid-template-columns: 1fr; }
    .about-grid, .contact-card-box { grid-template-columns: 1fr; gap: 40px; }
    .contact-card-box { padding: 40px; }
    .hero-wrapper h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-wrapper h1 { font-size: 2.3rem; }
    .about-stats { flex-direction: column; }
}
