/* Custom CSS Variables */
:root {
    /* Colors */
    --primary-color: #ff0099; /* Neon Pink */
    --secondary-color: #a855f7; /* Purple */
    --accent-color: #0ea5e9; /* Sky Blue */

    --dark-bg: #14081e; /* Dark purple-ish background for header/hero */
    --darker-gray: #0F0913; /* Even darker for footer */
    --bg-white: #ffffff;
    --bg-light: #f8f8f8; /* Light background for sections */
    --medium-gray: #e5e7eb; /* For before/after headings */

    --text-dark: #1f2937; /* Dark gray for main text */
    --text-light: #4b5563; /* Lighter gray for descriptions */
    --text-white: #ffffff;
    --text-gray-900: #111827;
    --text-gray-600: #4b5563;
    --text-gray-500: #6b7280;
    --text-gray-400: #9ca3af;
    --text-gray-300: #d1d5db;

    /* Icon Colors (from Tailwind palette examples) */
    --icon-pink-600: #db2777;
    --icon-pink-100: #fce7f3;
    --icon-purple-600: #9333ea;
    --icon-purple-100: #f3e8ff;
    --icon-orange-600: #ea580c;
    --icon-orange-100: #fff7ed;
    --icon-blue-600: #2563eb;
    --icon-blue-100: #eff6ff;
    --icon-green-600: #16a34a;
    --icon-green-100: #f0fdf4;
    --icon-red-600: #dc2626;
    --icon-red-100: #fef2f2;
    --icon-yellow-600: #eab308;
    --icon-yellow-100: #fefce8;
    --icon-indigo-600: #4f46e5;
    --icon-indigo-100: #e0e7ff;
    --icon-teal-600: #0d9488;
    --icon-teal-100: #f0fdfa;
    --icon-cyan-600: #0891b2;
    --icon-cyan-100: #ecfeff;
    --icon-lime-600: #65a30d;
    --icon-lime-100: #f7fee7;
    --icon-fuchsia-600: #c026d3;
    --icon-fuchsia-100: #fae8ff;


    --gradient-start: #ff0099;
    --gradient-end: #a855f7; /* Matches secondary color for smooth transition */

    --border-color: #e5e7eb; /* Light border color for cards */
    --light-pink-dot: #fbcfe8; /* For inactive slider dots */

    /* Spacing */
    --spacing-xs: 0.25rem; /* 4px */
    --spacing-sm: 0.5rem; /* 8px */
    --spacing-md: 1rem; /* 16px */
    --spacing-lg: 1.5rem; /* 24px */
    --spacing-xl: 2rem; /* 32px */
    --spacing-xxl: 3rem; /* 48px */
    --spacing-3xl: 4rem; /* 64px */

    /* Font Sizes */
    --font-size-xs: 0.75rem; /* 12px */
    --font-size-sm: 0.875rem; /* 14px */
    --font-size-base: 1rem; /* 16px */
    --font-size-lg: 1.125rem; /* 18px */
    --font-size-xl: 1.25rem; /* 20px */
    --font-size-xxl: 1.5rem; /* 24px */
    --font-size-3xl: 1.875rem; /* 30px */
    --font-size-4xl: 2.25rem; /* 36px */
    --font-size-5xl: 3rem; /* 48px */
    --font-size-6xl: 3.75rem; /* 60px */

    /* Border Radius */
    --radius-sm: 0.25rem; /* 4px */
    --radius-md: 0.5rem; /* 8px */
    --radius-lg: 0.75rem; /* 12px */
    --radius-xl: 1rem; /* 16px */
    --radius-full: 9999px; /* Fully rounded */

    /* Shadows (Tailwind-like) */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-ease: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Utility Classes (kept as is, Tailwind-like) */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md); /* Default padding */
}

