/* ============================================
   VANDERWAALS WEBSITE - MAIN STYLES
   Design: Gallery on Plaster Wall with Japanese Art
   ============================================ */

:root {
    /* Plaster Wall Colors - Stark White, unpolished organic */
    --wall-base: #FAFAFA;
    --wall-warm: #FFFFFF;
    --wall-shadow: #EBEBEB;
    --wall-cool: #F2F2F2;
    --wall-accent: #FFFFFF;
    --wall-texture: #E0E0E0;
    
    /* Text Colors - Ink-like */
    --text-primary: #1C1C1C;
    --text-secondary: #525252;
    --text-muted: #858585;
    
    /* Accent Colors - Japanese inspired */
    --gold: #B8956A;
    --gold-light: #D4B896;
    --cinnabar: #9E4B4B;
    --indigo: #3D4F5F;
    --washi-cream: #F5F0E6;
    
    /* Shadows */
    --shadow-soft: rgba(30, 27, 24, 0.05);
    --shadow-medium: rgba(30, 27, 24, 0.1);
    --shadow-deep: rgba(30, 27, 24, 0.18);
    --shadow-wall: rgba(30, 27, 24, 0.03);
    
    /* Typography */
    --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', 'Source Sans 3', system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--wall-base);
    color: var(--text-primary);
    line-height: 1.75;
    font-size: 16px;
    overflow-x: hidden;
}

/* Decorative Japanese elements - Ensō and Sumi-e */
.sumie-art {
    position: absolute;
    pointer-events: none;
    opacity: 0.8;
    mix-blend-mode: multiply;
}

.enso-circle {
    width: 450px;
    height: 450px;
    top: 5%;
    right: -5%;
    opacity: 0.6;
    transform: rotate(15deg);
}

.subtle-branch {
    width: 300px;
    height: 300px;
    bottom: 5%;
    left: -2%;
    opacity: 0.5;
}

/* ============================================
   PLASTER WALL - Unpolished White Texture
   ============================================ */
.wall {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    z-index: -1;
    background-color: var(--wall-base);
    will-change: transform;
}

/* Base layer - crisp white plaster with subtle gradient */
.plaster-base {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 150% 150% at 0% 0%, rgba(255,255,255,0.95) 0%, transparent 50%),
        radial-gradient(ellipse 120% 120% at 100% 100%, rgba(240,240,240,0.7) 0%, transparent 50%),
        linear-gradient(160deg, #FFFFFF 0%, #FAFAFA 40%, #F5F5F5 100%);
}

/* Advanced overlapping trowel marks SVG filter */
.plaster-texture {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1000 1000' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='plaster'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.015 0.005' numOctaves='4' seed='42' result='noise1'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.005 0.015' numOctaves='4' seed='84' result='noise2'/%3E%3CfeBlend mode='screen' in='noise1' in2='noise2' result='mixedNoise'/%3E%3CfeDiffuseLighting in='mixedNoise' lighting-color='%23ffffff' surfaceScale='3' diffuseConstant='1.5'%3E%3CfeDistantLight azimuth='45' elevation='35'/%3E%3C/feDiffuseLighting%3E%3CfeComposite operator='in' in2='SourceGraphic'/%3E%3C/filter%3E%3Crect width='1000' height='1000' filter='url(%23plaster)'/%3E%3C/svg%3E");
    background-size: cover;
    opacity: 0.45;
    mix-blend-mode: multiply;
}

/* Fine grainy micro-roughness */
.wall::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' seed='12' stitchTiles='stitch' result='noise'/%3E%3CfeColorMatrix type='matrix' values='1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 0.05 0' in='noise'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23grain)'/%3E%3C/svg%3E");
    background-size: 250px 250px;
    pointer-events: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

h2 {
    letter-spacing: -0.015em;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
    position: relative;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Section divider - subtle line */
section:not(:first-of-type)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(30,27,24,0.08), transparent);
}

/* Japanese wave divider */
.wave-divider {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 12px;
    opacity: 0.7;
}

/* ============================================
   NAVIGATION - Wall-mounted look
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    background: linear-gradient(to bottom, rgba(247,245,240,0.92) 0%, rgba(247,245,240,0.85) 70%, transparent 100%);
    transition: all 0.4s ease;
}

nav.scrolled {
    background: rgba(247,245,240,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--shadow-wall), 0 4px 20px var(--shadow-soft);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo as hanging plaque */
.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
}

.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.06),
        0 6px 12px rgba(0,0,0,0.04);
    background: var(--wall-warm);
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* Nav links as small plaques */
.nav-links {
    display: flex;
    gap: 2.25rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width 0.35s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ============================================
   HERO SECTION - Featured artwork display
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7rem 2rem 5rem;
    position: relative;
    overflow: hidden;
}

