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

:root {
    /* Colors */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Border Radius */
    --border-radius-sm: 0.125rem;
    --border-radius: 0.25rem;
    --border-radius-md: 0.375rem;
    --border-radius-lg: 0.5rem;
    --border-radius-xl: 0.75rem;
    --border-radius-2xl: 1rem;
    --border-radius-3xl: 1.5rem;

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 200ms ease-in-out;
    --transition-slow: 300ms ease-in-out;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--gray-900);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: var(--border-radius-lg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition-base);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
    text-decoration: none;
}

.nav-logo i {
    color: var(--primary-600);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-8);
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-600);
    transition: var(--transition-fast);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.search-btn,
.theme-toggle {
    background: none;
    border: none;
    color: var(--gray-700);
    font-size: var(--font-size-lg);
    cursor: pointer;
    padding: var(--space-2);
    border-radius: var(--border-radius-md);
    transition: var(--transition-fast);
}

.search-btn:hover,
.theme-toggle:hover {
    background: var(--gray-100);
    color: var(--primary-600);
}

.github-link {
    color: var(--gray-700);
    font-size: var(--font-size-lg);
    transition: var(--transition-fast);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    margin: 3px 0;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    padding: 120px var(--space-6) var(--space-20);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: var(--space-2) var(--space-4);
    border-radius: 50px;
    color: white;
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: var(--space-6);
}

.hero-badge span:first-child {
    background: var(--primary-500);
    padding: 2px var(--space-2);
    border-radius: 50px;
    font-size: var(--font-size-xs);
}

.hero-title {
    font-size: var(--font-size-6xl);
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: var(--space-6);
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--font-size-xl);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-8);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    font-size: var(--font-size-base);
}

.btn-primary {
    background: white;
    color: var(--primary-600);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--primary-500);
    color: var(--primary-600);
}

.hero-stats {
    display: flex;
    gap: var(--space-8);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Premium Phone Mockup Styles */
.phone-mockup {
    position: relative;
    width: 420px;
    height: 750px;
    margin: 0 auto;
    /* background: linear-gradient(145deg, #1a1a1a, #0a0a0a); */
    border-radius: 45px;
    padding: 8px;
    /* box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 8px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5); */
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: phoneFloat 6s ease-in-out infinite;
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}
   canvas {
    display: block;
    position: absolute;;
    }

/* .phone-frame {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 38px;
    position: relative;
    overflow: hidden;
    border: 1px solid #333;
} */

.phone-screen {
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    background: #fff;
    border-radius: 35px;
    overflow: hidden;
    position: relative;
    margin: 4px;
    animation: screenGlow 4s ease-in-out infinite;
}

/* Dynamic Island for modern iPhone look */
.phone-screen::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #000;
    border-radius: 15px;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Camera and speaker cutout */
.phone-screen::after {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-30px);
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
    z-index: 21;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 35px;
    position: relative;
    z-index: 1;
}

/* Volume and power buttons */
/* .phone-mockup::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 120px;
    width: 3px;
    height: 30px;
    background: linear-gradient(180deg, #666, #333);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
} */

/* .phone-mockup::after {
    content: '';
    position: absolute;
    left: -2px;
    top: 160px;
    width: 3px;
    height: 50px;
    background: linear-gradient(180deg, #666, #333);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
} */