.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pb-20 { padding-bottom: 5rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-20 { margin-bottom: 5rem; } /* Added for spacing between feature grids */
.mt-6 { margin-top: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }
.pt-6 { padding-top: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.text-center { text-align: center; }
.leading-relaxed { line-height: 1.75; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.text-white { color: var(--text-white); }
.text-gray-900 { color: var(--text-gray-900); }
.text-gray-600 { color: var(--text-gray-600); }
.text-gray-500 { color: var(--text-gray-500); }
.text-gray-400 { color: var(--text-gray-400); }
.text-gray-300 { color: var(--text-gray-300); }

/* Text colors for the new feature/step icons */
.text-pink-600 { color: var(--icon-pink-600); }
.bg-pink-100 { background-color: var(--icon-pink-100); }
.text-purple-600 { color: var(--icon-purple-600); }
.bg-purple-100 { background-color: var(--icon-purple-100); }
.text-orange-600 { color: var(--icon-orange-600); }
.bg-orange-100 { background-color: var(--icon-orange-100); }
.text-blue-600 { color: var(--icon-blue-600); }
.bg-blue-100 { background-color: var(--icon-blue-100); }
.text-green-600 { color: var(--icon-green-600); }
.bg-green-100 { background-color: var(--icon-green-100); }
.text-red-600 { color: var(--icon-red-600); }
.bg-red-100 { background-color: var(--icon-red-100); }
.text-yellow-600 { color: var(--icon-yellow-600); }
.bg-yellow-100 { background-color: var(--icon-yellow-100); }
.text-indigo-600 { color: var(--icon-indigo-600); }
.bg-indigo-100 { background-color: var(--icon-indigo-100); }
.text-teal-600 { color: var(--icon-teal-600); }
.bg-teal-100 { background-color: var(--icon-teal-100); }
.text-cyan-600 { color: var(--icon-cyan-600); }
.bg-cyan-100 { background-color: var(--icon-cyan-100); }
.text-lime-600 { color: var(--icon-lime-600); }
.bg-lime-100 { background-color: var(--icon-lime-100); }
.text-fuchsia-600 { color: var(--icon-fuchsia-600); }
.bg-fuchsia-100 { background-color: var(--icon-fuchsia-100); }

.bg-light { background-color: var(--light-bg); }
.bg-gray-50 { background-color: #f9fafb; /* Keeping this light gray */ }
.bg-white { background-color: var(--bg-white); }
.bg-darker-gray { background-color: var(--darker-gray); } /* New Footer background */

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-extrabold { font-weight: 800; }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }
.text-2xl { font-size: var(--font-size-xxl); }
.text-3xl { font-size: var(--font-size-3xl); }
.text-4xl { font-size: var(--font-size-4xl); }
.text-5xl { font-size: var(--font-size-5xl); }
.rounded-full { border-radius: var(--radius-full); }
.rounded-2xl { border-radius: 1rem; }
.relative { position: relative; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.hidden { display: none; }
.border-t { border-top-width: 1px; border-color: var(--border-color); }
.border-gray-800 { border-color: #2d3748; /* Tailwind gray-800, keep for line */ }
.transition-colors { transition-property: background-color, border-color, color, fill, stroke; transition-duration: 0.3s; transition-timing-function: ease; }
.transition-transform { transition-property: transform; transition-duration: 0.3s; transition-timing-function: ease; }
.duration-300 { transition-duration: 0.3s; }
.opacity-90 { opacity: 0.9; }
.opacity-70 { opacity: 0.7; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }


/* Gradients */
.gradient-text {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback for browsers that don't support text fill color */
}

/* Hero section background gradient */
.hero {
    background: linear-gradient(135deg, var(--dark-bg), #3A0F55); /* Darker purple-ish gradient */
}


/* Buttons */
.btn {
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-ease);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-large {
    padding: var(--spacing-lg) var(--spacing-xxl);
    font-size: var(--font-size-lg);
}


/* Header */
.header {
    background-color: var(--dark-bg); /* Use new dark background */
    padding: var(--spacing-md) 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
    background-color: rgba(20, 8, 30, 0.95); /* Slightly transparent when scrolled, from dark-bg */
    padding: var(--spacing-sm) 0;
    backdrop-filter: blur(5px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .logo {
    /* text-3xl utility class applied in HTML */
    font-weight: 800;
    text-decoration: none;
    line-height: 1; /* Adjust line height to prevent clipping with gradient */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px; /* Space for underline */
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.mobile-menu-toggle {
    display: none; /* Hidden by default for desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101; /* Above nav menu when open */
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Language Selector */
.language-selector {
    position: relative;
    display: inline-block;
}

.language-selector .btn {
    padding: 0.5rem 1rem;
    font-size: var(--font-size-base);
    border-color: var(--text-white);
    color: var(--text-white);
    background-color: transparent;
}

.language-selector .btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
}

.language-selector .btn i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.language-selector .btn.active i {
    transform: rotate(180deg);
}

.language-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 5px); /* Position below the button */
    right: 0; /* Align to the right of the button */
    background-color: var(--dark-bg); /* Use new dark background */
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    overflow: hidden;
    min-width: 120px;
    z-index: 50;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border for dropdown */
}

.language-dropdown.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-white);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-option:hover {
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    padding: 180px 0 100px 0; /* Adjusted padding-top for fixed header */
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--text-white);
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none; /* Allow clicks to pass through */
}

.hero-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.hero-shape-1 {
    width: 250px;
    height: 250px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 350px;
    height: 350px;
    bottom: 15%;
    right: 10%;
    animation-delay: 5s;
}

.hero-shape-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    left: 40%;
    animation-delay: 10s;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.8; }
    50% { transform: translateY(-20px) rotate(10deg); opacity: 0.6; }
    100% { transform: translateY(0) rotate(0deg); opacity: 0.8; }
}


.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-badge {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
}

.hero-description {
    font-size: var(--font-size-xl);
    max-width: 800px;
    margin-bottom: var(--spacing-xxl);
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xxl);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xxl);
    margin-top: var(--spacing-xxl);
}

.stat-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--text-white); /* Changed to white for better contrast on dark bg */
    line-height: 1;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-gray-400);
    margin-top: var(--spacing-xs);
}

