/*
Theme Name: SnappyHop Theme
Author: SnappyHop Team
Description: Custom theme for SnappyHop 3D Postcards
Version: 1.1
*/

/* --- VARIABLES --- */
:root {
  /* Palette */
  --bg-cream: #FFFBF2;
  --bg-gradient: linear-gradient(180deg, #FFFBF2 0%, #EBF8FF 100%);

  --primary-orange: #F57C51; /* Terracotta */
  --primary-hover: #E0653B;
  --secondary-blue: #64B5F6; /* Sky */
  --accent-yellow: #FFD54F;
  --text-dark: #2D3748;
  --text-muted: #718096;
  --white: #FFFFFF;
  --bg-surface: #FFFFFF;

  /* UI Tokens */
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --shadow-soft: 0 20px 40px -10px rgba(45, 55, 72, 0.1);
  --shadow-card: 0 10px 30px -5px rgba(45, 55, 72, 0.05);
  --border-light: rgba(0,0,0,0.06);

  --container-width: 1120px;
}

/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

/* --- LAYOUT UTILS --- */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }

.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: rgba(245, 124, 81, 0.1);
  color: var(--primary-orange);
  border-radius: var(--radius-pill);
  font-weight: 800; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: 800; font-size: 1rem;
  cursor: pointer; transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-3px); }

.btn-primary {
  background: var(--primary-orange); color: white;
  box-shadow: 0 10px 20px rgba(245, 124, 81, 0.25);
}
.btn-primary:hover { box-shadow: 0 15px 30px rgba(245, 124, 81, 0.4); }

.btn-ghost {
  background: white; color: var(--text-dark);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.btn-ghost:hover { border-color: var(--primary-orange); color: var(--primary-orange); }

/* --- HEADER --- */
header {
  padding: 1.2rem 0; position: sticky; top: 0; z-index: 100;
  background: rgba(255, 251, 242, 0.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 900; font-size: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }
.logo span { color: var(--primary-orange); }
.nav-links { display: flex; gap: 2rem; font-weight: 700; font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary-orange); }

/* --- HERO --- */
.hero { padding: 4rem 0 6rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 4rem; }

.hero-h1 { font-size: 3.5rem; line-height: 1.1; font-weight: 900; margin-bottom: 1.5rem; color: var(--text-dark); }
.hero-h1 .highlight { color: var(--primary-orange); position: relative; display: inline-block; }
.hero-h1 .highlight::after {
  content: ''; position: absolute; bottom: 8px; left: 0; width: 100%; height: 12px;
  background: var(--accent-yellow); z-index: -1; opacity: 0.6; transform: rotate(-1deg); border-radius: 4px;
}

.hero-sub { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 90%; }
.hero-visual { position: relative; perspective: 1200px; }

/* Phone Mockup */
.phone-mockup {
  width: 280px; margin: 0 auto;
  border-radius: 45px; border: 10px solid #1A202C; background: #1A202C;
  overflow: hidden; box-shadow: 0 30px 60px -15px rgba(0,0,0,0.3);
  transform: rotateY(-12deg) rotateX(5deg);
  transition: transform 0.5s ease;
  position: relative; z-index: 2;
}
.phone-mockup:hover { transform: rotateY(0) rotateX(0) scale(1.02); }

/* Float Tags */
.float-tag {
  position: absolute; background: white; padding: 0.8rem 1.2rem;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
  font-weight: 700; font-size: 0.9rem; z-index: 3;
  display: flex; align-items: center; gap: 0.6rem;
  animation: float 4s ease-in-out infinite;
}
.float-1 { top: 15%; left: -20px; animation-delay: 0s; }
.float-2 { bottom: 20%; right: -20px; animation-delay: 2s; }


/* Desktop Menu */
.nav-links { display: flex; gap: 2rem; font-weight: 700; font-size: 0.95rem; align-items: center; }
.nav-right { display: flex; align-items: center; gap: 1rem; }

/* Hamburger Button (Hidden on Desktop) */
.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 102; }
.bar { width: 25px; height: 3px; background-color: var(--text-dark); border-radius: 3px; transition: 0.3s; }

