/* CSS Variables */
:root {
    /* Light Theme */
    --bg-cream: #F5F3EE;
    --bg-cream-dark: #EBE8E0;
    --bg-card: #EDE9E0;
    --text-dark: #1a1a1a;
    --text-dark-secondary: #666666;
    --btn-dark: #1C2618;
    
    /* Dark Theme */
    --bg-dark: #0a0a0a;
    --bg-card-dark: #141414;
    --text-light: #ffffff;
    --text-light-secondary: #a0a0a0;
    --text-muted: #666666;
    
    /* Accents */
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-orange: #f97316;
    --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #f97316 100%);
    
    /* Fonts */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* ========================================
   HERO LIGHT SECTION (Landing Page)
   ======================================== */

.hero-light {
    min-height: 100vh;
    background: var(--bg-cream);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Decorative Tree */
.deco-tree {
    position: absolute;
    top: -260px;
    left: -340px;
    width: 900px;
    height: 800px;
    overflow: visible;
    pointer-events: none;
}

.deco-tree img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom right;
    opacity: 0.9;
    filter: contrast(1.1);
}

/* Decorative Film Strip */
.deco-filmstrip {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%) rotate(3deg);
    pointer-events: none;
}

.filmstrip-container {
    background: #0a0a0a;
    padding: 8px 12px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.filmstrip-container::before,
.filmstrip-container::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 100%;
    background: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.1) 10px,
        rgba(255,255,255,0.1) 12px
    );
}

.filmstrip-frame {
    width: 140px;
    height: 100px;
    background: #1a1a1a;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.filmstrip-frame::before,
.filmstrip-frame::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 16px;
    background: repeating-linear-gradient(
        to bottom,
        #0a0a0a,
        #0a0a0a 6px,
        #2a2a2a 6px,
        #2a2a2a 8px,
        #0a0a0a 8px,
        #0a0a0a 14px
    );
}

.filmstrip-frame::before {
    left: -18px;
}

.filmstrip-frame::after {
    right: -18px;
}

.filmstrip-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
}

/* Decorative Bottom Left */
.deco-bottom-left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400px;
    height: 350px;
    pointer-events: none;
}

/* Decorative Pottery - Bottom Left */
.deco-pottery {
    position: absolute;
    bottom: 40px;
    left: -70px;
    width: 360px;
    pointer-events: none;
    z-index: 1;
}

.deco-pottery img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.15));
}

/* Decorative Camera - Next to Pottery */
.deco-camera-hero {
    position: absolute;
    bottom: 160px;
    left: 120px;
    width: 380px;
    pointer-events: none;
    z-index: 2;
}

.deco-camera-hero img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.15));
}

/* Decorative Polaroid - Bottom Right */
.deco-polaroid {
    position: absolute;
    bottom: -20px;
    right: -30px;
    width: 420px;
    pointer-events: none;
    z-index: 1;
}

.deco-polaroid img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.15));
    transform: rotate(15deg);
}

.deco-flowers {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 180px;
    height: auto;
    object-fit: contain;
    transform: rotate(-15deg);
    opacity: 0.95;
}

.deco-camera {
    position: absolute;
    bottom: 80px;
    left: 160px;
    width: 140px;
    height: auto;
    object-fit: contain;
    transform: rotate(10deg);
    opacity: 0.9;
}

/* Hero Card */
.hero-card {
    background: var(--bg-card);
    border-radius: 32px;
    padding: 60px 80px;
    max-width: 580px;
    text-align: center;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
}

/* Logo */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.logo-icon {
    width: 28px;
    height: 25px;
    color: var(--text-dark);
}

/* Hero Title */
.hero-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.hero-title .line-1,
.hero-title .line-3 {
    display: block;
}

.hero-title .line-2 {
    display: block;
    font-size: 3.5rem;
}

.hero-title .line-2 em {
    font-style: italic;
}

/* Rotating Words */
.rotating-words {
    display: inline-block;
    position: relative;
    text-align: center;
}

.rotating-word-sizer {
    visibility: hidden;
    white-space: nowrap;
    font-style: italic;
    display: block;
}

.rotating-word {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    white-space: nowrap;
    color: var(--btn-dark);
    font-style: italic;
}

