* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --rose-light: #f8e1e4;
    --rose: #e8b4b8;
    --rose-medium: #d4959c;
    --rose-deep: #c77b8b;
    --rose-dark: #9d5c6b;
    --cream: #fdf8f7;
    --cream-rose: #fef5f3;
    --white: #ffffff;
    --text-dark: #5a3d42;
    --text-light: #8b6570;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, var(--cream) 0%, var(--rose-light) 50%, var(--cream-rose) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text-dark);
}

/* Rose Cursor Canvas */
.rose-cursor-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

@media (max-width: 768px), (hover: none) and (pointer: coarse) {
    .rose-cursor-canvas {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rose-cursor-canvas {
        display: none;
    }
}

/* Floating Petals */
.petals-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.petal {
    position: absolute;
    top: -50px;
    width: 15px;
    height: 15px;
    background: radial-gradient(ellipse at center, var(--rose) 0%, var(--rose-medium) 50%, transparent 70%);
    border-radius: 50% 0 50% 50%;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-10vh) rotate(0deg) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(110vh) rotate(720deg) translateX(100px);
        opacity: 0;
    }
}

/* Decorative Blobs */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    z-index: 0;
    transition: transform 0.3s ease-out;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--rose);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--rose-light);
    bottom: 20%;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: var(--rose-medium);
    bottom: -50px;
    right: 20%;
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 600px;
}

.name {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 10vw, 5rem);
    font-weight: 600;
    color: var(--rose-dark);
    margin-bottom: 10px;
    letter-spacing: 4px;
    text-shadow: 2px 2px 10px rgba(157, 92, 107, 0.2);
    white-space: nowrap;
}

.name-letter {
    display: inline-block;
    animation: letterReveal 0.6s ease forwards;
    animation-delay: calc(var(--delay) * 0.08s);
    opacity: 0;
    transform: translateY(30px);
}

@keyframes letterReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tagline {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 50px;
    animation: fadeSlideUp 1s ease 1s forwards;
    opacity: 0;
}

@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Headshot */
.headshot-container {
    position: relative;
    margin-bottom: 40px;
    animation: fadeIn 1.2s ease 0.5s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.headshot-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, var(--rose) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.headshot-wrapper {
    width: 280px;
    height: 280px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: 
        0 10px 40px rgba(157, 92, 107, 0.3),
        0 0 0 8px rgba(232, 180, 184, 0.3);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.headshot-wrapper:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 
        0 20px 60px rgba(157, 92, 107, 0.4),
        0 0 0 12px rgba(232, 180, 184, 0.4);
}

.headshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.headshot-wrapper:hover .headshot {
    transform: scale(1.1);
}

/* Buttons */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeSlideUp 1s ease 1.5s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.btn svg {
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: scale(1.2);
}

.btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
}

.btn:hover .btn-shimmer {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--rose-deep) 0%, var(--rose-dark) 100%);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(157, 92, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(157, 92, 107, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--rose-dark) 0%, #8b4a5a 100%);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(139, 74, 90, 0.4);
    animation-delay: 0s;
    opacity: 1;
    transform: none;
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(139, 74, 90, 0.5);
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeIn 1s ease 2s forwards, bounce 2s ease-in-out infinite 2s;
    opacity: 0;
}

.scroll-indicator span {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--rose-deep);
    border-bottom: 2px solid var(--rose-deep);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Video Section */
.video-section {
    padding: 100px 20px;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.video-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3rem);
    color: var(--rose-dark);
    margin-bottom: 15px;
}

.title-decoration {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--rose-deep), transparent);
    margin: 0 auto;
    border-radius: 2px;
}

.video-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 
        0 20px 60px rgba(157, 92, 107, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin-bottom: 40px;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(30px);
}

.video-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 30px 80px rgba(157, 92, 107, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 16px;
    overflow: hidden;
    background: var(--rose-dark);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--rose-dark) 0%, #7a4a55 100%);
    color: var(--white);
    padding: 30px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