/* --- CREATE PAGE STYLES --- */
.create-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 2rem;
    min-height: 80vh; align-items: start;
}
.create-panel {
    background: white; border-radius: var(--radius-lg); padding: 2.5rem;
    box-shadow: var(--shadow-card); border: 1px solid var(--border-light);
}
.form-label { display: block; font-weight: 800; margin-bottom: 0.5rem; color: var(--text-dark); }
.form-input, .form-select {
    width: 100%; padding: 1rem; border: 2px solid #E2E8F0; border-radius: 12px;
    font-size: 1rem; margin-bottom: 1.5rem; font-family: inherit; transition: 0.2s;
}
.form-input:focus, .form-select:focus { border-color: var(--primary-orange); outline: none; }
.file-drop-zone {
    border: 2px dashed #CBD5E0; border-radius: 12px; padding: 2rem;
    text-align: center; cursor: pointer; transition: 0.2s; background: #F7FAFC;
    margin-bottom: 1.5rem;
}
.file-drop-zone:hover { border-color: var(--primary-orange); background: #FFF5F0; }

.preview-container {
    position: sticky; top: 120px;
    background: #1A202C; border-radius: 32px; padding: 1rem;
    box-shadow: var(--shadow-soft); text-align: center;
    min-height: 500px; display: flex; align-items: center; justify-content: center;
    color: white; overflow: hidden;
}
.preview-image { width: 100%; height: auto; border-radius: 24px; display: none; }
.loading-spinner {
    width: 40px; height: 40px; border: 4px solid rgba(255,255,255,0.3);
    border-radius: 50%; border-top-color: var(--primary-orange);
    animation: spin 1s ease-in-out infinite; display: none;
}

/* --- CREATOR STUDIO PROFESSIONAL (v2.0) --- */

/* Layout & Header */
.create-header { margin-bottom: 3.5rem; position: relative; }
.create-header h1 { letter-spacing: -1px; color: var(--text-dark); }
.create-header::after {
    content: ''; display: block; width: 60px; height: 5px;
    background: linear-gradient(90deg, var(--primary-orange), var(--accent-yellow));
    margin: 1.5rem auto 0; border-radius: 4px;
}

/* The Grid */
.create-grid {
    display: grid; grid-template-columns: 1.3fr 1fr; gap: 4rem;
    align-items: start; max-width: 1200px; margin: 0 auto;
}

/* Left Panel: The Form */
.create-panel {
    background: white; border-radius: 32px; padding: 3.5rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.04); position: relative;
    overflow: hidden;
}
/* Subtle top gradient bar */
.create-panel::before {
    content:''; position: absolute; top: 0; left: 0; right: 0; height: 8px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--primary-orange));
}

