/* CSS Variables - Warm, Nostalgic Palette */
:root {
    --primary: #e07a5f;          /* Warm terracotta */
    --primary-dark: #c96a52;
    --primary-light: #f4a582;
    --secondary: #81b29a;         /* Soft sage green */
    --accent: #f2cc8f;            /* Warm golden yellow */
    --background: #fdf8f4;        /* Warm cream */
    --surface: #ffffff;
    --text: #3d405b;              /* Soft navy */
    --text-light: #6b6d7a;
    --border: #e8e0d8;
    --shadow: 0 4px 20px rgba(61, 64, 91, 0.08);
    --shadow-lg: 0 12px 40px rgba(61, 64, 91, 0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.7;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
}

h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(224, 122, 95, 0.35);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224, 122, 95, 0.4);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    background: var(--background);
    border-color: var(--primary-light);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Header */
header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.logo-icon {
    font-size: 1.75rem;
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
    display: flex;
    align-items: center;
}

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

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #fdf8f4 0%, #fef3eb 50%, #fdf0e8 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
    }
}

.hero-content h1 {
    margin-bottom: 20px;
    color: var(--text);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Magnet Preview Stack */
.magnet-preview-stack {
    position: relative;
    width: 280px;
    height: 320px;
}

.magnet-card {
    position: absolute;
    width: 120px;
    height: 160px;
    background: linear-gradient(145deg, var(--surface) 0%, #f8f4f0 100%);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(61, 64, 91, 0.15), 0 2px 8px rgba(61, 64, 91, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border: 3px solid var(--border);
    transition: transform 0.3s ease;
}

.magnet-card:hover {
    transform: scale(1.05);
}

.magnet-1 {
    top: 0;
    left: 0;
    transform: rotate(-8deg);
    z-index: 1;
}

.magnet-2 {
    top: 40px;
    left: 80px;
    transform: rotate(5deg);
    z-index: 2;
}

.magnet-3 {
    top: 100px;
    left: 30px;
    transform: rotate(-3deg);
    z-index: 3;
    background: linear-gradient(145deg, var(--primary-light) 0%, var(--primary) 100%);
    border-color: var(--primary-dark);
}

@media (max-width: 768px) {
    .magnet-preview-stack {
        width: 220px;
        height: 260px;
        margin: 0 auto;
    }
    
    .magnet-card {
        width: 100px;
        height: 130px;
        font-size: 2.5rem;
    }
    
    .magnet-2 {
        left: 60px;
    }
}

.hero {
    background: linear-gradient(135deg, #fdf8f4 0%, #fef3eb 50%, #fdf0e8 100%);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '✨';
    position: absolute;
    top: 20%;
    left: 10%;
    font-size: 2rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '💝';
    position: absolute;
    top: 30%;
    right: 15%;
    font-size: 1.5rem;
    opacity: 0.3;
    animation: float 5s ease-in-out infinite 1s;
}

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

.hero h1 {
    max-width: 650px;
    margin: 0 auto 20px;
    color: var(--text);
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 550px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.hero .btn-primary {
    background: var(--primary);
}

/* Decorative elements */
.hero-decoration {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
}

.hero-decoration span {
    font-size: 2rem;
    animation: bounce 2s ease-in-out infinite;
}

.hero-decoration span:nth-child(2) { animation-delay: 0.2s; }
.hero-decoration span:nth-child(3) { animation-delay: 0.4s; }

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

/* How It Works */
.how-it-works-section {
    padding: 100px 0;
    background: var(--surface);
}

.how-it-works-section h2 {
    text-align: center;
    margin-bottom: 16px;
}

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

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.how-it-works {
    padding: 100px 0;
    background: var(--surface);
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 56px;
    font-size: 1.1rem;
}

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

@media (max-width: 768px) {
    .steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.step {
    text-align: center;
    padding: 32px 24px;
    background: var(--background);
    border-radius: var(--radius-lg);
    transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 12px;
    color: var(--text);
}

.step p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Create Section */
.create-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--background) 0%, #fef6f0 100%);
}

.create-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 56px;
}

.step-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.step-dot.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(224, 122, 95, 0.35);
}

.step-dot.completed {
    background: var(--secondary);
    color: white;
}

.step-line {
    width: 60px;
    height: 3px;
    background: var(--border);
    border-radius: 2px;
}

/* Create Steps */
.create-step {
    display: none;
}

.create-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

/* Upload Area */
.upload-area {
    max-width: 550px;
    margin: 0 auto;
    border: 3px dashed var(--primary-light);
    border-radius: var(--radius-lg);
    padding: 70px 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--surface);
}