/* Grids - General Styles */
.grid {
    display: grid;
    gap: var(--spacing-xl); /* Consistent gap between grid items */
}

/* Features Section - Attractive Enhancements */
.features .grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Default flexible grid */
}

/* Specific Feature Grid Layouts for Laptop/Desktop */
@media (min-width: 1025px) { /* Applies to laptops and larger screens */

    /* For the first set of 3 (Passport, AI Photo, Ghibli) */
    .feature-group-3.grid {
        grid-template-columns: repeat(3, 1fr); /* Exactly 3 columns */
        max-width: 900px; /* Adjust max-width to control overall group width */
        margin-left: auto;
        margin-right: auto;
    }

    /* For the sets of 4 (Enhance, Hair, Object, Restore) and (Logos, Business Cards, Poster, Anything) */
    .feature-group-4.grid {
        grid-template-columns: repeat(4, 1fr); /* Exactly 4 columns */
        max-width: 1200px; /* Allow wider for 4 columns */
        margin-left: auto;
        margin-right: auto;
    }

    /* Ensure How It Works also goes side-by-side on laptop */
    .how-it-works .grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columns for desktop */
    }

    /* Testimonials - 3 columns for desktop */
    .testimonials .grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Footer - adjust for 4 columns on desktop */
    .footer .grid {
        grid-template-columns: 2fr 1fr 1fr 1fr; /* Example: wider first column, then 3 equal */
    }
}


.feature-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; /* Added border-color transition */
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--border-color); /* Subtle border */
    position: relative; /* For NEW badge positioning */
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color); /* Highlight border on hover */
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    font-size: 3rem; /* Larger emoji size */
    box-shadow: var(--shadow-sm); /* Add shadow to icons */
    position: relative; /* For NEW badge positioning */
}

