/* ==========================================================================
   PAGE SPECIFIC STYLES
   - Hero Section
   - Features
   - Gallery
   - Developer Profile
   ========================================================================== */

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    /* Taller hero */
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Sophisticated gradient overlay */
    background:
        linear-gradient(135deg, rgba(15, 76, 117, 0.95) 0%, rgba(10, 25, 41, 0.8) 100%),
        url('../assets/images/banner.png') center/cover no-repeat;
    color: var(--color-text-white);
}

.hero-content {
    max-width: 800px;
    animation: fadeUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-white);
    line-height: 1.1;
}

.hero .lead {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
    color: white;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
}

/* Feature Grid overrides */
.feature-card {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg);
}

.feature-card .card-icon {
    margin: 0 auto var(--spacing-lg);
    width: 64px;
    height: 64px;
    font-size: 2rem;
}

/* Gallery Section */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    background-color: var(--color-bg-light);
    color: var(--color-text-light);
    font-weight: 500;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.gallery-item {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 6px var(--color-shadow);
    transition: transform var(--transition-normal);
    aspect-ratio: 16/9;
}

.gallery-item:hover {
    transform: scale(1.02);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-md);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ==========================================================================
   SHOWCASE SYSTEM (SLIDER & TABS)
   ========================================================================== */

.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.tab-btn {
    padding: 0.875rem 2.25rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    color: var(--color-text-dark);
    font-weight: 600;
    transition: all var(--transition-normal);
    border: 2px solid rgba(15, 76, 117, 0.1);
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

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

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

.tab-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 76, 117, 0.15);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    border-color: var(--color-primary);
    box-shadow: 0 6px 20px rgba(15, 76, 117, 0.3);
    transform: translateY(-2px);
}

/* Slider Container */
.showcase-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    padding: var(--spacing-lg) 0;
}

.showcase-slider {
    display: none;
    position: relative;
    /* CRITICAL: Required for absolute positioned arrows */
    padding: var(--spacing-md) 0;
}

.showcase-slider.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    gap: var(--spacing-lg);
}

/* Slides */
.slide {
    min-width: 100%;
    border-radius: 1.25rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    background: var(--color-bg-white);
    border: 1px solid rgba(15, 76, 117, 0.08);
    transition: all var(--transition-normal);
}

.slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(15, 76, 117, 0.15);
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.slide:hover img {
    transform: scale(1.02);
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.6));
    backdrop-filter: blur(8px);
    color: white;
    text-align: center;
    font-weight: 600;
    font-size: 1.05rem;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
    letter-spacing: 0.3px;
}

.slide:hover .slide-caption {
    transform: translateY(0);
}

/* Mobile App Slides (Portrait) */
#slider-mobile .slide {
    width: 340px;
    min-width: 340px;
    margin: 0 auto;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

#slider-mobile .slider-track {
    justify-content: center;
    gap: 0;
}

/* ==========================================================================
   FEATURE GROUPS STYLES
   ========================================================================== */

.features-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.feature-group {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.feature-group:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.group-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--color-bg-body);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
}

.group-icon {
    font-size: 1.5rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.feature-item:hover {
    background-color: var(--color-bg-surface);
}

.feat-icon-box {
    width: 40px;
    height: 40px;
    background: rgba(15, 76, 117, 0.05);
    /* Light primary */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    color: var(--color-primary);
}

.feature-group:hover .feat-icon-box {
    background: var(--color-primary);
    color: white;
}

.feat-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--color-text-dark);
}

.feat-content p {
    font-size: 0.85rem;
    margin-bottom: 0;
    color: var(--color-text-light);
    line-height: 1.4;
}

@media (max-width: 900px) {
    .features-wrapper {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
}

/* sizing in flex container if needed,
but here we fix it margin: 0 auto;
/* Center it */


#slider-mobile .slider-track {
    justify-content: center;
    /* Keep centered if single item */
}

/* Navigation Arrows - Fixed for visibility and RTL support */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, white, rgba(255, 255, 255, 0.95));
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 100;
    /* High z-index to appear above slides */
    transition: all var(--transition-normal);
    border: 1px solid rgba(15, 76, 117, 0.1);
    backdrop-filter: blur(8px);
    cursor: pointer;
    pointer-events: auto;
    /* Ensure arrows are visible */
    opacity: 1;
    visibility: visible;
}

.slider-arrow:hover {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 25px rgba(15, 76, 117, 0.3);
}

/* LTR (default) positioning - arrows INSIDE container */
.slider-arrow.prev {
    left: 10px;
}

.slider-arrow.next {
    right: 10px;
}

/* RTL positioning - swap sides */
html[dir="rtl"] .slider-arrow.prev {
    left: auto;
    right: 10px;
}

html[dir="rtl"] .slider-arrow.next {
    right: auto;
    left: 10px;
}

