/*
Theme Name: SaharFood Coming Soon
Theme URI: https://saharfood.com
Author: Sahar
Author URI: https://saharfood.com
Description: High-converting coming soon page. Site updating for 3 days - captures emails to notify visitors when back.
Version: 1.0.0
License: GPLv2 or later
Text Domain: saharfood
*/

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

:root {
    --orange: #FF5722;
    --orange-dark: #E64A19;
    --green: #2E7D32;
    --green-light: #4CAF50;
    --yellow: #FFC107;
    --cream: #FFF8E1;
    --white: #FFFFFF;
    --dark: #1A1A1A;
    --gray: #666;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-height: 100vh;
    background: linear-gradient(180deg, #FFF8E1 0%, #FFECB3 100%);
    color: var(--dark);
    overflow-x: hidden;
}

.bg-shapes {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px; height: 300px;
    background: rgba(255, 87, 34, 0.1);
    top: -100px; right: -50px;
}

.shape-2 {
    width: 200px; height: 200px;
    background: rgba(46, 125, 50, 0.08);
    bottom: 10%; left: -50px;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px; height: 150px;
    background: rgba(255, 193, 7, 0.15);
    top: 40%; right: 10%;
    animation-delay: 4s;
}

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

.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.card {
    background: var(--white);
    border-radius: 32px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.12);
    max-width: 480px;
    width: 100%;
    overflow: hidden;
    animation: slideUp 0.8s ease-out;
}

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

.card-header {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: shimmer 3s ease-in-out infinite;
}

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

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    position: relative;
}

.logo span { color: var(--yellow); }

.update-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    position: relative;
}

.pulse-dot {
    width: 8px; height: 8px;
    background: var(--yellow);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.card-body {
    padding: 40px 30px;
    text-align: center;
}

.cooking-icon {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--cream) 0%, #FFE082 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: cookBounce 2s ease-in-out infinite;
}

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

.cooking-icon svg {
    width: 40px; height: 40px;
    fill: var(--orange);
}

.title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.2;
}

.subtitle {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 32px;
    line-height: 1.6;
}

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

.countdown-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.countdown-item {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
    padding: 16px 20px;
    border-radius: 16px;
    min-width: 70px;
    box-shadow: 0 8px 24px rgba(46, 125, 50, 0.3);
}

.countdown-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.countdown-unit {
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.gift-box {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    border: 2px dashed var(--green-light);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 28px;
}

.gift-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 8px;
}

.gift-text {
    font-size: 0.85rem;
    color: var(--dark);
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.input-group {
    position: relative;
    transition: transform 0.2s ease;
}

.form-input {
    width: 100%;
    padding: 18px 20px 18px 52px;
    border: 2px solid #E0E0E0;
    border-radius: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    color: var(--dark);
    transition: all 0.3s ease;
    background: #FAFAFA;
}

.form-input:focus {
    outline: none;
    border-color: var(--orange);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.1);
}

.form-input::placeholder { color: #999; }

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px; height: 22px;
    fill: var(--orange);
    opacity: 0.6;
}

.submit-btn {
    width: 100%;
    padding: 20px 32px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 30px rgba(255, 87, 34, 0.4);
    margin-top: 8px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 87, 34, 0.5);
}

.submit-btn svg {
    width: 20px; height: 20px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.submit-btn:hover svg { transform: translateX(4px); }

.submit-btn.loading { opacity: 0.8; pointer-events: none; }

.card-footer {
    padding: 0 30px 30px;
    text-align: center;
}

.trust-text {
    font-size: 0.8rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.trust-text svg {
    width: 14px; height: 14px;
    fill: var(--green);
}

.success-state {
    display: none;
    padding: 40px 30px;
    text-align: center;
}

.success-state.show {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.success-icon {
    width: 90px; height: 90px;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: successBounce 0.6s ease-out;
    box-shadow: 0 12px 40px rgba(46, 125, 50, 0.4);
}

@keyframes successBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.success-icon svg {
    width: 45px; height: 45px;
    fill: var(--white);
}

.success-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.success-text {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.6;
}

.success-text strong { color: var(--orange); }

.form-section.hidden { display: none; }

.error-msg {
    background: #FFEBEE;
    color: #C62828;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: none;
}

.error-msg.show {
    display: block;
    animation: shake 0.5s ease-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.spinner {
    width: 20px; height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.admin-notice {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--green);
    color: white;
    padding: 10px 20px;
    text-align: center;
    font-size: 0.8rem;
    z-index: 1001;
}

.admin-notice a {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 520px) {
    .card { border-radius: 24px; margin: 10px; }
    .card-header { padding: 32px 24px; }
    .logo { font-size: 1.6rem; }
    .card-body { padding: 32px 24px; }
    .title { font-size: 1.5rem; }
    .countdown-item { padding: 14px 16px; min-width: 60px; }
    .countdown-num { font-size: 1.6rem; }
    .form-input { padding: 16px 18px 16px 48px; }
    .submit-btn { padding: 18px 24px; font-size: 1rem; }
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
}