.upload-area:hover, .upload-area.dragover {
    border-color: var(--primary);
    background: #fff9f7;
    transform: scale(1.01);
}

.upload-icon {
    font-size: 4.5rem;
    margin-bottom: 20px;
}

.upload-area h3 {
    margin-bottom: 8px;
    color: var(--text);
}

.upload-area p {
    color: var(--text-light);
}

.upload-hint {
    font-size: 0.85rem;
    margin-top: 20px;
    color: var(--text-light);
    opacity: 0.8;
}

/* Crop Container - Two Column Layout */
.crop-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
    align-items: start;
}

/* Editor Panel (Left Column) */
.editor-panel {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}

.image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius);
    background: #f5f0eb;
}

/* Landscape image container */
.image-container.landscape {
    aspect-ratio: auto;
    max-height: 400px;
}

/* Portrait image container */
.image-container.portrait {
    max-width: 350px;
    margin: 0 auto;
    max-height: 500px;
}

#preview-image {
    width: 100%;
    height: auto;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.crop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.crop-frame {
    position: absolute;
    border: 3px solid white;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.4);
    cursor: move;
    pointer-events: auto;
    border-radius: 4px;
}

.crop-corner {
    position: absolute;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.crop-corner.top-left { top: -9px; left: -9px; cursor: nwse-resize; }
.crop-corner.top-right { top: -9px; right: -9px; cursor: nesw-resize; }
.crop-corner.bottom-left { bottom: -9px; left: -9px; cursor: nesw-resize; }
.crop-corner.bottom-right { bottom: -9px; right: -9px; cursor: nwse-resize; }

/* Editor Controls (below image) */
.editor-controls {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.zoom-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.zoom-control label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    min-width: 45px;
}

.zoom-control input[type="range"] {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: var(--border);
    outline: none;
    -webkit-appearance: none;
}

.zoom-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(224, 122, 95, 0.4);
}

.btn-change {
    width: 100%;
}

.resolution-warning {
    padding: 10px 14px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: var(--radius-sm);
    color: #856404;
    font-size: 0.85rem;
    text-align: center;
}

.resolution-warning.hidden {
    display: none;
}

/* Preview Panel (Right Column) */
.preview-panel {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.preview-panel h3 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.magnet-preview {
    margin-bottom: 20px;
}

.magnet-frame {
    display: inline-block;
    padding: 8px;
    background: linear-gradient(145deg, #f0f0f0, #e0e0e0);
    border-radius: 6px;
    box-shadow: 
        inset 0 2px 0 rgba(255,255,255,0.9),
        0 6px 16px rgba(0,0,0,0.15);
}

/* Portrait magnet frame */
.magnet-frame.portrait {
    /* Portrait orientation */
}

/* Landscape magnet frame */
.magnet-frame.landscape {
    /* Landscape orientation */
}

#preview-canvas {
    display: block;
    border-radius: 3px;
}

.preview-size {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.btn-continue {
    width: 100%;
    margin-top: auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .crop-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .editor-panel {
        padding: 16px;
    }
    
    .image-container.portrait {
        max-width: 280px;
    }
    
    .preview-panel {
        padding: 20px;
    }
    
    .magnet-frame {
        max-width: 200px;
    }
    
    #preview-canvas {
        max-width: 100%;
        height: auto;
    }
}

/* Checkout Container */
.checkout-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
    max-width: 850px;
    margin: 0 auto;
}

@media (max-width: 800px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }
}

.order-summary {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    height: fit-content;
}

.order-summary h3 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-summary h3::before {
    content: '🛒';
}

.summary-magnet {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--background);
    border-radius: var(--radius);
}

#summary-canvas {
    border-radius: 3px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.summary-details {
    border-top: 2px dashed var(--border);
    padding-top: 20px;
}

/* Quantity Selector */
.quantity-selector {
    margin-bottom: 20px;
}

.quantity-selector label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 12px;
    font-weight: 500;
}