/* Hanging wire - braided twine texture */
.hero::before {
    content: '';
    position: absolute;
    top: 16%;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 1.5px;
    background: repeating-linear-gradient(45deg, #B5A898, #B5A898 2px, #D2C8BC 2px, #D2C8BC 4px);
    box-shadow: 0 1px 1px rgba(0,0,0,0.05);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 600px;
    position: relative;
}

/* Main artwork frame - like a painting */
.art-frame {
    display: inline-block;
    background: linear-gradient(150deg, #FFFEF8 0%, #F4F1EB 50%, #FDFBF5 100%);
    padding: 1.5rem;
    margin-bottom: 2.25rem;
    position: relative;
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.02),
        0 8px 20px rgba(0,0,0,0.04),
        0 24px 50px rgba(0,0,0,0.06);
    transform: rotate(-0.4deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.art-frame:hover {
    transform: rotate(0deg) scale(1.015);
}

/* Frame inner border */
.art-frame::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(0,0,0,0.035);
    pointer-events: none;
}

/* Hanging nail */
.art-frame::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: radial-gradient(circle at 38% 38%, #8A8070 0%, #5C5348 50%, #3D3630 100%);
    border-radius: 50%;
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.25),
        inset 0 -1px 2px rgba(0,0,0,0.2),
        inset 0 1px 1px rgba(255,255,255,0.15);
}

/* App icon container - like a photo in frame */
.app-icon {
    width: 170px;
    height: 170px;
    border-radius: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 
        inset 0 1.5px 3px rgba(255,255,255,0.2),
        inset 0 -1.5px 4px rgba(0,0,0,0.08),
        0 8px 20px rgba(0,0,0,0.2);
    background: linear-gradient(145deg, #FFFEF8, #F0EDE6);
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Hero text with subtle shadow */
.hero h1 {
    font-size: 3.4rem;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
    text-shadow: 0 1px 0 rgba(255,255,255,0.8);
}

.hero .subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.015em;
}

.hero .description {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 1.75rem;
    line-height: 1.7;
}

/* ============================================
   BUTTONS - Wall-mounted style
   ============================================ */
.btn-group {
    display: flex;
    gap: 0.9rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    will-change: transform, box-shadow;
}

.btn-primary {
    background: linear-gradient(145deg, var(--text-primary) 0%, #151311 100%);
    color: var(--wall-base);
    box-shadow: 
        0 3px 10px rgba(30,27,24,0.18),
        0 6px 20px rgba(30,27,24,0.1);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 
        0 6px 18px rgba(30,27,24,0.22),
        0 12px 30px rgba(30,27,24,0.12),
        0 0 20px rgba(184,149,106,0.15);
}

.btn-secondary {
    background: var(--wall-warm);
    color: var(--text-primary);
    border: 1px solid rgba(30,27,24,0.1);
    box-shadow: 0 2px 6px var(--shadow-soft);
}

.btn-secondary:hover {
    background: var(--text-primary);
    color: var(--wall-base);
    transform: translateY(-2px);
    border-color: var(--text-primary);
}

.btn svg {
    width: 17px;
    height: 17px;
}

.version-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(30,27,24,0.035);
    border: 1px solid rgba(30,27,24,0.045);
    border-radius: 30px;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* ============================================
   SECTION HEADERS - Gallery plaque style
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.35rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 450px;
    margin: 0 auto;
    font-size: 0.95rem;
}

/* ============================================
   FEATURE CARDS - Hanging gallery cards
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1050px;
    margin: 0 auto;
}

/* Individual hanging card - slightly curled off wall */
.feature-card {
    background: #FFFFFF;
    padding: 1.75rem 1.35rem;
    text-align: center;
    position: relative;
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.02),
        0 8px 16px rgba(0,0,0,0.03),
        8px 12px 24px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
    border-radius: 2px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: rotate(var(--rotation, 0deg));
    will-change: transform, box-shadow;
}

.feature-card:nth-child(1) { --rotation: -0.5deg; }
.feature-card:nth-child(2) { --rotation: 0.25deg; }
.feature-card:nth-child(3) { --rotation: -0.15deg; }
.feature-card:nth-child(4) { --rotation: 0.4deg; }

.feature-card:hover {
    transform: rotate(0deg) translateY(-4px) scale(1.02);
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.03),
        0 15px 30px rgba(0,0,0,0.05),
        12px 20px 40px rgba(0,0,0,0.06);
}

/* Washi tape lifts on hover */
.feature-card:hover::before,
.feature-card:hover::after {
    top: -10px;
    height: 18px;
}

