/* 
   ==========================================================================
   Ruznamat Premium Redesign - Master Stylesheet
   Design Philosophy: Premium Dark Emerald Glassmorphic (Mint & Gold Accents)
   Primary Typography: IBM Plex Sans Arabic (Unified)
   ========================================================================== 
*/

:root {
    /* Color Palette */
    --background: #030806;
    --background-accent: #05140e;
    --surface: rgba(10, 26, 20, 0.45);
    --surface-elevated: rgba(18, 45, 36, 0.75);
    --surface-glass: rgba(255, 255, 255, 0.03);
    
    /* Branding Colors */
    --primary: #10b981; /* Mint Green */
    --primary-light: #34d399;
    --primary-dark: #047857;
    --primary-glow: rgba(16, 185, 129, 0.25);
    
    --gold: #e5c158; /* Premium Gold */
    --gold-light: #fbe69c;
    --gold-dark: #b58d22;
    --gold-gradient: linear-gradient(135deg, #fbe69c 0%, #e5c158 50%, #b58d22 100%);
    
    /* Neutral & Borders */
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.15);
    --border-glow: rgba(16, 185, 129, 0.15);
    
    /* Text Colors */
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-tertiary: #6b7280;
    --text-inverse: #030806;
    --text-glow: 0 0 10px rgba(16, 185, 129, 0.3);

    /* Gradients */
    --gradient-emerald: linear-gradient(135deg, #092e21 0%, #030c08 100%);
    --gradient-hero-text: linear-gradient(135deg, #ffffff 30%, #a7f3d0 100%);
    --gradient-button: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-gold-btn: linear-gradient(135deg, #e5c158 0%, #b58d22 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.15);
    --shadow-gold-glow: 0 0 30px rgba(229, 193, 88, 0.15);

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 90px;
}

body {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-full);
    border: 2px solid var(--background);
    transition: background var(--transition-base);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(16, 185, 129, 0.5);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

/* Glowing Background Orbs */
.glowing-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    transition: transform var(--transition-slow);
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--primary) 0%, rgba(16,185,129,0) 70%);
    animation: float-orb-1 25s ease-in-out infinite;
}

.orb-2 {
    bottom: -15%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, #065f46 0%, rgba(6,95,70,0) 70%);
    animation: float-orb-2 30s ease-in-out infinite;
}

.orb-3 {
    top: 40%;
    left: 50%;
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, var(--gold) 0%, rgba(229,193,88,0) 70%);
    opacity: 0.08;
    animation: float-orb-3 20s ease-in-out infinite;
}

@keyframes float-orb-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10%, 15%) scale(1.1); }
}

@keyframes float-orb-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-12%, -10%) scale(0.9); }
}

@keyframes float-orb-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-8%, 12%) scale(1.2); }
}

/* Glassmorphism General Rule */
.glass-panel {
    background: var(--surface);
    backdrop-filter: blur(16px) saturate(120%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.glass-panel-elevated {
    background: var(--surface-elevated);
    backdrop-filter: blur(20px) saturate(130%);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* Loader Styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.loader-logo {
    width: 80px;
    height: 80px;
    position: relative;
    animation: logo-pulse 2s infinite ease-in-out;
}

.loader-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 2px solid rgba(16, 185, 129, 0.1);
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.55, 0.055, 0.675, 0.19) infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes logo-pulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(16, 185, 129, 0)); }
    50% { transform: scale(1.08); filter: drop-shadow(0 0 15px var(--primary-glow)); }
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(3, 8, 6, 0.6);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
    background: rgba(3, 8, 6, 0.85);
    border-color: rgba(16, 185, 129, 0.15);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7), var(--shadow-glow);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: transform var(--transition-fast);
}

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