.quantity-options {
    display: flex;
    gap: 10px;
}

.qty-btn {
    flex: 1;
    padding: 12px 8px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--background);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    position: relative;
}

.qty-btn:hover {
    border-color: var(--primary-light);
    background: #fff;
}

.qty-btn.active {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(224, 122, 95, 0.15);
}

.qty-num {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.qty-price {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
}

.qty-badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
    font-weight: 600;
}

.qty-badge.savings {
    background: var(--secondary);
}

/* Promo Code Section */
.promo-code-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px dashed var(--border);
}

.promo-code-section label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 500;
}

.promo-input-group {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 100%;
}

.promo-input-group input {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.promo-input-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.promo-input-group .btn-small {
    flex-shrink: 0;
    white-space: nowrap;
}

.btn-small {
    padding: 10px 16px;
    font-size: 0.85rem;
}

.promo-message {
    margin-top: 8px;
    font-size: 0.85rem;
    padding: 8px 12px;
    border-radius: var(--radius);
}

.promo-message.success {
    background: #e8f5e9;
    color: #2e7d32;
}

.promo-message.error {
    background: #ffebee;
    color: #c62828;
}

.promo-row .discount {
    color: var(--secondary);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.95rem;
}

.summary-row.total {
    border-top: 2px solid var(--border);
    margin-top: 10px;
    padding-top: 18px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary);
}

.price {
    font-weight: 600;
}

/* Shipping Form */
.shipping-form {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.shipping-form h3 {
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shipping-form h3::before {
    content: '📦';
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 500px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

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

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(224, 122, 95, 0.1);
}

.form-actions {
    display: flex;
    gap: 16px;
    margin-top: 28px;
}

.form-actions .btn-primary {
    flex: 1;
}

.loading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.loading::after {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.hidden {
    display: none !important;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background: var(--surface);
}

.pricing-section h2 {
    text-align: center;
    margin-bottom: 16px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
    }
}

.pricing-card {
    background: linear-gradient(135deg, #fdf8f4 0%, #fff 100%);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

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

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.pricing-badge.savings {
    background: var(--secondary);
}

.pricing-total {
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.per-unit {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.pricing-size {
    color: var(--text-light);
    font-size: 1rem;
}

.pricing-price {
    margin: 28px 0;
}

.pricing-price .currency {
    font-size: 1.5rem;
    vertical-align: top;
    color: var(--primary);
}

.pricing-price .amount {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
}

.pricing-features li {
    padding: 10px 0;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: bold;
}

.pricing-shipping {
    color: var(--text-light);
    margin-bottom: 28px;
    font-size: 0.95rem;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--background) 0%, #fef6f0 100%);
}

.features-section h2 {
    text-align: center;
    margin-bottom: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 56px;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature {
    background: var(--surface);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 18px;
}

.feature h3 {
    margin-bottom: 10px;
}

.feature p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Testimonial-style quote */
.quote-section {
    padding: 80px 0;
    background: var(--surface);
    text-align: center;
}

.quote {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.8;
}

.quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-light);
    display: block;
    line-height: 0.5;
    margin-bottom: 16px;
}

/* Footer */
footer {
    background: var(--text);
    color: white;
    padding: 56px 0 28px;
}

footer .container {
    text-align: center;
}

.footer-content {
    margin-bottom: 28px;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.footer-tagline {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 28px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
}

.footer-hearts {
    margin-top: 20px;
    font-size: 1.2rem;
    letter-spacing: 8px;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(61, 64, 91, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 24px;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    text-align: center;
    max-width: 420px;
    width: 100%;
    animation: modalIn 0.4s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-icon {
    font-size: 5rem;
    margin-bottom: 20px;
}

.modal-content h2 {
    margin-bottom: 16px;
    color: var(--text);
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.7;
}

.order-id {
    font-family: monospace;
    background: var(--background);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    margin: 20px 0 28px;
    font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 70px 0 60px;
    }
    
    .how-it-works,
    .create-section,
    .pricing-section,
    .features-section {
        padding: 70px 0;
    }
    
    nav {
        display: none;
    }
    
    .hero::before,
    .hero::after {
        display: none;
    }
}

/* Sweet little animations */
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.heartbeat {
    animation: heartbeat 1.5s ease-in-out infinite;
}
