/* Variables & Reset */
:root {
    --primary: #6B4C9A;      /* Deep Purple from cover text */
    --primary-dark: #4A306D;
    --accent: #FF9E75;       /* Peach/Orange from cover background */
    --accent-light: #FFD4B8;
    --bg-color: #FFF9F5;     /* Very light cream/peach background */
    --text-main: #2D2438;
    --text-light: #6B5E7A;
    --white: #FFFFFF;
    
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Outfit', sans-serif;
    
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-sm: 0 4px 6px rgba(107, 76, 154, 0.05);
    --shadow-lg: 0 20px 40px rgba(107, 76, 154, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Cursor Glow */
.cursor-glow {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 158, 117, 0.15), transparent 70%);
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
    mix-blend-mode: multiply;
}

/* Aurora Background */
.aurora {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.aurora-layer {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite alternate;
}

.aurora-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--accent-light);
    animation-delay: 0s;
}

.aurora-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: rgba(107, 76, 154, 0.1); /* Purple tint */
    animation-delay: -5s;
}

.aurora-3 {
    top: 40%;
    left: 40%;
    width: 30vw;
    height: 30vw;
    background: rgba(255, 212, 184, 0.4);
    animation-delay: -10s;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

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

.nav-cta {
    text-decoration: none;
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(107, 76, 154, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107, 76, 154, 0.4);
    background: var(--primary-dark);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 5%;
    padding-top: 80px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.hero-content {
    padding-right: 4rem;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(107, 76, 154, 0.1);
    backdrop-filter: blur(5px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 5.5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-word {
    display: inline-block;
    transform: translateY(100%);
    animation: revealText 1s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

.title-accent {
    color: var(--accent);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.subtitle-number {
    font-weight: 600;
    color: var(--primary);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(107, 76, 154, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(107, 76, 154, 0.4);
    background: var(--primary-dark);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.5);
    color: var(--primary);
    border: 1px solid rgba(107, 76, 154, 0.1);
}

.btn-ghost:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stat-number, .stat-icon {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(107, 76, 154, 0.1);
}

/* 3D Book Scene */
.hero-visual {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    perspective: 2000px;
}

.book-scene {
    position: relative;
    transform-style: preserve-3d;
    animation: floatBook 6s ease-in-out infinite;
}

.book-3d {
    width: 340px;
    height: 500px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-30deg) rotateX(10deg);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.book-3d:hover {
    transform: rotateY(-15deg) rotateX(5deg) translateZ(20px);
}

.book-cover-front {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 4px 12px 12px 4px;
    transform: translateZ(25px);
    overflow: hidden;
    box-shadow: inset 4px 0 10px rgba(0,0,0,0.1);
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cover-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    mix-blend-mode: overlay;
    pointer-events: none;
}

.book-spine {
    position: absolute;
    width: 50px;
    height: 100%;
    /* Matched to the purple/orange theme of the cover */
    background: linear-gradient(90deg, #4A306D 0%, #6B4C9A 100%);
    transform: rotateY(-90deg) translateZ(25px);
    left: -25px; /* Half width */
    border-radius: 4px 0 0 4px;
}

.book-cover-back {
    position: absolute;
    width: 100%;
    height: 100%;
    /* Matched to the orange background of the cover */
    background: #FF9E75;
    transform: translateZ(-25px) rotateY(180deg);
    border-radius: 4px 12px 12px 4px;
    box-shadow: -10px 10px 30px rgba(0,0,0,0.2);
}

.book-pages {
    position: absolute;
    width: 98%;
    height: 96%;
    top: 2%;
    right: 0;
    transform-style: preserve-3d;
}

.book-pages .page {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 0 10px 10px 0;
    transform-origin: left;
}

.book-pages .page:nth-child(1) { transform: translateZ(24px); }
.book-pages .page:nth-child(2) { transform: translateZ(22px); }
.book-pages .page:nth-child(3) { transform: translateZ(20px); }
.book-pages .page:nth-child(4) { transform: translateZ(18px); }
.book-pages .page:nth-child(5) { transform: translateZ(16px); }

.book-shadow {
    position: absolute;
    bottom: -60px;
    left: 10%;
    width: 80%;
    height: 40px;
    background: rgba(107, 76, 154, 0.3);
    filter: blur(20px);
    transform: rotateX(90deg);
    z-index: -1;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-item {
    position: absolute;
    color: var(--accent);
    opacity: 0.6;
    animation: floatParticle 4s ease-in-out infinite;
}

.float-heart { top: 20%; left: 10%; font-size: 2rem; color: var(--primary); animation-delay: 0s; }
.float-star { bottom: 30%; right: 10%; font-size: 1.5rem; animation-delay: 1s; }
.float-sparkle { top: 15%; right: 20%; font-size: 1.8rem; animation-delay: 2s; }
.float-feather { bottom: 15%; left: 20%; font-size: 2.5rem; color: var(--primary); animation-delay: 3s; }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
}

.scroll-text {
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(107, 76, 154, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--primary);
    animation: scrollDown 2s infinite;
}

/* Common Section Styles */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--primary);
    line-height: 1.2;
}

.title-gradient {
    background: linear-gradient(120deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Story Section */
.story-section {
    padding: 8rem 0;
    background: white;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-image-stack {
    position: relative;
    height: 500px;
}

.story-card {
    position: absolute;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: all 0.5s ease;
    width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
}

.story-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.story-card p {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text-main);
    line-height: 1.4;
}

.story-card-1 { top: 50px; left: 0; z-index: 3; transform: rotate(-5deg); }
.story-card-2 { top: 150px; right: 20px; z-index: 2; transform: rotate(5deg); }
.story-card-3 { bottom: 50px; left: 40px; z-index: 1; transform: rotate(-3deg); }

.story-card:hover {
    transform: scale(1.05) rotate(0);
    z-index: 10;
    box-shadow: 0 25px 50px rgba(107, 76, 154, 0.2);
}

.story-text {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.story-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.story-feature {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 158, 117, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Inside Section */
.inside-section {
    padding: 8rem 0;
    background: var(--bg-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-large {
    grid-column: span 2;
    background: linear-gradient(135deg, #6B4C9A 0%, #4A306D 100%);
    color: white;
}

.feature-card.feature-large h3, .feature-card.feature-large p {
    color: white !important;
}

.feature-large .feature-number {
    color: rgba(255, 255, 255, 0.2);
}

.feature-large .feature-icon-wrap {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-number {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-family: var(--font-display);
    font-size: 4rem;
    color: rgba(107, 76, 154, 0.1);
    font-weight: 700;
}

.feature-icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(107, 76, 154, 0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.feature-preview {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    font-style: italic;
    border-left: 3px solid var(--accent);
}

/* Prompts Section */
.prompts-section {
    padding: 8rem 0;
    overflow: hidden;
}

.prompts-carousel {
    position: relative;
    height: 400px;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prompts-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

.prompt-card {
    position: absolute;
    width: 350px;
    height: 250px;
    background: white;
    border-radius: 15px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.5s ease;
    opacity: 0;
}

.prompt-card.active {
    opacity: 1;
    transform: translateZ(0) scale(1);
    z-index: 10;
}

.prompt-card.prev {
    opacity: 0.6;
    transform: translateX(-120%) scale(0.9) rotateY(20deg);
    z-index: 5;
    pointer-events: none;
}

.prompt-card.next {
    opacity: 0.6;
    transform: translateX(120%) scale(0.9) rotateY(-20deg);
    z-index: 5;
    pointer-events: none;
}

.prompt-number {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-family: var(--font-display);
    color: var(--accent);
    font-size: 1.2rem;
}

.prompt-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--primary);
    line-height: 1.3;
}

.prompt-decoration {
    position: absolute;
    bottom: 1.5rem;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

.prompts-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.prompt-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(107, 76, 154, 0.2);
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.prompt-nav-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.prompt-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(107, 76, 154, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Order Section */
.order-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--bg-color) 0%, #FFF0E6 100%);
}

.order-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    background: white;
    border-radius: 30px;
    padding: 4rem;
    box-shadow: var(--shadow-lg);
}

.price-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--primary);
    font-weight: 700;
    line-height: 1;
}

.price-original {
    font-size: 1.5rem;
    color: var(--text-light);
    text-decoration: line-through;
    opacity: 0.7;
}

.price-badge {
    background: var(--accent);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.order-perks {
    list-style: none;
    margin-bottom: 2.5rem;
}

.order-perks li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.order-perks i {
    color: var(--accent);
}

.order-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.form-group {
    flex: 1;
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(107, 76, 154, 0.2);
    border-radius: 100px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-color);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(107, 76, 154, 0.1);
}

.form-group label {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
    transition: all 0.3s ease;
    background: var(--bg-color);
    padding: 0 0.5rem;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label {
    top: 0;
    font-size: 0.8rem;
    color: var(--primary);
}

.form-group input::placeholder {
    opacity: 0;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.trust-badges {
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 6rem 0 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo-text, .footer-brand .logo-icon {
    color: white;
}

.footer-tagline {
    opacity: 0.7;
    margin-top: 1rem;
    font-size: 1.1rem;
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.footer-column a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

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

.modal-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

/* Animations */
@keyframes revealText {
    to { transform: translateY(0); }
}

@keyframes floatBook {
    0%, 100% { transform: translateY(0) rotateY(-30deg) rotateX(10deg); }
    50% { transform: translateY(-20px) rotateY(-25deg) rotateX(5deg); }
}

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

@keyframes scrollDown {
    0% { top: 0; opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 4rem;
    }
    
    .hero-actions, .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-large {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .story-grid, .order-grid {
        grid-template-columns: 1fr;
    }
    
    .story-image-stack {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-large {
        grid-column: span 1;
    }
    
    .order-grid {
        padding: 2rem;
    }
    
    .order-form {
        flex-direction: column;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-brand, .footer-column, .footer-social {
        align-items: center;
        display: flex;
        flex-direction: column;
    }
}

/* Order Mockup Image */
.order-mockup-image {
    width: 100%;
    height: auto;
    max-width: 120%;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(107, 76, 154, 0.2));
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

.order-mockup-image:hover {
    transform: scale(1.15) rotate(2deg);
}

@media (max-width: 768px) {
    .order-mockup-image {
        max-width: 100%;
        transform: scale(1);
        margin-top: 2rem;
    }
    
    .order-mockup-image:hover {
        transform: scale(1.05);
    }
    
    /* Mobile Nav */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 2rem;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        transform: translateY(-150%);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        opacity: 0;
        pointer-events: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .nav-cta {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}
