/* ============================================
   FAMIYO LANDING PAGE - STYLES
   Modern, Responsive, Multi-language Support
   ============================================ */

/* CSS Variables */
:root {
    /* Brand Colors from Logo */
    --primary: #00BCD4;      /* Cyan */
    --primary-light: #4DD0E1;
    --primary-dark: #0097A7;
    
    --secondary: #E91E63;    /* Pink/Magenta */
    --secondary-light: #F06292;
    --secondary-dark: #C2185B;
    
    --accent: #FF5722;       /* Orange */
    --accent-light: #FF8A65;
    --accent-dark: #E64A19;
    
    --success: #4CAF50;      /* Green */
    --success-light: #81C784;
    
    /* Neutral Colors */
    --bg-dark: #0A0F1C;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border-color: rgba(255, 255, 255, 0.08);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-accent: linear-gradient(135deg, var(--accent), var(--secondary));
    --gradient-success: linear-gradient(135deg, var(--success), var(--primary));
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.4);
    --shadow-glow-primary: 0 0 40px rgba(0, 188, 212, 0.3);
    --shadow-glow-secondary: 0 0 40px rgba(233, 30, 99, 0.3);
    
    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-arabic: 'Cairo', sans-serif;
    
    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}

/* RTL Support */
html[dir="rtl"] {
    --font-primary: 'Cairo', sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

html[dir="rtl"] body {
    font-family: var(--font-arabic);
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
.bg-animation {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: -150px;
    right: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.95);
    }
    75% {
        transform: translate(-50px, -30px) scale(1.05);
    }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 15, 28, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    padding: 10px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--text-primary);
    background: var(--bg-card-hover);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Language Selector */
.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-family: var(--font-arabic);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

html[dir="rtl"] .lang-btn {
    font-family: var(--font-arabic);
}

.lang-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
}

.lang-btn img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-chevron {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

.lang-selector.open .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: rgba(20, 25, 40, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-fast);
    box-shadow: var(--shadow-lg);
}

html[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

.lang-selector.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: var(--font-arabic);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-option:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.lang-option img {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    padding: 10px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 80px;
    position: relative;
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 188, 212, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(0, 188, 212, 0);
    }
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title span {
    display: block;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(0, 188, 212, 0.5);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
}

.hero-platforms {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-platforms > span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.platform-icons {
    display: flex;
    gap: 16px;
}

.platform-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.platform-icon svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

/* Hero Visual - Phone Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    animation: fadeInRight 0.8s ease 0.3s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.phone-mockup {
    position: relative;
}

.phone-frame {
    position: relative;
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #1a1f35, #0d1020);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #0a0f1c;
    border-radius: 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.app-preview {
    padding: 50px 16px 16px;
    height: 100%;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-weight: 600;
}

.app-logo-small img {
    width: 32px;
    height: 32px;
}

.app-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-card svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.stat-card.accent svg {
    color: var(--secondary);
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.app-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 120px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
}

.chart-bar {
    flex: 1;
    height: var(--height);
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    animation: growUp 1s ease forwards;
    animation-delay: calc(var(--height) * 0.01s);
}

@keyframes growUp {
    from {
        height: 0;
    }
    to {
        height: var(--height);
    }
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(20, 25, 40, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    animation: floatCard 3s ease-in-out infinite;
}

.floating-card svg {
    width: 18px;
    height: 18px;
}

.card-1 {
    top: 80px;
    left: -80px;
    animation-delay: 0s;
}

.card-1 svg {
    color: var(--success);
}

.card-2 {
    top: 200px;
    right: -100px;
    animation-delay: -1s;
}

.card-2 svg {
    color: var(--primary);
}

.card-3 {
    bottom: 120px;
    left: -60px;
    animation-delay: -2s;
}

.card-3 svg {
    color: var(--secondary);
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-muted);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ============================================
   SECTIONS COMMON STYLES
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: var(--section-padding);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    position: relative;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   MODULES SECTION
   ============================================ */
.modules {
    padding: var(--section-padding);
    background: linear-gradient(180deg, transparent, rgba(0, 188, 212, 0.03), transparent);
}

.modules-tabs {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs-nav::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
    position: relative;
}

html[dir="rtl"] .tab-btn {
    font-family: var(--font-arabic);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-fast);
}

.tab-btn:hover {
    color: var(--text-primary);
    background: var(--bg-card-hover);
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-btn svg {
    width: 20px;
    height: 20px;
}

.tabs-content {
    padding: 48px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.tab-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tab-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.tab-info p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.tab-features {
    list-style: none;
}

.tab-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-secondary);
}

.tab-features svg {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
}

/* Module Illustrations */
.module-illustration {
    display: flex;
    justify-content: center;
}

.illust-card {
    width: 100%;
    max-width: 400px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

/* Budget Illustration */
.budget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.budget-header span:first-child {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.budget-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.budget-progress {
    height: 8px;
    background: var(--bg-card);
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: var(--progress);
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    animation: progressFill 1.5s ease;
}

@keyframes progressFill {
    from {
        width: 0;
    }
}

.budget-categories {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

.cat-color {
    width: 12px;
    height: 12px;
    background: var(--color);
    border-radius: 50%;
}

.category-item span:last-child {
    margin-left: auto;
    color: var(--text-muted);
}

html[dir="rtl"] .category-item span:last-child {
    margin-left: 0;
    margin-right: auto;
}

/* Shopping Illustration */
.shopping-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.shopping-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}

.shopping-item.done {
    opacity: 0.6;
}

.shopping-item.done span {
    text-decoration: line-through;
}

.shopping-item svg {
    width: 20px;
    height: 20px;
    color: var(--success);
}

.shopping-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.shopping-action:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.shopping-action svg {
    width: 18px;
    height: 18px;
}

/* Meals Illustration */
.meal-calendar {
    display: flex;
    gap: 8px;
}

.meal-day {
    flex: 1;
    text-align: center;
}

.day-name {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.meal-slot {
    padding: 16px 8px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.meal-slot.filled {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.meal-slot.accent {
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
}

.meal-day.active .day-name {
    color: var(--primary);
    font-weight: 600;
}

/* Outings Illustration */
.outing-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
}

.outing-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
}

.outing-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.outing-info h4 {
    font-weight: 600;
    margin-bottom: 4px;
}

.outing-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.outing-budget {
    margin-left: auto;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--success);
}

html[dir="rtl"] .outing-budget {
    margin-left: 0;
    margin-right: auto;
}

/* Chat Illustration */
.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    position: relative;
}

.chat-bubble.sent {
    align-self: flex-end;
    background: var(--gradient-primary);
    color: white;
    border-bottom-right-radius: 4px;
}

html[dir="rtl"] .chat-bubble.sent {
    align-self: flex-start;
    border-bottom-right-radius: var(--radius-md);
    border-bottom-left-radius: 4px;
}

.chat-bubble.received {
    align-self: flex-start;
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}

html[dir="rtl"] .chat-bubble.received {
    align-self: flex-end;
    border-bottom-left-radius: var(--radius-md);
    border-bottom-right-radius: 4px;
}

.chat-reaction {
    position: absolute;
    bottom: -8px;
    right: -8px;
    font-size: 0.9rem;
}

html[dir="rtl"] .chat-reaction {
    right: auto;
    left: -8px;
}

/* ============================================
   SCREENSHOTS SECTION
   ============================================ */
.screenshots {
    padding: var(--section-padding);
}

.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.screenshot-placeholder {
    aspect-ratio: 9/16;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.screenshot-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.03), rgba(233, 30, 99, 0.03));
}