/* Power button on right side */
.phone-frame::before {
    content: '';
    position: absolute;
    right: -10px;
    top: 140px;
    width: 3px;
    height: 60px;
    background: linear-gradient(180deg, #666, #333);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Enhanced Small Phone Mockups */
.phone-mockup-small {
    width: 200px;
    height: 400px;
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border-radius: 30px;
    padding: 6px;
    margin: 0 auto var(--space-4);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-mockup-small:hover {
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.6),
        0 12px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.phone-mockup-small .screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dynamic Island for small mockups */
.phone-mockup-small::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 18px;
    background: #000;
    border-radius: 12px;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Side buttons for small mockups */
.phone-mockup-small::after {
    content: '';
    position: absolute;
    left: -2px;
    top: 80px;
    width: 2px;
    height: 25px;
    background: linear-gradient(180deg, #555, #222);
    border-radius: 1px;
}

/* 3D Effect for Screenshots */
.screenshot-item {
    perspective: 1000px;
}

.screenshot-item .phone-mockup-small {
    transform-style: preserve-3d;
}

/* Screen reflection effect */
.app-screenshot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.05) 20%,
        transparent 35%,
        transparent 65%,
        rgba(255, 255, 255, 0.03) 80%,
        rgba(255, 255, 255, 0.08) 100%
    );
    pointer-events: none;
    z-index: 10;
    border-radius: 35px;
    opacity: 0.8;
}

/* Status bar overlay */
.app-screenshot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 15;
    border-radius: 35px 35px 0 0;
}

.screenshot-img {
    position: relative;
}

.screenshot-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.04) 25%,
        transparent 40%,
        transparent 60%,
        rgba(255, 255, 255, 0.02) 75%,
        rgba(255, 255, 255, 0.06) 100%
    );
    pointer-events: none;
    z-index: 10;
    border-radius: 25px;
    opacity: 0.9;
}

/* Add subtle screen glow */
.screenshot-img::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg,
        rgba(59, 130, 246, 0.3),
        rgba(147, 51, 234, 0.3),
        rgba(34, 197, 94, 0.3)
    );
    z-index: -1;
    border-radius: 27px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.phone-mockup-small:hover .screenshot-img::after {
    opacity: 0.6;
    animation: screenGlow 2s ease-in-out infinite;
}

.code-window {
    background: var(--gray-900);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-700);
}

.window-header {
    background: var(--gray-800);
    padding: var(--space-3) var(--space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.window-controls {
    display: flex;
    gap: var(--space-2);
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red {
    background: #ff5f56;
}

.control.yellow {
    background: #ffbd2e;
}

.control.green {
    background: #27ca3f;
}

.window-title {
    color: var(--gray-400);
    font-size: var(--font-size-sm);
}

.code-content {
    padding: var(--space-4);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: var(--font-size-sm);
}

.code-line {
    display: flex;
    margin-bottom: var(--space-1);
}

.line-number {
    color: var(--gray-500);
    width: 30px;
    text-align: right;
    margin-right: var(--space-4);
    user-select: none;
}

.code-text {
    color: var(--gray-300);
}

.keyword {
    color: #c792ea;
}

.title {
    color: #82aaff;
}

.subtitle {
    color: #c3e88d;
}

.string {
    color: #c3e88d;
}

.command {
    color: #ffcb6b;
}

.floating-cards {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 5;
}

.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--border-radius-xl);
    color: white;
    font-size: var(--font-size-sm);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    animation: float 6s ease-in-out infinite;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.float-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.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.card-1 {
    top: 8%;
    right: -25%;
    animation-delay: 0s;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(147, 51, 234, 0.2));
}

.card-2 {
    top: 55%;
    right: -20%;
    animation-delay: 2s;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(59, 130, 246, 0.2));
}

.card-3 {
    top: 30%;
    left: -30%;
    animation-delay: 4s;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(34, 197, 94, 0.2));
}

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

@keyframes phoneFloat {
    0%, 100% {
        transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(0px);
    }
    50% {
        transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-10px);
    }
}

@keyframes screenGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
    }
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-badge {
    display: inline-block;
    background: var(--primary-100);
    color: var(--primary-700);
    padding: var(--space-2) var(--space-4);
    border-radius: 50px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.section-header h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.section-header p {
    font-size: var(--font-size-xl);
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: var(--space-20) 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-8);
}

.feature-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-2xl);
    padding: var(--space-8);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-400));
    transform: scaleX(0);
    transition: var(--transition-base);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-400));
    border-radius: var(--border-radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-6);
}

.feature-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.feature-card p {
    color: var(--gray-600);
    margin-bottom: var(--space-4);
    line-height: 1.6;
}

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

.feature-list li {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-2);
    position: relative;
    padding-left: var(--space-5);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 600;
}