.nav-logo img {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.nav-links {
    display: none;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast), text-shadow var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link-icon {
    font-size: 0.8rem;
    opacity: 0.6;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-link:hover {
    color: var(--primary);
    text-shadow: var(--text-glow);
}

.nav-link:hover .nav-link-icon {
    transform: rotate(45deg);
    opacity: 1;
    color: var(--primary);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transition: width var(--transition-base);
}

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

.nav-cta {
    display: none;
}

.nav-drawer-cta {
    display: none;
}

@media (min-width: 768px) {
    .nav-cta {
        display: block;
    }
}

/* Premium Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-button);
    color: var(--text-inverse);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4), var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base), filter var(--transition-base);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5), var(--shadow-glow);
    filter: brightness(1.05);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Shimmer Hover Animation */
.btn-shimmer:hover::before {
    left: 100%;
    transition: left 0.8s ease-in-out;
}

.btn-primary.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    text-decoration: none;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform var(--transition-base), background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.btn-secondary:hover {
    background: rgba(16, 185, 129, 0.08);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

.btn-secondary.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1100;
}

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

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: var(--radius-full);
    transition: transform var(--transition-base), opacity var(--transition-base), background-color var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--primary);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--primary);
}

/* Mobile Menu Link Drawer */
@media (max-width: 767px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(3, 12, 9, 0.95);
        backdrop-filter: blur(24px);
        border-left: 1px solid var(--border);
        padding: 3rem 2rem;
        gap: 2.5rem;
        transition: right var(--transition-base);
        z-index: 1050;
    }

    .nav-links.active {
        right: 0;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8), var(--shadow-glow);
    }

    .nav-link {
        font-size: 1.15rem;
        width: 100%;
    }

    .nav-drawer-cta {
        display: block;
        width: 100%;
        margin-top: 1.5rem;
    }
    
    .nav-drawer-cta .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 60px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    z-index: 2;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1.2fr 0.8fr;
        text-align: right;
    }
}