/* Torn masking tape at top */
.feature-card::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 16px;
    background: #FDFCEE;
    opacity: 0.85;
    /* Simulate torn edges */
    clip-path: polygon(0% 10%, 5% 0%, 15% 15%, 25% 0%, 35% 12%, 45% 0%, 55% 15%, 65% 0%, 75% 12%, 85% 0%, 95% 10%, 100% 0%, 100% 90%, 95% 100%, 85% 85%, 75% 100%, 65% 88%, 55% 100%, 45% 85%, 35% 100%, 25% 88%, 15% 100%, 5% 90%, 0% 100%);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.35s ease;
}

/* Masking tape texture */
.feature-card::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 16px;
    background: repeating-linear-gradient(
        45deg,
        transparent 0px,
        transparent 2px,
        rgba(0,0,0,0.02) 2px,
        rgba(0,0,0,0.02) 3px
    );
    pointer-events: none;
    transition: all 0.35s ease;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(145deg, var(--text-primary) 0%, #151311 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.1rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    color: var(--wall-base);
}

.feature-card h3 {
    font-size: 1.18rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   HOW IT WORKS - Timeline with hanging photos
   ============================================ */
.timeline {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
}

/* Vertical string - natural twine */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1.5px;
    height: 100%;
    background: repeating-linear-gradient(45deg, #A4988B, #A4988B 2px, #C2B6A9 2px, #C2B6A9 4px);
    box-shadow: 1px 0 2px rgba(0,0,0,0.04);
}

/* Small metal pin holding string */
.timeline::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: radial-gradient(circle at 30% 30%, #D8D8D8 0%, #8A8A8A 50%, #404040 100%);
    border-radius: 50%;
    box-shadow: 0 2px 3px rgba(0,0,0,0.2);
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.75rem;
    padding: 1rem 0;
    position: relative;
}

/* Number as heavy cardstock tag */
.step-number {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: #FFFFFF;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 2px; /* Square tags look more realistic */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    box-shadow: 
        1px 2px 4px rgba(0,0,0,0.04),
        3px 6px 12px rgba(0,0,0,0.03);
    transition: all 0.4s ease;
}

/* Hole punch in tag */
.step-number::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--wall-base);
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.step:hover .step-number {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 2px 4px 8px rgba(0,0,0,0.06);
}

.step-content h3 {
    font-size: 1.22rem;
    margin-bottom: 0.35rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ============================================
   HOW IT WORKS - Tanabata Theme
   ============================================ */
.tanabata-container {
    position: relative;
    max-width: 750px;
    margin: 0 auto;
    padding: 2rem 0 2rem 0;
}

/* Bamboo pole - vertical, on LEFT side */
.bamboo-pole {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 8px;
    background: linear-gradient(90deg, 
        #3A4528 0%, 
        #5A6B42 30%, 
        #6B7C52 50%, 
        #5A6B42 70%, 
        #3A4528 100%
    );
    border-radius: 4px;
    box-shadow: 
        2px 0 4px rgba(0,0,0,0.15);
    z-index: 2;
}

/* Bamboo nodes (segments) - where tanzaku attach */
.bamboo-node {
    position: absolute;
    left: -3px;
    right: -3px;
    height: 4px;
    background: linear-gradient(180deg, 
        #3A4528 0%, 
        #5A6B42 50%, 
        #3A4528 100%
    );
    border-radius: 2px;
}

.bamboo-node:nth-child(1) { top: 15%; }
.bamboo-node:nth-child(2) { top: 38%; }
.bamboo-node:nth-child(3) { top: 61%; }
.bamboo-node:nth-child(4) { top: 84%; }

/* Tanzaku grid - hanging papers from left bamboo */
.tanzaku-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    position: relative;
    z-index: 1;
    padding-left: 8px;
}

/* Individual tanzaku - hangs directly from bamboo */
.tanzaku {
    display: flex;
    align-items: flex-start;
    position: relative;
    width: 100%;
    padding-left: 0;
}

/* Thread - just a small knot where it attaches to bamboo */
.tanzaku-thread {
    display: none;
}

/* Paper strip (tanzaku) - hangs DIRECTLY from bamboo */
.tanzaku-paper {
    flex: 1;
    padding: 0.9rem 1.2rem;
    position: relative;
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.06),
        0 4px 10px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left center;
    min-width: 0;
    max-width: 450px;
    margin-left: -2px;
    will-change: transform, box-shadow;
}

/* Tanzaku hole punch at top left - where it hangs from bamboo */
.tanzaku-paper::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 8px;
    width: 5px;
    height: 5px;
    background: var(--wall-base);
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.15);
}

/* Washi paper texture overlay */
.tanzaku-paper::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='washi'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04' numOctaves='4' seed='5' result='noise'/%3E%3CfeColorMatrix type='saturate' values='0' in='noise'/%3E%3CfeBlend in='SourceGraphic' in2='noise' mode='multiply'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23washi)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.5;
    border-radius: inherit;
}