/* Screenshots Preview - RNLab Style */
.screenshots-preview {
    padding: var(--space-20) 0;
    background: linear-gradient(135deg,
        #ffffff 0%,
        #fefefe 25%,
        #ffffff 50%,
        #fdfdfd 75%,
        #ffffff 100%);
    background-size: 400% 400%;
    animation: subtleGradientShift 15s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

@keyframes subtleGradientShift {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
}

/* RNLab Style Screenshot Gallery */
.rnlab-screenshot-gallery {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.gallery-container {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: var(--border-radius-2xl);
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(25px);
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 15px 30px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.05),
        inset 0 2px 4px rgba(255, 255, 255, 0.8),
        inset 0 -1px 2px rgba(0, 0, 0, 0.05);
    padding: var(--space-10);
    margin: var(--space-8) 0;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 130, 246, 0.3) rgba(255, 255, 255, 0.1);
}

.gallery-grid {
    display: flex;
    gap: var(--space-8);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    padding: var(--space-4) 0;
    align-items: center;
}

.mockup-item {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.mockup-item:hover {
    transform: translateY(-15px) scale(1.1);
    z-index: 10;
}

.mockup-item:hover .rnlab-mockup {
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 10px 20px rgba(0, 0, 0, 0.2),
        0 0 40px rgba(255, 255, 255, 0.3);
}

.mockup-item:nth-child(even) {
    transform: translateY(20px);
}

.mockup-item:nth-child(even):hover {
    transform: translateY(-15px) scale(1.1);
}

.mockup-item:nth-child(3n) {
    transform: translateY(-10px);
}

.mockup-item:nth-child(3n):hover {
    transform: translateY(-25px) scale(1.1);
}

/* Enhanced Phone Mockups with Effects */
.rnlab-mockup {
    width: 220px;
    height: 440px;
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border-radius: 30px;
    padding: 8px;
    position: relative;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    animation: phoneGlow 4s ease-in-out infinite;
}

.rnlab-mockup::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(
        45deg,
        #667eea,
        #764ba2,
        #f093fb,
        #f5576c,
        #4facfe,
        #00f2fe
    );
    border-radius: 33px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.6s ease;
    animation: gradientShift 6s ease-in-out infinite;
}

.rnlab-mockup:hover::before {
    opacity: 0.8;
}

@keyframes phoneGlow {
    0%, 100% {
        box-shadow:
            0 15px 35px rgba(0, 0, 0, 0.4),
            0 5px 15px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 0 20px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow:
            0 15px 35px rgba(0, 0, 0, 0.4),
            0 5px 15px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 0 30px rgba(118, 75, 162, 0.5);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c, #4facfe, #00f2fe);
    }
    33% {
        background: linear-gradient(45deg, #f093fb, #f5576c, #4facfe, #00f2fe, #667eea, #764ba2);
    }
    66% {
        background: linear-gradient(45deg, #4facfe, #00f2fe, #667eea, #764ba2, #f093fb, #f5576c);
    }
}

.mockup-frame {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    border: 1px solid #333;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.mockup-screen {
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    margin: 2px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #fff;
    transition: all 0.6s ease;
}

.mockup-item:hover .mockup-screen {
    transform: scale(1.02);
    box-shadow: inset 0 0 20px rgba(102, 126, 234, 0.2);
}

/* Enhanced Dynamic Island */
.mockup-screen::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 25px;
    background: linear-gradient(135deg, #000, #333);
    border-radius: 15px;
    z-index: 10;
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mockup-item:hover .mockup-screen::before {
    transform: translateX(-50%) scale(1.1);
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 10px rgba(102, 126, 234, 0.5);
}

.mockup-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.6s ease;
    filter: brightness(1) contrast(1.1) saturate(1.1);
}

.mockup-item:hover .mockup-screenshot {
    filter: brightness(1.1) contrast(1.2) saturate(1.2);
    transform: scale(1.02);
}

/* Screen reflection effect */
.mockup-screenshot::after {
    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%
    );
    pointer-events: none;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.mockup-item:hover .mockup-screenshot::after {
    opacity: 1;
}

/* Enhanced Navigation Arrows */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 3px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    color: var(--primary-600);
    font-size: var(--font-size-xl);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 15px 35px rgba(59, 130, 246, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.1),
        0 3px 10px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    z-index: 100;
    user-select: none;
}

.gallery-nav::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-nav:hover {
    color: white;
    background: linear-gradient(135deg,
        var(--primary-500) 0%,
        var(--primary-600) 100%);
    transform: translateY(-50%) scale(1.2);
    border-color: var(--primary-400);
    box-shadow:
        0 20px 40px rgba(59, 130, 246, 0.3),
        0 10px 25px rgba(0, 0, 0, 0.15),
        0 0 30px rgba(59, 130, 246, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.gallery-nav:hover::before {
    opacity: 1;
}

.gallery-prev {
    left: -35px;
}

.gallery-next {
    right: -35px;
}

.gallery-nav:active {
    transform: translateY(-50%) scale(1.1);
    transition: transform 0.1s;
}

.gallery-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: translateY(-50%) scale(0.85);
    background: rgba(255, 255, 255, 0.7);
    color: var(--gray-400);
    border-color: rgba(255, 255, 255, 0.4);
}

.gallery-nav:disabled:hover {
    transform: translateY(-50%) scale(0.85);
    background: rgba(255, 255, 255, 0.7);
    color: var(--gray-400);
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.1),
        0 4px 10px rgba(0, 0, 0, 0.05);
}

.gallery-nav:disabled::before {
    opacity: 0;
}

/* Enhanced Scrollbar Styling */
.gallery-container::-webkit-scrollbar {
    height: 12px;
}

.gallery-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    margin: 0 var(--space-4);
}

.gallery-container::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg,
        var(--primary-400) 0%,
        var(--primary-600) 50%,
        var(--primary-500) 100%);
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.gallery-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg,
        var(--primary-500) 0%,
        var(--primary-700) 50%,
        var(--primary-600) 100%);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* Add breathe animation to the section */