.feature-icon span {
    line-height: 1; /* Ensure emoji is vertically centered */
}

.new-badge {
    position: absolute;
    top: -10px; /* Adjust as needed */
    right: -10px; /* Adjust as needed */
    background-color: var(--primary-color);
    color: var(--text-white);
    font-size: var(--font-size-xs);
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    transform: rotate(5deg);
}


.feature-title {
    font-size: var(--font-size-xxl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.feature-description {
    font-size: var(--font-size-base);
    color: var(--text-light);
}

/* Results Showcase - Responsive Enhancements */
.results-showcase {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--spacing-xl);
    overflow: hidden;
}

.results-slider {
    display: flex;
    /* transition: transform 0.5s ease-in-out; // Removed transition for JS-controlled 'display' */
    position: relative; /* To contain absolute positioned slides */
}

.slide {
    min-width: 100%;
    flex-shrink: 0;
    display: none; /* Hidden by default */
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.slide.active {
    display: flex; /* Only active slide is visible */
}

.before-after-container {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    justify-content: center; /* Center items horizontally */
    gap: var(--spacing-md); /* Smaller gap for mobile */
    margin-bottom: var(--spacing-lg);
}

.before-after-item {
    flex: 1; /* Distribute space evenly */
    min-width: 250px; /* Minimum width before wrapping */
    max-width: 380px; /* Max width to keep images reasonably sized */
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally within the item */
}

.before-after-item h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    padding: var(--spacing-sm);
    background-color: var(--medium-gray);
    color: var(--text-dark);
    width: 100%; /* Ensure heading takes full width */
}

.image-container {
    position: relative;
    width: 550px; 
    height: 550px; 
    overflow: hidden;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-container-virtualtryon {
    position: relative;
    width: 400px; 
    height: 550px; 
    overflow: hidden;
}

.image-container-virtualtryon img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-container-restore {
    position: relative;
    width: 400px; 
    height: 550px; 
    overflow: hidden;
}

.image-container-restore img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Subtle overlay */
    pointer-events: none;
}

.enhancement-badge {
    position: absolute;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.text-prompt-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    padding: var(--spacing-md);
    font-style: italic;
    color: #555;
    text-align: center;
    font-size: var(--font-size-base);
    border-radius: var(--radius-md);
    padding: 100px;
}

.slide-info {
    padding: var(--spacing-lg) 0;
}

.slide-info h4 {
    font-size: var(--font-size-xxl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.slide-info p {
    font-size: var(--font-size-base);
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.slider-btn {
    background-color: var(--primary-color);
    color: var(--text-white);
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: var(--font-size-base); /* Smaller font size for icon */
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px; /* Smaller width */
    height: 32px; /* Smaller height */
    flex-shrink: 0;
}

.slider-btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

.slider-dots {
    display: flex;
    gap: var(--spacing-sm);
}

.dot {
    width: 10px;
    height: 10px;
    background-color: var(--light-pink-dot); /* New color for inactive dots */
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    flex-shrink: 0;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.results-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xxl);
    margin-top: var(--spacing-xxl);
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.stat-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg) var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    flex: 1; /* Distribute space */
    min-width: 150px; /* Ensure cards don't get too small */
    max-width: 250px; /* Max width for consistency */
}

.stat-card .stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.stat-card .stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    margin-top: var(--spacing-xs);
}


/* How It Works Section - Attractive Enhancements */
.how-it-works-step-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-xl); /* Slightly more rounded */
    padding: var(--spacing-xxl) var(--spacing-xl); /* Increased vertical padding */
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 280px; /* Increased min-height */
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden; /* For pseudo-element background */
}

.how-it-works-step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(255, 0, 153, 0.05), rgba(168, 85, 247, 0.05)); /* Subtle gradient overlay */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.how-it-works-step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.how-it-works-step-card:hover::before {
    opacity: 1;
}