/* Japanese number on tanzaku */
.tanzaku-number {
    position: absolute;
    bottom: 10px;
    right: 12px;
    font-family: 'Noto Serif JP', serif;
    font-size: 0.7rem;
    opacity: 0.25;
}

.tanzaku-paper h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
    margin-top: 0.25rem;
}

.tanzaku-paper p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Tanzaku colors - Traditional Japanese */
.tanzaku-red .tanzaku-paper {
    background: linear-gradient(145deg, #FEF0F0 0%, #F8E4E4 100%);
    border-left: 3px solid #C45B5B;
}

.tanzaku-blue .tanzaku-paper {
    background: linear-gradient(145deg, #F0F4FC 0%, #E4EAF8 100%);
    border-left: 3px solid #5B7DC4;
}

.tanzaku-yellow .tanzaku-paper {
    background: linear-gradient(145deg, #FDFAF0 0%, #F8F4E4 100%);
    border-left: 3px solid #C4A85B;
}

.tanzaku-green .tanzaku-paper {
    background: linear-gradient(145deg, #F4F8F0 0%, #E8F4E4 100%);
    border-left: 3px solid #5BC47A;
}

/* Tanzaku hover effect - swing */
.tanzaku:hover .tanzaku-paper {
    animation: tanzakuSwingHover 0.5s ease-out forwards;
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.1),
        0 12px 24px rgba(0,0,0,0.12);
}

/* Swing animation on hover */
@keyframes tanzakuSwingHover {
    0% { transform: rotate(0deg); }
    30% { transform: rotate(6deg); }
    60% { transform: rotate(-3deg); }
    100% { transform: rotate(4deg); }
}

/* Tanzaku continuous swing animation - hangs from bamboo */
.tanzaku {
    animation: tanzakuSway 3.5s ease-in-out infinite;
    transform-origin: left center;
}

.tanzaku:nth-child(1) { animation-delay: 0s; }
.tanzaku:nth-child(2) { animation-delay: 0.8s; }
.tanzaku:nth-child(3) { animation-delay: 1.6s; }
.tanzaku:nth-child(4) { animation-delay: 2.4s; }

@keyframes tanzakuSway {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(2deg); }
    75% { transform: rotate(-1.5deg); }
}

/* Stop animation on hover */
.tanzaku:hover {
    animation-play-state: paused;
}

/* ============================================
   SCREENSHOTS - Photo gallery wall
   ============================================ */
.photo-wall {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.1rem;
    max-width: 920px;
    margin: 0 auto;
    padding: 1.25rem 0;
}

/* Photo as mounted physical matte polaroid */
.photo-card {
    background: #FAFAFA; /* Slight off-white photo paper */
    padding: 0.6rem;
    padding-bottom: 2rem; /* Polaroid style bottom */
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.04),
        0 8px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    border-radius: 2px;
    transform: rotate(var(--rotation, 0deg));
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.photo-card:nth-child(1) { --rotation: -2deg; }
.photo-card:nth-child(2) { --rotation: 0.8deg; }
.photo-card:nth-child(3) { --rotation: -0.6deg; }
.photo-card:nth-child(4) { --rotation: 1.5deg; }
.photo-card:nth-child(5) { --rotation: -1.2deg; }
.photo-card:nth-child(6) { --rotation: 0.4deg; }
.photo-card:nth-child(7) { --rotation: 1.4deg; }

.photo-card:hover {
    transform: rotate(0deg) scale(1.03) translateY(-4px);
    z-index: 10;
    box-shadow: 
        0 4px 10px rgba(0,0,0,0.05),
        0 20px 40px rgba(0,0,0,0.08);
}

/* Push-pins for all photos */
.photo-card::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 7px;
    height: 7px;
    background: radial-gradient(circle at 30% 30%, #F5F5F5 0%, #D0D0D0 40%, #808080 100%);
    border-radius: 50%;
    z-index: 5;
    box-shadow: 
        0 3px 5px rgba(0,0,0,0.25),
        inset 0 1px 1px rgba(255,255,255,0.8);
}

/* Pin shadow */
.photo-card::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 12px;
    background: rgba(0,0,0,0.1);
    transform: skewX(-20deg) translateX(-2px);
    filter: blur(1px);
    z-index: 4;
}

.photo-card img {
    display: block;
    width: 120px;
    aspect-ratio: 9 / 19.5;
    object-fit: cover;
    border-radius: 2px;
    background: #1a1816;
}

/* ============================================
   SCREENSHOTS - Clothesline Theme
   ============================================ */
.clothesline {
    position: relative;
    max-width: 950px;
    margin: 0 auto;
    padding: 3rem 0 2rem;
}

/* Just the rope - no poles */
.clothesline-rope {
    position: relative;
    height: 5px;
    margin: 0 2rem;
    background: repeating-linear-gradient(
        90deg,
        #8B7355 0px,
        #8B7355 3px,
        #B8A48C 3px,
        #B8A48C 6px
    );
    border-radius: 3px;
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.15),
        inset 0 1px 1px rgba(255,255,255,0.2);
}