.screenshots-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%,
        rgba(59, 130, 246, 0.1) 0%,
        rgba(147, 197, 253, 0.05) 25%,
        transparent 50%),
    radial-gradient(circle at 70% 80%,
        rgba(168, 85, 247, 0.08) 0%,
        rgba(196, 181, 253, 0.04) 25%,
        transparent 50%);
    animation: breathe 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes breathe {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.02); }
}

/* Floating Animation for Gallery Container */
.gallery-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 70%
    );
    animation: shimmer 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0%, 100% {
        transform: translateX(-100%) translateY(-100%) rotate(0deg);
    }
    50% {
        transform: translateX(100%) translateY(100%) rotate(180deg);
    }
}

/* Particle Effects */
.gallery-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px, 70px 70px;
    animation: particleMove 20s linear infinite;
    pointer-events: none;
    opacity: 0.6;
}

@keyframes particleMove {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 50px 50px, -30px -30px, 70px -70px;
    }
}

/* Responsive Design for Horizontal Gallery */
@media (max-width: 1024px) {
    .rnlab-mockup {
        width: 200px;
        height: 400px;
    }

    .gallery-grid {
        gap: var(--space-6);
    }
}

@media (max-width: 768px) {
    .rnlab-mockup {
        width: 180px;
        height: 360px;
    }

    .gallery-grid {
        gap: var(--space-4);
    }

    .gallery-nav {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-lg);
    }

    .gallery-prev {
        left: -25px;
    }

    .gallery-next {
        right: -25px;
    }

    .gallery-container {
        padding: var(--space-6);
        margin: var(--space-4) 0;
    }

    .mockup-item:nth-child(even),
    .mockup-item:nth-child(3n) {
        transform: translateY(0);
    }

    .mockup-item:hover {
        transform: translateY(-10px) scale(1.05);
    }
}