.how-it-works-step-card > * { /* Ensure content is above pseudo-element */
    position: relative;
    z-index: 1;
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 143px; /* Slightly larger icon */
    height: 72px;
    border-radius: 25px; /* Make it perfectly round */
    margin-bottom: var(--spacing-xl); /* More space */
    font-size: 3.5rem; /* Larger emoji size */
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-md); /* Stronger shadow for icons */
}

/* Specific icon background colors for How It Works */
.step-icon-pink { background-color: var(--icon-pink-100); color: var(--icon-pink-600); }
.step-icon-purple { background-color: var(--icon-purple-100); color: var(--icon-purple-600); }
.step-icon-orange { background-color: var(--icon-orange-100); color: var(--icon-orange-600); }
.step-icon-green { background-color: var(--icon-green-100); color: var(--icon-green-600); }


.how-it-works-step-card:hover .step-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.step-title {
    font-size: var(--font-size-xxl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    transition: color 0.3s ease;
}

.how-it-works-step-card:hover .step-title {
    color: var(--primary-color);
}

.step-description {
    font-size: var(--font-size-base);
    color: var(--text-light);
    flex-grow: 1; /* Pushes content up */
}

/* Testimonials Section - Attractive Enhancements */
.testimonials {
    background-color: var(--bg-light); /* Lighter background for contrast */
}

.testimonial-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-xl); /* More rounded corners */
    padding: var(--spacing-xxl); /* Increased padding */
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '“'; /* Large opening quote */
    position: absolute;
    top: 15px;
    left: 20px;
    font-family: serif;
    font-size: 8rem; /* Very large quote */
    color: var(--light-pink-dot); /* Use a light variant of pink/purple for subtle effect */
    opacity: 0.7;
    z-index: 0;
    line-height: 1;
}


.testimonial-card:hover {
    transform: translateY(-8px); /* Slightly less hover effect */
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.testimonial-text {
    font-size: var(--font-size-lg);
    color: var(--text-dark);
    line-height: 1.7; /* Increased line height for readability */
    margin-bottom: var(--spacing-lg);
    flex-grow: 1;
    position: relative; /* To bring text above pseudo-element */
    z-index: 1;
    padding-left: 10px; /* Offset for the large quote */
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: auto;
    position: relative; /* Ensure it's above quote */
    z-index: 1;
}

.testimonial-avatar {
    width: 70px; /* Slightly larger avatar */
    height: 70px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 4px solid var(--primary-color); /* Thicker, vibrant border */
    box-shadow: var(--shadow-sm);
}

.author-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: var(--font-size-lg); /* Slightly larger name */
}

.author-title {
    font-size: var(--font-size-base); /* Keep title readable */
    color: var(--text-gray-600); /* Darker gray for better contrast */
}


/* Footer - Attractive Enhancements */
.footer {
    background-color: var(--darker-gray); /* Use new darker background */
    color: var(--text-white);
    padding: var(--spacing-xxl) 0;
    border-top: 5px solid var(--primary-color); /* A strong accent line */
    font-size: var(--font-size-base); /* Ensure consistent base font size */
}

.footer .grid {
    padding-top: var(--spacing-lg); /* Add some padding from the accent line */
    padding-bottom: var(--spacing-lg);
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col .logo {
    font-weight: 800;
    text-decoration: none;
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-3xl); /* Make logo larger in footer */
}

.footer-col p {
    font-size: var(--font-size-base);
    color: var(--text-gray-300);
    line-height: 1.7;
    margin-bottom: var(--spacing-md); /* Add spacing below paragraph */
}

.social-icons {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-sm); /* Adjust spacing */
}

.social-icon {
    color: var(--text-gray-400); /* Lighter gray for social icons */
    font-size: var(--font-size-xxl);
    transition: color 0.3s ease, transform 0.3s ease;
    padding: var(--spacing-xs); /* Make them easier to click */
}

.social-icon:hover {
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.1); /* Add slight scale effect */
}

