:root {
    --primary: #4169E1;
    --primary-600: #2c52c4;
    --primary-500: #4169E1;
    --primary-400: #6c8ce9;
    --secondary: #87CEEB;
    --accent: #42B883;
    --dark: #1A1A2E;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --light: #F8F9FA;
    --gradient: linear-gradient(135deg, #4169E1 0%, #87CEEB 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #F8F9FA;
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Remove focus outline but keep it for keyboard navigation for accessibility */
*:focus {
    outline: none;
}

/* Add focus styles for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 0.25rem;
}

/* Remove tap highlight color on mobile */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Remove focus styles for mouse users but keep for keyboard */
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
    outline: none;
}

/* Ensure focus styles are visible for keyboard users */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 0.25rem;
}

/* Button hover states */
.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary .btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary .btn-hover-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover .btn-hover-bg {
    opacity: 1;
}

/* Ensure text is always visible on hover */
.btn-primary:hover {
    color: white !important;
}

/* Animation for arrow in buttons */
.btn-arrow {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

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

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

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-500);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-600);
    text-decoration: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
    box-shadow: var(--shadow-sm);
}

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

.btn-primary:hover {
    background-color: var(--primary-600);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

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

.btn-outline:hover {
    background-color: var(--primary-500);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

/* Mobile Menu */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-10px);
    pointer-events: none;
    background: #ffffff;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

#mobile-menu[x-cloak] {
    display: none !important;
}

#mobile-menu[x-show="true"] {
    max-height: calc(100vh - 4rem);
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Mobile Menu Items */
#mobile-menu a,
#mobile-menu button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.875rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1f2937;
    text-align: left;
    background: none;
    border: none;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    line-height: 1.5;
}

#mobile-menu a i,
#mobile-menu button i {
    width: 1.5rem;
    margin-right: 0.75rem;
    text-align: center;
    color: #6b7280;
    transition: color 0.2s ease;
}

#mobile-menu a:hover,
#mobile-menu button:hover {
    background-color: #f9fafb;
    color: #3b82f6;
    padding-left: 1.5rem;
    border-left-color: #3b82f6;
}

#mobile-menu a:hover i,
#mobile-menu button:hover i {
    color: #3b82f6;
}

/* Mobile Menu Divider */
#mobile-menu .divider {
    height: 1px;
    margin: 0.5rem 1.25rem;
    background-color: #e5e7eb;
}

/* Mobile Menu Footer */
#mobile-menu .menu-footer {
    padding: 0.75rem 1.25rem;
    font-size: 0.75rem;
    color: #6b7280;
    text-align: center;
    border-top: 1px solid #e5e7eb;
    margin-top: 0.5rem;
    background-color: #f9fafb;
}

/* Mobile Menu Toggle Button */
.mobile-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 0.375rem;
    color: #4b5563;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-button:hover {
    background-color: #f3f4f6;
    color: #3b82f6;
}

.mobile-menu-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

/* Responsive Utilities */
.hidden {
    display: none !important;
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex !important;
    }
    
    .md\:hidden {
        display: none !important;
    }
}

/* Animation Utilities */
.transition {
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, max-height;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
}

/* Ensure Alpine.js components are hidden until they're initialized */
[x-cloak] { display: none !important; }

/* Focus States */
button:focus, a:focus {
    outline: 2px solid var(--primary-400);
    outline-offset: 2px;
}

/* Skip to main content */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-500);
    color: white;
    padding: 8px;
    z-index: 1001;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(65, 105, 225, 0.2);
    transform: translateY(0);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(65, 105, 225, 0.3);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    font-size: 28px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a:after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient);
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

/* Hero Section Styles */

/* Hero Section */
.hero {
    padding: 80px 0;
    background: radial-gradient(circle at 10% 20%, rgba(65, 105, 225, 0.1) 0%, rgba(135, 206, 235, 0.1) 90%);
    overflow: hidden;
    position: relative;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 0 0 50%;
    max-width: 50%;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--dark);
}

.hero-image {
    flex: 0 0 45%;
    max-width: 45%;
    position: relative;
}