@media (max-width: 480px) {
    .rnlab-mockup {
        width: 160px;
        height: 320px;
    }

    .gallery-grid {
        gap: var(--space-3);
    }

    .gallery-nav {
        display: none;
    }

    .gallery-container {
        padding: var(--space-4);
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .gallery-container::-webkit-scrollbar {
        display: none;
    }

    .mockup-item {
        min-width: 160px;
    }
}

/* Remove old carousel styles */

/* Clean up old styles */

/* Clean up old navigation styles */

/* Legacy docs-showcase styles for backward compatibility */
.docs-showcase {
    background: white;
    border-radius: var(--border-radius-2xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    display: grid;
    grid-template-columns: 300px 1fr;
    min-height: 600px;
}

.docs-sidebar {
    background: var(--gray-50);
    border-right: 1px solid var(--gray-200);
    padding: var(--space-6);
}

.sidebar-header {
    margin-bottom: var(--space-6);
}

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    left: var(--space-3);
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.search-box input {
    width: 100%;
    padding: var(--space-3) var(--space-10);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-sm);
    background: white;
    transition: var(--transition-fast);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.sidebar-nav {
    space-y: var(--space-6);
}

.nav-section {
    margin-bottom: var(--space-6);
}

.nav-section h5 {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-section ul {
    list-style: none;
}

.nav-section li {
    margin-bottom: var(--space-1);
}

.nav-section a {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    color: var(--gray-600);
    text-decoration: none;
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-sm);
    transition: var(--transition-fast);
}

.nav-section a:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.nav-section a.active {
    background: var(--primary-50);
    color: var(--primary-600);
    font-weight: 500;
}

.nav-section a i {
    font-size: var(--font-size-xs);
    width: 14px;
}

.docs-content {
    padding: var(--space-8);
    overflow-y: auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-8);
    font-size: var(--font-size-sm);
}

.breadcrumb a {
    color: var(--gray-600);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-600);
}

.breadcrumb i {
    color: var(--gray-400);
    font-size: var(--font-size-xs);
}

.breadcrumb span {
    color: var(--gray-900);
    font-weight: 500;
}

.docs-page h1 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.docs-page .lead {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    margin-bottom: var(--space-8);
    line-height: 1.6;
}

.table-of-contents {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-8);
}

.table-of-contents h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.table-of-contents ul {
    list-style: none;
}

.table-of-contents li {
    margin-bottom: var(--space-2);
}

.table-of-contents a {
    color: var(--gray-600);
    text-decoration: none;
    transition: var(--transition-fast);
}

.table-of-contents a:hover {
    color: var(--primary-600);
}

.docs-page h2 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--gray-900);
    margin: var(--space-10) 0 var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--gray-200);
}

.docs-page p {
    color: var(--gray-600);
    margin-bottom: var(--space-4);
    line-height: 1.7;
}

.docs-page ul {
    color: var(--gray-600);
    margin-bottom: var(--space-4);
    padding-left: var(--space-6);
}

.docs-page li {
    margin-bottom: var(--space-2);
}

.code-block {
    background: var(--gray-900);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin: var(--space-6) 0;
    box-shadow: var(--shadow-lg);
}

.code-header {
    background: var(--gray-800);
    padding: var(--space-3) var(--space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--gray-700);
}

.code-lang {
    color: var(--gray-400);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--gray-700);
    color: var(--gray-300);
    border: none;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.copy-btn:hover {
    background: var(--gray-600);
}

.code-block pre {
    padding: var(--space-4);
    margin: 0;
    overflow-x: auto;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

.code-block code {
    color: var(--gray-300);
}

.callout {
    padding: var(--space-4);
    border-radius: var(--border-radius-lg);
    margin: var(--space-6) 0;
    display: flex;
    gap: var(--space-3);
}

.callout-info {
    background: var(--primary-50);
    border: 1px solid var(--primary-200);
}

.callout-warning {
    background: #fef3c7;
    border: 1px solid #fcd34d;
}

.callout-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.callout-info .callout-icon {
    color: var(--primary-600);
}

.callout-warning .callout-icon {
    color: var(--warning);
}

.callout-content {
    color: var(--gray-700);
    line-height: 1.6;
}

.callout-content strong {
    color: var(--gray-900);
}

.callout-content code {
    background: rgba(0, 0, 0, 0.1);
    padding: 2px var(--space-1);
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-sm);
}