.screenshot-placeholder:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow-primary);
}

.placeholder-content {
    text-align: center;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    padding: 1.5rem;
}

.placeholder-content svg {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    color: var(--primary);
    opacity: 0.7;
}

.placeholder-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.placeholder-content span {
    display: block;
    font-size: 0.8rem;
    color: var(--accent);
    font-style: italic;
    padding: 0.5rem;
    background: rgba(255, 87, 34, 0.1);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 87, 34, 0.2);
    margin-top: 0.5rem;
}

/* Specific screenshot types */
.main-screenshot:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 188, 212, 0.3);
}

.budget-screenshot:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 188, 212, 0.3);
}

.shopping-screenshot:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 30px rgba(233, 30, 99, 0.3);
}

.meals-screenshot:hover {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(255, 87, 34, 0.3);
}

/* ============================================
   HERO SECTION - SCREENSHOT PLACEHOLDERS
   ============================================ */
.app-screenshot-placeholder {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.screenshot-frame {
    width: 300px;
    height: 600px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.screenshot-frame:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow-primary);
}

.screenshot-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.05), rgba(233, 30, 99, 0.05));
}

.screenshot-content {
    text-align: center;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.screenshot-content svg {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    color: var(--primary);
    opacity: 0.7;
}

.screenshot-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.screenshot-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.screenshot-note {
    display: block;
    font-size: 0.8rem;
    color: var(--accent);
    font-style: italic;
    padding: 0.5rem 1rem;
    background: rgba(255, 87, 34, 0.1);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 87, 34, 0.2);
}

/* ============================================
   MODULE SECTION - SCREENSHOT PLACEHOLDERS
   ============================================ */
.module-screenshot-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.module-screenshot-placeholder .screenshot-frame {
    width: 280px;
    height: 350px;
}

.module-screenshot-placeholder .screenshot-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.module-screenshot-placeholder .screenshot-content p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* Module-specific colors */
.budget-module .screenshot-frame:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 188, 212, 0.3);
}

.shopping-module .screenshot-frame:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 30px rgba(233, 30, 99, 0.3);
}

.meals-module .screenshot-frame:hover {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(255, 87, 34, 0.3);
}

.outings-module .screenshot-frame:hover {
    border-color: var(--success);
    box-shadow: 0 0 30px rgba(76, 175, 80, 0.3);
}

.chat-module .screenshot-frame:hover {
    border-color: var(--primary-light);
    box-shadow: 0 0 30px rgba(77, 208, 225, 0.3);
}

/* ============================================
   SCREENSHOTS GALLERY - ENHANCED PLACEHOLDERS
   ============================================ */
.video-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, transparent, rgba(233, 30, 99, 0.03), transparent);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-placeholder {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: var(--transition-normal);
}

.video-placeholder:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow-primary);
}