.hero-content {
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-content {
        text-align: right;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    margin-bottom: 2rem;
    box-shadow: inset 0 0 10px rgba(16, 185, 129, 0.05);
    color: var(--primary-light);
}

.badge-icon {
    display: flex;
    align-items: center;
    color: var(--gold);
    animation: spin-pulse 3s linear infinite;
}

@keyframes spin-pulse {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

.text-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 2px 10px rgba(229, 193, 88, 0.15));
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

@media (min-width: 1024px) {
    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-keywords {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    border-right: 2px solid rgba(16, 185, 129, 0.2);
    padding-right: 1rem;
}

@media (min-width: 1024px) {
    .hero-keywords {
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: center;
}

@media (min-width: 480px) {
    .hero-actions {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .hero-actions {
        justify-content: flex-start;
    }
}

/* Hero Visual / Phone Carousel Area */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.phone-carousel {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-stack {
    position: relative;
    width: 250px;
    height: 500px;
    perspective: 1200px;
}

.carousel-phone {
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform-origin: center center;
    transition: transform var(--transition-slow), opacity var(--transition-slow), filter var(--transition-slow), z-index var(--transition-slow);
    cursor: pointer;
}

/* Custom Depth-of-Field Blur and Scaled Rotations for 3D stacks */
.carousel-phone[data-index="0"] {
    transform: translate(-50%, -50%) translateZ(0) scale(1);
    z-index: 10;
    opacity: 1;
    filter: blur(0) brightness(1);
}

.carousel-phone[data-index="1"] {
    transform: translate(-50%, -50%) translateX(70px) translateZ(-150px) scale(0.85) rotateY(-20deg);
    z-index: 5;
    opacity: 0.65;
    filter: blur(2px) brightness(0.65);
}

.carousel-phone[data-index="2"] {
    transform: translate(-50%, -50%) translateY(40px) translateZ(-250px) scale(0.75) rotateX(15deg);
    z-index: 3;
    opacity: 0.4;
    filter: blur(4px) brightness(0.4);
}

.carousel-phone[data-index="3"] {
    transform: translate(-50%, -50%) translateX(-70px) translateZ(-150px) scale(0.85) rotateY(20deg);
    z-index: 5;
    opacity: 0.65;
    filter: blur(2px) brightness(0.65);
}

/* Active central slide override */
.carousel-phone.active {
    transform: translate(-50%, -50%) translateZ(0) scale(1.05) !important;
    z-index: 15 !important;
    opacity: 1 !important;
    filter: blur(0) brightness(1) !important;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: -20px;
    right: -20px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 20;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    background: rgba(18, 45, 36, 0.7);
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-base);
    pointer-events: auto !important;
    box-shadow: var(--shadow-md), 0 0 15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: var(--primary);
    border-color: var(--primary-light);
    color: var(--text-inverse);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

/* Futursitic CSS iPhone 17 Mockup */
.phone-mockup-iphone17, .phone-mockup-iphone17-modern {
    position: relative;
    width: 250px;
    height: 500px;
    border-radius: 44px;
    background: #000;
}

.iphone17-frame {
    width: 100%;
    height: 100%;
    border-radius: 44px;
    border: 3px solid rgba(255, 255, 255, 0.15); /* Titanium bezel */
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.8), 
        0 20px 40px -10px rgba(0, 0, 0, 0.8),
        inset 0 0 8px rgba(255, 255, 255, 0.1),
        0 0 30px rgba(16, 185, 129, 0.1);
    padding: 4px;
    background-color: #000;
    position: relative;
    overflow: hidden;
}

/* Sleek Compact iPhone 17 Dynamic Island */
.iphone17-island {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 8px; /* Ultra-thin Dynamic Island */
    background: #0d0d0d;
    border-radius: var(--radius-full);
    z-index: 100;
    box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.1);
}

/* Realistic Glass Reflection Overlay */
.iphone17-glass-reflection {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 40%, rgba(255, 255, 255, 0) 60%);
    pointer-events: none;
    z-index: 50;
    border-radius: 40px;
}

.iphone17-screen {
    width: 100%;
    height: 100%;
    border-radius: 38px;
    object-fit: cover;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

/* Dynamic glow under phones */
.phone-mockup-iphone17.active .iphone17-frame {
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.8), 
        0 25px 50px -12px rgba(0, 0, 0, 0.85),
        inset 0 0 8px rgba(255, 255, 255, 0.15),
        0 0 35px rgba(16, 185, 129, 0.25);
    border-color: rgba(16, 185, 129, 0.3);
}

/* Features Section */
.features {
    padding: 8rem 0;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(16, 185, 129, 0.08);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
}

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

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

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

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

/* Elegant Glass Cards */
.feature-card {
    background: rgba(10, 26, 20, 0.35);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(10, 26, 20, 0.55);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.75rem;
    color: var(--primary);
    font-size: 1.75rem;
    transition: transform var(--transition-base), background var(--transition-base), color var(--transition-base);
    box-shadow: inset 0 0 10px rgba(16, 185, 129, 0.1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary);
    color: var(--text-inverse);
    border-color: var(--primary-light);
    box-shadow: 0 0 15px var(--primary-glow);
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Screenshots Showcase Section */
.screenshots {
    padding: 8rem 0;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, transparent 0%, var(--background-accent) 50%, transparent 100%);
}

.screenshots-showcase {
    margin-top: 4rem;
}

.screenshots-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

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

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

.screenshot-item {
    text-align: center;
    transition: transform var(--transition-base);
}

.phone-mockup-iphone17-modern {
    width: 220px;
    height: 440px;
    margin: 0 auto 1.5rem;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    border-radius: 40px;
}

.phone-mockup-iphone17-modern .iphone17-frame {
    border-radius: 40px;
    padding: 3px;
    border: 2px solid rgba(255, 255, 255, 0.12);
}

.phone-mockup-iphone17-modern .iphone17-screen {
    border-radius: 35px;
}

.phone-mockup-iphone17-modern .iphone17-island {
    width: 44px;
    height: 7px;
    top: 8px;
}

.screenshot-item:hover .phone-mockup-iphone17-modern {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9), 0 0 40px rgba(16, 185, 129, 0.2);
}

.screenshot-item:hover .phone-mockup-iphone17-modern .iphone17-frame {
    border-color: rgba(16, 185, 129, 0.4);
}

.screenshot-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    transition: color var(--transition-fast);
}

.screenshot-item:hover .screenshot-info h4 {
    color: var(--primary);
}

.screenshot-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Call To Action (CTA) Section */
.cta-section {
    padding: 8rem 0;
    position: relative;
    z-index: 2;
}

.cta-content {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.03) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-2xl);
    padding: 5rem 2rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    z-index: 2;
    position: relative;
}

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

.cta-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    z-index: 2;
    position: relative;
}