/* Container for hanging photos */
.clothesline-photos {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1.2rem;
    padding-top: 0;
    flex-wrap: wrap;
    margin-top: -2px;
}

/* Individual cloth/item hanging - attached directly to rope */
.cloth {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: transform 0.4s ease;
}

/* Wooden clothespin - attaches photo to rope */
.clothespin {
    width: 10px;
    height: 14px;
    background: linear-gradient(90deg, 
        #A68B5B 0%, 
        #C4A46B 40%, 
        #D4B47B 60%, 
        #C4A46B 80%, 
        #A68B5B 100%
    );
    border-radius: 2px 2px 3px 3px;
    position: relative;
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.2),
        inset 0 1px 1px rgba(255,255,255,0.4);
    z-index: 2;
    margin-bottom: -2px;
}

/* Clothespin spring detail */
.clothespin::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 1px;
    right: 1px;
    height: 2px;
    background: #8B7355;
    border-radius: 1px;
}

/* Photo displayed as cloth/fabric - attached to rope */
.cloth-photo {
    background: #FAFAFA;
    padding: 0.4rem;
    padding-bottom: 1.5rem;
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.06),
        0 4px 8px rgba(0,0,0,0.08);
    position: relative;
    transform: var(--rotation, 0deg);
    transform-origin: top center;
    transition: all 0.4s ease;
    will-change: transform, box-shadow;
}

/* Cloth edge effect - slightly wavy */
.cloth-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 8px,
        rgba(0,0,0,0.015) 8px,
        rgba(0,0,0,0.015) 10px
    );
}

/* Small subtle shadow */
.cloth-photo::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 15%;
    right: 15%;
    height: 6px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.06) 0%, transparent 70%);
    filter: blur(1px);
}

.cloth-photo img {
    display: block;
    width: 105px;
    aspect-ratio: 9 / 19.5;
    object-fit: cover;
    border-radius: 1px;
    background: #1a1816;
}

/* Different rotations for natural look */
.cloth:nth-child(1) { --rotation: -1.5deg; }
.cloth:nth-child(2) { --rotation: 0.8deg; }
.cloth:nth-child(3) { --rotation: -0.5deg; }
.cloth:nth-child(4) { --rotation: 1.2deg; }
.cloth:nth-child(5) { --rotation: -0.8deg; }
.cloth:nth-child(6) { --rotation: 0.5deg; }
.cloth:nth-child(7) { --rotation: 1deg; }

/* Hover effect - cloth flutters like being blown by wind */
.cloth:hover {
    z-index: 10;
}

.cloth:hover .cloth-photo {
    animation: windBillow 1.2s ease-out forwards;
    box-shadow: 
        0 8px 16px rgba(0,0,0,0.12),
        0 20px 40px rgba(0,0,0,0.1);
}

/* Physics-based wind billowing - like flag/cloth in wind 
   The key: attachment point is TOP, so movement is from bottom going UP */
@keyframes windBillow {
    0% { 
        transform: rotate(var(--rotation, 0deg)) translateY(0) scaleY(1);
    }
    15% {
        /* Wind hits - bottom pushes UP and OUT */
        transform: rotate(15deg) translateY(-25px) scaleY(0.95);
    }
    35% {
        /* Cloth pushes back down slightly */
        transform: rotate(8deg) translateY(-15px) scaleY(0.97);
    }
    50% {
        /* Second gust pushes up again */
        transform: rotate(12deg) translateY(-20px) scaleY(0.96);
    }
    65% {
        /* Bounces back */
        transform: rotate(5deg) translateY(-10px) scaleY(0.98);
    }
    80% {
        /* Final push */
        transform: rotate(8deg) translateY(-14px) scaleY(0.97);
    }
    100% {
        /* Settles with slight billow */
        transform: rotate(3deg) translateY(-5px) scaleY(0.99);
    }
}

/* Gentle continuous sway animation for clothes (not on hover) */
.cloth-photo {
    animation: clothSway 6s ease-in-out infinite;
}

.cloth:nth-child(1) .cloth-photo { animation-delay: 0s; }
.cloth:nth-child(2) .cloth-photo { animation-delay: 0.8s; }
.cloth:nth-child(3) .cloth-photo { animation-delay: 1.6s; }
.cloth:nth-child(4) .cloth-photo { animation-delay: 2.4s; }
.cloth:nth-child(5) .cloth-photo { animation-delay: 3.2s; }
.cloth:nth-child(6) .cloth-photo { animation-delay: 4s; }
.cloth:nth-child(7) .cloth-photo { animation-delay: 4.8s; }

