/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Design System Variables */
:root {
    /* Colors */
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(34, 15%, 13%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(34, 15%, 13%);
    --primary: hsl(37, 30%, 57%);
    --primary-foreground: hsl(0, 0%, 98%);
    --primary-glow: hsl(42, 45%, 70%);
    --secondary: hsl(0, 0%, 96%);
    --secondary-foreground: hsl(34, 15%, 13%);
    --muted: hsl(42, 30%, 96%);
    --muted-foreground: hsl(35, 15%, 46%);
    --accent: hsl(42, 45%, 70%);
    --accent-foreground: hsl(34, 15%, 13%);
    --border: hsl(42, 30%, 91%);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(37, 30%, 57%), hsl(42, 45%, 70%));
    --gradient-hero: linear-gradient(135deg, hsla(37, 30%, 57%, 0.05), hsla(42, 45%, 70%, 0.05));
    --gradient-subtle: linear-gradient(180deg, hsl(0, 0%, 100%), hsl(42, 30%, 96%));
    
    /* Shadows */
    --shadow-elegant: 0 10px 30px -10px hsla(37, 30%, 57%, 0.3);
    --shadow-glow: 0 0 40px hsla(42, 45%, 70%, 0.4);
    --shadow-card: 0 4px 6px -1px hsla(34, 15%, 13%, 0.1);
    
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

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

/* Header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    padding: 1rem;
}

.header .container {
    display: flex;
    justify-content: center;
}

.logo {
    height: 6rem;
    width: auto;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('public/lovable-uploads/a230f276-23fc-47b9-a6ea-89ff7e50b588.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .hero-background {
        background-position: 60% center;
    }
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    margin-top: -6rem;
}

@media (min-width: 768px) {
    .hero-content {
        text-align: left;
        margin-left: 2rem;
        margin-right: auto;
        margin-top: -8rem;
    }
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    text-rendering: optimizeLegibility;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 1.875rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    text-rendering: optimizeLegibility;
    margin-top: 9rem;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.125rem;
    }
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
        margin-left: 0;
        margin-right: 0;
    }
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    box-shadow: 0 0 32px hsla(42, 45%, 70%, 0.32);
    transform: translateY(-1px);
}

/* Section Styles */
.section-title {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 3rem;
}

.centered {
    text-align: center;
}

/* Doctor Section */
.doctor-section {
    padding: 5rem 0;
    background: var(--gradient-subtle);
}

.doctor-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .doctor-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.doctor-image-container {
    position: relative;
}

.doctor-image {
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-elegant);
    object-fit: cover;
    display: block;
}

.experience-badge {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-glow);
    font-weight: 600;
}

.achievements {
    margin-bottom: 2rem;
}

.achievement {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.checkmark {
    color: var(--primary);
    font-size: 1.25rem;
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 0;
    background: var(--background);
}

.benefits-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.benefit-card {
    background: var(--card);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    box-shadow: var(--shadow-elegant);
    transform: scale(1.05);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-title {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--card-foreground);
}

.benefit-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Perfect Teeth Section */
.perfect-teeth-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, hsla(37, 30%, 57%, 0.05), hsla(0, 0%, 96%, 0.1));
}

.testimonial-images {
    display: grid;
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto 3rem;
}

@media (min-width: 768px) {
    .testimonial-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonial-images {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-image {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.testimonial-image:hover {
    box-shadow: var(--shadow-elegant);
    transform: scale(1.05);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.results-text {
    font-size: 1.125rem;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Clinic Structure Section */
.clinic-structure-section {
    padding: 5rem 0;
    background: var(--background);
}

.structure-sections {
    margin-bottom: 4rem;
}

.structure-section {
    text-align: center;
    margin-bottom: 5rem;
}

.structure-section:first-child .structure-title {
    display: none;
}

.structure-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--foreground);
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .structure-title {
        font-size: 1.875rem;
    }
}

.structure-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.structure-image {
    max-width: 72rem;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.structure-image:hover {
    box-shadow: var(--shadow-elegant);
}

.structure-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Location Section */
.location-section {
    padding: 5rem 0;
    background: var(--muted);
}

.location-text {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 64rem;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

@media (min-width: 768px) {
    .location-text {
        font-size: 1.25rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: var(--background);
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: var(--card);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-elegant);
    transform: scale(1.05);
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--card-foreground);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--gradient-subtle);
    text-align: center;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: var(--foreground);
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 3rem;
    }
}

.cta-subtitle {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--foreground);
    color: var(--background);
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.footer-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-btn {
    color: white;
    border: 1px solid white;
    background: transparent;
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: left;
}

.contact-btn:hover {
    background: white;
    color: var(--foreground);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero-content {
        padding: 0.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

/* Problem Section */
.problem-section {
    padding: 5rem 0;
    background: var(--background);
}

.problem-intro {
    font-size: 1.125rem;
    color: var(--foreground);
    text-align: center;
    margin-bottom: 1rem;
}

.problem-list {
    max-width: 48rem;
    margin: 2rem auto;
}

.problem-item {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
    padding-left: 1rem;
}

.problem-truth {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--muted);
    border-radius: 1rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.problem-truth p {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.problem-truth em {
    color: var(--primary);
    font-style: italic;
}

/* Solution Section */
.solution-section {
    padding: 5rem 0;
    background: var(--gradient-subtle);
}

.solution-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    text-align: center;
    margin-bottom: 3rem;
}

.solution-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .solution-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.solution-column h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.solution-list {
    list-style: none;
    padding: 0;
}

.solution-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

.solution-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.protocol-steps {
    display: grid;
    gap: 1rem;
}

.protocol-step {
    background: var(--card);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-card);
    font-size: 1rem;
    line-height: 1.6;
}

.differentials {
    margin-top: 3rem;
}

.differentials h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--foreground);
    text-align: center;
}

.differentials-list {
    display: grid;
    gap: 1rem;
    max-width: 48rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .differentials-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.differential-item {
    background: var(--card);
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-card);
    font-size: 1rem;
    color: var(--muted-foreground);
    text-align: center;
}

/* Objections Section */
.objections-section {
    padding: 5rem 0;
    background: var(--background);
}

.objections-intro {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    text-align: center;
    margin-bottom: 3rem;
}

.objections-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .objections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .objections-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.objection-item {
    background: var(--card);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.objection-item:hover {
    box-shadow: var(--shadow-elegant);
    transform: translateY(-2px);
}

.objection-item h4 {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.objection-item p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.stats-section {
    text-align: center;
    margin-top: 4rem;
}

.stats-section h3 {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: var(--foreground);
}

.stats-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat-item {
    background: var(--card);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-text {
    color: var(--muted-foreground);
    font-size: 1rem;
}

.experience-highlight {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-top: 2rem;
}

