/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #f5f3ee;
    --secondary-color: #253f8e;
    --tertiary-color: #f36b2c;
    --extra-light: #e8d2c8;
    --extra-dark: #b9a99a;
    --dark: #2C1810;
    --success: #28a745;
    --error: #dc3545;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--primary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(37, 63, 142, 0.25) 0%, rgba(26, 45, 102, 0.25) 100%), url('../assets/hero-bg.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 80px 20px;
    text-align: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.badge {
    background: var(--tertiary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-family: 'Fields Display', serif;
    font-weight: 400;
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

h2, h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.price {
    margin: 40px 0;
}

.price-amount {
    font-size: 4rem;
    font-weight: 700;
    display: block;
    font-family: 'Fields Display', serif;
}

.price-note {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Inter', sans-serif;
}

.cta-button {
    background: var(--tertiary-color);
    color: white;
    border: none;
    padding: 18px 45px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-family: 'Inter', sans-serif;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background: #d95a1f;
}

.social-proof {
    margin-top: 30px;
    font-size: 1.1rem;
}

.social-proof a {
    color: var(--tertiary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--tertiary-color);
}

/* What's Inside Section */
.whats-inside {
    padding: 80px 20px;
    background: white;
}

h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

.cookie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.cookie-item {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    background: var(--primary-color);
    transition: transform 0.3s ease;
    border: 2px solid var(--extra-light);
}

.cookie-item:hover {
    transform: translateY(-5px);
    border-color: var(--tertiary-color);
}

.cookie-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.cookie-item h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.cookie-item p {
    color: #666;
    font-size: 0.95rem;
}

/* Why Choose Section */
.why-choose {
    padding: 80px 20px;
    background: linear-gradient(to bottom, white, var(--primary-color));
}

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

.feature {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    border: 2px solid var(--extra-light);
}

.feature-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 20px;
}

.feature h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.feature p {
    color: #666;
}

/* Order Section */
.order-section {
    padding: 80px 20px;
    background: white;
}

.order-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
}

.order-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--primary-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 2px solid var(--extra-light);
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
    font-family: 'Inter', sans-serif;
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--extra-dark);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
    background: white;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

textarea {
    resize: vertical;
}

.order-summary {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    border: 2px solid var(--extra-light);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.total-amount {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-family: 'Bebas Neue', sans-serif;
}

.pickup-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
    text-align: center;
}

.submit-button {
    width: 100%;
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 18px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Inter', sans-serif;
}

.submit-button:hover:not(:disabled) {
    background: #1a2d66;
    transform: translateY(-2px);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--tertiary-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.payment-note {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
}

.success-message {
    background: var(--success);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.success-message h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.error-message {
    background: var(--error);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 600px;
    margin: 20px auto 0;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 30px 20px;
    text-align: center;
}

footer a {
    color: var(--tertiary-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .price-amount {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

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

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

    .order-form {
        padding: 25px;
    }

    .hero {
        padding: 60px 20px;
        min-height: auto;
    }
}

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

    .price-amount {
        font-size: 2.5rem;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .order-form {
        padding: 20px;
    }
}
