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

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Color Variables - Updated to match Next.js gradients */
:root {
    /* Primary Colors - Blue */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;

    /* Secondary Colors - Green */
    --secondary-50: #ecfdf5;
    --secondary-100: #d1fae5;
    --secondary-200: #a7f3d0;
    --secondary-300: #6ee7b7;
    --secondary-400: #34d399;
    --secondary-500: #10b981;
    --secondary-600: #059669;
    --secondary-700: #047857;

    /* Accent Colors - Maroon/Pink */
    --accent-50: #fdf2f8;
    --accent-100: #fce7f3;
    --accent-200: #fbcfe8;
    --accent-300: #f9a8d4;
    --accent-400: #f472b6;
    --accent-500: #ec4899;
    --accent-600: #db2777;
    --accent-700: #be185d;

    /* Slate Colors */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    /* Other Colors */
    --white: #ffffff;
    --yellow-500: #f59e0b;

    /* Light mode defaults */
    --bg-primary: var(--white);
    --bg-secondary: var(--slate-50);
    --text-primary: var(--slate-900);
    --text-secondary: var(--slate-600);
    --border-color: var(--slate-200);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-bg-dark: rgba(15, 23, 42, 0.95);
}

.dark {
    --bg-primary: var(--slate-900);
    --bg-secondary: rgba(30, 41, 59, 0.5);
    --text-primary: var(--white);
    --text-secondary: var(--slate-400);
    --border-color: var(--slate-800);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --glass-bg: rgba(15, 23, 42, 0.95);
    --glass-bg-dark: rgba(15, 23, 42, 0.98);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s ease;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ========== ENHANCED HEADER & MOBILE MENU ========== */
/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark header {
    background-color: var(--glass-bg-dark);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-container {
    display: flex;
    height: 64px;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px -5px var(--shadow-color);
    transition: all 0.3s ease;
}

.logo-icon i {
    color: var(--white);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon i {
    transform: rotate(-10deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-text .brand span {
    color: var(--primary-600);
}

.dark .logo-text .brand span {
    color: var(--primary-400);
}

.logo-text .tagline {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 2.5rem;
    }
}

/* Navigation links */
.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-700);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    position: relative;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0.375rem;
}

.dark .nav-link {
    color: var(--slate-300);
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    opacity: 0;
    border-radius: 0.375rem;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, var(--primary-500), var(--secondary-500));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-600);
}

.nav-link:hover::before {
    opacity: 0.1;
}

.nav-link:hover::after {
    width: 60%;
}

.dark .nav-link:hover {
    color: var(--primary-400);
}

.header-actions {
    display: none;
}

@media (min-width: 768px) {
    .header-actions {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }
}

/* Theme Toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--slate-600);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.theme-toggle:hover::before {
    opacity: 0.1;
}

.dark .theme-toggle {
    color: var(--slate-400);
}

.theme-toggle:hover {
    background-color: var(--slate-100);
    transform: scale(1.05);
}

.dark .theme-toggle:hover {
    background-color: var(--slate-800);
}

.theme-toggle i {
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.theme-toggle:hover i {
    transform: rotate(180deg);
}

/* Buttons */
.login-btn {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-700);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0.375rem;
}

.login-btn:hover {
    color: var(--primary-600);
    background-color: var(--slate-100);
    transform: translateY(-1px);
}

.dark .login-btn {
    color: var(--slate-300);
}

.dark .login-btn:hover {
    color: var(--primary-400);
    background-color: var(--slate-800);
}

.signup-btn {
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px var(--shadow-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.signup-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.signup-btn:hover {
    box-shadow: 0 20px 25px -5px var(--shadow-color), 0 8px 10px -6px var(--shadow-color);
    transform: translateY(-2px) scale(1.02);
}

.signup-btn:hover::before {
    left: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Menu Button Animation */
#mobileMenuButton {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--slate-700);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobileMenuButton:hover {
    background-color: var(--slate-100);
    transform: scale(1.05);
}

.dark #mobileMenuButton {
    color: var(--slate-300);
}

.dark #mobileMenuButton:hover {
    background-color: var(--slate-800);
}

#menuIcon {
    font-size: 1.25rem;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Mobile Menu - Professional Slide-in Animation - FIXED */