.video-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.1), rgba(233, 30, 99, 0.1));
}

.video-content {
    text-align: center;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    padding: 2rem;
    margin-bottom: 1rem;
}

.video-content svg {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    color: var(--primary);
    opacity: 0.7;
}

.video-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.video-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.video-note {
    display: block;
    font-size: 0.9rem;
    color: var(--accent);
    font-style: italic;
    padding: 0.75rem 1rem;
    background: rgba(255, 87, 34, 0.1);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 87, 34, 0.2);
}

.video-play-btn {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-normal);
    animation: pulse 2s infinite;
    z-index: 2;
}

.video-play-btn:hover {
    transform: scale(1.1);
}

.video-play-btn svg {
    width: 32px;
    height: 32px;
    color: white;
    margin-left: 4px;
}

html[dir="rtl"] .video-play-btn svg {
    margin-left: 0;
    margin-right: 4px;
}

/* ============================================
   DOWNLOAD SECTION
   ============================================ */
.download {
    padding: var(--section-padding);
}

.download-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 80px 60px;
    text-align: center;
    overflow: hidden;
}

.download-content {
    position: relative;
    z-index: 1;
}

.download-icon {
    margin-bottom: 24px;
}

.download-icon img {
    width: 100px;
    height: 100px;
    animation: float 3s ease-in-out infinite;
}

.download-card h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.download-card > .download-content > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.store-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 32px;
    background: var(--bg-card-hover);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-normal);
}

.store-btn.disabled {
    pointer-events: none;
    opacity: 0.7;
}

.store-btn:not(.disabled):hover {
    border-color: var(--primary);
    background: rgba(0, 188, 212, 0.1);
}

.store-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
}

.store-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.store-info {
    text-align: left;
}

html[dir="rtl"] .store-info {
    text-align: right;
}

.store-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.store-name {
    font-size: 1.1rem;
    font-weight: 700;
}

.coming-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    padding: 4px 12px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

html[dir="rtl"] .coming-badge {
    right: auto;
    left: -8px;
}

.notify-form p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.email-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    gap: 8px;
}

.email-form input {
    flex: 1;
    padding: 16px 24px;
    background: var(--bg-card-hover);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition-fast);
}

.email-form input:focus {
    border-color: var(--primary);
}

.email-form input::placeholder {
    color: var(--text-muted);
}

.email-form button {
    padding: 16px 24px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: white;
    cursor: pointer;
    transition: var(--transition-fast);
}

.email-form button:hover {
    transform: scale(1.05);
}

.email-form button svg {
    width: 20px;
    height: 20px;
}

/* Download Decoration */
.download-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -150px;
    left: -150px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: -100px;
    right: -100px;
}

.circle-3 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 80px 0 40px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
}

