/* CSS Variables - Dr. Sarah Breu Brand */
:root {
    --primary: #355E54;
    --primary-light: #4a7a6d;
    --secondary: #EBDCD8;
    --accent: #B68B5C;
    --bg: #FDFDFC;
    --text: #2E3B4E;
    --text-light: #5a6b7d;
    --success: #C8E1D0;
    --white: #FFFFFF;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(46, 59, 78, 0.06);
    --shadow-md: 0 4px 16px rgba(46, 59, 78, 0.08);
    --shadow-lg: 0 8px 32px rgba(46, 59, 78, 0.12);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.2;
    font-weight: 600;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.7;
    color: var(--text-light);
}

/* Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(253, 253, 252, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(46, 59, 78, 0.06);
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo {
    height: 50px;
    width: auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.header-cta.btn {
    display: none;
}

@media (min-width: 1024px) {
    .header-cta.btn {
        display: inline-flex;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,
        rgba(235, 220, 216, 0.3) 0%,
        rgba(253, 253, 252, 1) 50%,
        rgba(200, 225, 208, 0.2) 100%
    );
    padding-top: 100px;
    padding-bottom: 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle,
        rgba(53, 94, 84, 0.03) 0%,
        transparent 70%
    );
    animation: float 20s ease-in-out infinite;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-content {
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
}

.hero-video {
    opacity: 0;
    animation: fadeInUp 1s ease 0.4s forwards;
}

.hero-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--success), var(--secondary));
    color: var(--text);
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.hero h1 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-highlight {
    color: var(--accent);
    font-weight: 700;
}

.hero p {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    margin-bottom: 2.5rem;
}

.hero-video-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-video-inner {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.hero-video-inner iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Video Overlay */
.video-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-thumbnail {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 1;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--white);
    animation: none;
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent var(--primary);
    margin-left: 4px;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                   0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                   0 0 0 20px rgba(255, 255, 255, 0);
    }
}

@media (max-width: 768px) {
    .play-button {
        width: 64px;
        height: 64px;
    }

    .play-button::before {
        border-width: 10px 0 10px 16px;
    }
}

/* Content Section */
.content-section {
    padding: var(--space-xl) 0;
    background: linear-gradient(180deg,
        var(--white) 0%,
        rgba(235, 220, 216, 0.15) 100%
    );
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

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

.content-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(46, 59, 78, 0.06);
}

.content-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.content-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.check-list {
    list-style: none;
    margin-top: 1.5rem;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
}

/* Product Section */
.product-section {
    padding: var(--space-xl) 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.product-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20%;
    width: 140%;
    height: 100%;
    background: radial-gradient(ellipse at top,
        rgba(200, 225, 208, 0.1) 0%,
        transparent 60%
    );
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
    position: relative;
}

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

.product-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.product-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(53, 94, 84, 0.1) 0%,
        transparent 100%
    );
    opacity: 0;
    transition: var(--transition);
}

.product-image-wrapper:hover::after {
    opacity: 1;
}

.product-image {
    width: 100%;
    height: auto;
    display: block;
    background: #f5f5f5;
    min-height: 400px;
    object-fit: cover;
}

.product-content h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.product-subtitle {
    font-size: 1.25rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 2rem;
    font-style: italic;
}

/* Benefits Section */
.benefits-section {
    padding: var(--space-xl) 0;
    background: linear-gradient(180deg,
        rgba(235, 220, 216, 0.2) 0%,
        var(--white) 100%
    );
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

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

.benefit-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(46, 59, 78, 0.06);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}

.benefit-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon-wrapper {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--success), var(--secondary));
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.benefit-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--space-xl) 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

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

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

.testimonial-card {
    background: linear-gradient(135deg,
        rgba(235, 220, 216, 0.3) 0%,
        var(--white) 100%
    );
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(46, 59, 78, 0.06);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 4rem;
    font-family: var(--font-display);
    color: var(--primary);
    opacity: 0.1;
    line-height: 1;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 1.125rem;
    flex-shrink: 0;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info strong {
    display: block;
    color: var(--primary);
    font-weight: 600;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-light);
}

.stars {
    color: var(--accent);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Team Section */
.team-section {
    padding: var(--space-xl) 0;
    background: linear-gradient(180deg,
        rgba(200, 225, 208, 0.15) 0%,
        var(--white) 100%
    );
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
    margin-top: var(--space-lg);
}

@media (min-width: 968px) {
    .team-grid {
        grid-template-columns: 1fr 2fr;
    }
}

.team-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.team-image {
    width: 100%;
    height: auto;
    display: block;
    background: #f5f5f5;
    min-height: 400px;
    object-fit: cover;
}

.team-content h2 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.team-subtitle {
    font-size: 1.125rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 2rem;
    font-style: italic;
}

/* Quote Section */
.quote-section {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg,
        var(--primary) 0%,
        var(--primary-light) 100%
    );
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle,
        rgba(255, 255, 255, 0.05) 0%,
        transparent 70%
    );
    animation: rotate 30s linear infinite;
}

.quote-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.quote-content p {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-style: italic;
    line-height: 1.6;
    color: var(--white);
}

.quote-author {
    margin-top: 2rem;
    font-size: 1.125rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Press Section */
.press-section {
    padding: var(--space-lg) 0;
    background: var(--white);
    border-top: 1px solid rgba(46, 59, 78, 0.06);
}

.press-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.press-item {
    font-weight: 600;
    color: #6b7c8e;
    transition: var(--transition);
    font-size: 1.125rem;
}

.press-item:hover {
    color: var(--primary);
}

/* CTA Section */
.cta-section {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg,
        rgba(235, 220, 216, 0.4) 0%,
        rgba(200, 225, 208, 0.3) 100%
    );
    text-align: center;
}

.cta-content h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #d4a574);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-icon {
    font-size: 1.25rem;
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: var(--space-lg) 0 var(--space-md);
}

.footer-content {
    color: var(--white);
    text-align: center;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
}

.footer-copyright {
    color: var(--white);
    margin-top: 1.5rem;
    opacity: 0.7;
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-20px, 20px) scale(1.05);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-delay-1 {
    animation-delay: 0.1s;
}

.fade-in-delay-2 {
    animation-delay: 0.2s;
}

.fade-in-delay-3 {
    animation-delay: 0.3s;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus Styles */
*:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    z-index: 10000;
    border-top: 3px solid var(--primary);
}

.cookie-consent.hidden {
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text);
}

.cookie-content a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    white-space: nowrap;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}
