/**
 * 🦷 CAD Dental Studio - Public Gateway Style
 * Dual-Pane High-Utility Design
 */

:root {
    --primary: #0047ab;
    --primary-dark: #003d94;
    --success: #10b981;
    --danger: #ef4444;
    --bg-light: #f8faff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --glass-bg: rgba(248, 250, 255, 0.95);
    --header-bg: #f8faff;
}

[data-theme='dark'] {
    --bg-light: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --header-bg: rgba(15, 23, 42, 0.9);
}

.theme-btn {
    background: none;
    border: 1px solid rgba(0,0,0,0.1);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

[data-theme='dark'] .theme-btn {
    border-color: rgba(255,255,255,0.2);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background: var(--bg-light);
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0; width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

[data-theme='dark'] header {
    border-bottom-color: rgba(255,255,255,0.1);
    background: var(--header-bg);
}

.logo-text { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--primary); letter-spacing: -1px; }
.tagline { font-size: 0.7rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; margin-top: -5px; }

nav ul { display: flex; list-style: none; gap: 2.5rem; align-items: center; }
nav a { text-decoration: none; color: var(--text-main); font-weight: 600; font-size: 0.9rem; transition: color 0.3s; }
nav a:hover { color: var(--primary); }

.btn-login-nav {
    background: var(--primary);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 2rem;
    box-shadow: 0 4px 12px rgba(0, 71, 171, 0.2);
}

.scroll-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
}

section {
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
}

.bg-image { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; }
.overlay { position: absolute; inset: 0; background: rgba(255,255,255,0.1); }

.section-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
}

.product-showcase { display: flex; gap: 3rem; }

.medical-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

input, select {
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(0, 71, 171, 0.1);
}

.btn-full {
    transition: transform 0.2s, filter 0.2s;
}

.btn-full:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* 🧬 Nav Dots */
.nav-dots {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dot {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    background: transparent;
    transition: all 0.3s ease;
    animation: pulsate-dot 2s infinite ease-in-out;
}

@keyframes pulsate-dot {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    50% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.dot.active {
    background: #00d2ff;
    border-color: #00d2ff;
    box-shadow: 0 0 15px #00d2ff, 0 0 30px #00d2ff;
    animation: pulsate-dot-active 2s infinite ease-in-out;
}

@keyframes pulsate-dot-active {
    0% { transform: scale(1.15); box-shadow: 0 0 10px #00d2ff, 0 0 20px #00d2ff, 0 0 0 0 rgba(0, 210, 255, 0.6); }
    50% { transform: scale(1.35); box-shadow: 0 0 20px #00d2ff, 0 0 40px #ffffff, 0 0 0 10px rgba(0, 210, 255, 0); }
    100% { transform: scale(1.15); box-shadow: 0 0 10px #00d2ff, 0 0 20px #00d2ff, 0 0 0 0 rgba(0, 210, 255, 0); }
}

.gradient-text {
    background: linear-gradient(135deg, #0047ab, #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 🎥 Cinematic Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.cinematic-bg-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden;
}

.cinematic-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: kenburns 30s ease-in-out infinite alternate;
    filter: contrast(1.2) brightness(0.8);
}

@keyframes kenburns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.15) translate(-2%, -1%); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    max-width: 800px;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 2rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* 📱 WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.3s;
    animation: pulse-wa 2s infinite;
}

.whatsapp-widget:hover {
    transform: scale(1.1);
}

@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ─────────────────────────────────────────────────── */
/* 📞 Contact Page                                     */
/* ─────────────────────────────────────────────────── */

.contact-page {
    background: var(--bg-light);
    color: var(--text-main);
    min-height: 100vh;
    padding-top: 80px; /* clear the fixed header */
}

.contact-hero {
    background: var(--primary);
    padding: 5rem 2rem 7rem;
    text-align: center;
    color: #fff;
}

.contact-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

.contact-grid {
    max-width: 1000px;
    margin: -3.5rem auto 4rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: var(--glass-bg);
    border: 1px solid rgba(0, 71, 171, 0.12);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
    transition: transform 0.25s, box-shadow 0.25s;
    color: var(--text-main);
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 71, 171, 0.12);
}

[data-theme='dark'] .contact-card {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.contact-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.contact-card-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--primary);
}

.contact-card-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    word-break: break-all;
}