.next-steps {
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid var(--gray-200);
}

.next-steps h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-6);
}

.step-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
}

.step-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-xl);
    padding: var(--space-6);
    text-align: center;
    transition: var(--transition-base);
}

.step-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.step-card i {
    font-size: var(--font-size-3xl);
    color: var(--primary-600);
    margin-bottom: var(--space-4);
}

.step-card h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.step-card p {
    color: var(--gray-600);
    margin-bottom: var(--space-4);
    font-size: var(--font-size-sm);
}

.step-card a {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-size-sm);
}

/* Pricing Section */
.pricing {
    padding: var(--space-20) 0;
    background: white;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

.toggle-label {
    font-weight: 500;
    color: var(--gray-700);
}

.discount {
    background: var(--primary-100);
    color: var(--primary-700);
    padding: 2px var(--space-2);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gray-300);
    transition: var(--transition-base);
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background: white;
    transition: var(--transition-base);
    border-radius: 50%;
}

.toggle input:checked + .toggle-slider {
    background: var(--primary-600);
}

.toggle input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.pricing-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: var(--space-6);
    max-width: 1200px;
    margin: 0 auto;
    /* overflow-x: auto; */
    padding: 0 var(--space-4);
}

.pricing-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-2xl);
    padding: var(--space-6);
    position: relative;
    transition: var(--transition-base);
    min-width: 280px;
    flex: 1;
    max-width: 320px;
}

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

.pricing-card.featured {
    border-color: var(--primary-500);
    transform: scale(1.08);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow:
        0 20px 40px rgba(59, 130, 246, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.1);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-600);
    color: white;
    padding: var(--space-2) var(--space-4);
    border-radius: 50px;
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--space-6);
}

.pricing-header h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: var(--space-4) 0;
}

.currency {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-600);
}

.amount {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    color: var(--gray-900);
}

.period {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
}

.pricing-header p {
    color: var(--gray-600);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-6);
    min-height: 200px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

.pricing-features i {
    color: var(--success);
    flex-shrink: 0;
}

/* Contact Section */
.contact {
    padding: var(--space-20) 0;
    background: var(--gray-50);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.contact-info h2 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.contact-info p {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    margin-bottom: var(--space-8);
    line-height: 1.6;
}

.contact-methods {
    margin-bottom: var(--space-12);
}

.contact-method {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-100);
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    flex-shrink: 0;
}

.method-content h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-1);
}

.method-content p {
    color: var(--gray-700);
    font-weight: 500;
    margin-bottom: var(--space-1);
}

.method-content span {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

.social-proof p {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-3);
}

.company-logos {
    display: flex;
    gap: var(--space-4);
}

.company-logo {
    color: var(--gray-400);
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.contact-form {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--border-radius-3xl);
    padding: var(--space-10);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.1),
        0 10px 20px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.03) 0%,
        rgba(147, 51, 234, 0.03) 50%,
        rgba(34, 197, 94, 0.03) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.contact-form > * {
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: var(--space-6);
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--space-3);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.form-group label::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-400));
    border-radius: 1px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-group:focus-within label::after {
    opacity: 1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-4) var(--space-4);
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-xl);
    font-size: var(--font-size-base);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    font-weight: 500;
    color: var(--gray-800);
    position: relative;
    z-index: 1;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
    font-weight: 400;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--primary-300);
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    background: white;
    transform: translateY(-2px);
    box-shadow:
        0 0 0 4px rgba(59, 130, 246, 0.1),
        0 8px 25px rgba(59, 130, 246, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

/* Enhanced Submit Button */
.contact-form .btn {
    width: 100%;
    padding: var(--space-4) var(--space-6);
    font-size: var(--font-size-lg);
    font-weight: 600;
    border-radius: var(--border-radius-xl);
    background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 20px rgba(59, 130, 246, 0.3),
        0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.contact-form .btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 30px rgba(59, 130, 246, 0.4),
        0 6px 15px rgba(0, 0, 0, 0.15);
}

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

.contact-form .btn:active {
    transform: translateY(0);
    box-shadow:
        0 4px 15px rgba(59, 130, 246, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Form validation styles */
.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: var(--success);
    background: rgba(16, 185, 129, 0.05);
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--error);
    background: rgba(239, 68, 68, 0.05);
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* Select dropdown enhancement */
.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: var(--space-10);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-4);
}

