/*
  MunchClub — Landing Page Styles
  Color palette (with assumptions):
  - Primary BG: #f2f3d4
  - Highlight: #ffcc80 (interpreting requested #ffc80 as #ffcc80)
  - CTAs: #f24726
  - Links: #2744a4
  - White: #ffffff
  Fonts:
  - Headings: 'Amatic SC', bold
  - Body: 'Poppins'
*/

:root {
    --bg: #f2f3d4;
    --highlight: #ffcc80;
    --cta: #f24726;
    --link: #2744a4;
    --white: #ffffff;
    --text: #222;
    --muted: #444;
    --radius: 14px;
    --shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

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

.brand-mark {
    display: flex;
    align-items: center;
    height: 40px;
}

.brand-mark img {
    height: 100%;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.brand-name {
    font-family: 'Amatic SC', cursive;
    font-size: 34px;
    color: var(--text);
    text-decoration: none;
}

.nav {
    display: flex;
    align-items: center;
}

.nav a {
    color: var(--link);
    text-decoration: none;
    margin-left: 18px;
    font-weight: 600;
}

.nav a:hover {
    text-decoration: underline;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--link);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.hero {
    padding: 40px 0 10px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
}

.hero-copy h1 {
    font-family: 'Amatic SC', cursive;
    font-size: clamp(48px, 8vw, 82px);
    margin: 0 0 6px 0;
}

.hero-copy .sub {
    text-transform: none;
    color: var(--muted);
    margin: 8px 0 16px;
}

.quirks {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    gap: 14px;
}

.quirks li {
    background: var(--highlight);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600;
}

.hero-illo {
    display: grid;
    place-items: center;
}

.plate {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: var(--white);
    position: relative;
    box-shadow: inset 0 0 0 8px #eee, 0 20px 40px rgba(0, 0, 0, 0.08);
}

.plate .bite {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--bg);
    position: absolute;
    right: 12%;
    top: 10%;
    box-shadow: -10px 10px 0 0 var(--white);
}

.plate .fork {
    width: 10px;
    height: 120px;
    background: #bbb;
    position: absolute;
    left: 20%;
    bottom: 5%;
    border-radius: 6px;
}

.gift-section {
    padding: 24px 0 40px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
}

.form-card h2 {
    margin-top: 0;
    font-family: 'Amatic SC', cursive;
    font-size: 44px;
}

.note {
    background: #fff6e8;
    border-left: 4px solid var(--highlight);
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 14px;
    color: #7a4b00;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

label {
    font-weight: 600;
    font-size: 14px;
}

input,
textarea {
    padding: 12px 12px;
    border-radius: 10px;
    border: 2px solid #e6e6e6;
    outline: none;
    font-size: 15px;
}

input:focus,
textarea:focus {
    border-color: var(--link);
    box-shadow: 0 0 0 4px rgba(39, 68, 164, 0.08);
}

.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 700;
}

.btn-cta {
    background: linear-gradient(180deg, #f24726 0%, #e23d1d 100%);
    color: var(--white);
    box-shadow: 0 10px 18px rgba(242, 71, 38, 0.25);
}

.btn-cta:hover {
    filter: brightness(0.98);
    transform: translateY(-1px);
}

.btn-cta:active {
    transform: translateY(0);
    filter: brightness(0.96);
}

/* Amount selection buttons */
.amount-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.amount-btn {
    background: var(--white);
    border: 2px solid #eaeaea;
    border-radius: 14px;
    padding: 18px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.amount-btn:hover {
    border-color: var(--link);
    box-shadow: 0 6px 18px rgba(39, 68, 164, 0.12);
    transform: translateY(-1px);
}

.amount-btn.selected {
    border-color: var(--highlight);
    background: #fff8f0;
    box-shadow: 0 0 0 4px rgba(255, 204, 128, 0.18), 0 10px 22px rgba(0,0,0,0.06);
}

.amount-btn.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 12px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--highlight);
    color: #7a4b00;
    font-weight: 800;
    font-size: 14px;
    display: grid;
    place-items: center;
}

.amount-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.amount-label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}

.custom-amount {
    margin-top: 16px;
}

.custom-amount label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

/* Currency input with £ prefix */
.currency-input {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 220px;
}

.currency-input .prefix {
    position: absolute;
    left: 12px;
    color: #999;
    font-weight: 700;
    z-index: 1;
}

.currency-input input[type="number"] {
    width: 100%;
    padding: 12px 12px 12px 28px;
    border: 2px solid #eaeaea;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: border-color 0.2s ease;
}