.mobile-menu {
    display: none;
    border-top: 1px solid var(--border-color);
    padding: 1rem 0;
    background-color: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .mobile-menu {
    background-color: var(--glass-bg-dark);
}

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

/* Mobile Menu Content */
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--slate-700);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-link:hover {
    color: var(--primary-600);
    background-color: var(--slate-100);
    transform: translateX(4px);
}

.dark .mobile-nav-link {
    color: var(--slate-300);
}

.dark .mobile-nav-link:hover {
    color: var(--primary-400);
    background-color: var(--slate-800);
}

.mobile-auth {
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);
}


.mobile-menu.active .mobile-nav-link {
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.mobile-menu.active .mobile-nav-link:nth-child(1) {
    animation-delay: 0.1s;
}

.mobile-menu.active .mobile-nav-link:nth-child(2) {
    animation-delay: 0.15s;
}

.mobile-menu.active .mobile-nav-link:nth-child(3) {
    animation-delay: 0.2s;
}

.mobile-menu.active .mobile-nav-link:nth-child(4) {
    animation-delay: 0.25s;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    border-radius: 0.75rem;
}

.mobile-nav-link:hover::before {
    opacity: 0.1;
}

.dark .mobile-nav-link {
    color: var(--slate-300);
}

.mobile-nav-link:hover {
    color: var(--primary-600);
    transform: translateX(4px);
    background-color: var(--slate-100);
}

.dark .mobile-nav-link:hover {
    color: var(--primary-400);
    background-color: var(--slate-800);
}

.mobile-auth {
    padding-top: 1.5rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transform: translateX(20px);
    opacity: 0;
}

.mobile-menu.active .mobile-auth {
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.3s;
}

.mobile-signup-btn {
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 10px 25px -5px var(--shadow-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mobile-signup-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.mobile-signup-btn:hover {
    box-shadow: 0 20px 25px -5px var(--shadow-color), 0 8px 10px -6px var(--shadow-color);
    transform: translateY(-2px);
}

.mobile-signup-btn:hover::before {
    left: 100%;
}

/* Animation keyframes */
@keyframes slideInRight {
    from {
        transform: translateX(20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Close Animation */
.mobile-menu.closing {
    animation: slideOutRight 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
    }
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

@media (min-width: 640px) {
    .hero {
        padding: 8rem 0;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-50), var(--white), var(--secondary-50));
    z-index: -2;
}

.dark .hero-bg {
    background: linear-gradient(135deg, var(--slate-900), var(--slate-900), var(--slate-900));
}

/* Add the rounded color blurs from Next.js */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 84rem;
    /* 7xl */
    height: 100%;
    pointer-events: none;
}

.hero-blur-1 {
    position: absolute;
    top: 5rem;
    /* top-20 */
    left: 5rem;
    /* left-20 */
    width: 20rem;
    /* Increased size */
    height: 20rem;
    /* Increased size */
    background-color: rgba(147, 197, 253, 0.2);
    /* primary-300 with 20% opacity */
    border-radius: 50%;
    filter: blur(4rem);
    /* Increased blur */
    z-index: -1;
}

.hero-blur-2 {
    position: absolute;
    bottom: 5rem;
    /* bottom-20 */
    right: 5rem;
    /* right-20 */
    width: 20rem;
    /* Increased size */
    height: 20rem;
    /* Increased size */
    background-color: rgba(110, 231, 183, 0.25);
    /* secondary-300 with 25% opacity - MORE PROMINENT */
    border-radius: 50%;
    filter: blur(4rem);
    /* Increased blur */
    z-index: -1;
}

/* Add an additional green circle for more coverage */
.hero-blur-3 {
    position: absolute;
    top: 50%;
    left: 30%;
    width: 15rem;
    height: 15rem;
    background-color: rgba(110, 231, 183, 0.15);
    /* secondary-300 with 15% opacity */
    border-radius: 50%;
    filter: blur(3rem);
    z-index: -1;
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-50);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    width: fit-content;
}

.dark .hero-badge {
    background-color: var(--slate-800);
}

.hero-badge i {
    color: var(--primary-600);
    font-size: 1rem;
}

.hero-badge span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-700);
    white-space: nowrap;
}

.dark .hero-badge span {
    color: var(--primary-400);
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
}

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

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

.hero-title span {
    background: linear-gradient(to right, var(--primary-600), var(--secondary-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.hero-cta {
    padding: 1rem 2rem;
    background: linear-gradient(to right, var(--primary-600), var(--secondary-600));
    color: var(--white);
    font-weight: 600;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 10px 25px -5px var(--shadow-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    max-width: fit-content;
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero-cta:hover {
    box-shadow: 0 25px 50px -12px var(--shadow-color);
    transform: translateY(-2px);
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta i {
    transition: transform 0.3s ease;
}

.hero-cta:hover i {
    transform: translateX(0.25rem);
}

/* Hero Image */
.hero-image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px var(--shadow-color);
}

.hero-image-content {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary-400), var(--primary-500), var(--secondary-500));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Add the subtle pattern overlay from Next.js */
.hero-image-content::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
}

.pattern-circle-1 {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 6rem;
    height: 6rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    opacity: 0.5;
}

.pattern-circle-2 {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 8rem;
    height: 8rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    opacity: 0.5;
}

.pattern-circle-3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4rem;
    height: 4rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    opacity: 0.5;
}

.hero-image-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-icon {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.hero-icon i {
    font-size: 5rem;
    color: var(--white);
}

.hero-image-inner h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.hero-image-inner p {
    color: rgba(255, 255, 255, 0.9);
}

/* ========== REST OF THE CSS (Stats, Features, etc.) ========== */
/* Stats Section */
.stats {
    padding: 3rem 0;
    background-color: var(--bg-secondary);
}

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

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

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

.stat-icon {
    display: inline-flex;
    padding: 1rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--primary-50), var(--secondary-50));
    margin-bottom: 1rem;
}

.dark .stat-icon {
    background: linear-gradient(135deg, var(--slate-800), var(--slate-800));
}

.stat-icon i {
    font-size: 2rem;
    color: var(--primary-600);
}

.dark .stat-icon i {
    color: var(--primary-400);
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
}

/* Features Section */
.features {
    padding: 5rem 0;
}

@media (min-width: 640px) {
    .features {
        padding: 8rem 0;
    }
}

.section-header {
    text-align: center;
    max-width: 56rem;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-50);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.dark .section-badge {
    background-color: var(--slate-800);
}

.section-badge i {
    color: var(--primary-600);
    font-size: 1rem;
}

.section-badge span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-700);
    white-space: nowrap;
}