.rotating-word.active {
    opacity: 1;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1rem;
    color: var(--text-dark-secondary);
    max-width: 380px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

/* Enter Button - Light Theme */
.btn-enter {
    display: inline-block;
    width: 100%;
    padding: 18px 48px;
    background: var(--btn-dark);
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 100px;
    transition: var(--transition);
}

.btn-enter:hover {
    background: #2a3a22;
    transform: translateY(-2px);
}

/* ========================================
   MEET LIGHT SECTION
   ======================================== */

.meet-light-section {
    background: var(--bg-cream-dark);
    padding: 120px 24px;
    text-align: center;
}

.meet-light-content {
    max-width: 800px;
    margin: 0 auto;
}

.meet-light-tagline {
    font-family: var(--font-sans);
    font-size: 1.75rem;
    color: var(--text-dark-secondary);
    margin-bottom: 16px;
    letter-spacing: 0.01em;
}

.meet-light-title {
    font-family: var(--font-sans);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--text-dark);
}

.meet-light-title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

.meet-light-title strong {
    font-weight: 600;
}

/* ========================================
   DARK THEME SECTIONS
   ======================================== */

.dark-theme {
    background: var(--bg-dark);
    color: var(--text-light);
}

/* Navbar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 24px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.dark-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
}

.dark-logo span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-logo .logo-icon {
    width: 28px;
    height: 25px;
}

/* Hero Dark */
.hero-dark {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 30% 20%, rgba(236, 72, 153, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 70% 30%, rgba(249, 115, 22, 0.04) 0%, transparent 50%),
        var(--bg-dark);
}

.hero-dark-content {
    max-width: 900px;
}

.hero-dark-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--text-light);
    margin-bottom: 28px;
}

.hero-dark-title .line-1,
.hero-dark-title .line-3 {
    display: block;
}

.hero-dark-title .line-2 {
    display: block;
}

.hero-dark-title .line-2 em {
    font-style: italic;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-dark-subtitle {
    font-size: 1.125rem;
    color: var(--text-light-secondary);
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* Enter Button - Dark Theme with Glow */
.btn-enter-dark {
    display: inline-block;
    padding: 16px 56px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(236, 72, 153, 0.3) 50%, rgba(249, 115, 22, 0.3) 100%);
    border: 1px solid rgba(236, 72, 153, 0.4);
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 100px;
    transition: var(--transition);
    box-shadow: 
        0 0 30px rgba(236, 72, 153, 0.2),
        0 0 60px rgba(139, 92, 246, 0.1);
}

.btn-enter-dark:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.4) 0%, rgba(236, 72, 153, 0.4) 50%, rgba(249, 115, 22, 0.4) 100%);
    box-shadow: 
        0 0 40px rgba(236, 72, 153, 0.3),
        0 0 80px rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 120px 0;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 16px;
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light-secondary);
}

/* Meet Section */
.meet-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0f0f0f 100%);
}

.meet-content {
    text-align: center;
    margin-bottom: 60px;
}

.meet-visual {
    display: flex;
    justify-content: center;
}

.profile-cards {
    display: flex;
    gap: 20px;
    perspective: 1000px;
}

.profile-card {
    width: 200px;
    height: 280px;
    background: var(--bg-card-dark);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.profile-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-1 {
    transform: rotate(-5deg);
}

.card-2 {
    transform: scale(1.05);
    z-index: 2;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-color: rgba(139, 92, 246, 0.3);
}

.card-3 {
    transform: rotate(5deg);
}

.card-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    margin-bottom: 20px;
}

.card-info {
    width: 100%;
}