/* Step Typography */
.step-container { margin-bottom: 3rem; position: relative; }
.step-label {
    text-transform: uppercase; font-size: 0.75rem; font-weight: 800;
    letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 0.5rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.step-number-badge {
    background: var(--bg-cream); color: var(--primary-orange);
    width: 24px; height: 24px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 900;
}

/* 1. Upload Zone (Refined) */
.upload-zone {
    border: 2px dashed #CBD5E0; border-radius: 24px; padding: 2rem;
    text-align: center; cursor: pointer; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: #F8FAFC; position: relative;
}
.upload-zone:hover {
    border-color: var(--primary-orange); background: #FFFBF2;
    transform: translateY(-2px); box-shadow: 0 10px 20px -5px rgba(245, 124, 81, 0.15);
}
.upload-content { transition: opacity 0.2s; }
.upload-preview-wrapper {
    display: none; align-items: center; gap: 1rem; text-align: left;
    background: white; padding: 10px; border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.mini-thumb {
    width: 60px; height: 60px; border-radius: 12px; object-fit: cover;
    background: #edf2f7;
}
.change-photo-btn {
    font-size: 0.8rem; color: var(--primary-orange); font-weight: 700;
    text-decoration: underline; cursor: pointer;
}

/* 2. Smart Inputs (Text Fields) */
.input-group { position: relative; }
.form-input-lg {
    width: 100%; padding: 1.2rem 1.5rem; padding-left: 3.5rem; /* Space for icon */
    border: 2px solid #E2E8F0; border-radius: 16px;
    font-size: 1.1rem; font-family: inherit; color: var(--text-dark);
    transition: 0.2s; background: white;
}
.form-input-lg:focus {
    border-color: var(--primary-orange); outline: none;
    box-shadow: 0 0 0 4px rgba(245, 124, 81, 0.1);
}
.input-icon {
    position: absolute; left: 1.2rem; top: 50%; transform: translateY(-50%);
    font-size: 1.4rem; pointer-events: none; opacity: 0.6;
}

/* Suggestion Chips */
.chips-container {
    display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1rem;
}
.chip {
    background: #F1F5F9; color: var(--text-muted); padding: 0.4rem 1rem;
    border-radius: 999px; font-size: 0.85rem; font-weight: 700;
    cursor: pointer; transition: 0.2s; border: 1px solid transparent;
}
.chip:hover {
    background: white; border-color: var(--secondary-blue);
    color: var(--secondary-blue); transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.chip.active {
    background: var(--secondary-blue); color: white;
    box-shadow: 0 4px 10px rgba(100, 181, 246, 0.4);
}

/* Character Count */
.char-limit {
    position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
    font-size: 0.8rem; color: #CBD5E0; font-weight: 700;
    pointer-events: none;
}

/* Generate Button */
.magic-btn {
    width: 100%; padding: 1.2rem;
    background: linear-gradient(135deg, var(--primary-orange), #FF9A76);
    color: white; border-radius: 16px; border: none;
    font-size: 1.1rem; font-weight: 900; letter-spacing: 0.5px;
    cursor: pointer; transition: all 0.2s;
    box-shadow: 0 10px 25px rgba(245, 124, 81, 0.4);
    display: flex; align-items: center; justify-content: center; gap: 0.8rem;
}
.magic-btn:hover { transform: translateY(-3px) scale(1.01); box-shadow: 0 15px 35px rgba(245, 124, 81, 0.5); }
.magic-btn:disabled { background: #CBD5E0; transform: none; box-shadow: none; cursor: not-allowed; }

/* Right Panel: The Phone Preview */
.preview-wrapper { position: sticky; top: 100px; perspective: 1500px; padding-top: 2rem; }
.phone-frame-3d {
    width: 320px; height: 640px; margin: 0 auto;
    background: #0F172A; border-radius: 48px;
    border: 12px solid #1E293B;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.4), inset 0 0 0 2px rgba(255,255,255,0.1);
    position: relative; overflow: hidden;
    transform: rotateY(-8deg); transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.phone-frame-3d:hover { transform: rotateY(0) rotateX(0); }

/* Screen Content */
.screen-content {
    width: 100%; height: 100%; position: relative;
    background: radial-gradient(circle at center, #334155 0%, #0F172A 100%);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.placeholder-art { text-align: center; opacity: 0.5; color: white; padding: 2rem; }
.generated-img {
    width: 100%; height: 100%; object-fit: cover; display: none;
    animation: zoomIn 0.5s ease;
}

/* Loading State */
.loading-overlay {
    position: absolute; inset: 0; background: rgba(15, 23, 42, 0.95);
    z-index: 20; display: none; flex-direction: column;
    align-items: center; justify-content: center; color: white;
}
.ai-pulse {
    width: 60px; height: 60px; background: var(--primary-orange);
    border-radius: 50%; animation: pulse-ring 2s infinite;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; box-shadow: 0 0 20px var(--primary-orange);
}
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(245, 124, 81, 0.7); } 70% { box-shadow: 0 0 0 20px rgba(245, 124, 81, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 124, 81, 0); } }
@keyframes zoomIn { from { opacity: 0; transform: scale(1.1); } to { opacity: 1; transform: scale(1); } }

/* Error Box */
.error-toast {
    background: #FFF5F5; border-left: 4px solid #F56565; color: #C53030;
    padding: 1rem; border-radius: 8px; margin-top: 1.5rem; font-weight: 700;
    display: none; font-size: 0.9rem;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0% { opacity: 0.6; } 50% { opacity: 1; } 100% { opacity: 0.6; } }


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

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

/* --- MAGIC SECTION --- */
.magic-section { background: white; border-radius: 40px; margin-top: -2rem; box-shadow: var(--shadow-card); position: relative; z-index: 10; }
.magic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; border-radius: 40px; }

.magic-img {
  height: 100%; min-height: 400px;
  background-size: cover; background-position: center;
}

.magic-content { padding: 4rem; display: flex; flex-direction: column; justify-content: center; }
.feature-row { display: flex; gap: 1rem; margin-top: 2rem; }
.feature-item { flex: 1; }
.feature-icon {
  width: 48px; height: 48px; background: #FFF5F0; color: var(--primary-orange);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 0.8rem;
}

/* --- STEPS --- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.step-card {
  background: var(--bg-surface); padding: 2.5rem 2rem; border-radius: var(--radius-lg);
  text-align: center; border: 1px solid var(--border-light);
  position: relative; transition: 0.3s;
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }

.step-num {
  width: 32px; height: 32px; background: var(--text-dark); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem; margin: 0 auto 1rem;
}

/* --- SOUVENIRS --- */
.souvenir-section {
  background: linear-gradient(135deg, #ebf8ff 0%, #fff 100%);
  padding: 6rem 0; border-top: 1px solid var(--border-light);
}

.luggage-hack {
  background: white; border-radius: var(--radius-xl); padding: 3rem;
  box-shadow: var(--shadow-soft); margin-bottom: 3rem;
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: center;
}

.luggage-visual {
  text-align: center; font-size: 5rem; position: relative;
  background: #F7FAFC; padding: 2rem; border-radius: var(--radius-lg);
}
.no-luggage-badge {
  position: absolute; top: -10px; right: -10px; background: #F56565; color: white;
  font-size: 0.9rem; font-weight: 800; padding: 0.3rem 0.8rem; border-radius: var(--radius-pill);
  transform: rotate(10deg);
}

.product-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.product-card {
  background: white; border-radius: var(--radius-lg); padding: 1.5rem;
  border: 1px solid var(--border-light); transition: 0.2s;
}
.product-card:hover { border-color: var(--secondary-blue); box-shadow: var(--shadow-soft); }

/* Mockups */
.css-mockup {
  height: 180px; background: #EDF2F7; border-radius: var(--radius-md);
  margin-bottom: 1rem; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.css-mug {
  width: 80px; height: 100px; background: white; border-radius: 0 0 15px 15px;
  position: relative; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.css-mug::after {
  content:''; position: absolute; right: -20px; top: 20px; width: 30px; height: 50px;
  border: 6px solid #e2e8f0; border-radius: 0 15px 15px 0; z-index: -1;
}
.css-print-area, .css-pillow-print, .css-card-inner {
  background-size: cover;
  background-position: center;
}
.css-print-area { width: 50px; height: 50px; background: var(--secondary-blue); border-radius: 4px; opacity: 0.8; }
.css-pillow {
  width: 120px; height: 120px; background: #fff; border-radius: 10px;
  box-shadow: inset 0 0 15px rgba(0,0,0,0.05), 0 5px 15px rgba(0,0,0,0.1);
  display: flex; align-items: center; justify-content: center;
}
.css-pillow-print { width: 80px; height: 80px; border-radius: 4px; }
.css-card {
  width: 100px; height: 140px; background: white; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transform: rotate(-5deg); padding: 5px;
}
.css-card-inner { width: 100%; height: 100%; }

/* --- PRICING --- */
.pricing-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.price-box {
  background: white; border-radius: var(--radius-lg); padding: 2.5rem;
  border: 1px solid var(--border-light);
}
.price-box.highlight { border: 2px solid var(--primary-orange); box-shadow: var(--shadow-soft); position: relative; }
.best-value {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary-orange); color: white; padding: 0.3rem 1rem;
  border-radius: var(--radius-pill); font-size: 0.8rem; font-weight: 800;
}

/* --- FOOTER --- */
footer { padding: 4rem 0; text-align: center; color: var(--text-muted); font-size: 0.9rem; }

/* --- NEW AUTH MODAL --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 24px;
    width: 900px;
    max-width: 95vw;
    height: 600px;
    max-height: 90vh;
    display: flex;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    z-index: 10001;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    color: var(--text-dark);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s;
}

.modal-close:hover {
    transform: rotate(90deg);
    background: #f1f5f9;
}

.modal-left {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-right {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-orange), #FF9A76);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Background pattern for modal right */
.modal-right::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 70% 20%, rgba(255,255,255,0.2), transparent 40%);
    pointer-events: none;
}

.auth-form {
    display: none;
    animation: fadeIn 0.3s ease;
}

.auth-form.active {
    display: block;
}

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

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s;
    outline: none;
    font-family: inherit;
}

.form-group input:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(245, 124, 81, 0.1);
}

.auth-btn {
    width: 100%;
    padding: 12px;
    background: var(--text-dark);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    margin-top: 8px;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.auth-links {
    text-align: center;
    margin-top: 24px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.auth-links a {
    color: var(--primary-orange);
    font-weight: 700;
}

/* Responsive Modal */
@media (max-width: 900px) {
  .create-grid { grid-template-columns: 1fr; gap: 3rem; }
    .create-panel { padding: 2rem; border-radius: 24px; }
    .preview-wrapper { position: static; padding-top: 0; }
    .phone-frame-3d { width: 100%; max-width: 300px; height: 580px; transform: none; }

  
    .create-phone-frame {
        width: 100%;
        max-width: 300px;
        height: 550px;
    }
    .preview-sticky {
        position: static;
    }
    .hero-grid, .magic-grid, .steps-grid, .luggage-hack, .product-showcase, .pricing-split { grid-template-columns: 1fr; }


    .hero-grid, .magic-grid, .steps-grid, .create-grid, .pricing-split, .luggage-hack, .product-showcase {
        grid-template-columns: 1fr;
    }

    /* Mobile Menu Logic */
    .mobile-toggle { display: flex; }

    .nav-links {
        position: fixed; top: 0; right: 0; height: 100vh; width: 80%; max-width: 300px;
        background: white; flex-direction: column; padding: 6rem 2rem 2rem;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1); transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); z-index: 101;
        align-items: flex-start;
    }

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

    /* Hamburger Animation */
    .mobile-toggle.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .mobile-toggle.active .bar:nth-child(2) { opacity: 0; }
    .mobile-toggle.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

    .nav-cta-mobile { margin-top: 1rem; width: 100%; }
    .nav-cta-mobile .btn { width: 100%; justify-content: center; }
    .nav-right { display: none; } /* Hide desktop CTA in header, move inside nav-links */
    .magic-img { height: 250px; }
    .phone-mockup { transform: none; margin-top: 2rem; }
    .float-tag { display: none; }
    .luggage-hack { text-align: center; gap: 1rem; }
    .hero-h1 { font-size: 2.5rem; }

    /* Modal Mobile */
    .modal-content {
        flex-direction: column-reverse;
        width: 100%;
        height: 100%;
        border-radius: 0;
        max-height: none;
        max-width: none;
    }
    .modal-right {
        flex: 0 0 140px;
        padding: 20px;
        align-items: flex-start;
    }
    .modal-right h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    .duvodyproreg { display: none; } /* Hide benefits list on mobile to save space */
    .modal-left {
        justify-content: flex-start;
        padding-top: 40px;
    }
}