@keyframes clothSway {
    0%, 100% { 
        transform: rotate(var(--rotation, 0deg)) translateY(0) scaleY(1); 
    }
    50% { 
        transform: rotate(var(--rotation, 0deg)) translateY(3px) scaleY(1.01); 
    }
}

/* Stop gentle sway on hover and play wind animation */
.cloth:hover .cloth-photo {
    animation: windBillow 1.2s ease-out forwards;
}

/* ============================================
   PRIVACY SECTION - Document display
   ============================================ */
.privacy-section {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.privacy-section h2 {
    font-size: 2.1rem;
    margin-bottom: 0.6rem;
}

.privacy-section > p {
    color: var(--text-secondary);
    margin-bottom: 2.25rem;
    font-size: 0.95rem;
}

.privacy-grid {
    display: flex;
    justify-content: center;
    gap: 1.1rem;
    flex-wrap: wrap;
}

/* Privacy cards as paper notes */
.privacy-card {
    padding: 1.25rem 1.5rem;
    background: var(--wall-warm);
    border: 1px solid rgba(30,27,24,0.04);
    box-shadow: 0 2px 8px var(--shadow-soft);
    min-width: 180px;
    transition: all 0.35s ease;
}

.privacy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px var(--shadow-medium);
}

.privacy-card-icon {
    width: 28px;
    height: 28px;
    margin: 0 auto 0.75rem;
    color: var(--gold);
}

.privacy-card h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.privacy-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Privacy section - Japanese seal (inkan) decoration */
.privacy-section {
    position: relative;
}

/* Japanese seal stamp decoration */
.privacy-section::after {
    content: '確認';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%) rotate(-12deg);
    font-family: 'Noto Serif JP', serif;
    font-size: 2.5rem;
    color: var(--cinnabar);
    opacity: 0.12;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 0.15em;
    border: 3px solid var(--cinnabar);
    padding: 0.5rem 0.3rem;
    border-radius: 4px;
}

/* ============================================
   DOWNLOAD CTA - Noren curtain effect
   ============================================ */
.download-cta {
    text-align: center;
    padding: 4.5rem 2rem;
    background: linear-gradient(180deg, transparent, rgba(30,27,24,0.012));
    position: relative;
    overflow: hidden;
}

/* Noren curtain top decoration */
.download-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        rgba(30,27,24,0.03) 0px,
        rgba(30,27,24,0.03) 20px,
        transparent 20px,
        transparent 40px
    );
}

/* Framed content */
.cta-frame {
    display: inline-block;
    padding: 2.75rem 3rem;
    background: var(--wall-warm);
    border: 1px solid rgba(30,27,24,0.045);
    box-shadow: 
        0 3px 10px var(--shadow-soft),
        0 12px 30px var(--shadow-soft);
    position: relative;
}

/* Corner decorations - subtle Japanese influence */
.cta-frame::before,
.cta-frame::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--gold);
    opacity: 0.3;
}

.cta-frame::before {
    top: 8px;
    left: 8px;
    border-right: none;
    border-bottom: none;
}

.cta-frame::after {
    bottom: 8px;
    right: 8px;
    border-left: none;
    border-top: none;
}

.download-cta h2 {
    font-size: 1.9rem;
    margin-bottom: 0.4rem;
}

.download-cta p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* ============================================
   FOOTER - Minimal hanging sign with Japanese wave
   ============================================ */
footer {
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(30,27,24,0.04);
    position: relative;
}

/* Seigaiha wave pattern in footer */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: repeating-radial-gradient(
        circle at 50% 100%,
        transparent 0px,
        transparent 6px,
        rgba(30,27,24,0.015) 6px,
        rgba(30,27,24,0.015) 12px
    );
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.1), transparent);
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-links a:hover::after {
    width: 100%;
}

footer p {
    color: var(--text-muted);
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 2.7rem;
    }
    
    /* Clothesline: wrap to 2 rows */
    .clothesline-photos {
        gap: 1rem;
    }
    
    .clothesline-photos .cloth {
        margin: 0 0.25rem;
    }
}

/* ============================================
    MOBILE OPTIMIZATIONS (< 768px)
    ============================================ */