.footer-brand p {
    color: var(--text-secondary);
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 0;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   ANIMATIONS ON SCROLL
   ============================================ */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="zoom-in"] {
    transform: scale(0.95);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: none;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-description {
        margin: 0 auto 32px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-platforms {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tab-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tab-visual {
        order: -1;
    }
    
    .screenshots-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 15, 28, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0 16px;
    }
    
    .tab-btn {
        flex: 0 0 auto;
        padding: 16px 20px;
    }
    
    .tab-btn span {
        display: none;
    }
    
    .tabs-content {
        padding: 32px 24px;
    }
    
    .screenshots-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .download-card {
        padding: 48px 24px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .store-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-badge {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        justify-content: center;
    }
    
    .hero-platforms {
        flex-direction: column;
        gap: 12px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    .screenshots-gallery {
        grid-template-columns: 1fr;
    }
    
    .email-form {
        flex-direction: column;
    }
    
    .email-form button {
        padding: 14px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ============================================
   RTL SPECIFIC ADJUSTMENTS
   ============================================ */
html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] .hero-visual {
    animation-name: fadeInLeft;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

html[dir="rtl"] .floating-card.card-1 {
    left: auto;
    right: -80px;
}

html[dir="rtl"] .floating-card.card-2 {
    right: auto;
    left: -100px;
}

html[dir="rtl"] .floating-card.card-3 {
    left: auto;
    right: -60px;
}

html[dir="rtl"] [data-aos="fade-left"] {
    transform: translateX(-30px);
}

html[dir="rtl"] [data-aos="fade-right"] {
    transform: translateX(30px);
}

/* ============================================
   ULTRA-REALISTIC PHONE MOCKUP STYLES
   ============================================ */

/* Hero Phone Mockup - iPhone 14 Pro Style */
.phone-mockup {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}

.phone-frame {
    position: relative;
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #2c2c2e, #1c1c1e);
    border-radius: 50px;
    padding: 4px;
    box-shadow: 
        0 30px 100px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(0, 188, 212, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-slow);
}

.phone-frame:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 
        0 40px 120px rgba(0, 0, 0, 0.7),
        0 0 100px rgba(0, 188, 212, 0.25),
        inset 0 2px 4px rgba(255, 255, 255, 0.15),
        inset 0 -2px 4px rgba(0, 0, 0, 0.4);
}

.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 46px;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 32px;
    background: #1c1c1e;
    border-radius: 0 0 20px 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.notch-speaker {
    width: 60px;
    height: 6px;
    background: linear-gradient(90deg, #333, #555, #333);
    border-radius: 3px;
    position: relative;
}

.notch-speaker::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 2px;
    background: #666;
    border-radius: 1px;
}

.notch-camera {
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #1a1a1a 30%, #333 70%, #1a1a1a 100%);
    border-radius: 50%;
    border: 1px solid #444;
    position: relative;
}

.notch-camera::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #0066cc 0%, #003d7a 100%);
    border-radius: 50%;
}

.phone-content {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 46px;
    overflow: hidden;
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 46px;
    background: #000;
}

.phone-home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 5px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 3px;
    z-index: 10;
}

.phone-buttons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.phone-button {
    position: absolute;
    background: linear-gradient(145deg, #3c3c3e, #2c2c2e);
    border-radius: 2px;
}

.volume-up {
    left: -4px;
    top: 120px;
    width: 8px;
    height: 40px;
    border-radius: 0 2px 2px 0;
}

.volume-down {
    left: -4px;
    top: 170px;
    width: 8px;
    height: 40px;
    border-radius: 0 2px 2px 0;
}

.power {
    right: -4px;
    top: 140px;
    width: 8px;
    height: 60px;
    border-radius: 2px 0 0 2px;
}

/* Small Phone Previews for Modules */
.phone-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 300px;
    margin: 0 auto;
}

.phone-frame-small {
    position: relative;
    width: 220px;
    height: 440px;
    background: linear-gradient(145deg, #2c2c2e, #1c1c1e);
    border-radius: 35px;
    padding: 3px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 188, 212, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.phone-frame-small:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(0, 188, 212, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.15);
}

.phone-screen-small {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 32px;
    overflow: hidden;
}

.phone-notch-small {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 22px;
    background: #1c1c1e;
    border-radius: 0 0 14px 14px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

.notch-speaker-small {
    width: 40px;
    height: 4px;
    background: linear-gradient(90deg, #333, #555, #333);
    border-radius: 2px;
}

.notch-camera-small {
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #1a1a1a 30%, #333 70%, #1a1a1a 100%);
    border-radius: 50%;
    border: 1px solid #444;
}

.phone-screenshot-small {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 32px;
    background: #000;
}

.phone-home-indicator-small {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    z-index: 10;
}

/* Large Phone Display for Screenshots Section */
.phone-frame-large {
    position: relative;
    width: 350px;
    height: 700px;
    background: linear-gradient(145deg, #2c2c2e, #1c1c1e);
    border-radius: 55px;
    padding: 5px;
    box-shadow: 
        0 35px 120px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(0, 188, 212, 0.15),
        inset 0 3px 6px rgba(255, 255, 255, 0.1),
        inset 0 -3px 6px rgba(0, 0, 0, 0.3);
}

.phone-screen-large {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 50px;
    overflow: hidden;
}

.phone-notch-large {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 35px;
    background: #1c1c1e;
    border-radius: 0 0 22px 22px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
}

.notch-speaker-large {
    width: 70px;
    height: 7px;
    background: linear-gradient(90deg, #333, #555, #333);
    border-radius: 4px;
}

.notch-camera-large {
    width: 14px;
    height: 14px;
    background: radial-gradient(circle, #1a1a1a 30%, #333 70%, #1a1a1a 100%);
    border-radius: 50%;
    border: 1px solid #444;
}

.main-screenshot {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 50px;
    transition: all var(--transition-normal);
    background: #000;
}

.phone-home-indicator-large {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 3px;
    z-index: 10;
}

/* Showcase Phone Mockups */
.phone-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame-showcase {
    position: relative;
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #2c2c2e, #1c1c1e);
    border-radius: 45px;
    padding: 4px;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(0, 188, 212, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    transition: all var(--transition-slow);
}

.phone-screen-showcase {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 41px;
    overflow: hidden;
}

.phone-notch-showcase {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #1c1c1e;
    border-radius: 0 0 18px 18px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
}

.notch-speaker-showcase {
    width: 55px;
    height: 5px;
    background: linear-gradient(90deg, #333, #555, #333);
    border-radius: 3px;
}

.notch-camera-showcase {
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #1a1a1a 30%, #333 70%, #1a1a1a 100%);
    border-radius: 50%;
    border: 1px solid #444;
}

.phone-home-indicator-showcase {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 5px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 3px;
    z-index: 10;
}

/* Screenshots Grid */
.screenshots-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.screenshot-thumb {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.screenshot-thumb:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    transform: translateX(10px);
}

.screenshot-thumb.active {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.2);
}

.thumb-frame {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 12px;
    padding: 4px;
    flex-shrink: 0;
}

.thumb-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.thumb-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.thumb-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Coming Soon Badge */
.coming-soon-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .screenshots-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .screenshots-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .screenshot-thumb {
        flex-direction: column;
        text-align: center;
        min-width: 120px;
    }
    
    .screenshot-thumb:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .phone-frame {
        width: 240px;
        height: 480px;
        border-radius: 32px;
    }
    
    .phone-screen {
        border-radius: 26px;
    }
    
    .phone-frame-large {
        width: 280px;
        height: 560px;
        border-radius: 35px;
    }
    
    .phone-screen-large {
        border-radius: 28px;
    }
    
    .phone-frame-small {
        width: 160px;
        height: 320px;
        border-radius: 22px;
    }
    
    .phone-screen-small {
        border-radius: 18px;
    }
    
    .screenshots-grid {
        gap: 0.5rem;
    }
    
    .screenshot-thumb {
        min-width: 100px;
        padding: 0.75rem;
    }
    
    .thumb-frame {
        width: 50px;
        height: 50px;
    }
}

/* Animation Enhancements */
@keyframes phoneFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(1deg); }
    50% { transform: translateY(-5px) rotate(0deg); }
    75% { transform: translateY(-15px) rotate(-1deg); }
}

.phone-frame {
    animation: phoneFloat 8s ease-in-out infinite;
}

.phone-frame-large {
    animation: phoneFloat 10s ease-in-out infinite;
    animation-delay: 1s;
}

.phone-frame-small {
    animation: phoneFloat 6s ease-in-out infinite;
    animation-delay: 2s;
}

/* Screenshots Gallery */
.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.screenshot-item {
    position: relative;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.screenshot-item .screenshot-frame {
    position: relative;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 24px;
    padding: 12px;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 188, 212, 0.05);
    transition: all var(--transition-normal);
}

.screenshot-item:hover .screenshot-frame {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 188, 212, 0.15);
}

.screenshot-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    transition: all var(--transition-normal);
}

.screenshot-item:hover .screenshot-image {
    transform: scale(1.05);
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.9)
    );
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    border-radius: 0 0 16px 16px;
    transform: translateY(100%);
    transition: all var(--transition-normal);
}

.screenshot-item:hover .screenshot-overlay {
    transform: translateY(0);
}

.screenshot-overlay h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-light);
}

