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

/* Import Lato font with all weights */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700&family=Playfair+Display:wght@400;700;900&display=swap');

:root {
    /* Sophisticated Color System */
    --ink: #0A0E27;
    --ink-light: #1A1F3A;
    --pure-white: #FFFFFF;
    --off-white: #FAFBFC;
    
    /* Accent Colors - More vibrant and intentional */
    --rose-gold: #E8B4B8;
    --rose-gold-light: #F4D1D3;
    --champagne: #F7E7CE;
    --sage: #A8C09A;
    --sage-light: #C3D5BB;
    --dusty-blue: #B8C5D6;
    --dusty-blue-light: #D4DEE7;
    
    /* Gradient Overlays */
    --gradient-warm: linear-gradient(135deg, #FFF5F5 0%, #FFF0E6 100%);
    --gradient-cool: linear-gradient(135deg, #F0F4F8 0%, #E6F0FF 100%);
    --gradient-premium: linear-gradient(135deg, rgba(232, 180, 184, 0.1) 0%, rgba(184, 197, 214, 0.1) 100%);
    
    /* Shadows - Colored and layered */
    --shadow-sm: 0 2px 8px rgba(232, 180, 184, 0.15);
    --shadow-md: 0 8px 24px rgba(10, 14, 39, 0.08), 0 2px 8px rgba(232, 180, 184, 0.1);
    --shadow-lg: 0 24px 48px rgba(10, 14, 39, 0.12), 0 8px 16px rgba(232, 180, 184, 0.08);
    --shadow-xl: 0 32px 64px rgba(10, 14, 39, 0.15), 0 12px 24px rgba(232, 180, 184, 0.1);
    
    /* Glass effect variables */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.18);
    --blur-strength: 20px;
    
    /* Animations */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-expo: cubic-bezier(0.87, 0, 0.13, 1);
}

/* Base Styles */
body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 25%, #FFF5F5 75%, #FAFBFC 100%);
    color: var(--ink);
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    min-height: 100vh;
}

/* Add subtle pattern overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(232, 180, 184, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(184, 197, 214, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(168, 192, 154, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.app-container {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

/* Top Bar - Glass morphism effect */
.top-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-strength));
    -webkit-backdrop-filter: blur(var(--blur-strength));
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s var(--ease-out-expo);
}

.top-bar-content {
    max-width: 448px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.back-button {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem;
    border-radius: 50%;
    background: var(--pure-white);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    display: none;
    box-shadow: var(--shadow-sm);
}

.back-button.visible {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideInLeft 0.4s var(--ease-out-expo);
}

.back-button:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
    background: var(--gradient-warm);
}

.salon-name {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--ink);
    letter-spacing: -0.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--ink) 0%, var(--rose-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.duration-indicator {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--ink-light);
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    background: var(--rose-gold-light);
    border-radius: 20px;
    opacity: 0.8;
}

/* Main Content */
.main-content {
    flex: 1;
    max-width: 448px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1rem;
}

.screen {
    display: none;
    animation: fadeIn 0.5s var(--ease-out-expo);
}

.screen.active {
    display: block;
}

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

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.content-wrapper {
    padding: 1.5rem 0;
    padding-bottom: 6rem;
}

/* Video Hero - Premium glass effect */
.video-hero {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    height: 16rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s var(--ease-out-expo);
}

.video-hero:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.video-hero.compact {
    height: 12rem;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    background: var(--gradient-premium);
}

.video-visual {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        radial-gradient(circle at center, rgba(232, 180, 184, 0.1) 0%, transparent 70%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, transparent 100%);
}

.avatar-circle {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose-gold-light) 0%, var(--dusty-blue-light) 100%);
    box-shadow: 
        0 0 0 4px rgba(255, 255, 255, 0.5),
        0 0 0 8px rgba(232, 180, 184, 0.1),
        var(--shadow-lg);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.video-label {
    position: absolute;
    left: 1rem;
    top: 1rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(232, 180, 184, 0.3);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-sm);
}

.sound-toggle {
    position: absolute;
    right: 1rem;
    top: 1rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(232, 180, 184, 0.3);
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    box-sizing: border-box;
}

.sound-toggle:hover {
    transform: scale(1.05);
    background: var(--rose-gold-light);
}

.video-captions {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
}

/* Nudge overlays slightly inward on landing hero to avoid edge clipping */
.video-hero .sound-toggle { right: 1.25rem; }
.video-hero .video-label { left: 1.25rem; }

.caption-text {
    margin: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.9) 0%, rgba(26, 31, 58, 0.8) 100%);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 0.875rem;
    padding: 0.75rem 1.25rem;
    text-align: center;
    animation: fadeInOut 2.6s ease-in-out;
    box-shadow: var(--shadow-md);
}

/* Service Prompt Message */
.service-prompt {
    text-align: center;
    margin: 1.5rem 0 1rem 0;
}

.service-prompt p {
    color: #666;
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.3px;
}

/* Service Selection - Matching protection tiles style */
.service-selection {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-button {
    width: 100%;
    border-radius: 16px;
    border: none;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 1.25rem;
    text-align: left;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.service-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--rose-gold) 0%, var(--dusty-blue) 100%);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease-out-expo);
    transform-origin: left;
}

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