@media (max-width: 768px) {
    /* Base mobile adjustments */
    :root {
        font-size: 15px;
    }
    
    body {
        line-height: 1.7;
    }
    
    .container {
        padding: 0 1.25rem;
    }
    
    section {
        padding: 3.5rem 0;
    }
    
    /* Navigation */
    nav {
        padding: 1rem 0;
    }
    
    .logo-mark {
        width: 36px;
        height: 36px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 110;
        border-radius: 8px;
        transition: background-color 0.3s ease;
    }

    .mobile-menu-toggle:hover {
        background: rgba(30, 27, 24, 0.05);
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .hamburger-line {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--text-primary);
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .hamburger-line:nth-child(2) {
        margin: 5px 0;
    }

    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(30, 27, 24, 0.5);
        backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 99;
    }

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

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        max-width: 85vw;
        background: var(--wall-base);
        flex-direction: column;
        gap: 0;
        padding: 5rem 1.5rem 2rem;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 101;
        box-shadow: -4px 0 20px rgba(30, 27, 24, 0.1);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        border-bottom: 1px solid rgba(30, 27, 24, 0.06);
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        font-weight: 500;
    }

    .nav-links a::after {
        display: none;
    }
    
    /* Hero Section */
    .hero {
        min-height: auto;
        padding: 6rem 1.25rem 4rem;
    }
    
    .hero::before {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .art-frame {
        padding: 1rem;
        margin-bottom: 1.75rem;
    }
    
    .app-icon {
        width: 130px;
        height: 130px;
        border-radius: 30px;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 0.35rem;
    }
    
    .hero .subtitle {
        font-size: 0.95rem;
        margin-bottom: 0.9rem;
    }
    
    .hero .description {
        font-size: 0.88rem;
        margin-bottom: 1.5rem;
    }
    
    /* Buttons - Touch friendly */
    .btn-group {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .btn svg {
        width: 18px;
        height: 18px;
    }
    
    .version-badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.85rem;
    }
    
    /* Section Headers */
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-header p {
        font-size: 0.88rem;
    }
    
    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .feature-card {
        --rotation: 0deg !important;
        padding: 1.5rem 1.25rem;
    }
    
    .feature-icon {
        width: 42px;
        height: 42px;
    }
    
    .feature-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.82rem;
    }
    
    /* Tanabata / How It Works */
    .tanabata-container {
        padding: 1rem 0;
        max-width: 100%;
    }
    
    .bamboo-pole {
        display: none;
    }
    
    .tanzaku-grid {
        padding-left: 0;
        gap: 0.85rem;
    }
    
    .tanzaku {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .tanzaku-thread {
        display: none;
    }
    
    .tanzaku-paper {
        padding: 0.85rem 1rem;
        min-width: 0;
    }
    
    .tanzaku-paper h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .tanzaku-paper p {
        font-size: 0.8rem;
        line-height: 1.55;
    }
    
    .tanzaku-number {
        display: none;
    }
    
    /* Stop tanzaku animation on mobile for performance */
    .tanzaku {
        animation: none !important;
    }
    
    /* Screenshots / Clothesline */
    .clothesline {
        padding: 1.5rem 0.5rem 1rem;
        margin: 0 0.25rem;
    }
    
    .clothesline-rope {
        margin: 0 0.5rem;
        height: 4px;
    }
    
    .clothesline-pole {
        display: none;
    }
    
    .clothesline-photos {
        gap: 0.5rem;
    }
    
    /* Show fewer photos on mobile */
    .clothesline-photos .cloth:nth-child(n+6) {
        display: none;
    }
    
    .cloth-photo {
        padding: 0.35rem;
        padding-bottom: 1.2rem;
    }
    
    .cloth-photo img {
        width: 70px;
    }
    
    .clothespin {
        width: 7px;
        height: 10px;
    }
    
    /* Stop clothesline animation on mobile */
    .cloth-photo {
        animation: none !important;
    }
    
    /* Privacy Section */
    .privacy-section {
        padding: 0 0.5rem;
    }
    
    .privacy-section h2 {
        font-size: 1.65rem;
    }
    
    .privacy-section > p {
        font-size: 0.88rem;
    }
    
    .privacy-grid {
        gap: 0.85rem;
    }
    
    .privacy-card {
        padding: 1rem 1.25rem;
        min-width: 140px;
    }
    
    .privacy-card h4 {
        font-size: 0.9rem;
    }
    
    .privacy-card p {
        font-size: 0.75rem;
    }
    
    .privacy-section::after {
        display: none;
    }
    
    /* Download CTA */
    .download-cta {
        padding: 3rem 1.25rem;
    }
    
    .cta-frame {
        padding: 2rem 1.25rem;
        width: 100%;
    }
    
    .download-cta h2 {
        font-size: 1.65rem;
    }
    
    .download-cta p {
        font-size: 0.88rem;
    }
    
    /* Footer */
    footer {
        padding: 2rem 1.25rem;
    }
    
    .footer-links {
        gap: 1.25rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    footer p {
        font-size: 0.75rem;
    }
    
    /* Hide decorative elements on mobile for performance */
    .sumie-art,
    .sakura-container {
        display: none;
    }
    
    /* Wave dividers */
    .wave-divider {
        transform: translateX(-50%) scale(0.8);
    }
}

/* ============================================
    SMALL MOBILE (< 480px)
    ============================================ */
@media (max-width: 480px) {
    :root {
        font-size: 14px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    /* Hero */
    .hero {
        padding: 5rem 1rem 3rem;
    }
    
    .app-icon {
        width: 110px;
        height: 110px;
        border-radius: 26px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero .subtitle {
        font-size: 0.9rem;
    }
    
    .hero .description {
        font-size: 0.85rem;
    }
    
    /* Section Headers */
    .section-header h2 {
        font-size: 1.55rem;
    }
    
    /* Features */
    .feature-card {
        padding: 1.25rem 1rem;
    }
    
    /* How It Works */
    .tanzaku-paper {
        padding: 0.75rem 0.85rem;
    }
    
    .tanzaku-paper h3 {
        font-size: 0.95rem;
    }
    
    .tanzaku-paper p {
        font-size: 0.78rem;
    }
    
    /* Screenshots - show even fewer */
    .clothesline-photos .cloth:nth-child(n+5) {
        display: none;
    }
    
    .cloth-photo img {
        width: 65px;
    }
    
    /* Privacy */
    .privacy-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .privacy-card {
        width: 100%;
        max-width: 260px;
    }
    
    /* CTA */
    .cta-frame {
        padding: 1.75rem 1rem;
    }
    
    .download-cta h2 {
        font-size: 1.45rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.93);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes gentleSwing {
    0%, 100% { transform: rotate(-0.4deg); }
    50% { transform: rotate(0.2deg); }
}

.animate-in {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-scale {
    opacity: 0;
    animation: fadeInScale 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.38s; }
.delay-4 { animation-delay: 0.5s; }
.delay-5 { animation-delay: 0.65s; }

/* Scroll-triggered animations */
.reveal {
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    /* Animation handled by CSS, initial state is visible */
}

/* Staggered children */
.stagger-children > * {
    transition: all 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.active > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.08s; }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.16s; }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.24s; }
.stagger-children.active > *:nth-child(5) { transition-delay: 0.32s; }
.stagger-children.active > *:nth-child(6) { transition-delay: 0.4s; }
.stagger-children.active > *:nth-child(7) { transition-delay: 0.48s; }

.stagger-children.active > * {
    opacity: 1;
    transform: translateY(0);
}

/* Subtle hover glow on interactive elements */
.feature-card,
.photo-card,
.privacy-card {
    will-change: transform, box-shadow;
}

/* Gentle swing animation for hanging elements */
.art-frame {
    /* animation: gentleSwing 6s ease-in-out infinite; */
    /* animation-delay: 1s; */
}

.art-frame:hover {
    animation: none;
}

/* ============================================
   SAKURA (Cherry Blossom) Decoration
   ============================================ */
.sakura-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.sakura-petal {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(ellipse at 30% 30%, rgba(255,240,245,0.9) 0%, rgba(255,220,235,0.6) 50%, rgba(255,200,220,0.3) 100%);
    border-radius: 50% 0 50% 50%;
    opacity: 0.4;
}

.sakura-petal:nth-child(1) {
    top: 15%;
    left: 10%;
    animation: sakuraFall1 12s ease-in-out infinite;
    transform: rotate(15deg);
}

.sakura-petal:nth-child(2) {
    top: 25%;
    right: 15%;
    width: 6px;
    height: 6px;
    animation: sakuraFall2 15s ease-in-out infinite;
    transform: rotate(-20deg);
    animation-delay: 3s;
}

.sakura-petal:nth-child(3) {
    top: 60%;
    left: 8%;
    width: 5px;
    height: 5px;
    animation: sakuraFall3 18s ease-in-out infinite;
    transform: rotate(45deg);
    animation-delay: 6s;
}

.sakura-petal:nth-child(4) {
    top: 40%;
    right: 8%;
    width: 7px;
    height: 7px;
    animation: sakuraFall4 14s ease-in-out infinite;
    transform: rotate(-10deg);
    animation-delay: 2s;
}

@keyframes sakuraFall1 {
    0% { transform: translateY(0) rotate(15deg); opacity: 0; }
    10% { opacity: 0.4; }
    90% { opacity: 0.3; }
    100% { transform: translateY(400px) rotate(180deg); opacity: 0; }
}

@keyframes sakuraFall2 {
    0% { transform: translateY(0) rotate(-20deg); opacity: 0; }
    10% { opacity: 0.35; }
    90% { opacity: 0.25; }
    100% { transform: translateY(350px) rotate(200deg); opacity: 0; }
}

@keyframes sakuraFall3 {
    0% { transform: translateY(0) rotate(45deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.2; }
    100% { transform: translateY(300px) rotate(150deg); opacity: 0; }
}

@keyframes sakuraFall4 {
    0% { transform: translateY(0) rotate(-10deg); opacity: 0; }
    10% { opacity: 0.35; }
    90% { opacity: 0.25; }
    100% { transform: translateY(380px) rotate(170deg); opacity: 0; }
}