.card-name {
    height: 16px;
    background: linear-gradient(90deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 8px;
    margin-bottom: 12px;
}

.card-detail {
    height: 12px;
    width: 70%;
    background: linear-gradient(90deg, #222 0%, #1a1a1a 100%);
    border-radius: 6px;
    margin: 0 auto;
}

/* ========================================
   MATCHMAKING SECTION - Olive Green
   ======================================== */

.matchmaking-section {
    background: #3D4F3C;
    padding: 100px 0;
    color: #ffffff;
}

.matchmaking-title {
    text-align: center;
    margin-bottom: 80px;
}

.matchmaking-title .title-light {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.matchmaking-title .title-bold {
    display: block;
    font-family: var(--font-sans);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
}

.matchmaking-title .title-bold em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

/* Step Layout */
.matchmaking-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 120px;
}

.matchmaking-step:last-child {
    margin-bottom: 0;
}

.step-content {
    display: flex;
    flex-direction: column;
}

.step-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Reversed step layout (illustration left, text right) */
.matchmaking-step.step-reverse {
    direction: rtl;
}

.matchmaking-step.step-reverse > * {
    direction: ltr;
}

.matchmaking-step.step-reverse .step-content {
    text-align: right;
}

.matchmaking-step.step-reverse .step-badge {
    margin-left: auto;
    margin-right: 0;
}

.step-badge {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.step-header {
    margin-bottom: 0;
}

.step-tagline {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.step-headline {
    font-family: var(--font-sans);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 300;
    line-height: 1.2;
}

.step-headline em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 600;
}

/* Chat Mockup */
.chat-mockup {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.chat-message.user-message {
    justify-content: flex-end;
}

.wave-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: #E8D5B7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wave-avatar svg {
    width: 24px;
    height: 24px;
}

.user-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    overflow: hidden;
}

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

.message-bubble {
    max-width: 400px;
    padding: 16px 20px;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
}

.wave-bubble {
    background: #F5F3EE;
    color: #1a1a1a;
    border-bottom-left-radius: 6px;
}

.user-bubble {
    background: #3B5998;
    color: #ffffff;
    border-bottom-right-radius: 6px;
}

/* App Mockup */
.app-mockup {
    display: flex;
    justify-content: center;
    padding: 20px;
}

/* Person Orbit Illustration */
.person-orbit-container {
    position: relative;
    width: 400px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.person-silhouette {
    position: relative;
    z-index: 2;
    width: 180px;
    height: 270px;
    filter: drop-shadow(0 20px 40px rgba(139, 115, 85, 0.3));
}

.person-silhouette svg {
    width: 100%;
    height: 100%;
}

/* Orbit Rings */
.orbit-ring {
    position: absolute;
    border: 1px solid rgba(139, 115, 85, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

.orbit-ring-1 {
    width: 320px;
    height: 320px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-ring-2 {
    width: 420px;
    height: 420px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Spinning Icons Container */
.orbit-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    animation: spin-orbit 20s linear infinite;
}

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

/* Individual Orbit Icons */
.orbit-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: counter-spin 20s linear infinite;
}

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

.orbit-icon svg {
    width: 24px;
    height: 24px;
}

/* Position icons around the orbit */
.icon-1 { top: 5%; left: 50%; transform: translateX(-50%); }
.icon-2 { top: 15%; right: 10%; }
.icon-3 { top: 45%; right: 0; }
.icon-4 { bottom: 15%; right: 10%; }
.icon-5 { bottom: 5%; left: 50%; transform: translateX(-50%); }
.icon-6 { bottom: 15%; left: 10%; }
.icon-7 { top: 45%; left: 0; }
.icon-8 { top: 15%; left: 10%; }

.phone-frame {
    width: 100%;
    max-width: 380px;
    background: #F5F3EE;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #EDE9E0;
    border-radius: 24px 24px 0 0;
    margin: 0 12px;
}

.app-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-name {
    display: flex;
    flex-direction: column;
}

.app-name span {
    font-weight: 600;
    font-size: 1rem;
    color: #1a1a1a;
}

.app-name small {
    font-size: 0.75rem;
    color: #666;
}

.home-btn {
    background: #fff;
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #1a1a1a;
}

.profile-cards-row {
    display: flex;
    gap: 12px;
    padding: 16px 12px;
    overflow-x: auto;
}

.mini-profile-card {
    min-width: 160px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-photos {
    height: 100px;
    overflow: hidden;
}

.profile-photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    padding: 12px;
}

.profile-info h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
}

.tag {
    font-size: 0.65rem;
    color: #666;
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
}

.tell-more-btn {
    width: 100%;
    background: #1a1a1a;
    color: #fff;
    padding: 8px;
    border-radius: 8px;
    font-size: 0.75rem;
    margin-top: 8px;
    cursor: pointer;
}

.app-chat {
    padding: 16px;
    background: #EDE9E0;
    margin: 0 12px 12px;
    border-radius: 0 0 24px 24px;
}

.app-chat-message {
    display: flex;
    gap: 8px;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.app-chat-message p {
    font-size: 0.8rem;
    color: #333;
    line-height: 1.5;
}

.app-input-row {
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.input-placeholder {
    color: #999;
    font-size: 0.875rem;
}

.meet-btn {
    display: block;
    width: 100%;
    background: #3B5998;
    color: #fff;
    padding: 12px;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 12px;
    cursor: pointer;
}

.app-input-bar {
    display: flex;
    gap: 8px;
    background: #fff;
    padding: 8px 12px;
    border-radius: 24px;
}

.app-input-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.875rem;
}

.send-btn {
    width: 36px;
    height: 36px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Polaroid Photos */
.polaroid-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px 0;
}

.polaroid {
    background: #fff;
    padding: 12px 12px 40px 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.polaroid img {
    width: 250px;
    height: 250px;
    object-fit: cover;
}

.polaroid-1 {
    transform: rotate(-8deg);
}

.polaroid-2 {
    transform: rotate(6deg);
}

.polaroid:hover {
    transform: scale(1.05) rotate(0deg);
}

/* Responsive for Matchmaking */
@media (max-width: 968px) {
    .matchmaking-step {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .step-illustration {
        order: 2;
    }
    
    .step-content {
        order: 1;
    }
}

@media (max-width: 768px) {
    .matchmaking-section {
        padding: 60px 0;
    }
    
    .matchmaking-step {
        margin-bottom: 60px;
    }
    
    .message-bubble {
        max-width: 280px;
        font-size: 0.95rem;
    }
    
    .phone-frame {
        max-width: 320px;
    }
    
    .polaroid-container {
        flex-direction: column;
        align-items: center;
    }
    
    .polaroid img {
        width: 200px;
        height: 200px;
    }
    
    .polaroid-1,
    .polaroid-2 {
        transform: rotate(0deg);
    }
    
    .person-orbit-container {
        width: 300px;
        height: 350px;
    }
    
    .person-silhouette {
        width: 140px;
        height: 210px;
    }
    
    .orbit-ring-1 {
        width: 240px;
        height: 240px;
    }
    
    .orbit-ring-2 {
        width: 320px;
        height: 320px;
    }
    
    .orbit-icon {
        width: 32px;
        height: 32px;
    }
    
    .orbit-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* ========================================
   SAFETY SECTION - Light Theme
   ======================================== */

.safety-section-light {
    background: var(--bg-cream);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Cherry Blossom Decoration */
.cherry-blossom {
    position: absolute;
    top: -180px;
    left: -180px;
    width: 750px;
    height: 650px;
    overflow: visible;
    pointer-events: none;
}

.cherry-blossom img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Branch Decoration - Bottom Right */
.cherry-blossom-right {
    position: absolute;
    top: -50px;
    right: -180px;
    width: 750px;
    height: 650px;
    overflow: visible;
    pointer-events: none;
}

.cherry-blossom-right img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scaleX(-1);
}

/* Safety Title */
.safety-title-light {
    text-align: center;
    margin-bottom: 60px;
}

.safety-tagline {
    display: block;
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.safety-headline {
    display: block;
    font-family: var(--font-sans);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-dark);
}

.safety-headline em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

/* Safety Card */
.safety-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.safety-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.safety-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.check-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    color: var(--text-dark);
}

.safety-list-item p {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .cherry-blossom {
        width: 200px;
        height: 160px;
    }
    
    .cherry-blossom-right {
        width: 180px;
        height: 150px;
        bottom: -60px;
        right: -60px;
    }
    
    .safety-card {
        padding: 32px 24px;
        margin: 0 16px;
    }
    
    .safety-list-item p {
        font-size: 1rem;
    }
}

/* ========================================
   MANIFESTO SECTION - Olive Green
   ======================================== */

.manifesto-section-green {
    background: #3D4F3C;
    padding: 100px 0;
    color: #ffffff;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.manifesto-title-col {
    position: sticky;
    top: 100px;
}

.manifesto-title-green {
    font-family: var(--font-sans);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
}

.manifesto-title-green em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

.manifesto-content-col p {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    text-align: justify;
    text-transform: lowercase;
}

.manifesto-content-col strong {
    color: #ffffff;
    font-weight: 600;
}

.closing-green {
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px !important;
}

.btn-try-it-out {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 100px;
    transition: var(--transition);
}

.btn-try-it-out:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-try-it-out svg {
    transition: transform 0.3s ease;
}

.btn-try-it-out:hover svg {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
    .manifesto-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .manifesto-title-col {
        position: static;
    }
    
    .manifesto-section-green {
        padding: 60px 0;
    }
}

/* ========================================
   FAQ SECTION - Light Theme
   ======================================== */

.faq-section-light {
    background: var(--bg-cream);
    padding: 80px 0 100px;
}

.faq-title-light {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 50px;
}

.faq-card {
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
    padding: 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.faq-item-light {
    padding: 24px 28px;
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.faq-item-light:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.faq-item-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    width: 100%;
}

.faq-question-text {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.5;
    text-align: center;
    margin: 0;
    flex: 1;
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 0 0 0;
    width: 100%;
}

.faq-answer p {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-dark-secondary);
    line-height: 1.7;
    padding-top: 16px;
    text-align: justify;
}

.faq-item-light.active .faq-answer {
    max-height: 300px;
    padding-bottom: 8px;
}

/* Plus/Minus Icon Toggle */
.faq-plus-btn .minus-icon {
    display: none;
}

.faq-item-light.active .faq-plus-btn .plus-icon {
    display: none;
}

.faq-item-light.active .faq-plus-btn .minus-icon {
    display: block;
}

.faq-plus-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: #3D4F3C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: var(--transition);
}

.faq-plus-btn svg {
    width: 16px;
    height: 16px;
}

.faq-plus-btn:hover {
    background: #4a5f49;
    transform: scale(1.05);
}

/* Responsive FAQ */
@media (max-width: 1024px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .faq-item-light {
        padding: 20px 24px;
    }
}

/* ========================================
   FOOTER - Light Theme
   ======================================== */

.footer-light {
    background: var(--bg-cream);
    padding: 60px 0 40px;
}

.footer-content-light {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.footer-logo-light {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-dark);
}

.footer-logo-icon {
    width: 28px;
    height: 25px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 28px;
    height: 28px;
    color: var(--text-dark);
    transition: var(--transition);
}

.social-icon:hover {
    color: #3D4F3C;
    transform: scale(1.1);
}

.social-icon svg {
    width: 100%;
    height: 100%;
}

.footer-links-light {
    display: flex;
    gap: 24px;
}

.footer-links-light a {
    font-size: 0.875rem;
    color: var(--text-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition);
}

.footer-links-light a:hover {
    color: #3D4F3C;
}

.copyright-light {
    font-size: 0.875rem;
    color: var(--text-dark-secondary);
}

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

.hero-card {
    animation: fadeInUp 0.8s ease-out;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Selection */
::selection {
    background: rgba(139, 92, 246, 0.3);
    color: var(--text-light);
}

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

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .deco-filmstrip {
        right: 20px;
    }
    
    .filmstrip-frame {
        width: 100px;
        height: 70px;
    }
    
    .hero-card {
        padding: 48px 40px;
        max-width: 480px;
    }
}

@media (max-width: 768px) {
    .deco-tree {
        top: -40px;
        left: -60px;
        width: 350px;
        height: 300px;
    }
    
    .deco-filmstrip {
        display: none;
    }
    
    .deco-bottom-left {
        width: 250px;
        height: 200px;
    }
    
    .deco-flowers {
        width: 120px;
        bottom: 10px;
        left: 10px;
    }
    
    .deco-camera {
        width: 100px;
        left: 100px;
        bottom: 50px;
    }
    
    .deco-camera-hero {
        width: 180px;
        bottom: 20px;
        left: 20px;
    }
    
    .deco-pottery {
        width: 160px;
        bottom: 10px;
        left: 160px;
    }
    
    .deco-polaroid {
        width: 280px;
        bottom: 20px;
        right: 20px;
    }
    
    .hero-card {
        padding: 40px 28px;
        max-width: 380px;
        border-radius: 24px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title .line-2 {
        font-size: 2.25rem;
    }
    
    section {
        padding: 80px 0;
    }
    
    .profile-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .profile-card {
        width: 180px;
        height: 240px;
    }
    
    .card-1, .card-2, .card-3 {
        transform: none;
    }
    
    .card-2 {
        transform: scale(1.02);
    }
    
    .step {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step-number {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .safety-features {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .deco-tree,
    .deco-camera-hero,
    .deco-pottery,
    .deco-polaroid {
        opacity: 0.5;
    }
    
    .deco-polaroid {
        width: 180px;
        bottom: 10px;
        right: 10px;
    }
    
    .deco-camera-hero {
        width: 100px;
        bottom: 10px;
        left: 10px;
    }
    
    .deco-pottery {
        width: 90px;
        bottom: 5px;
        left: 90px;
    }
    
    .hero-card {
        margin: 20px;
        padding: 32px 24px;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-title .line-2 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
}

/* ========================================
   WAITLIST MODAL
   ======================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 48px;
    max-width: 440px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-dark-secondary);
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 6px;
}

.modal-close:hover {
    color: var(--text-dark);
    transform: rotate(90deg);
}

.modal-close svg {
    width: 100%;
    height: 100%;
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-logo {
    width: 40px;
    height: 36px;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.modal-subtitle {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark-secondary);
}

/* Form Styles */
.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    text-transform: lowercase;
}

.form-group input {
    font-family: var(--font-sans);
    font-size: 1rem;
    padding: 14px 16px;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    background: #fff;
    color: var(--text-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--btn-dark);
    box-shadow: 0 0 0 3px rgba(61, 79, 60, 0.1);
}

.form-group input::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

.form-group input.error {
    border-color: #dc3545;
}

.error-message {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: #dc3545;
    min-height: 18px;
}

/* Phone Input with Country Selector */
.phone-input-wrapper {
    position: relative;
    display: flex;
    gap: 0;
    background: #fff;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.phone-input-wrapper:focus-within {
    border-color: var(--btn-dark);
    box-shadow: 0 0 0 3px rgba(58, 61, 47, 0.1);
}

.country-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 12px;
    background: transparent;
    border: none;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px 0 0 12px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: background 0.2s ease;
}

.country-selector:hover {
    background: rgba(0, 0, 0, 0.02);
}

.country-flag {
    font-size: 1.2rem;
    line-height: 1;
}

.country-code {
    font-weight: 500;
    min-width: 36px;
}

.dropdown-arrow {
    width: 16px;
    height: 16px;
    color: var(--text-dark-secondary);
    transition: transform 0.2s ease;
}

.country-selector.open .dropdown-arrow {
    transform: rotate(180deg);
}

.phone-input-wrapper input {
    flex: 1;
    border: none;
    border-radius: 0 12px 12px 0;
    background: transparent;
    padding: 14px 16px;
}

.phone-input-wrapper input:focus {
    border: none;
    box-shadow: none;
    outline: none;
}

/* Country Dropdown */
.country-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    margin-top: 4px;
    max-height: 280px;
    overflow: hidden;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.country-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.country-search {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    background: #fafafa;
}

.country-search:focus {
    outline: none;
    background: #fff;
}

.country-list {
    max-height: 220px;
    overflow-y: auto;
}

.country-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.country-option:hover {
    background: rgba(61, 79, 60, 0.06);
}

.country-option.selected {
    background: rgba(61, 79, 60, 0.1);
}

.country-option .flag {
    font-size: 1.2rem;
}

.country-option .name {
    flex: 1;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-dark);
}

.country-option .code {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--text-dark-secondary);
}

/* Submit Button */
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: var(--btn-dark);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    margin-top: 8px;
}

.submit-btn:hover:not(:disabled) {
    background: #2d3b2c;
    transform: translateY(-1px);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-btn .btn-loading {
    display: none;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loading {
    display: flex;
}

.spinner {
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

.spinner circle {
    stroke-dasharray: 50;
    stroke-dashoffset: 20;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Success Message */
.success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
}

.success-message.show {
    display: flex;
}

.success-icon {
    width: 64px;
    height: 64px;
    color: var(--btn-dark);
    margin-bottom: 16px;
}

.success-message p {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.waitlist-form.hidden {
    display: none;
}

/* Modal Responsive */
@media (max-width: 480px) {
    .modal-content {
        padding: 32px 24px;
        border-radius: 20px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .country-selector {
        padding: 12px 10px;
    }
    
    .country-code {
        min-width: 32px;
        font-size: 0.85rem;
    }
}