.screenshot-overlay p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

/* Screenshot Modal */
.screenshot-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.screenshot-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transform: scale(0.8);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.screenshot-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.modal-image {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
}

.modal-info {
    padding: 1.5rem;
    background: linear-gradient(
        135deg,
        rgba(0, 188, 212, 0.1),
        rgba(233, 30, 99, 0.1)
    );
}

.modal-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-light);
}

.modal-info p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-screenshot-container .screenshot-frame {
        width: 250px;
        height: 500px;
        padding: 8px;
        border-radius: 24px;
    }
    
    .hero-screenshot {
        border-radius: 18px;
    }
    
    .module-screenshot .screenshot-frame {
        width: 220px;
        height: 440px;
        padding: 8px;
        border-radius: 20px;
    }
    
    .module-image {
        border-radius: 14px;
    }
    
    .screenshots-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .screenshot-image {
        height: 300px;
    }
    
    .screenshot-overlay {
        padding: 1.5rem 1rem 1rem;
        transform: translateY(0);
        background: linear-gradient(
            transparent,
            rgba(0, 0, 0, 0.8),
            rgba(0, 0, 0, 0.95)
        );
    }
    
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .modal-info {
        padding: 1rem;
    }
    
    .modal-info h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .app-screenshot-container .screenshot-frame {
        width: 200px;
        height: 400px;
    }
    
    .module-screenshot .screenshot-frame {
        width: 180px;
        height: 360px;
    }
}

/* Animation Enhancements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.app-screenshot-container .screenshot-frame {
    animation: float 6s ease-in-out infinite;
}

.module-screenshot .screenshot-frame {
    animation: float 8s ease-in-out infinite;
    animation-delay: 1s;
}

/* Floating Cards Animation */
.floating-card {
    animation: float 4s ease-in-out infinite;
}

.floating-card.card-1 {
    animation-delay: 0s;
}

.floating-card.card-2 {
    animation-delay: 1.5s;
}

.floating-card.card-3 {
    animation-delay: 3s;
}
/* ============================================
   ADDITIONAL VISUAL ENHANCEMENTS
   ============================================ */

/* Animate-in class for scroll animations */
.animate-in {
    animation: slideInUp 0.6s ease-out forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Touch active state for mobile */
.touch-active {
    transform: scale(0.98) !important;
    transition: transform 0.1s ease !important;
}

/* Loading states */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* Enhanced floating cards */
.floating-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Improved screenshot frames */
.screenshot-frame::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.screenshot-frame:hover::before {
    opacity: 0.3;
}

/* Glowing effect for hero screenshot */
.app-screenshot-container .screenshot-frame::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(
        circle,
        rgba(0, 188, 212, 0.1) 0%,
        transparent 70%
    );
    transform: translate(-50%, -50%);
    z-index: -2;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Improved module tabs visual feedback */
.tab-visual {
    position: relative;
    overflow: hidden;
}

.tab-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.6s ease;
    z-index: 1;
}

.tab-panel.active .tab-visual::before {
    left: 100%;
}

/* Enhanced screenshot gallery grid */
.screenshots-gallery {
    position: relative;
}

.screenshots-gallery::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 188, 212, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(233, 30, 99, 0.05) 0%, transparent 50%);
    border-radius: var(--radius-xl);
    z-index: -1;
}

