/* =======================================
   Variables & Reset
======================================= */
:root {
    --bg-light: #fdfcfb;
    --bg-surface: #ffffff;
    --text-primary: #2d3748;
    --text-muted: #718096;
    --accent: #d4af37; /* Champagne Gold */
    --accent-hover: #b8972e;
    --accent-glow: rgba(212, 175, 55, 0.2);
    --border: rgba(212, 175, 55, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-light);
    color: var(--text-primary);
    font-family: 'Lato', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: #1a202c;
}

.italic {
    font-style: italic;
    color: var(--accent);
}

a {
    color: var(--text-primary);
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.accent {
    color: var(--accent);
}

/* =======================================
   Navbar
======================================= */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    height: 90px;
    background: rgba(253, 252, 251, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 100;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 400;
    transition: color 0.4s ease;
}

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

.nav-cta {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent) !important;
    padding: 0.8rem 2rem;
    border-radius: 0;
}

.nav-cta:hover {
    background: var(--accent);
    color: #fff !important;
}

/* =======================================
   Hero Section
======================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 90px;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 5%;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 1.2rem 3rem;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s;
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 10px 30px var(--accent-glow);
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.image-wrapper {
    position: relative;
    max-width: 500px;
    border-radius: 200px 200px 0 0;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* =======================================
   Treatments Section
======================================= */
.treatments {
    padding: 8rem 0;
    background-color: var(--bg-surface);
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.treatment-card {
    background: var(--bg-surface);
    border: 1px solid rgba(0,0,0,0.03);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.treatment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1);
}

.treatment-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.treatment-card:hover img {
    transform: scale(1.05);
}

.treatment-content {
    padding: 2.5rem 2rem;
}

.treatment-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.treatment-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.treatment-price {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.treatment-price .accent {
    font-size: 1.2rem;
    font-weight: 700;
}

/* =======================================
   Chat Demo Section
======================================= */
.demo-section {
    padding: 8rem 0;
    background-color: #f7f5f2;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.chat-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-surface);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(212, 175, 55, 0.08);
}

.chat-header {
    background: var(--bg-surface);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-avatar {
    width: 50px;
    height: 50px;
    background: #fdfafb;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.chat-info h4 {
    font-size: 1.3rem;
    margin: 0;
    font-family: 'Lato', sans-serif;
}

.status {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 300;
}

.chat-body {
    height: 400px;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: #fafaf9;
}

.message {
    max-width: 80%;
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    animation: slideUp 0.4s ease-out forwards;
}

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

.message.ai {
    background: var(--bg-surface);
    align-self: flex-start;
    border-radius: 20px 20px 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.02);
}

.message.user {
    background: var(--accent);
    color: #fff;
    align-self: flex-end;
    border-radius: 20px 20px 0 20px;
    box-shadow: 0 5px 15px var(--accent-glow);
}

.chat-input-area {
    padding: 1.5rem;
    background: var(--bg-surface);
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    gap: 1rem;
}

#chat-input {
    flex: 1;
    background: #f7f5f2;
    border: none;
    padding: 1.2rem;
    border-radius: 30px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
}

#chat-input:focus {
    outline: none;
    background: #f0eee9;
}

#send-btn {
    border-radius: 30px;
    padding: 0 2rem;
}

/* =======================================
   Footer
======================================= */
footer {
    background: var(--bg-surface);
    padding: 4rem 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    text-align: center;
}

.footer-brand h2 {
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    .hero-image {
        justify-content: center;
    }
}