.footer-logo i {
    color: var(--primary-400);
}

.footer-section p {
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: var(--space-6);
}

.social-links {
    display: flex;
    gap: var(--space-4);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    color: var(--gray-400);
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-600);
    color: white;
}

.footer-section h4 {
    color: white;
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--space-2);
}

.footer-section a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid var(--gray-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: var(--space-6);
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: var(--transition-fast);
}

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

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
}

.search-modal.active {
    display: flex;
}

.search-modal-content {
    background: white;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 600px;
    margin: 0 var(--space-4);
    overflow: hidden;
}

.search-input-container {
    display: flex;
    align-items: center;
    padding: var(--space-4);
    border-bottom: 1px solid var(--gray-200);
}

.search-input-container i {
    color: var(--gray-400);
    margin-right: var(--space-3);
}

.search-input-container input {
    flex: 1;
    border: none;
    outline: none;
    font-size: var(--font-size-lg);
    color: var(--gray-900);
}

.search-close {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: var(--space-2);
    border-radius: var(--border-radius-md);
    transition: var(--transition-fast);
}

.search-close:hover {
    background: var(--gray-100);
}

.search-results {
    padding: var(--space-4);
    max-height: 400px;
    overflow-y: auto;
}

.search-shortcuts {
    text-align: center;
    color: var(--gray-600);
}

.shortcut-group h4 {
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.shortcut {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin: 0 var(--space-3);
    font-size: var(--font-size-sm);
}

.shortcut span:first-child {
    background: var(--gray-100);
    padding: 2px var(--space-2);
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    font-size: var(--font-size-xs);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .rnlab-screenshot-gallery {
        padding: 0 var(--space-4);
    }

    .screenshots-preview {
        padding: var(--space-16) 0;
    }

    .phone-mockup {
        width: 280px;
        height: 570px;
        transform: none;
    }

    .phone-mockup:hover {
        transform: scale(1.02);
    }

    .phone-mockup-small {
        width: 170px;
        height: 340px;
    }

    .docs-showcase {
        grid-template-columns: 1fr;
    }

    .docs-sidebar {
        display: none;
    }

    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        min-width: auto;
        max-width: 400px;
        width: 100%;
    }

    .pricing-card.featured {
        transform: none;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .contact-form {
        padding: var(--space-8);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
    }

    .floating-cards {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 var(--space-4);
    }

    .hero {
        padding: 100px var(--space-4) var(--space-12);
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .container {
        padding: 0 var(--space-4);
    }

    .section-header h2 {
        font-size: var(--font-size-3xl);
    }

    .code-window {
        font-size: var(--font-size-xs);
    }
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
    .feature-card,
    .pricing-card,
    .step-card {
        animation: fadeInUp 0.6s ease-out;
    }

    .feature-card:nth-child(2) {
        animation-delay: 0.1s;
    }

    .feature-card:nth-child(3) {
        animation-delay: 0.2s;
    }

    .feature-card:nth-child(4) {
        animation-delay: 0.3s;
    }

    .feature-card:nth-child(5) {
        animation-delay: 0.4s;
    }

    .feature-card:nth-child(6) {
        animation-delay: 0.5s;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles would go here */
}

/* Print styles */
@media print {
    .navbar,
    .hero,
    .footer,
    .search-modal {
        display: none !important;
    }

    .docs-content {
        padding: 0;
    }

    * {
        background: white !important;
        color: black !important;
    }
}