.service-button:hover::after {
    transform: scaleX(1);
}

.service-button-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.service-icon {
    font-size: 1.5rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-warm);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(232, 180, 184, 0.2);
}

.service-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
}

/* Station Info */
.station-info {
    text-align: center;
    font-size: 0.75rem;
    color: var(--ink-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(232, 180, 184, 0.1) 0%, rgba(184, 197, 214, 0.1) 100%);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

/* Journey Styles */
.journey-header {
    margin-bottom: 1.5rem;
}

.step-indicator {
    font-size: 0.75rem;
    color: var(--rose-gold);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(232, 180, 184, 0.1);
    border-radius: 20px;
}

.journey-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.journey-description {
    font-size: 1rem;
    color: var(--ink-light);
    margin: 1rem 0 2rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Protection Tiles - Premium cards */
.protection-tiles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.protection-tile {
    border-radius: 16px;
    border: none;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.protection-tile::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--rose-gold) 0%, var(--dusty-blue) 100%);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease-out-expo);
    transform-origin: left;
}

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

.protection-tile.expanded::after {
    transform: scaleX(1);
}

.tile-header {
    width: 100%;
    text-align: left;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    cursor: pointer;
}

.tile-content {
    flex: 1;
}

.tile-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--ink);
    letter-spacing: -0.25px;
}

.tile-summary {
    font-size: 0.875rem;
    color: var(--ink-light);
    line-height: 1.5;
    font-weight: 400;
}

.chevron {
    transition: transform 0.3s var(--ease-out-expo);
    color: var(--rose-gold);
}

.protection-tile.expanded .chevron {
    transform: rotate(180deg);
}

.tile-options {
    padding: 0 1.25rem 1.25rem;
    display: none;
    flex-wrap: wrap;
    gap: 0.75rem;
    animation: slideDown 0.3s var(--ease-out-expo);
}

/* Support for new expanded content structure */
.tile-expanded-content .tile-options {
    display: flex;
    padding: 1rem 0;
}

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

.protection-tile.expanded .tile-options {
    display: flex;
}

.option-chip {
    padding: 0.625rem 1rem;
    border-radius: 12px;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.option-chip:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--rose-gold-light);
}

.option-chip.active {
    background: linear-gradient(135deg, var(--rose-gold) 0%, var(--dusty-blue) 100%);
    color: white;
    border-color: transparent;
    transform: scale(1.05);
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

/* Buttons - Modern design */
.primary-button {
    width: 100%;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-light) 100%);
    color: white;
    padding: 1rem 2rem;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: var(--shadow-lg);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

/* Removed conflicting hover effect */

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

.primary-button:active {
    transform: translateY(0);
}

.secondary-button {
    width: 100%;
    border-radius: 14px;
    border: 2px solid var(--ink);
    background: transparent;
    color: var(--ink);
    padding: 1rem 2rem;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
}

.secondary-button:hover {
    background: var(--ink);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Sticky Bottom */
.sticky-bottom {
    position: fixed;
    bottom: 1rem;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 0 1rem;
}

.sticky-bottom .primary-button {
    max-width: 416px;
    margin: 0 auto;
    display: block;
}

/* Browse Grid */
.browse-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.browse-card {
    border-radius: 16px;
    border: none;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.browse-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(232, 180, 184, 0.1) 0%, rgba(184, 197, 214, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s var(--ease-out-expo);
}

.browse-card:hover::before {
    opacity: 1;
}

.browse-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px) scale(1.02);
}

.browse-icon {
    font-size: 2rem;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-warm);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(232, 180, 184, 0.2);
}

.browse-text {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Confirmation and Modal Styles */
.confirmation-card {
    border-radius: 20px;
    border: none;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    margin-top: 1rem;
}

.confirmation-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.confirmation-message {
    font-size: 1rem;
    color: var(--ink-light);
    margin-bottom: 1.5rem;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 39, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 24px 24px 0 0;
    padding: 2rem;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s var(--ease-out-expo);
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@media (min-width: 640px) {
    .modal {
        align-items: center;
    }
    
    .modal-content {
        border-radius: 24px;
    }
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--ink);
}

/* Review Styles */
.review-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 5rem;
}

.review-category {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.review-category::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--rose-gold) 0%, var(--dusty-blue) 100%);
}

.review-category-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ink);
}

.review-items {
    list-style: none;
    padding-left: 0;
    font-size: 0.875rem;
    color: var(--ink-light);
}

.review-items li {
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
}

.review-items li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--rose-gold);
    font-weight: bold;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(232, 180, 184, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--rose-gold);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--rose-gold-light);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--rose-gold-light);
    color: var(--ink);
}

::-moz-selection {
    background: var(--rose-gold-light);
    color: var(--ink);
}

/* Focus states */
button:focus-visible,
.service-button:focus-visible,
.option-chip:focus-visible {
    outline: 2px solid var(--rose-gold);
    outline-offset: 2px;
}

/* Loading state */
@keyframes shimmerLoading {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.loading {
    background: linear-gradient(
        90deg,
        rgba(232, 180, 184, 0.1) 25%,
        rgba(232, 180, 184, 0.3) 50%,
        rgba(232, 180, 184, 0.1) 75%
    );
    background-size: 200% 100%;
    animation: shimmerLoading 1.5s infinite;
}