/* Improved modal backdrop */
.screenshot-modal {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.modal-content {
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(0, 188, 212, 0.2);
}

/* Loading spinner for images */
.screenshot-loading {
    position: relative;
}

.screenshot-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 188, 212, 0.3);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .screenshot-frame {
        border: 2px solid var(--primary);
    }
    
    .screenshot-overlay {
        background: rgba(0, 0, 0, 0.95);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .app-screenshot-container .screenshot-frame,
    .module-screenshot .screenshot-frame,
    .floating-card {
        animation: none;
    }
    
    .screenshot-item:hover .screenshot-image {
        transform: none;
    }
    
    .screenshot-item:hover .screenshot-frame {
        transform: none;
    }
}

/* Print styles */
@media print {
    .screenshot-modal,
    .floating-card {
        display: none;
    }
    
    .screenshot-image {
        max-width: 100%;
        height: auto;
    }
}
/* ============================================
   FEATURES SHOWCASE SECTION
   ============================================ */

.features-showcase {
    padding: var(--section-padding);
    background: linear-gradient(
        135deg,
        rgba(0, 188, 212, 0.02) 0%,
        rgba(233, 30, 99, 0.02) 100%
    );
    position: relative;
    overflow: hidden;
}

.features-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 188, 212, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(233, 30, 99, 0.05) 0%, transparent 50%);
    z-index: -1;
}

.showcase-grid {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 3rem 0;
}

.showcase-item.reverse {
    direction: rtl;
}

.showcase-item.reverse > * {
    direction: ltr;
}

.showcase-content {
    padding: 2rem 0;
}

.showcase-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-glow-primary);
}

.showcase-icon i {
    font-size: 2rem;
    color: white;
}

.showcase-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.showcase-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.showcase-features {
    list-style: none;
    padding: 0;
}

.showcase-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.showcase-features i {
    width: 20px;
    height: 20px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: white;
    flex-shrink: 0;
}

.showcase-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.showcase-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(0, 188, 212, 0.1);
    transition: all var(--transition-slow);
}

.showcase-item:hover .showcase-image {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(0, 188, 212, 0.2);
}

/* Decorative elements */
.showcase-visual::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(
        45deg,
        rgba(0, 188, 212, 0.1),
        rgba(233, 30, 99, 0.1)
    );
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.showcase-item:hover .showcase-visual::before {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .showcase-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .showcase-item.reverse {
        direction: ltr;
    }
    
    .showcase-grid {
        gap: 4rem;
    }
    
    .showcase-content {
        order: 2;
    }
    
    .showcase-visual {
        order: 1;
    }
    
    .showcase-item.reverse .showcase-content {
        order: 2;
    }
    
    .showcase-item.reverse .showcase-visual {
        order: 1;
    }
}

@media (max-width: 768px) {
    .features-showcase {
        padding: 4rem 0;
    }
    
    .showcase-grid {
        gap: 3rem;
    }
    
    .showcase-item {
        padding: 2rem 0;
        gap: 1.5rem;
    }
    
    .showcase-content h3 {
        font-size: 1.5rem;
    }
    
    .showcase-content p {
        font-size: 1rem;
    }
    
    .showcase-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 1.5rem;
    }
    
    .showcase-icon i {
        font-size: 1.5rem;
    }
    
    .showcase-image {
        max-width: 250px;
    }
}

/* Animation enhancements */
@keyframes showcaseFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.showcase-image {
    animation: showcaseFloat 6s ease-in-out infinite;
}

.showcase-item:nth-child(2) .showcase-image {
    animation-delay: 2s;
}

.showcase-item:nth-child(3) .showcase-image {
    animation-delay: 4s;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .showcase-image {
        animation: none;
    }
    
    .showcase-item:hover .showcase-image {
        transform: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .showcase-icon {
        border: 2px solid var(--primary);
    }
    
    .showcase-features i {
        border: 1px solid var(--success);
    }
}
/* ============================================
   ENHANCED VISUAL EFFECTS
   ============================================ */

/* Glowing effects for phone mockups */
.phone-frame::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 188, 212, 0.15) 0%,
        rgba(233, 30, 99, 0.1) 50%,
        transparent 70%
    );
    border-radius: 60px;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.phone-frame:hover::after {
    opacity: 1;
}

/* Enhanced floating cards */
.floating-card {
    position: absolute;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(0, 188, 212, 0.2);
    z-index: 20;
    white-space: nowrap;
    transition: all var(--transition-normal);
}

.floating-card:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(0, 188, 212, 0.3);
}

.floating-card i {
    font-size: 1rem;
    color: var(--primary-light);
    filter: drop-shadow(0 0 5px rgba(0, 188, 212, 0.5));
}

.floating-card.card-1 {
    top: 15%;
    right: -80px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 45%;
    left: -70px;
    animation-delay: 2s;
}

.floating-card.card-3 {
    bottom: 25%;
    right: -60px;
    animation-delay: 4s;
}

/* Video section improvements */
.video-placeholder {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 450px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid rgba(0, 188, 212, 0.2);
}

.video-placeholder:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.video-content {
    text-align: center;
    z-index: 2;
}

.video-content i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.video-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.video-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    opacity: 0.8;
    transition: all var(--transition-normal);
    z-index: 1;
}