.dark .section-badge span {
    color: var(--primary-400);
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

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

.section-title span {
    background: linear-gradient(to right, var(--primary-600), var(--secondary-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* Features Grid */
.features-grid {
    display: grid;
    gap: 2rem;
}

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

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

.feature-card {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 25px -5px var(--shadow-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .feature-card {
    background-color: var(--slate-800);
}

.feature-card:hover {
    box-shadow: 0 25px 50px -12px var(--shadow-color);
    transform: translateY(-0.5rem);
}

.feature-icon {
    display: inline-flex;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--text-secondary);
}

/* Solutions Section */
.solutions {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
    position: relative;
}

/* Add gradient background to solutions section */
.solutions::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(236, 253, 245, 0.3),
            /* secondary-50 with opacity */
            rgba(255, 255, 255, 0.2),
            /* white with opacity */
            rgba(239, 246, 255, 0.3)
            /* primary-50 with opacity */
        );
    z-index: -1;
}

.dark .solutions::before {
    background: linear-gradient(135deg,
            rgba(30, 41, 59, 0.5),
            /* slate-800 with opacity */
            rgba(15, 23, 42, 0.4),
            /* slate-900 with opacity */
            rgba(30, 41, 59, 0.5)
            /* slate-800 with opacity */
        );
}

@media (min-width: 640px) {
    .solutions {
        padding: 8rem 0;
    }
}

.solutions-grid {
    display: grid;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

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

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

.solution-card {
    background-color: var(--white);
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px var(--shadow-color);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .solution-card {
    background-color: var(--slate-800);
}

.solution-card:hover {
    box-shadow: 0 25px 50px -12px var(--shadow-color);
    transform: translateY(-0.5rem);
}

.solution-bar {
    height: 0.5rem;
}

.solution-content {
    padding: 1.5rem;
}

.solution-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.solution-icon {
    padding: 0.75rem;
    border-radius: 0.5rem;
    background-color: rgba(59, 130, 246, 0.1);
}

.solution-icon i {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.solution-stat {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
}

.solution-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.solution-problem {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.solution-divider {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.solution-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-600);
    margin-bottom: 0.25rem;
}

.dark .solution-label {
    color: var(--primary-400);
}

.solution-text {
    font-size: 0.875rem;
    color: var(--text-primary);
}

.dark .solution-text {
    color: var(--slate-300);
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
}

@media (min-width: 640px) {
    .testimonials {
        padding: 8rem 0;
    }
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
}

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

.testimonial-card {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 25px -5px var(--shadow-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .testimonial-card {
    background-color: var(--slate-800);
}

.testimonial-card:hover {
    box-shadow: 0 25px 50px -12px var(--shadow-color);
    transform: translateY(-0.5rem);
}

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

.testimonial-rating i {
    font-size: 1.25rem;
    color: var(--yellow-500);
}

.testimonial-quote {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(to right, var(--primary-500), var(--secondary-500));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
}

.testimonial-author-info h4 {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.testimonial-author-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600), var(--secondary-600));
    position: relative;
}

/* Add subtle gradient overlay to CTA */
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(16, 185, 129, 0.1),
            /* secondary-500 with opacity */
            rgba(37, 99, 235, 0.1),
            /* primary-600 with opacity */
            rgba(16, 185, 129, 0.1)
            /* secondary-500 with opacity */
        );
    z-index: 0;
}

@media (min-width: 640px) {
    .cta {
        padding: 8rem 0;
    }
}

.cta-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .cta-title {
        font-size: 2.25rem;
    }
}

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

.cta-description {
    color: rgba(219, 234, 254, 1);
    font-size: 1.25rem;
    max-width: 36rem;
    margin: 0 auto 2.5rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.cta-primary {
    padding: 1rem 2rem;
    background-color: var(--white);
    color: var(--primary-700);
    font-weight: 600;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 10px 25px -5px var(--shadow-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
}

.cta-primary:hover {
    background-color: var(--primary-50);
    box-shadow: 0 20px 25px -5px var(--shadow-color), 0 8px 10px -6px var(--shadow-color);
    transform: translateY(-2px);
}

.cta-primary i {
    transition: transform 0.2s ease;
}

.cta-primary:hover i {
    transform: translateX(0.25rem);
}

.cta-secondary {
    padding: 1rem 2rem;
    background-color: transparent;
    color: var(--white);
    font-weight: 600;
    border-radius: 0.75rem;
    border: 2px solid var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
}

.cta-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.cta-secondary i {
    transition: transform 0.2s ease;
}

.cta-secondary:hover i {
    transform: translateX(0.25rem);
}

/* Footer */
footer {
    background-color: var(--slate-900);
    color: var(--slate-400);
}

.footer-content {
    padding: 3rem 0;
}

@media (min-width: 1024px) {
    .footer-content {
        padding: 4rem 0;
    }
}

.footer-grid {
    display: grid;
    gap: 3rem;
}

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

.footer-brand {
    grid-column: span 2;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-icon i {
    color: var(--white);
    font-size: 1.5rem;
}

.footer-logo-text .brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.footer-logo-text .brand span {
    color: var(--primary-400);
}

.footer-logo-text .tagline {
    font-size: 0.875rem;
    color: var(--slate-500);
}

.footer-description {
    margin-bottom: 2rem;
    max-width: 28rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-item i {
    color: var(--primary-400);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.footer-links h3 {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--slate-400);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-divider {
    border-top: 1px solid var(--slate-800);
    margin: 3rem 0;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-copyright {
    color: var(--slate-500);
    font-size: 0.875rem;
}

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

.footer-social a {
    color: var(--slate-400);
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social a:hover {
    color: var(--primary-400);
    transform: translateY(-2px);
}

/* Animation Classes */
.animate-on-load {
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-load.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-200 {
    transition-delay: 200ms;
}

/* Fix for animation delays */
.delay-0 {
    transition-delay: 0ms;
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.dark ::-webkit-scrollbar-track {
    background: var(--slate-800);
}

.dark ::-webkit-scrollbar-thumb {
    background: var(--slate-600);
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: var(--slate-500);
}