.contact-card-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-card-btn {
    margin-top: 0.5rem;
    padding: 0.6rem 1.8rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    border: none;
    cursor: pointer;
    letter-spacing: 0.03em;
    display: inline-block;
    text-decoration: none;
}

.contact-card-btn-primary { background: var(--primary); }
.contact-card-btn-wa      { background: linear-gradient(135deg, #25D366, #128C7E); }
.contact-card-btn-ig      { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }

.contact-trust {
    background: var(--glass-bg);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 3rem 2rem;
    text-align: center;
}

[data-theme='dark'] .contact-trust {
    border-top-color: rgba(255, 255, 255, 0.06);
}

.contact-trust p {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.contact-trust strong { color: var(--primary); }

.contact-trust-back {
    display: inline-block;
    margin-top: 1.5rem;
    background: var(--primary);
    color: #fff;
    padding: 0.7rem 2rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}
.contact-trust-back:hover { opacity: 0.85; }

/* Instagram label gradient (can't use CSS vars inside -webkit-text-fill) */
.ig-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    background: linear-gradient(135deg, #833ab4, #fd1d1d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ─────────────────────────────────────────────────── */
/* 🏢 About Us Page                                    */
/* ─────────────────────────────────────────────────── */

.about-hero {
    background: var(--bg-light);
    padding: 8rem 2rem 4rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 71, 171, 0.08);
}

[data-theme='dark'] .about-hero {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.about-hero-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    padding: 0.4rem 1.1rem;
    border-radius: 2rem;
    margin-bottom: 1.4rem;
}

.about-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.about-hero p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 0.8rem;
    line-height: 1.8;
}

.about-hero .about-hero-tagline {
    font-size: 0.95rem;
    color: var(--primary);
    font-style: italic;
    font-weight: 600;
    margin-top: 0.5rem;
}

.about-body {
    max-width: 860px;
    margin: 0 auto;
    padding: 4rem 2rem 5rem;
}

/* Each thematic block */
.about-section {
    margin-bottom: 3.5rem;
}

.about-section-label {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    padding: 0.3rem 0.9rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
}

.about-section h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.about-section p {
    font-size: 0.97rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 1rem;
}

/* Bullet list with left blue accent */
.about-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.about-list li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    min-width: 6px;
    border-radius: 50%;
    background: var(--primary);
    margin-top: 0.55rem;
}

/* 3-column feature cards (infrastructure section) */
.about-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.3rem;
    margin-top: 1.5rem;
}

.about-feature-card {
    background: var(--glass-bg);
    border: 1px solid rgba(0, 71, 171, 0.1);
    border-radius: 1.2rem;
    padding: 1.8rem 1.5rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.about-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0, 71, 171, 0.1);
}

[data-theme='dark'] .about-feature-card {
    border-color: rgba(255, 255, 255, 0.07);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.about-feature-card-icon {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.about-feature-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.6rem;
}

.about-feature-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.about-feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.about-feature-card ul li {
    font-size: 0.83rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-feature-card ul li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
}

/* Divider between sections */
.about-divider {
    border: none;
    border-top: 1px solid rgba(0, 71, 171, 0.12);
    margin: 3rem 0;
}

[data-theme='dark'] .about-divider {
    border-top-color: rgba(255, 255, 255, 0.07);
}

/* CTA strip at bottom */
.about-cta {
    background: var(--primary);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    text-align: center;
    color: #fff;
    margin-top: 1rem;
}

.about-cta h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.about-cta p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1.4rem;
    line-height: 1.7;
}

.about-cta-btn {
    display: inline-block;
    background: #fff;
    color: var(--primary);
    padding: 0.7rem 2rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    transition: opacity 0.2s;
    margin: 0 0.4rem;
}

.about-cta-btn:hover { opacity: 0.85; }

.about-cta-btn-outline {
    display: inline-block;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 0.65rem 1.8rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: border-color 0.2s, background 0.2s;
    margin: 0 0.4rem;
}

.about-cta-btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

/* 🎁 Promo & Offers Design System (Modular) */
.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 71, 171, 0.2);
    animation: slideUpFade 0.6s ease-out;
}

.promo-badge.gold {
    background: linear-gradient(135deg, #b8860b, #daa520);
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.promo-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: 0.5rem;
    background: var(--glass-bg);
    border: 1px dashed var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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