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

:root {
    --bg: #fde8f0;
    --primary: #ff6b9d;
    --primary-dark: #e84e83;
    --secondary: #ffb347;
    --accent: #a78bfa;
    --accent2: #34d399;
    --white: #fff;
    --text: #3b1f2b;
    --text-light: #7a4f63;
    --card-bg: #fff5f9;
    --shadow-color: rgba(255, 107, 157, 0.35);
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--bg);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ---- Pages ---- */
.page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px;
}

.hidden {
    display: none !important;
}

/* ---- Blobs ---- */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}

.blob-1 {
    width: 420px;
    height: 420px;
    background: #ffb3d1;
    top: -120px;
    left: -120px;
}

.blob-2 {
    width: 320px;
    height: 320px;
    background: #c4b5fd;
    bottom: -80px;
    right: -60px;
}

.blob-3 {
    width: 260px;
    height: 260px;
    background: #fde68a;
    bottom: 80px;
    left: 40px;
}

/* ---- Clay Card ---- */
.clay-card {
    position: relative;
    z-index: 1;
    background: var(--card-bg);
    border-radius: 32px;
    padding: 48px 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;

    /* Claymorphism effect */
    box-shadow:
        0 8px 0px #f0b8cc,
        0 16px 40px rgba(255, 107, 157, 0.2),
        inset 0 2px 6px rgba(255, 255, 255, 0.9),
        inset 0 -2px 6px rgba(255, 107, 157, 0.1);
    border: 2.5px solid rgba(255, 255, 255, 0.85);
}


/* ---- Floating Icon ---- */
.emoji-float {
    font-size: 52px;
    margin-bottom: 12px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ---- Hero Text ---- */
.logo {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -1px;
    text-shadow: 0 4px 0 #f0b8cc;
    margin-bottom: 12px;
}

.tagline {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 8px;
}

.highlight {
    color: var(--primary);
    background: #ffe4ef;
    padding: 2px 8px;
    border-radius: 8px;
}

.sub {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.price-tag {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-light);
    margin-top: 10px;
    margin-bottom: 4px;
    letter-spacing: 0.01em;
}

/* ---- Buttons ---- */
.clay-btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    border: none;
    border-radius: 18px;
    padding: 14px 36px;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
}