.video-placeholder:hover .video-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Improved section spacing */
.screenshots {
    padding: 6rem 0;
    background: linear-gradient(
        135deg,
        rgba(0, 188, 212, 0.02) 0%,
        rgba(233, 30, 99, 0.02) 100%
    );
}

.video-section {
    padding: 6rem 0;
    background: var(--bg-dark);
}

/* Enhanced responsive behavior */
@media (max-width: 480px) {
    .phone-frame {
        width: 200px;
        height: 400px;
        border-radius: 28px;
    }
    
    .phone-screen {
        border-radius: 22px;
    }
    
    .phone-notch {
        width: 100px;
        height: 20px;
        border-radius: 0 0 12px 12px;
    }
    
    .floating-card {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
    
    .floating-card.card-1,
    .floating-card.card-2,
    .floating-card.card-3 {
        position: static;
        margin: 0.5rem;
        display: inline-flex;
    }
    
    .video-placeholder {
        height: 300px;
    }
    
    .video-content i {
        font-size: 3rem;
    }
    
    .video-play-btn {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .phone-frame,
    .phone-frame-large,
    .phone-frame-small {
        animation: none;
    }
    
    .floating-card {
        animation: none;
    }
    
    .phone-frame:hover,
    .phone-frame-small:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .floating-card,
    .video-play-btn {
        display: none;
    }
    
    .phone-frame,
    .phone-frame-large,
    .phone-frame-small {
        box-shadow: none;
        background: #f0f0f0;
        border: 1px solid #ccc;
    }
}
/* ============================================
   ENHANCED PHONE MOCKUP RESPONSIVE & EFFECTS
   ============================================ */

/* Responsive Design for Phone Mockups */
@media (max-width: 1024px) {
    .screenshots-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .phone-frame-large {
        width: 320px;
        height: 640px;
    }
    
    .screenshots-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .screenshot-thumb {
        flex-direction: column;
        text-align: center;
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .phone-frame {
        width: 260px;
        height: 520px;
        border-radius: 42px;
    }
    
    .phone-screen {
        border-radius: 38px;
    }
    
    .phone-notch {
        width: 110px;
        height: 28px;
        top: 10px;
        border-radius: 0 0 16px 16px;
    }
    
    .phone-frame-large {
        width: 300px;
        height: 600px;
        border-radius: 48px;
    }
    
    .phone-screen-large {
        border-radius: 44px;
    }
    
    .phone-frame-small {
        width: 180px;
        height: 360px;
        border-radius: 28px;
    }
    
    .phone-screen-small {
        border-radius: 25px;
    }
    
    .phone-frame-showcase {
        width: 240px;
        height: 480px;
        border-radius: 38px;
    }
    
    .phone-screen-showcase {
        border-radius: 34px;
    }
}

@media (max-width: 480px) {
    .phone-frame {
        width: 220px;
        height: 440px;
        border-radius: 35px;
    }
    
    .phone-screen {
        border-radius: 31px;
    }
    
    .phone-notch {
        width: 90px;
        height: 24px;
        border-radius: 0 0 14px 14px;
    }
    
    .notch-speaker {
        width: 45px;
        height: 5px;
    }
    
    .notch-camera {
        width: 10px;
        height: 10px;
    }
    
    .phone-home-indicator {
        width: 100px;
        height: 4px;
        bottom: 6px;
    }
    
    .floating-card {
        position: static;
        margin: 0.5rem;
        display: inline-flex;
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Enhanced Animation Effects */
@keyframes phoneFloatRealistic {
    0%, 100% { 
        transform: translateY(0px) rotateX(0deg) rotateY(0deg); 
    }
    25% { 
        transform: translateY(-12px) rotateX(2deg) rotateY(1deg); 
    }
    50% { 
        transform: translateY(-8px) rotateX(0deg) rotateY(-1deg); 
    }
    75% { 
        transform: translateY(-18px) rotateX(-1deg) rotateY(0deg); 
    }
}

.phone-frame {
    animation: phoneFloatRealistic 10s ease-in-out infinite;
    transform-style: preserve-3d;
}

.phone-frame-large {
    animation: phoneFloatRealistic 12s ease-in-out infinite;
    animation-delay: 1s;
    transform-style: preserve-3d;
}

.phone-frame-small {
    animation: phoneFloatRealistic 8s ease-in-out infinite;
    animation-delay: 2s;
    transform-style: preserve-3d;
}

.phone-frame-showcase {
    animation: phoneFloatRealistic 9s ease-in-out infinite;
    animation-delay: 0.5s;
    transform-style: preserve-3d;
}

/* Enhanced Glow Effects */
.phone-frame::after {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 188, 212, 0.2) 0%,
        rgba(233, 30, 99, 0.15) 40%,
        transparent 70%
    );
    border-radius: 80px;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.phone-frame:hover::after {
    opacity: 1;
    animation: pulse 2s ease-in-out infinite;
}

.phone-frame-large::after {
    content: '';
    position: absolute;
    top: -25px;
    left: -25px;
    right: -25px;
    bottom: -25px;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 188, 212, 0.15) 0%,
        rgba(233, 30, 99, 0.1) 50%,
        transparent 70%
    );
    border-radius: 80px;
    z-index: -1;
    opacity: 0.6;
    animation: pulse 4s ease-in-out infinite;
}

/* Screen Reflection Effect */
.phone-screen::before,
.phone-screen-small::before,
.phone-screen-large::before,
.phone-screen-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 30%,
        transparent 70%,
        rgba(255, 255, 255, 0.05) 100%
    );
    border-radius: inherit;
    z-index: 5;
    pointer-events: none;
}