/* Responsive arrow positioning */
@media (max-width: 768px) {
    .slider-arrow {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }

    .slider-arrow.prev {
        left: 5px;
    }

    .slider-arrow.next {
        right: 5px;
    }

    html[dir="rtl"] .slider-arrow.prev {
        left: auto;
        right: 5px;
    }

    html[dir="rtl"] .slider-arrow.next {
        right: auto;
        left: 5px;
    }
}

/* Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    margin-top: var(--spacing-xl);
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(15, 76, 117, 0.2);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.slider-dot:hover {
    background-color: rgba(15, 76, 117, 0.4);
    transform: scale(1.15);
}

.slider-dot.active {
    background-color: var(--color-primary);
    transform: scale(1.3);
    border-color: rgba(15, 76, 117, 0.3);
    box-shadow: 0 0 0 3px rgba(15, 76, 117, 0.1);
}

/* ==========================================================================
   THEME SHOWCASE
   ========================================================================== */

.theme-showcase-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.theme-static-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.theme-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal);
    border: 1px solid var(--color-border);
}

.theme-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.theme-card img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/10;
    object-fit: cover;
    object-position: top;
}

.theme-caption {
    padding: var(--spacing-md);
    text-align: center;
    font-weight: 600;
    color: var(--color-text-dark);
    font-size: 1.1rem;
    border-top: 1px solid var(--color-border);
}

@media (max-width: 900px) {
    .theme-static-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
}

.theme-controls {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.theme-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    background: var(--color-bg-white);
    border: 2px solid transparent;
    font-weight: 600;
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.theme-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.theme-btn.active {
    border-color: var(--color-primary);
    background: linear-gradient(to right, rgba(15, 76, 117, 0.05), transparent);
    color: var(--color-primary);
}

.theme-icon {
    font-size: 1.25rem;
}

/* Preview Window Mockup */
.theme-preview-window {
    background: #fff;
    border-radius: 1rem;
    height: 500px;
    box-shadow: var(--shadow-2xl);
    display: flex;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--color-border);
    transition: all 0.4s ease;
}

/* Mockup Elements */
.preview-sidebar {
    width: 240px;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: inherit;
}

.preview-content {
    flex: 1;
    background: #ffffff;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: inherit;
}

/* Shapes */
.preview-logo-dot {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #cbd5e1;
}

.preview-menu-line {
    height: 10px;
    border-radius: 4px;
    width: 80%;
    background: #e2e8f0;
}

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

.preview-title-line {
    height: 24px;
    width: 200px;
    border-radius: 6px;
    background: #f1f5f9;
}

.preview-user-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #cbd5e1;
}

.preview-cards {
    display: flex;
    gap: 1.5rem;
}

.preview-card {
    flex: 1;
    height: 120px;
    border-radius: 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.preview-chart-area {
    flex: 1;
    border-radius: 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

/* Theme Morphing States */

/* Light (Default) - already set above mostly, but refining */
.theme-preview-window.light-theme {
    /* Standard light colors */
}

/* Dark Theme */
.theme-preview-window.dark-theme {
    background: #0f172a;
    border-color: #1e293b;
}

.theme-preview-window.dark-theme .preview-sidebar {
    background: #1e293b;
    border-color: #334155;
}

.theme-preview-window.dark-theme .preview-content {
    background: #0f172a;
}

.theme-preview-window.dark-theme .preview-logo-dot {
    background: #3b82f6;
}

.theme-preview-window.dark-theme .preview-menu-line {
    background: #334155;
}

.theme-preview-window.dark-theme .preview-title-line {
    background: #1e293b;
}

.theme-preview-window.dark-theme .preview-user-dot {
    background: #334155;
}

.theme-preview-window.dark-theme .preview-card {
    background: #1e293b;
    border-color: #334155;
}

.theme-preview-window.dark-theme .preview-chart-area {
    background: #1e293b;
    border-color: #334155;
}

/* Blue Medical Theme */
.theme-preview-window.blue-theme {
    background: #f0f9ff;
    border-color: #bae6fd;
}

.theme-preview-window.blue-theme .preview-sidebar {
    background: #0284c7;
    /* Brand blue sidebar */
    border-color: #0369a1;
}

.theme-preview-window.blue-theme .preview-content {
    background: #f0f9ff;
    /* Light blue bg */
}

.theme-preview-window.blue-theme .preview-logo-dot {
    background: #ffffff;
}

.theme-preview-window.blue-theme .preview-menu-line {
    background: rgba(255, 255, 255, 0.3);
}

.theme-preview-window.blue-theme .preview-title-line {
    background: #e0f2fe;
}

.theme-preview-window.blue-theme .preview-user-dot {
    background: #7dd3fc;
}

.theme-preview-window.blue-theme .preview-card {
    background: #ffffff;
    border-color: #e0f2fe;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.theme-preview-window.blue-theme .preview-chart-area {
    background: #ffffff;
    border-color: #e0f2fe;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .theme-preview-window {
        height: 400px;
    }

    .preview-sidebar {
        width: 60px;
        /* Collapsed sidebar for mobile look */
        padding: 1rem 0.5rem;
        align-items: center;
    }

    .preview-menu-line {
        width: 60%;
    }

    .preview-cards {
        flex-direction: column;
        height: auto;
    }

    .preview-card {
        height: 80px;
    }
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: var(--spacing-lg);
    flex-shrink: 0;
    border: 3px solid var(--color-primary);
}

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

.profile-info h3 {
    margin-bottom: var(--spacing-xs);
    font-size: 2rem;
}

.profile-title {
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    display: block;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.tech-tag {
    background-color: var(--color-bg-light);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    color: var(--color-primary);
    font-weight: 500;
}

/* Form Section */
.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .profile-card {
        flex-direction: column;
        text-align: center;
    }

    .tech-stack {
        justify-content: center;
    }
}

/* ==========================================================================
   TECH STACK STYLES (NEW - Glassmorphism)
   ========================================================================== */

.tech-section {
    position: relative;
    background:
        linear-gradient(rgba(10, 25, 41, 0.95), rgba(10, 25, 41, 0.85)),
        url('../assets/images/banner-oracle.jpg') center/cover fixed;
    /* Using banner as base for parallax */
    color: white;
    overflow: hidden;
}

/* Abstract Oracle-themed background glow */
.tech-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 15, 45, 0.15) 0%, transparent 60%);
    /* Oracle Red-ish glow */
    animation: rotateGlow 20s linear infinite;
    pointer-events: none;
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.glass-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: var(--spacing-xl);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.tech-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: var(--spacing-lg);
    text-align: center;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Oracle Card Emphasis */