.clay-btn.primary {
    background: var(--primary);
    color: #fff;
    box-shadow:
        0 6px 0 var(--primary-dark),
        0 12px 24px rgba(255, 107, 157, 0.35),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.clay-btn.primary:hover {
    background: #ff85b3;
    transform: translateY(-2px);
    box-shadow:
        0 8px 0 var(--primary-dark),
        0 16px 28px rgba(255, 107, 157, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.clay-btn.primary:active {
    transform: translateY(4px);
    box-shadow:
        0 2px 0 var(--primary-dark),
        0 6px 12px rgba(255, 107, 157, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

/* ---- Badges ---- */
.badges {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
}

.badge {
    background: #fff;
    border: 2px solid #ffd6e8;
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: 0 3px 0 #ffd6e8;
}

/* ---- Form Card ---- */
.form-card {
    text-align: left;
}

.form-card h2 {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 8px;
}

.form-sub {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.5;
}

.field-group {
    margin-bottom: 20px;
}

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

.clay-input {
    width: 100%;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    background: #fff;
    border: 2.5px solid #ffd6e8;
    border-radius: 16px;
    padding: 14px 18px;
    outline: none;
    transition: all 0.2s ease;
    box-shadow:
        0 4px 0 #ffd6e8,
        inset 0 2px 4px rgba(255, 107, 157, 0.08);
}

.clay-input::placeholder {
    color: #c9a3b4;
    font-weight: 600;
}

.clay-input:focus {
    border-color: var(--primary);
    box-shadow:
        0 4px 0 var(--primary-dark),
        0 0 0 4px rgba(255, 107, 157, 0.15),
        inset 0 2px 4px rgba(255, 107, 157, 0.08);
}

.call-btn {
    width: 100%;
    margin-top: 8px;
    font-size: 1.15rem;
    padding: 16px;
    border-radius: 20px;
}

/* ---- Back Button ---- */
.back-btn {
    font-family: 'Nunito', sans-serif;
    background: none;
    border: none;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px 0;
    margin-bottom: 16px;
    display: inline-block;
    transition: color 0.15s;
}

.back-btn:hover {
    color: var(--primary);
}

/* ---- Toast ---- */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: #fff;
    border: 2.5px solid #ffd6e8;
    border-radius: 20px;
    padding: 14px 28px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    box-shadow: 0 8px 0 #ffd6e8, 0 16px 40px rgba(255, 107, 157, 0.2);
    z-index: 999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 520px) {
    .clay-card {
        padding: 32px 20px;
        border-radius: 24px;
    }

    .logo {
        font-size: 2.2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .sub {
        font-size: 0.88rem;
    }

    .clay-btn {
        font-size: 0.95rem;
        padding: 13px 28px;
    }

    .call-btn {
        font-size: 1.05rem;
        padding: 14px;
    }

    .badges {
        gap: 8px;
    }

    .badge {
        font-size: 0.72rem;
        padding: 5px 11px;
    }

    .form-card h2 {
        font-size: 1.6rem;
    }

    .clay-input {
        font-size: 0.95rem;
        padding: 13px 16px;
    }

    .toast {
        font-size: 0.85rem;
        padding: 12px 20px;
        white-space: normal;
        text-align: center;
        width: calc(100% - 48px);
        bottom: 24px;
    }

    .blob-1 {
        width: 260px;
        height: 260px;
    }

    .blob-2 {
        width: 200px;
        height: 200px;
    }

    .blob-3 {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 360px) {
    .clay-card {
        padding: 28px 16px;
    }

    .logo {
        font-size: 1.9rem;
    }
}

/* ---- Pay Section ---- */
.pay-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 2px dashed #ffd6e8;
}

.pay-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 12px;
}

.pay-btn {
    background: #fff;
    color: var(--primary);
    border: 2.5px solid #ffd6e8;
    box-shadow: 0 5px 0 #ffd6e8, inset 0 2px 4px rgba(255, 255, 255, 0.8);
    padding: 12px 32px;
    font-size: 0.95rem;
}

.pay-btn:hover {
    background: #fff5f9;
    transform: translateY(-2px);
    box-shadow: 0 7px 0 #ffd6e8, inset 0 2px 4px rgba(255, 255, 255, 0.8);
}

.pay-btn:active {
    transform: translateY(3px);
    box-shadow: 0 2px 0 #ffd6e8, inset 0 2px 4px rgba(255, 255, 255, 0.8);
}

/* ---- Payment Success State ---- */
.pay-success {
    text-align: center;
    padding-top: 8px;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    animation: pop-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-icon svg {
    width: 100%;
    height: 100%;
}

@keyframes pop-in {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-label {
    font-size: 1rem;
    font-weight: 800;
    color: #16a34a;
    margin-bottom: 20px;
}

/* ---- Feedback ---- */
.star-row {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.star {
    font-size: 2rem;
    color: #ffd6e8;
    cursor: pointer;
    transition: color 0.15s, transform 0.1s;
    line-height: 1;
}

.star.active,
.star:hover {
    color: var(--secondary);
    transform: scale(1.15);
}

textarea.clay-input {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

#skip-feedback-btn {
    display: block;
    margin: 12px auto 0;
    text-align: center;
    width: 100%;
}

/* ---- Pay button (blue) ---- */
.pay-now-btn {
    width: 100%;
    margin-top: 8px;
    font-size: 1.15rem;
    padding: 16px;
    border-radius: 20px;
    background: #3b82f6;
    color: #fff;
    box-shadow:
        0 6px 0 #1d4ed8,
        0 12px 24px rgba(59, 130, 246, 0.35),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.pay-now-btn:hover {
    background: #60a5fa;
    transform: translateY(-2px);
    box-shadow:
        0 8px 0 #1d4ed8,
        0 16px 28px rgba(59, 130, 246, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.pay-now-btn:active {
    transform: translateY(4px);
    box-shadow:
        0 2px 0 #1d4ed8,
        0 6px 12px rgba(59, 130, 246, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

/* ---- Call button (green) ---- */
.green-call-btn {
    width: 100%;
    font-size: 1.15rem;
    padding: 16px;
    border-radius: 20px;
    background: #22c55e;
    color: #fff;
    box-shadow:
        0 6px 0 #15803d,
        0 12px 24px rgba(34, 197, 94, 0.35),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.green-call-btn:hover {
    background: #4ade80;
    transform: translateY(-2px);
    box-shadow:
        0 8px 0 #15803d,
        0 16px 28px rgba(34, 197, 94, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.green-call-btn:active {
    transform: translateY(4px);
    box-shadow:
        0 2px 0 #15803d,
        0 6px 12px rgba(34, 197, 94, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}