footer p {
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* ==========================================
   RESPONSIVE DESIGN - Mobile First Approach
   ========================================== */

/* Tablet and below (768px) */
@media (max-width: 768px) {
    /* Reduce blob sizes and simplify animations */
    .blob-1 {
        width: 200px;
        height: 200px;
        top: -50px;
        right: -50px;
        animation: none;
    }
    
    .blob-2 {
        width: 150px;
        height: 150px;
        animation: none;
    }
    
    .blob-3 {
        width: 120px;
        height: 120px;
        animation: none;
    }
    
    /* Hero adjustments */
    .hero {
        padding: 30px 16px;
        min-height: 100svh; /* Use small viewport height for mobile browsers */
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .name {
        font-size: clamp(2.2rem, 12vw, 3.5rem);
        letter-spacing: 2px;
        margin-bottom: 8px;
    }
    
    .tagline {
        font-size: 0.85rem;
        letter-spacing: 2px;
        margin-bottom: 35px;
        padding: 0 10px;
    }
    
    /* Headshot sizing */
    .headshot-wrapper {
        width: 200px;
        height: 200px;
        border-width: 3px;
    }
    
    .headshot-glow {
        width: 240px;
        height: 240px;
    }
    
    .headshot-container {
        margin-bottom: 30px;
    }
    
    /* Disable floating animation on mobile for performance */
    .headshot-wrapper {
        animation: none;
    }
    
    /* Touch-friendly buttons */
    .btn {
        padding: 16px 28px;
        font-size: 0.9rem;
        min-height: 52px;
        gap: 10px;
    }
    
    /* Video section */
    .video-section {
        padding: 50px 16px;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }
    
    .video-card {
        padding: 12px;
        border-radius: 16px;
        margin-bottom: 30px;
    }
    
    .video-wrapper {
        border-radius: 12px;
    }
    
    /* Scroll indicator */
    .scroll-indicator {
        bottom: 25px;
    }
    
    /* Footer */
    footer {
        padding: 25px 16px;
    }
    
    footer p {
        font-size: 0.8rem;
    }
}

/* Large phones (576px) */
@media (max-width: 576px) {
    .hero {
        padding: 25px 12px;
    }
    
    .name {
        font-size: clamp(2rem, 14vw, 2.8rem);
        letter-spacing: 1px;
    }
    
    .tagline {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
        margin-bottom: 30px;
    }
    
    .headshot-wrapper {
        width: 180px;
        height: 180px;
    }
    
    .headshot-glow {
        width: 220px;
        height: 220px;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 0.85rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .video-section {
        padding: 40px 12px;
    }
    
    .video-card {
        padding: 10px;
        border-radius: 14px;
    }
    
    .video-wrapper {
        border-radius: 10px;
    }
}

/* Small phones (400px) */
@media (max-width: 400px) {
    .hero {
        padding: 20px 10px;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }
    
    .headshot-wrapper {
        width: 160px;
        height: 160px;
    }
    
    .headshot-glow {
        width: 200px;
        height: 200px;
    }
    
    .btn {
        padding: 14px 20px;
        font-size: 0.8rem;
        max-width: 260px;
    }
    
    .btn svg {
        width: 18px;
        height: 18px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .video-card {
        padding: 8px;
        margin-bottom: 25px;
    }
    
    .scroll-indicator {
        bottom: 15px;
    }
    
    .scroll-indicator span {
        font-size: 0.7rem;
    }
    
    .scroll-arrow {
        width: 16px;
        height: 16px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Disable hover effects that don't work well on touch */
    .headshot-wrapper:hover {
        transform: none;
        box-shadow: 
            0 10px 40px rgba(157, 92, 107, 0.3),
            0 0 0 8px rgba(232, 180, 184, 0.3);
    }
    
    .headshot-wrapper:hover .headshot {
        transform: none;
    }
    
    .video-card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    /* Add active states for touch feedback */
    .btn:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
    
    .headshot-wrapper:active {
        transform: scale(0.98);
    }
}

/* Reduced motion for accessibility and performance */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .petal {
        display: none;
    }
    
    .blob {
        animation: none;
    }
    
    .headshot-wrapper {
        animation: none;
    }
    
    .scroll-indicator {
        animation: none;
        opacity: 1;
    }
}

/* Landscape mode on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 20px;
    }
    
    .headshot-wrapper {
        width: 140px;
        height: 140px;
    }
    
    .headshot-glow {
        width: 180px;
        height: 180px;
    }
    
    .tagline {
        margin-bottom: 20px;
    }
    
    .headshot-container {
        margin-bottom: 20px;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* High DPI / Retina display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .blob {
        filter: blur(60px);
    }
}

/* Safe area insets for notched devices (iPhone X+, etc.) */
@supports (padding: max(0px)) {
    .hero {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
    
    footer {
        padding-bottom: max(25px, env(safe-area-inset-bottom));
    }
}

/* Mobile-specific body class styles */
body.is-mobile .blob {
    animation: none;
}

body.is-mobile .headshot-wrapper {
    animation: none;
}

body.is-mobile .headshot-glow {
    animation: pulse 4s ease-in-out infinite;
}

/* Floral Pattern Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(232, 180, 184, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 149, 156, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(248, 225, 228, 0.4) 0%, transparent 30%),
        radial-gradient(circle at 60% 60%, rgba(199, 123, 139, 0.15) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
}

/* Selection Color */
::selection {
    background: var(--rose);
    color: var(--white);
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--rose);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--rose-deep);
}
