/* Welcome Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3498db;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
    --text-color: #2c3e50;
    --light-bg: #ecf0f1;
    --white: #ffffff;
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-dark: 0 8px 32px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f8f9fa;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,154.7C672,160,768,192,864,197.3C960,203,1056,181,1152,160C1248,139,1344,117,1392,106.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    padding: 40px 20px;
}

.logo-large {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce 3s infinite;
}

.hero-section h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -1px;
    animation: fadeInDown 0.8s ease;
}

.hero-section > div > p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Welcome Options */
.welcome-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.option-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    transform: translateY(0);
    animation: slideUp 0.8s ease backwards;
}

.option-card:nth-child(1) { animation-delay: 0.2s; }
.option-card:nth-child(2) { animation-delay: 0.4s; }
.option-card:nth-child(3) { animation-delay: 0.6s; }

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

.option-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dark);
}

.option-icon {
    font-size: 60px;
    margin-bottom: 20px;
    display: inline-block;
}

.option-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.option-description {
    color: #7f8c8d;
    margin-bottom: 25px;
    font-size: 1rem;
}

.option-features {
    list-style: none;
    margin: 25px 0;
    text-align: left;
}

.option-features li {
    padding: 8px 0;
    color: #555;
    font-size: 0.95rem;
}

.option-features li:before {
    content: '';
    display: inline-block;
    width: 20px;
    margin-right: 10px;
}

.guest-card {
    border-top: 4px solid #95a5a6;
}

.signup-card {
    border-top: 4px solid var(--primary-color);
    transform: scale(1.02);
}

.signup-card:hover {
    transform: scale(1.02) translateY(-10px);
}

.login-card {
    border-top: 4px solid var(--success-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-guest {
    background-color: #95a5a6;
    color: white;
}

.btn-guest:hover {
    background-color: #7f8c8d;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-success {
    background-color: var(--success-color);
    color: white;
}

.btn-success:hover {
    background-color: #229954;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background-color: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
}

.btn-large {
    padding: 16px 45px;
    font-size: 1.1rem;
}

/* Features Section */
.features-section {
    padding: 80px 20px;
    background: var(--white);
    text-align: center;
}

.features-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.features-section p {
    color: #7f8c8d;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

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

.feature-item {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--light-bg);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-item p {
    color: #7f8c8d;
    margin: 0;
}

/* Sample Products Section */
.sample-products-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.sample-products-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.sample-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

.sample-product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    cursor: pointer;
}

.sample-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-dark);
}

.sample-product-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.sample-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-placeholder {
    font-size: 60px;
}

.sample-product-info {
    padding: 20px;
}

.sample-product-info h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 600;
}

.sample-product-category {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.sample-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sample-product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--success-color);
}

.stock-available {
    background: #d4edda;
    color: #155724;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.stock-unavailable {
    background: #f8d7da;
    color: #721c24;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 15px 40px;
    font-size: 1rem;
}

/* Welcome Footer */
.welcome-footer {
    background: var(--text-color);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.welcome-footer p {
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .logo-large {
        font-size: 60px;
    }

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

    .signup-card {
        transform: scale(1);
    }

    .signup-card:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section > div > p {
        font-size: 1.1rem;
    }

    .logo-large {
        font-size: 50px;
    }

    .features-section h2,
    .sample-products-section h2,
    .cta-section h2 {
        font-size: 1.8rem;
    }

    .sample-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }

    .option-card {
        padding: 30px 20px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.6rem;
    }

    .logo-large {
        font-size: 40px;
    }

    .welcome-options {
        gap: 20px;
    }

    .option-card {
        padding: 25px 15px;
    }

    .option-card h3 {
        font-size: 1.4rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .features-section h2,
    .sample-products-section h2,
    .cta-section h2 {
        font-size: 1.5rem;
    }

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