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

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: linear-gradient(135deg, hsl(263, 70%, 60%), hsl(221, 49%, 12%), hsl(142, 76%, 36%));
    color: #f8fafc;
    min-height: 100vh;
    line-height: 1.6;
}

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

/* Design System Colors */
:root {
    --primary: hsl(263, 70%, 60%);
    --primary-foreground: #f8fafc;
    --accent: hsl(142, 76%, 36%);
    --accent-foreground: #f8fafc;
    --card-bg: hsla(222, 84%, 8%, 0.8);
    --border: hsla(217, 32%, 20%, 0.5);
    --muted: hsl(215, 20%, 65%);
    
    --gradient-primary: linear-gradient(135deg, hsl(263, 70%, 60%), hsl(220, 70%, 50%));
    --gradient-secondary: linear-gradient(135deg, hsl(142, 76%, 36%), hsl(180, 76%, 36%));
    --gradient-text: linear-gradient(135deg, #124e3c, lab(64.85% -38.43 63.65), #19530a);
    --gradient-card: linear-gradient(135deg, hsla(222, 84%, 8%, 0.8), hsla(217, 32%, 17%, 0.4));
    
    --shadow-glow: 0 0 40px hsla(263, 70%, 60%, 0.3);
    --shadow-card: 0 20px 25px -5px hsla(222, 84%, 4%, 0.3), 0 10px 10px -5px hsla(222, 84%, 4%, 0.2);
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Typography */
.gradient-text {
    background: var(--gradient-text);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.text-white { color: #f8fafc; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted); }

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-bounce);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    box-shadow: 0 4px 15px hsla(263, 70%, 60%, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px hsla(263, 70%, 60%, 0.6);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--accent-foreground);
    box-shadow: 0 4px 15px hsla(142, 76%, 36%, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px hsla(142, 76%, 36%, 0.6);
}

/* Cards */
.card {
    background: var(--gradient-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow), var(--shadow-card);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?w=1200&h=600&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        hsla(222, 84%, 5%, 0.9) 0%,
        hsla(222, 84%, 5%, 0.7) 50%,
        hsla(222, 84%, 5%, 0.9) 100%);
}

.floating-element {
    position: absolute;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.floating-1 {
    top: 5rem;
    left: 2.5rem;
    animation-delay: 0s;
}

.floating-2 {
    top: 8rem;
    right: 5rem;
    animation-delay: 2s;
}

.floating-3 {
    bottom: 10rem;
    left: 5rem;
    animation-delay: 4s;
}

.floating-element i {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

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

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--muted);
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted);
}

.avatars {
    display: flex;
    gap: -0.5rem;
}

.avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 2px solid #f8fafc;
    margin-left: -0.5rem;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar-1 { background: var(--primary); }
.avatar-2 { background: var(--accent); }
.avatar-3 { background: #8b5cf6; }

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 48rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: hsla(222, 84%, 8%, 0.5);
    backdrop-filter: blur(12px);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
}

.feature-card i {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.feature-title {
    font-weight: 600;
    color: #f8fafc;
}

.feature-subtitle {
    font-size: 0.875rem;
    color: var(--muted);
}

/* Products Section */
.products-section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--muted);
    max-width: 32rem;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto 4rem;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.product-card {
    position: relative;
    background: var(--gradient-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

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

.product-popular {
    border: 1px solid hsla(263, 70%, 60%, 0.3);
    box-shadow: 0 0 20px hsla(263, 70%, 60%, 0.2);
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    from {
        box-shadow: 0 0 20px hsla(263, 70%, 60%, 0.3);
    }
    to {
        box-shadow: 0 0 40px hsla(263, 70%, 60%, 0.6), 0 0 60px hsla(263, 70%, 60%, 0.3);
    }
}

.popular-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-text);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.popular-badge i {
    width: 1rem;
    height: 1rem;
}

.product-content {
    text-align: center;
}

.product-header {
    margin-bottom: 1.5rem;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.original-price {
    font-size: 1.125rem;
    color: var(--muted);
    text-decoration: line-through;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.savings-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: hsla(142, 76%, 36%, 0.2);
    color: #34d399;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.savings-badge i {
    width: 1rem;
    height: 1rem;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.product-features i {
    width: 1.25rem;
    height: 1.25rem;
    color: #34d399;
    flex-shrink: 0;
}

.btn-purchase {
    width: 100%;
    font-size: 1.125rem;
    font-weight: 700;
}

/* Categories */
.categories-section {
    margin-top: 4rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.categories-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.category-card {
    background: var(--gradient-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    transition: var(--transition-smooth);
    animation: fadeInUp 0.8s ease-out both;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.category-card:nth-child(1) { animation-delay: 0.6s; }
.category-card:nth-child(2) { animation-delay: 0.7s; }
.category-card:nth-child(3) { animation-delay: 0.8s; }
.category-card:nth-child(4) { animation-delay: 0.9s; }
.category-card:nth-child(5) { animation-delay: 1.0s; }
.category-card:nth-child(6) { animation-delay: 1.1s; }

.category-card i {
    width: 2rem;
    height: 2rem;
    margin: 0 auto 0.5rem;
    display: block;
}

.category-card span {
    font-size: 0.875rem;
    font-weight: 500;
}

.text-blue { color: #60a5fa; }
.text-green { color: #34d399; }
.text-purple { color: #a78bfa; }
.text-orange { color: #fb923c; }
.text-yellow { color: #fbbf24; }
.text-cyan { color: #22d3ee; }

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: hsla(222, 84%, 8%, 0.2);
}

.testimonials-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: var(--gradient-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    animation: fadeInUp 0.8s ease-out both;
}

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

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 0.25rem;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
}

.testimonial-rating i {
    width: 1rem;
    height: 1rem;
}

.star-filled {
    color: #fbbf24;
    fill: #fbbf24;
}

.testimonial-comment {
    color: var(--muted);
    font-style: italic;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 2.5rem;
    }
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted);
}

/* Footer */
.footer {
    position: relative;
    padding: 4rem 0;
    background: hsla(222, 84%, 8%, 0.3);
    border-top: 1px solid var(--border);
}

.footer-cta {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out;
}

.footer-cta-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .footer-cta-title {
        font-size: 2.5rem;
    }
}

.footer-cta-subtitle {
    font-size: 1.125rem;
    color: var(--muted);
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
    margin-bottom: 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-icon i {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.brand-name {
    font-weight: 700;
    color: #f8fafc;
}

.brand-tagline {
    font-size: 0.875rem;
    color: var(--muted);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-links button {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.footer-links button:hover {
    color: #f8fafc;
}

.footer-support {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
}

.footer-support i {
    width: 1rem;
    height: 1rem;
}

.footer-support span {
    font-size: 0.875rem;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-made-with {
    font-size: 0.875rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.heart-icon {
    width: 1rem;
    height: 1rem;
    color: #ef4444;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--muted);
}

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

/* Responsive Design */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}