.app-preview {
    width: 100%;
    min-height: 300px;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: url('/images/app-preview.jpg') no-repeat center center;
    background-size: contain;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

/* For larger screens */
@media (min-width: 768px) {
    .app-preview {
        min-height: 400px;
        padding-bottom: 0;
        height: 500px;
        background-size: cover;
        border-radius: 30px;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    }
}

/* Ensure the preview is visible on all devices */
.hero-image {
    width: 100%;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .hero-image {
        margin-top: 0;
    }
}

.floating-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

.floating-icon.icon1 {
    top: 10%;
    left: -30px;
    animation-delay: 0s;
}

.floating-icon.icon2 {
    bottom: 20%;
    left: -20px;
    animation-delay: 1s;
}

.floating-icon.icon3 {
    top: 20%;
    right: -30px;
    animation-delay: 2s;
}

.floating-icon.icon4 {
    bottom: 10%;
    right: -20px;
    animation-delay: 3s;
}

.floating-icon i {
    font-size: 32px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Featured Apps Section - IMPROVED SMOOTH HOVER */
.featured-apps {
    padding: 80px 0;
    position: relative;
}

.app-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.app-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    transform: translateY(0) scale(1);
    transform-origin: center center;
    will-change: transform, box-shadow;
}

.app-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.app-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.app-card-image {
    height: 200px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.app-card:hover .app-card-image {
    transform: scale(1.05);
}

.app-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.app-icon {
    position: absolute;
    bottom: -30px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.app-card:hover .app-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* 
 * Gradient text effect with cross-browser compatibility
 * Note: background-clip: text requires -webkit prefix for most browsers
 * Firefox 49+ supports it with -webkit prefix
 * A solid color fallback is provided using @supports feature query
 */
.app-icon i {
    font-size: 28px;
    color: var(--primary); /* Fallback for browsers that don't support background-clip: text */
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text; /* Standard property, limited browser support */
    -webkit-text-fill-color: transparent;
}

/* Fallback for browsers that don't support background-clip: text */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .app-icon i {
        background: none;
        color: var(--primary);
    }
}

.app-card-content {
    padding: 30px 20px 20px;
    transition: all 0.3s ease;
}

.app-card:hover .app-card-content {
    transform: translateY(-2px);
}

.app-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.app-title-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.app-title-link:hover {
    color: var(--primary);
}

.app-card:hover h3 {
    color: var(--primary);
}

.app-card p {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.app-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.app-stat {
    text-align: center;
    flex: 1;
}

.app-stat span {
    display: block;
    font-size: 12px;
    color: #999;
}

.app-stat strong {
    font-size: 16px;
    color: var(--dark);
}

.app-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

/* Categories Section */
.categories {
    padding: 80px 0;
    background-color: white;
}

.category-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.category-card {
    flex: 0 0 calc(25% - 20px);
    max-width: calc(25% - 20px);
    padding: 30px 20px;
    background: white;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.category-card:hover::before {
    opacity: 0.9;
}

.category-card:hover .category-icon i,
.category-card:hover h3,
.category-card:hover p {
    color: white;
    position: relative;
    z-index: 2;
}

.category-icon {
    width: 70px;
    height: 70px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.category-card:hover .category-icon {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.category-icon i {
    font-size: 30px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.category-card:hover .category-icon i {
    transform: scale(1.2) rotate(5deg);
    color: var(--primary);
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    from { transform: scale(1); }
    to { transform: scale(1.2); }
}

.category-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.category-card p {
    font-size: 14px;
    color: #777;
    transition: all 0.3s ease;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: radial-gradient(circle at 90% 90%, rgba(65, 105, 225, 0.1) 0%, rgba(135, 206, 235, 0.1) 90%);
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    flex: 0 0 calc(33.33% - 20px);
    max-width: calc(33.33% - 20px);
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform: translateY(0) scale(1);
}

.pricing-card.popular {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(65, 105, 225, 0.2);
    z-index: 2;
}

.pricing-card.popular::before {
    content: 'POPULAR';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--gradient);
    color: white;
    padding: 5px 40px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.pricing-card.popular:hover {
    transform: scale(1.07) translateY(-10px);
}

.pricing-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.pricing-card .price {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.pricing-card .price::before {
    content: '$';
    font-size: 24px;
    position: absolute;
    top: 5px;
    left: -15px;
}

.pricing-card .price::after {
    content: '/mo';
    font-size: 16px;
    position: absolute;
    bottom: 10px;
    right: -40px;
    color: #999;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.pricing-features li i {
    color: var(--accent);
    margin-right: 10px;
}

.pricing-features li.unavailable {
    color: #ccc;
    text-decoration: line-through;
}

.pricing-features li.unavailable i {
    color: #ddd;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
}

.testimonial-cards {
    width: 100%;
    position: relative;
}

.swiper-container {
    width: 100%;
    padding: 30px 0;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: auto;
    display: flex;
    flex-direction: column;
    transform: translateY(0);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    overflow: hidden;
    margin-right: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 14px;
    color: #777;
}

.testimonial-rating {
    margin-bottom: 15px;
    color: #FFD700;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    flex-grow: 1;
}

.testimonial-app {
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.testimonial-app-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.testimonial-app-icon i {
    font-size: 20px;
    color: var(--primary);
}

.testimonial-app-info h5 {
    font-size: 16px;
    font-weight: 600;
}

.testimonial-app-info p {
    font-size: 12px;
    color: #999;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(45deg);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

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

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

.btn-white:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}


/* Responsive Styles */
@media screen and (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text, .hero-image {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .hero-text {
        margin-bottom: 40px;
    }
    
    .pricing-cards {
        flex-wrap: wrap;
    }
    
    .pricing-card {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .pricing-card.popular {
        transform: none;
    }
}

@media screen and (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .category-card {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
    
    nav ul {
        display: none;
    }
    
    .app-stats {
        flex-wrap: wrap;
    }
    
    .app-stat {
        flex: 0 0 50%;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 576px) {
    .category-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .cta h2 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-column {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in-out forwards;
}

.slide-up {
    animation: slideUp 1s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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


 /* Footer Styles */
 footer {
    background-color: var(--dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-column {
    flex: 0 0 calc(25% - 30px);
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient);
}

.footer-column p {
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    text-align: center;
    line-height: 40px;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--gradient);
    transform: translateY(-3px);
}

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

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* E-commerce Pages Styles */

/* Product Details Page */
.product-gallery {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.gallery-main {
    flex: 0 0 80%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-main img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.gallery-thumbs {
    flex: 0 0 18%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-thumb {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
    transform: scale(1.05);
}

.subscription-options {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.subscription-option {
    flex: 1;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.subscription-option:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.subscription-option.selected {
    border-color: var(--primary);
    background: rgba(65, 105, 225, 0.05);
}

.subscription-option.selected::before {
    content: '✓';
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--primary);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.product-features {
    margin-top: 40px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: var(--primary);
    margin-right: 10px;
}

/* Cart Page */
.cart-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.cart-item-image {
    flex: 0 0 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 20px;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 18px;
}

.cart-item-subscription {
    color: #777;
    font-size: 14px;
    margin-bottom: 5px;
}

.cart-item-price {
    font-weight: 600;
    color: var(--primary);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.cart-item-quantity input {
    width: 40px;
    text-align: center;
    border: none;
    font-weight: 600;
    margin: 0 10px;
}

.cart-item-remove {
    color: #ff6b6b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-item-remove:hover {
    color: #ff3333;
    transform: scale(1.1);
}

.order-summary {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.summary-row.total {
    border-bottom: none;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

/* Checkout Page */
.checkout-form label {
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.checkout-form .form-control {
    border-radius: 10px;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.checkout-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.2);
}

.payment-methods {
    margin: 20px 0;
}

.payment-method {
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: var(--primary);
}

.payment-method.selected {
    border-color: var(--primary);
    background: rgba(65, 105, 225, 0.05);
}

.payment-method-header {
    display: flex;
    align-items: center;
}

.payment-method-header input {
    margin-right: 10px;
}

.payment-method-body {
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    margin-top: 15px;
    display: none;
}

.payment-method.selected .payment-method-body {
    display: block;
}

/* Cart Icon */
.cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    position: relative;
    margin-left: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(65, 105, 225, 0.2);
}

.cart-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(65, 105, 225, 0.3);
}

.cart-icon i {
    font-size: 18px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent);
    color: white;
    font-size: 12px;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle i.fa-user-circle {
    margin-right: 8px;
}

.nav-dropdown-toggle .nav-text {
    margin: 0 5px;
}

.nav-dropdown-toggle i.fa-chevron-down {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle i.fa-chevron-down {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    min-width: 200px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: rgba(65, 105, 225, 0.05);
    color: var(--primary);
}

.nav-dropdown-menu a:hover:after {
    width: 0; /* Override the underline effect from nav links */
}

.nav-dropdown-menu a i {
    margin-right: 10px;
    color: var(--primary);
}

/* User Menu Dropdown */
.user-menu {
    position: relative;
    margin-left: 15px;
}

.user-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(65, 105, 225, 0.2);
}

.user-menu-toggle i {
    font-size: 18px;
}

.user-menu-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(65, 105, 225, 0.3);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    margin-top: 10px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 15px;
    width: 10px;
    height: 10px;
    background: white;
    transform: rotate(45deg);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.user-dropdown a:hover {
    background: rgba(65, 105, 225, 0.05);
    color: var(--primary);
}

.user-dropdown a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Responsive Ecommerce Styles */
@media screen and (max-width: 992px) {
    .product-details-container {
        flex-direction: column;
    }
    
    .product-gallery {
        flex-direction: column-reverse;
    }
    
    .gallery-main {
        flex: 0 0 100%;
    }
    
    .gallery-thumbs {
        flex: 0 0 100%;
        flex-direction: row;
        overflow-x: auto;
    }
    
    .gallery-thumb {
        flex: 0 0 80px;
    }
    
    .subscription-options {
        flex-direction: column;
    }
    
    .cart-item {
        flex-wrap: wrap;
    }
    
    .cart-item-image {
        flex: 0 0 80px;
        height: 80px;
    }
}

@media screen and (max-width: 768px) {
    .header-actions {
        margin-left: auto;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cart-item-image {
        margin-bottom: 15px;
    }
    
    .cart-item-quantity {
        margin-top: 15px;
        margin-bottom: 15px;
    }
    
    .cart-item-remove {
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .checkout-form .row {
        flex-direction: column;
    }
    
    .checkout-form .col {
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 576px) {
    .cart-icon {
        margin-left: 10px;
    }
    
    .cart-count {
        font-size: 10px;
        height: 16px;
        width: 16px;
    }
    
    nav ul li {
        margin-left: 15px;
    }
    
    .product-details h1 {
        font-size: 24px;
    }
    
    .product-price {
        font-size: 20px;
    }
    
    .summary-row.total {
        font-size: 18px;
    }
}