.cta-actions {
    margin-bottom: 3rem;
    z-index: 2;
    position: relative;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    z-index: 2;
    position: relative;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.cta-feature i {
    color: var(--primary);
    font-size: 1.1rem;
    filter: drop-shadow(0 0 5px var(--primary-glow));
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

.contact-content {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    justify-content: center;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem 2.5rem;
    background: rgba(10, 26, 20, 0.4);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    text-decoration: none;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
    box-shadow: var(--shadow-md);
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--primary);
    background: rgba(10, 26, 20, 0.6);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    transition: transform var(--transition-base);
}

.contact-method:hover .contact-icon {
    transform: scale(1.1) rotate(-5deg);
    background: var(--primary);
    color: var(--text-inverse);
    box-shadow: 0 0 15px var(--primary-glow);
    border-color: var(--primary-light);
}

.contact-details {
    text-align: right;
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* Footer Section */
.footer {
    background: #020504;
    border-top: 1px solid var(--border);
    padding: 6rem 0 3rem;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1.5fr 1fr;
    }
}

.footer-brand {
    text-align: center;
}

@media (min-width: 768px) {
    .footer-brand {
        text-align: right;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--text-primary);
}

@media (min-width: 768px) {
    .footer-logo {
        justify-content: flex-start;
    }
}

.footer-logo img {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
}

.footer-description {
    color: var(--text-secondary);
    max-width: 450px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.8;
}

@media (min-width: 768px) {
    .footer-description {
        margin: 0;
    }
}

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

.footer-section h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    border-right: 2px solid var(--primary);
    padding-right: 0.75rem;
}

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

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast), padding-right var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.link-bullet {
    font-size: 0.65rem;
    opacity: 0.4;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.footer-section a:hover {
    color: var(--primary);
    padding-right: 0.25rem;
}

.footer-section a:hover .link-bullet {
    opacity: 1;
    color: var(--primary);
    transform: translateX(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

/* Dynamic Demo Modal Styling */
.demo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 5, 4, 0.85);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.demo-modal-content {
    background: rgba(10, 26, 20, 0.9);
    backdrop-filter: blur(25px);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-2xl);
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.demo-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
}

.demo-modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.demo-modal-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.demo-modal-close:hover {
    color: var(--primary);
}

.demo-modal-body {
    padding: 2rem;
    text-align: center;
}

.demo-screenshots {
    position: relative;
    height: 380px;
    margin: 1.5rem 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.demo-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: scale(0.95);
}

.demo-img.active {
    opacity: 1;
    transform: scale(1);
}

.demo-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

.demo-prev, .demo-next {
    background: var(--gradient-button);
    color: var(--text-inverse);
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-weight: 600;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.demo-prev:hover, .demo-next:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.demo-indicators {
    display: flex;
    gap: 0.6rem;
}

.demo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

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

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-up:nth-child(1) { animation-delay: 0.1s; }
.animate-fade-up:nth-child(2) { animation-delay: 0.25s; }
.animate-fade-up:nth-child(3) { animation-delay: 0.4s; }
.animate-fade-up:nth-child(4) { animation-delay: 0.55s; }
.animate-fade-up:nth-child(5) { animation-delay: 0.7s; }

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Micro-animations */
.animate-swing {
    animation: swing 2s ease-in-out infinite alternate;
}

@keyframes swing {
    0% { transform: rotate(10deg); }
    100% { transform: rotate(-10deg); }
}

/* Focus styles for Accessibility */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

/* Mobile Viewport Optimizations for Carousel */
@media (max-width: 480px) {
    .carousel-controls {
        left: 5px;
        right: 5px;
    }
    .phone-stack {
        width: 180px;
        height: 360px;
    }
    .phone-mockup-iphone17 {
        width: 180px;
        height: 360px;
        border-radius: 32px;
    }
    .iphone17-frame {
        border-radius: 32px;
        padding: 3px;
        border-width: 2px;
    }
    .iphone17-screen {
        border-radius: 28px;
    }
    .iphone17-island {
        width: 36px;
        height: 6px;
        top: 6px;
    }
    .carousel-container {
        height: 380px;
    }
    .carousel-phone[data-index="1"] {
        transform: translate(-50%, -50%) translateX(45px) translateZ(-100px) scale(0.85) rotateY(-15deg);
    }
    .carousel-phone[data-index="3"] {
        transform: translate(-50%, -50%) translateX(-45px) translateZ(-100px) scale(0.85) rotateY(15deg);
    }
}

/* Print Overrides */
@media print {
    .navbar, .loader, .glowing-orbs, .carousel-controls, .hero-actions, .cta-section {
        display: none !important;
    }
    
    body {
        background: #fff !important;
        color: #000 !important;
    }
}