/* CSS Variables */
:root {
    --white: #ffffff;
    --gray-800: #1a1a1a;
    --gradient-hero: linear-gradient(45deg, #000 0%, #1a0b2e 50%, #4a1b3d 100%);
    --gradient-light: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 50%, #e8ecff 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8f9ff 50%, #f0f2ff 100%);
    --gradient-section: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
    --accent-purple: #6c47ff;
    --accent-purple-light: #8b6bff;
    --accent-purple-dark: #5a3fd8;
    --text-primary: #1a1a1a;
    --text-secondary: #5a6270;
    --text-light: #8b8b8b;
    --shadow-light: rgba(108, 71, 255, 0.1);
    --shadow-medium: rgba(108, 71, 255, 0.15);
    --shadow-dark: rgba(108, 71, 255, 0.2);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a1a 50%, var(--bg-dark) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 78vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.01em;
}

.hero-btn.primary {
    background: var(--primary);
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.hero-btn.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
}

.hero-btn.secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

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

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

/* Features Section */
.features-section {
    background: var(--gradient-section);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-purple-light), transparent);
    margin: 0;
}

.features-section li {
    list-style: none;
}

.features-header {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    text-align: center;
    padding: 0 2rem;
}

.features-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-purple-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-subheadline {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 0;
    max-width: 600px;
    margin: 0 auto;
}

.features-carousel-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 2rem;
}

.features-carousel {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 32px 0;
    scrollbar-width: none;
    width: 100%;
}

.features-carousel::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    height: auto !important;
    min-height: 380px;
    max-height: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 0 0 420px;
    max-width: 420px;
    min-width: 340px;
    background: var(--gradient-card);
    border-radius: 24px;
    box-shadow: 0 12px 40px var(--shadow-light), 0 4px 16px rgba(0,0,0,0.05);
    scroll-snap-align: start;
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: all 0.3s ease;
    overflow: hidden;
}

.carousel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple) 0%, var(--accent-purple-light) 100%);
}

.carousel-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px var(--shadow-medium), 0 8px 24px rgba(0,0,0,0.08);
    border-color: var(--accent-purple-light);
}

.carousel-card .card-inner {
    width: 100% !important;
    height: auto !important;
    min-height: 380px;
    margin: 0;
    padding: 32px 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.carousel-card img {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 4px 8px var(--shadow-light));
    transition: all 0.3s ease;
}

.carousel-card:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 8px 16px var(--shadow-medium));
}

.carousel-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    transition: color 0.3s ease;
}

.carousel-card:hover h3 {
    color: var(--accent-purple);
}

.carousel-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.6;
    flex-grow: 1;
}

.carousel-arrow {
    background: var(--white);
    border: 2px solid var(--accent-purple-light);
    border-radius: 50%;
    box-shadow: 0 8px 24px var(--shadow-light);
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    color: var(--accent-purple);
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow:hover {
    background: var(--accent-purple);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 32px var(--shadow-medium);
}

.carousel-arrow.left {
    left: -24px;
}

.carousel-arrow.right {
    right: -24px;
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .features-container h2 {
        font-size: 2rem;
    }
    
    .features-container h2::after {
        width: 200px;
    }
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .hero-image img {
        width: 350px;
        max-width: 100%;
    }
    
    .features-carousel-wrapper {
        max-width: 100vw;
        padding: 0 1rem;
    }
    
    .carousel-card {
        min-width: 280px;
        max-width: 90vw;
    }
    
    .carousel-card .card-inner {
        padding: 24px 20px;
    }
    
    .carousel-arrow.left {
        left: 4px;
    }
    
    .carousel-arrow.right {
        right: 4px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 20px 60px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .features-section {
        padding: 60px 0;
    }
    
    .features-header h2 {
        font-size: 2rem;
    }
    
    .features-subheadline {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .features-section {
        padding: 40px 0;
    }
    
    .features-header h2 {
        font-size: 1.8rem;
    }
    
    .carousel-card {
        min-width: 260px;
    }
    
    .carousel-card .card-inner {
        min-height: 320px;
        padding: 20px 16px;
    }
    
    .carousel-card img {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }
    
    .carousel-card h3 {
        font-size: 1.2rem;
    }
    
    .carousel-card p {
        font-size: 1rem;
    }
}

/* Remove flip card effect and back card styles */
.feature-card .card-inner, .carousel-card .card-inner {
    transition: all 0.3s ease;
}

.feature-card:hover .card-inner, .carousel-card:hover .card-inner {
    transform: none;
}

/* Remove flip-specific styles */
.flip-card, .flip-card-inner, .flip-card-front, .flip-card-back,
.feature-card .card-back, .carousel-card .card-back {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: none !important;
}

/* Additional animations for enhanced UX */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(108, 71, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(108, 71, 255, 0.6);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.carousel-card {
    animation: fadeInUp 0.6s ease-out;
}

.carousel-card:nth-child(1) { animation-delay: 0.1s; }
.carousel-card:nth-child(2) { animation-delay: 0.2s; }
.carousel-card:nth-child(3) { animation-delay: 0.3s; }
.carousel-card:nth-child(4) { animation-delay: 0.4s; }
.carousel-card:nth-child(5) { animation-delay: 0.5s; }
.carousel-card:nth-child(6) { animation-delay: 0.6s; }

/* Enhanced hero section with gradient text */
/* .hero-content h1 {
    background: linear-gradient(135deg, #ffffff 0%, #f0f2ff 50%, #e8ecff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 3s ease-in-out infinite alternate;
} */

/* Shimmer effect for buttons */
.btn-dark {
    background: linear-gradient(90deg, var(--accent-purple) 0%, var(--accent-purple-light) 25%, var(--accent-purple) 50%, var(--accent-purple-light) 75%, var(--accent-purple) 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.btn-dark:hover {
    animation: none;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-purple-light) 100%);
}

/* Smooth scrolling for better UX */
html {
    scroll-behavior: smooth;
}

/* Enhanced focus states for accessibility */
.carousel-arrow:focus,
.btn-dark:focus {
    outline: 2px solid var(--accent-purple);
    outline-offset: 2px;
}

/* Enhanced section transitions */
.features-section {
    position: relative;
}

.features-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

/* Enhanced card hover effects */
.carousel-card:hover {
    animation: glow 2s ease-in-out infinite alternate;
}

/* Responsive enhancements */
@media (prefers-reduced-motion: reduce) {
    .carousel-card,
    .btn-dark,
    .hero-content h1 {
        animation: none;
    }
} 

/* Retail-specific feature enhancements */
.feature-card {
    text-align: center;
}

/* Center section headings */
.features-container h2 {
    text-align: center;
    width: 100%;
}

/* Retail CTA section enhancements */
.cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(239, 68, 68, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Responsive design for retail page */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image img {
        max-width: 80%;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 80px 0 60px;
        min-height: 70vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
} 