/* Button Hover Effects */
.phone-button {
    transition: all var(--transition-fast);
}

.phone-frame:hover .phone-button {
    background: linear-gradient(145deg, #4c4c4e, #3c3c3e);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

/* Notch Enhancements */
.phone-notch,
.phone-notch-small,
.phone-notch-large,
.phone-notch-showcase {
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Camera Lens Effect */
.notch-camera::after,
.notch-camera-small::after,
.notch-camera-large::after,
.notch-camera-showcase::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

/* Home Indicator Glow */
.phone-home-indicator,
.phone-home-indicator-small,
.phone-home-indicator-large,
.phone-home-indicator-showcase {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    transition: all var(--transition-normal);
}

.phone-frame:hover .phone-home-indicator,
.phone-frame-small:hover .phone-home-indicator-small,
.phone-frame-large:hover .phone-home-indicator-large,
.phone-frame-showcase:hover .phone-home-indicator-showcase {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.8);
}

/* Accessibility and Performance */
@media (prefers-reduced-motion: reduce) {
    .phone-frame,
    .phone-frame-large,
    .phone-frame-small,
    .phone-frame-showcase {
        animation: none;
    }
    
    .phone-frame:hover,
    .phone-frame-small:hover,
    .phone-frame-showcase:hover {
        transform: none;
    }
    
    .phone-frame-large::after {
        animation: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .phone-frame,
    .phone-frame-small,
    .phone-frame-large,
    .phone-frame-showcase {
        border: 2px solid var(--primary);
    }
    
    .phone-notch,
    .phone-notch-small,
    .phone-notch-large,
    .phone-notch-showcase {
        border: 1px solid #666;
    }
}

/* Print Styles */
@media print {
    .phone-frame,
    .phone-frame-large,
    .phone-frame-small,
    .phone-frame-showcase {
        box-shadow: none;
        background: #f0f0f0;
        border: 2px solid #333;
        animation: none;
    }
    
    .phone-frame::after,
    .phone-frame-large::after {
        display: none;
    }
}
/* Fix for showcase images in phone mockups */
.phone-screen-showcase img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 41px;
    background: #000;
}

/* Fix for thumbnail images */
.thumb-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    background: #000;
}

/* Responsive floating cards */
@media (max-width: 1200px) {
    .floating-card.card-1 {
        right: -60px;
    }
    
    .floating-card.card-2 {
        left: -50px;
    }
    
    .floating-card.card-3 {
        right: -40px;
    }
}

@media (max-width: 768px) {
    .floating-card {
        position: static;
        margin: 0.5rem;
        display: inline-flex;
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
        transform: none !important;
    }
    
    .floating-card:hover {
        transform: scale(1.05) !important;
    }
    
    .phone-mockup {
        flex-direction: column;
        gap: 1rem;
    }
    
    .floating-card.card-1,
    .floating-card.card-2,
    .floating-card.card-3 {
        position: static;
        margin: 0.25rem;
    }
}

/* Enhanced floating card animation */
@keyframes floatingCard {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(1deg);
    }
    50% {
        transform: translateY(-4px) rotate(0deg);
    }
    75% {
        transform: translateY(-12px) rotate(-1deg);
    }
}

.floating-card {
    animation: floatingCard 6s ease-in-out infinite;
}

.floating-card.card-1 {
    animation-delay: 0s;
}

.floating-card.card-2 {
    animation-delay: 2s;
}

.floating-card.card-3 {
    animation-delay: 4s;
}

/* Ensure floating cards are visible on all screen sizes */
@media (min-width: 769px) {
    .phone-mockup {
        position: relative;
        overflow: visible;
        padding: 2rem;
    }
}

/* Fix z-index issues */
.hero-visual {
    position: relative;
    z-index: 1;
}

.phone-mockup {
    position: relative;
    z-index: 2;
}

.floating-card {
    z-index: 30;
}
/* Enhanced Hero Section Layout */
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 2rem 0;
    min-height: 80vh;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
    overflow: visible;
}

/* Ensure floating cards don't get cut off */
.hero {
    overflow: visible;
    padding: 6rem 0;
}

.hero .container {
    overflow: visible;
}

/* Better spacing for floating cards */
@media (min-width: 1024px) {
    .hero-visual {
        padding: 4rem 3rem;
    }
    
    .floating-card.card-1 {
        right: -100px;
    }
    
    .floating-card.card-2 {
        left: -90px;
    }
    
    .floating-card.card-3 {
        right: -80px;
    }
}

/* Debug styles to ensure visibility */
.floating-card {
    min-width: fit-content;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Improved mobile layout */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-visual {
        order: 1;
        padding: 1rem;
    }
    
    .hero-content {
        order: 2;
    }
    
    .phone-mockup {
        margin-bottom: 2rem;
    }
    
    .floating-card {
        margin: 0.5rem 0.25rem;
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
    }
}