.currency-input input[type="number"]:focus {
    outline: none;
    border-color: var(--link);
    box-shadow: 0 0 0 3px rgba(39, 68, 164, 0.1);
}

.custom-amount .hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted);
}

/* Modern coupon preview */
.modern-coupon {
    background: linear-gradient(135deg, var(--white) 0%, #fefefe 100%);
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.modern-coupon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cta), var(--highlight), var(--link));
}

.coupon-header {
    margin-bottom: 20px;
}

.coupon-brand {
    font-family: 'Amatic SC', cursive;
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.coupon-subtitle {
    font-size: 14px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.coupon-main {
    margin-bottom: 20px;
}

.coupon-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--cta);
    margin-bottom: 16px;
    line-height: 1;
}

.coupon-recipients {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.coupon-to,
.coupon-from {
    flex: 1;
    font-size: 14px;
    color: var(--muted);
}

.coupon-to span,
.coupon-from span {
    font-weight: 600;
    color: var(--text);
}

.coupon-code-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.coupon-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text);
}

.coupon-footer {
    border-top: 1px solid #eee;
    padding-top: 16px;
}

.coupon-tag {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Enhanced FAQ */
.faq-section {
    padding: 60px 0;
    background: #fafbfc;
}

.faq-header {
    text-align: center;
    margin-bottom: 48px;
}

.faq-header h2 {
    font-family: 'Amatic SC', cursive;
    font-size: 48px;
    margin: 0 0 12px 0;
    color: var(--text);
}

.faq-subtitle {
    color: var(--muted);
    font-size: 18px;
    margin: 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.faq-item summary {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    transition: all 0.2s ease;
}

.faq-item summary:hover {
    background: #f8f9fa;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    font-size: 16px;
    color: var(--link);
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 24px 20px;
    color: var(--muted);
    line-height: 1.6;
}

.faq-content p {
    margin: 0;
}

/* Modern footer */
.modern-footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 48px 0;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-brand {
    margin-bottom: 16px;
}

.footer-title {
    font-family: 'Amatic SC', cursive;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    display: inline;
}

.footer-tagline {
    margin-left: 12px;
    font-size: 14px;
    color: #888;
    font-weight: 500;
}

.footer-description {
    color: #888;
    margin: 0 0 24px 0;
    font-size: 16px;
}

.footer-divider {
    height: 1px;
    background: #333;
    margin: 24px 0;
}

.footer-copyright {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* New Hero Section */
.hero-new {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(242, 243, 212, 0.9) 0%, rgba(255, 204, 128, 0.7) 100%),
        url('images/hero-bg.jpg') center/cover;
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(39, 68, 164, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
}

.hero-text h1 {
    font-family: 'Amatic SC', cursive;
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.1;
    color: var(--text);
}

.hero-slider {
    position: relative;
    min-height: 120px;
    margin-bottom: 32px;
}

.hero-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin: 0 0 16px 0;
    color: var(--muted);
}

.hero-impact {
    font-size: 18px;
    line-height: 1.8;
    margin: 12px 0;
    color: var(--muted);
    text-align: left;
}

.hero-impact-closing {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    margin: 16px 0 0 0;
    color: var(--cta);
    text-align: left;
}

/* Left align impact slide (slide 2) */
.hero-slide-impact {
    text-align: left;
    max-width: 100%;
}

.hero-slide-impact .hero-subtitle,
.hero-slide-impact .hero-impact-title {
    text-align: left;
    margin-left: 0;
}

.hero-slide-impact .hero-impact {
    text-align: left;
    padding-left: 0;
    margin-left: 0;
}

.hero-slide-impact .hero-impact-closing {
    text-align: left;
    margin-left: 0;
}

.hero-slider-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--cta);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

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

.slider-dot:hover {
    transform: scale(1.3);
    background: var(--cta);
    opacity: 0.8;
}

.btn-hero {
    background: var(--cta);
    color: var(--white);
    padding: 16px 32px;
    font-size: 18px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(242, 71, 38, 0.3);
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(242, 71, 38, 0.4);
}

/* Color cycling animation */
.color-cycle {
    animation: colorCycle 3s ease-in-out infinite;
}

@keyframes colorCycle {

    0%,
    100% {
        color: var(--cta);
    }

    33% {
        color: var(--highlight);
    }

    66% {
        color: var(--link);
    }
}

/* Steps Section */
.steps-section {
    padding: 80px 0;
    background: var(--white);
}

.steps-header {
    text-align: center;
    margin-bottom: 60px;
}

.steps-header h2 {
    font-family: 'Amatic SC', cursive;
    font-size: 48px;
    margin: 0 0 12px 0;
    color: var(--text);
}

.steps-subtitle {
    color: var(--muted);
    font-size: 18px;
    margin: 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
    color: var(--white);
}

.step-item:nth-child(1) .step-number {
    background: var(--cta);
}

.step-item:nth-child(2) .step-number {
    background: var(--highlight);
    color: var(--text);
}

.step-item:nth-child(3) .step-number {
    background: var(--link);
}

.step-item h3 {
    font-family: 'Amatic SC', cursive;
    font-size: 28px;
    margin: 0 0 12px 0;
    color: var(--text);
}

.step-item p {
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* New Form Section */
.gift-section-new {
    padding: 80px 0;
    background: var(--bg);
}

.form-container {
    background: linear-gradient(180deg, #ffffff 0%, #fffefd 100%);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0,0,0,0.06);
    max-width: 1000px;
    margin: 0 auto;
}

.form-container h2 {
    font-family: 'Amatic SC', cursive;
    font-size: 42px;
    margin: 0 0 8px 0;
    text-align: center;
    position: relative;
}
.form-container h2::before {
    content: '🎁';
    position: relative;
    display: inline-block;
    margin-right: 8px;
}

.form-note {
    text-align: center;
    background: #fff6e8;
    border-left: 4px solid var(--highlight);
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 32px;
    color: #7a4b00;
}

.amount-section {
    margin-bottom: 32px;
}

.amount-section .amount-buttons {
    margin-bottom: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 24px;
}

/* Tablet adjustments for 1024px and below */
@media (max-width: 1024px) {
    .form-container {
        padding: 32px 24px;
        max-width: 100%;
        margin: 0 16px;
    }

    .form-grid {
        gap: 24px;
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .details-section {
        min-width: 0; /* Prevent overflow */
        overflow: hidden; /* Prevent content from overflowing */
    }

    .details-section h3 {
        font-size: 24px;
        margin-bottom: 12px;
        word-wrap: break-word;
    }

    .field-row {
        gap: 10px;
        grid-template-columns: 1fr 1fr;
        min-width: 0; /* Prevent overflow */
    }

    .field-group {
        min-width: 0; /* Prevent overflow */
        overflow: hidden; /* Prevent content from overflowing */
    }

    .field-group label {
        font-size: 13px;
        margin-bottom: 6px;
        display: block;
    }

    .field-group input,
    .field-group textarea {
        width: 100%;
        box-sizing: border-box;
        padding: 10px;
        font-size: 14px;
    }
}

.message-section {
    margin-bottom: 32px;
}

.details-section {
    margin-bottom: 0;
}

.details-section h3 {
    font-family: 'Amatic SC', cursive;
    font-size: 28px;
    margin: 0 0 16px 0;
    color: var(--text);
}

/* Legal Text */
.legal {
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    margin-top: 16px;
    padding: 8px 0;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 16px;
}

.btn-preview {
    background: var(--white);
    color: var(--link);
    border: 2px solid var(--link);
}

.btn-preview:hover {
    background: var(--link);
    color: var(--white);
    transform: translateY(-1px);
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup-overlay.show {
    display: flex;
}

.popup-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: popupSlideIn 0.3s ease;
}

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

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.popup-close:hover {
    background: #e0e0e0;
}

.popup-header {
    padding: 30px 30px 0;
    text-align: center;
}

.brand-illustration-logo {
    height: 40px;
    width: auto;
    display: inline-block;
    margin-bottom: 20px;
}

.popup-coupon {
    padding: 20px 30px 30px;
}

.popup-coupon .coupon-header {
    text-align: center;
    margin-bottom: 24px;
}

.popup-coupon .coupon-brand {
    font-family: 'Amatic SC', cursive;
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.popup-coupon .coupon-subtitle {
    color: var(--muted);
    font-size: 16px;
}

.popup-coupon .coupon-main {
    text-align: center;
    margin-bottom: 24px;
}

.popup-coupon .coupon-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--cta);
    margin-bottom: 16px;
}

.coupon-code-line {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
}

.coupon-code-line .coupon-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text);
}

.coupon-redemption {
    text-align: center;
    margin-bottom: 20px;
}

.coupon-redemption p {
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

.coupon-validity {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    padding-top: 16px;
    border-top: 1px solid #eee;
}

/* Additional responsive styles */
@media (max-width: 768px) {
    .header-inner {
        position: relative;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
        z-index: 1000;
    }

    .nav.active {
        max-height: 300px;
        opacity: 1;
        padding: 20px;
    }

    .nav a {
        margin-left: 0;
        margin-bottom: 15px;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .nav a:last-child {
        margin-bottom: 0;
        border-bottom: none;
    }

    .form-container {
        padding: 24px;
        margin: 0 16px;
    }

    .amount-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .custom-amount {
        margin-top: 20px;
        width: 100%;
    }

    .custom-amount label {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .currency-input {
        max-width: 100%;
        width: 100%;
    }

    .currency-input input[type="number"] {
        padding: 14px 12px 14px 32px;
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 48px; /* Better touch target */
    }

    .currency-input .prefix {
        left: 14px;
        font-size: 18px;
    }

    .custom-amount .hint {
        font-size: 11px;
        margin-top: 8px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: clamp(32px, 8vw, 48px);
    }
    
    .hero-slider {
        min-height: 160px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-impact {
        font-size: 15px;
    }
    
    .hero-impact-closing {
        font-size: 15px;
    }

    .popup-content {
        margin: 10px;
        max-width: calc(100vw - 20px);
    }

    .form-container h2 {
        font-size: 32px;
    }

    .details-section h3 {
        font-size: 24px;
    }
}

.preview-card h3 {
    margin: 0 0 10px 0;
    font-family: 'Amatic SC';
    font-size: 34px;
}

.coupon-preview {
    background: repeating-linear-gradient(-45deg, #ffffff, #ffffff 10px, #fff8f7 10px, #fff8f7 20px);
    border-radius: 18px;
    padding: 22px;
    border: 2px dashed var(--cta);
    text-align: center;
}

.coupon-brand {
    font-family: 'Amatic SC';
    font-size: 38px;
    margin-bottom: 6px;
}

.coupon-amount {
    font-size: 40px;
    font-weight: 800;
    margin: 6px 0;
    color: var(--cta);
}

.coupon-to,
.coupon-from {
    font-weight: 600;
}

.coupon-code {
    margin-top: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: 2px;
    background: #fff;
    display: inline-block;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.coupon-tag {
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
}

.giveback-section {
    padding: 80px 0;
    background: var(--white);
}

.giveback-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.giveback-section h2 {
    font-family: 'Amatic SC', cursive;
    font-size: 48px;
    font-weight: 700;
    color: var(--cta);
    margin: 0 0 20px 0;
}

.giveback-intro {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.giveback-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.giveback-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.giveback-emoji {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.giveback-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
}

.giveback-closing {
    font-size: 18px;
    font-weight: 600;
    color: var(--cta);
    margin-top: 40px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .giveback-section {
        padding: 60px 0;
    }
    
    .giveback-section h2 {
        font-size: 36px;
    }
    
    .giveback-items {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .giveback-intro,
    .giveback-closing {
        font-size: 16px;
    }
}

.faq-section {
    padding: 40px 0;
}

.faq-section h2 {
    font-family: 'Amatic SC';
    font-size: 44px;
    margin: 0 0 14px 0;
}

.faq details {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 10px;
    padding: 12px 14px;
    box-shadow: var(--shadow);
}

.faq summary {
    cursor: pointer;
    color: var(--link);
    font-weight: 700;
}

.faq p {
    margin: 10px 0 0;
    color: var(--muted);
}

.site-footer {
    background: var(--white);
    margin-top: 24px;
    border-top: 1px solid #eee;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.links a {
    color: var(--link);
    text-decoration: none;
    margin-left: 10px;
}

.links a:hover {
    text-decoration: underline;
}

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

    .grid {
        grid-template-columns: 1fr;
    }

    .field-row {
        grid-template-columns: 1fr;
    }
}

/* Success Page Styles */
.success-section {
  padding: 80px 0;
  background: var(--bg);
  min-height: 60vh;
}

.success-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.success-icon {
  font-size: 64px;
  margin-bottom: 24px;
}

.success-content h1 {
  font-family: 'Amatic SC', cursive;
  font-size: 48px;
  color: var(--text);
  margin: 0 0 16px 0;
}

.success-message {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.gift-summary {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  text-align: left;
}

.gift-summary h3 {
  font-family: 'Amatic SC', cursive;
  font-size: 28px;
  margin: 0 0 16px 0;
  text-align: center;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.detail-row:last-child {
  border-bottom: none;
}

.transaction-id, .coupon-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  background: var(--white);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.success-actions {
  margin-bottom: 32px;
}

.next-steps {
  text-align: left;
  background: #f0f8ff;
  border-radius: 12px;
  padding: 20px;
}

.next-steps h4 {
  font-family: 'Amatic SC', cursive;
  font-size: 24px;
  margin: 0 0 12px 0;
  text-align: center;
}

.next-steps ul {
  margin: 0;
  padding-left: 20px;
}

.next-steps li {
  margin-bottom: 8px;
  line-height: 1.5;
}