.tech-card.oracle-card {
    border-top: 2px solid #C74634;
    /* Oracle Red */
    background: linear-gradient(to bottom, rgba(199, 70, 52, 0.05), rgba(255, 255, 255, 0.02));
}

.tech-icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    padding: 15px;
}

.tech-icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tech-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: white;
}

.tech-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   AI SECTION STYLES (NEW)
   ========================================================================== */

.ai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.ai-card {
    background-color: var(--color-bg-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px var(--color-shadow);
    transition: transform var(--transition-normal);
    border: 1px solid var(--color-border);
    height: 100%;
}

.ai-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.ai-image {
    height: 160px;
    overflow: hidden;
    position: relative;
}

.ai-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ai-card:hover .ai-image img {
    transform: scale(1.1);
}

.ai-content {
    padding: var(--spacing-md);
}

.ai-title {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.ai-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* Responsive AI Grid */
@media (max-width: 1024px) {
    .ai-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ai-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PRICING STYLES (NEW)
   ========================================================================== */

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    align-items: center;
    /* Center vertically for scaling effects */
}

.pricing-card {
    background-color: var(--color-bg-white);
    border-radius: 1.5rem;
    padding: var(--spacing-xl);
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 6px var(--color-shadow);
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.recommended {
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
    z-index: 2;
    background: linear-gradient(to bottom, #fff, var(--color-bg-surface));
}

.pricing-card.recommended:hover {
    transform: scale(1.08);
    /* slight lift */
}

.pricing-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-title {
    font-size: 1.75rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.pricing-desc {
    color: var(--color-text-light);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-size: 0.95rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-xl);
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: var(--spacing-md);
    padding-left: 2rem;
    position: relative;
    font-weight: 500;
}

/* Checkmark logic considering RTL support via CSS variables or direction */
.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* RTL adjustment for pricing list */
html[dir="rtl"] .pricing-features li {
    padding-left: 0;
    padding-right: 2rem;
}

html[dir="rtl"] .pricing-features li::before {
    left: auto;
    right: 0;
}

.pricing-value-row {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

.value-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.value-icon {
    background-color: rgba(77, 213, 153, 0.2);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-dark);
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing-card.recommended {
        transform: scale(1);
    }
}

/* ==========================================================================
   FOOTER GLASSMORPHISM STYLES (NEW)
   ========================================================================== */

.footer-section {
    position: relative;
    background:
        linear-gradient(rgba(10, 25, 41, 0.95), rgba(10, 25, 41, 0.98)),
        url('../assets/images/banner-footer.png') center/cover fixed;
    color: white;
    overflow: hidden;
    padding-top: var(--spacing-xxl);
    padding-bottom: var(--spacing-lg);
}

.footer-section::before {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(77, 213, 153, 0.1) 0%, transparent 60%);
    /* Accent glow */
    pointer-events: none;
}

.footer-glass-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.footer-tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-tech-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all var(--transition-normal);
    cursor: default;
}

.footer-tech-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.footer-tech-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer-tech-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.footer-nav-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-xl);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
}

.footer-heading {
    color: white;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

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

.footer-links-list li {
    margin-bottom: var(--spacing-sm);
}

.footer-links-list a {
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-fast);
}

.footer-links-list a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

/* RTL Support for footer links hover */
html[dir="rtl"] .footer-links-list a:hover {
    padding-left: 0;
    padding-right: 5px;
}

.footer-bottom {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-nav-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}