.footer-col h4 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--text-white);
    text-transform: uppercase; /* Make titles uppercase */
    letter-spacing: 0.05em; /* Add some letter spacing */
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center; /* Align items centered for vertical list */
}

.footer-links li i {
    margin-right: var(--spacing-sm); /* Space between icon and text */
    color: var(--primary-color); /* Icon color matches accent */
    font-size: var(--font-size-base);
}

.footer-links a {
    color: var(--text-gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: var(--font-size-base);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    font-size: var(--font-size-sm);
    color: var(--text-gray-500);
    margin-top: var(--spacing-xxl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.15); /* Slightly stronger border */
}


/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        gap: var(--spacing-lg);
    }

    .nav-list {
        gap: var(--spacing-md);
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-description {
        font-size: var(--font-size-lg);
    }

    .hero-stats {
        gap: var(--spacing-xl);
    }

    .feature-card {
        padding: var(--spacing-xl);
    }

    /* Features grid for tablet */
    .features .grid,
    .feature-group-3.grid,
    .feature-group-4.grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }

    /* How It Works grid for tablet */
    .how-it-works .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-card {
        padding: var(--spacing-lg);
    }
    .testimonials .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--dark-bg);
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease-in-out;
        flex-direction: column;
        justify-content: center;
        padding: var(--spacing-xxl);
        gap: var(--spacing-xxl);
        z-index: 99;
    }

    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        padding: 0;
        gap: var(--spacing-lg);
        text-align: center;
        width: 100%;
    }

    .nav-link {
        font-size: var(--font-size-xxl);
        padding: var(--spacing-md) 0;
    }

    .nav-actions {
        flex-direction: column;
        gap: var(--spacing-lg);
        width: 100%;
    }

    /* Language selector on mobile (inside nav-actions) */
    .language-selector {
        position: static; /* Remove absolute positioning */
        width: 100%; /* Take full width */
    }
    .language-dropdown {
        position: static;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        border-radius: var(--radius-md);
        margin-top: var(--spacing-sm);
        transform: none;
        opacity: 1;
        visibility: visible;
    }
    .language-dropdown.active {
        display: block;
    }


    .hero {
        padding-top: 120px;
        min-height: 90vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-lg);
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    .stat-item {
        width: 80%;
    }

    .before-after-container {
        flex-direction: column; /* Stack items vertically */
        gap: var(--spacing-xl);
        align-items: center; /* Center items for mobile */
    }
    .before-after-item {
        width: 100%;
        max-width: 400px; /* Limit max width for smaller screens */
    }

    .results-showcase {
        padding: var(--spacing-md);
    }

    .results-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    .stat-card {
        width: 100%;
        max-width: 300px;
    }

    .how-it-works .grid {
        grid-template-columns: 1fr; /* Single column for steps */
    }

    .testimonial-card {
        margin-bottom: var(--spacing-md);
    }
    .testimonials .grid {
        grid-template-columns: 1fr;
    }

    .footer .grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col {
        align-items: center;
    }
    .social-icons {
        justify-content: center;
    }
    .footer-links {
        text-align: center;
        padding-left: 0;
    }
    .footer-links li {
        justify-content: center; /* Center list items on mobile */
    }
    /* All rights reserved small on mobile */
    .footer-bottom p {
        font-size: var(--font-size-xs); /* Smaller on mobile */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: var(--font-size-base);
    }

    .btn-large {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: var(--font-size-base);
    }

    .slider-controls {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .stat-item {
        width: 95%;
    }
}

/* Loading Animation */
body.loaded .hero-badge,
body.loaded .hero-title,
body.loaded .hero-description,
body.loaded .hero-actions,
body.loaded .hero-stats {
    opacity: 1;
    transform: translateY(0);
}

/* Specific style for the Video Tools card */
.video-tools-card {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
}

.video-tools-card .feature-title,
.video-tools-card .feature-description {
    color: var(--text-white); /* Override default text colors for this card */
}