/* ===== CSS RESET & BASE STYLES ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-charcoal: #121212;
    --color-gray-50: #F9FAFB;
    --color-gray-100: #F3F4F6;
    --color-gray-200: #E5E7EB;
    --color-gray-300: #D1D5DB;
    --color-gray-400: #9CA3AF;
    --color-gray-500: #6B7280;
    --color-gray-600: #4B5563;
    --color-gray-700: #374151;
    --color-gray-800: #1F2937;
    --color-gray-900: #111827;

    --color-primary: #2563EB;
    --color-primary-dark: #1D4ED8;
    --color-primary-light: #3B82F6;

    --color-accent: #8B5CF6;
    --color-accent-dark: #7C3AED;
    --color-accent-light: #A78BFA;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;

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

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray-900);
    background-color: var(--color-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

ul {
    list-style: none;
}

/* ===== ACCESSIBILITY ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 8px 16px;
    z-index: 10000;
    text-decoration: none;
    font-weight: 500;
    border-radius: 0 0 var(--radius-md) 0;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

/* ===== UTILITY CLASSES ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: clamp(1.5rem, 5vw, 4rem);
    padding-right: clamp(1.5rem, 5vw, 4rem);
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-family: var(--font-family);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-md {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.5);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-gray-900);
    border: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--color-gray-50);
    border-color: var(--color-gray-300);
    transform: translateY(-2px);
}

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

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

.btn-outline-white {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-slow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gray-900);
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-gray-600);
    transition: color var(--transition-base);
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-gray-900);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-bottom: 1px solid var(--color-gray-200);
    z-index: 999;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all var(--transition-base);
}

.mobile-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.mobile-nav-links a {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-gray-700);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px clamp(1.5rem, 5vw, 4rem) 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.15), transparent),
                radial-gradient(ellipse 60% 50% at 100% 50%, rgba(139, 92, 246, 0.12), transparent);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, var(--color-gray-200) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.5;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: var(--spacing-4xl);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.1));
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: var(--spacing-lg);
}

.badge-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-gray-900);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gray-900);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-gray-200);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    perspective: 1000px;
}

.phone-frame {
    position: relative;
    width: 280px;
    height: 580px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.3),
        0 30px 60px -30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.phone-frame:hover {
    transform: rotateY(0) rotateX(0);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--color-gray-100);
    border-radius: 32px;
    overflow: hidden;
}

.app-preview {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

.preview-before,
.preview-after {
    position: absolute;
    inset: 0;
}

.preview-before {
    z-index: 1;
}

.preview-after {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

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

.room-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.before-room {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.after-room {
    background: linear-gradient(135deg, #2563EB 0%, #8B5CF6 100%);
}

.room-icon {
    font-size: 3rem;
}

.room-placeholder span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray-600);
}

.after-room span {
    color: var(--color-white);
}

.preview-slider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--color-white);
    z-index: 3;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.preview-slider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: var(--color-white);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.phone-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.2), transparent 70%);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-3xl);
}

.section-tag {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-gray-900);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray-500);
    line-height: 1.7;
}

/* ===== DEMO SECTION ===== */
.demo-section {
    padding: var(--spacing-4xl) 0;
    background: var(--color-gray-50);
}

.demo-container {
    max-width: 900px;
    margin: 0 auto;
}

.demo-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    cursor: ew-resize;
    user-select: none;
}

.demo-image {
    position: absolute;
    inset: 0;
}

.demo-before {
    z-index: 1;
}

.demo-after {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
    transition: clip-path 0.05s ease-out;
}

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

.demo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.before-state {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
}

.after-state {
    background: linear-gradient(135deg, #2563EB 0%, #8B5CF6 100%);
}

.placeholder-content {
    text-align: center;
    color: var(--color-white);
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
}

.placeholder-text {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.placeholder-desc {
    font-size: 1rem;
    opacity: 0.8;
}

.demo-label {
    position: absolute;
    bottom: var(--spacing-lg);
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.demo-before .demo-label {
    right: var(--spacing-lg);
}

.demo-after .demo-label {
    left: var(--spacing-lg);
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.handle-line {
    flex: 1;
    width: 4px;
    background: var(--color-white);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.handle-circle {
    width: 48px;
    height: 48px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    color: var(--color-gray-600);
    flex-shrink: 0;
}

.handle-circle svg {
    width: 24px;
    height: 24px;
}

.demo-caption {
    text-align: center;
    margin-top: var(--spacing-lg);
    font-size: 0.9375rem;
    color: var(--color-gray-500);
    font-weight: 500;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: var(--spacing-4xl) 0;
}

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

.feature-card {
    padding: var(--spacing-xl);
    background: var(--color-white);
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-slow);
}

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

.feature-icon {
    margin-bottom: var(--spacing-lg);
}

.feature-icon svg {
    width: 48px;
    height: 48px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    font-size: 0.9375rem;
    color: var(--color-gray-500);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.feature-list li {
    padding: 0.25rem 0.75rem;
    background: var(--color-gray-100);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    color: var(--color-gray-600);
    font-weight: 500;
}

/* ===== TECH SECTION ===== */
.tech-section {
    position: relative;
    padding: var(--spacing-4xl) 0;
    background: var(--color-charcoal);
    overflow: hidden;
}

.tech-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.mesh-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 80% at 20% 20%, rgba(37, 99, 235, 0.3), transparent),
                radial-gradient(ellipse 60% 60% at 80% 80%, rgba(139, 92, 246, 0.25), transparent);
}

.floating-nodes {
    position: absolute;
    inset: 0;
}

.node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.node-1 { top: 20%; left: 10%; animation-delay: 0s; }
.node-2 { top: 60%; left: 20%; animation-delay: 1s; }
.node-3 { top: 30%; left: 70%; animation-delay: 2s; }
.node-4 { top: 70%; left: 80%; animation-delay: 3s; }
.node-5 { top: 50%; left: 50%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-20px) scale(1.5); opacity: 0.6; }
}

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

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-xl);
}

.gemini-icon {
    width: 24px;
    height: 24px;
}

.tech-badge span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-white);
}

.tech-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
}

.tech-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: var(--spacing-2xl);
}

.tech-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-3xl);
}

.tech-stat {
    display: flex;
    flex-direction: column;
}

.tech-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.tech-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    padding: var(--spacing-4xl) 0;
    background: var(--color-gray-50);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform var(--transition-slow);
}

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

.gallery-item-tall {
    grid-row: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: var(--spacing-lg);
    color: var(--color-white);
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ===== PRICING SECTION ===== */
.pricing-section {
    padding: var(--spacing-4xl) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    padding: var(--spacing-2xl);
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-slow);
}

.pricing-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-xl);
}

.pricing-card-featured {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px var(--color-primary), var(--shadow-xl);
}

.pricing-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0.375rem 1rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    text-align: center;
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--color-gray-100);
    margin-bottom: var(--spacing-xl);
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: var(--spacing-sm);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-gray-900);
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: var(--color-gray-500);
}

.pricing-description {
    font-size: 0.9375rem;
    color: var(--color-gray-500);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.9375rem;
    color: var(--color-gray-600);
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    flex-shrink: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
    padding: var(--spacing-4xl) 0;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1e40af 50%, var(--color-accent-dark) 100%);
}

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

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
}

.cta-title .gradient-text {
    background: linear-gradient(135deg, #93c5fd 0%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-2xl);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-gray-900);
    color: var(--color-gray-400);
    padding: var(--spacing-4xl) 0 var(--spacing-xl);
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-4xl);
    padding-bottom: var(--spacing-3xl);
    border-bottom: 1px solid var(--color-gray-800);
}

.footer-brand .logo {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--color-gray-500);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-column a {
    font-size: 0.9375rem;
    color: var(--color-gray-400);
    transition: color var(--transition-base);
}

.footer-column a:hover {
    color: var(--color-white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--spacing-xl);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-800);
    border-radius: var(--radius-lg);
    color: var(--color-gray-400);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    margin-left: var(--spacing-xl);
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    margin-left: var(--spacing-xl);
    max-width: 400px;
    line-height: 1.5;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

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

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

    .hero-visual {
        margin-top: var(--spacing-2xl);
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

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

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

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-subtitle br {
        display: none;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--spacing-lg);
    }

    .stat-divider {
        display: none;
    }

    .phone-frame {
        width: 240px;
        height: 500px;
    }

    .demo-slider {
        aspect-ratio: 4/3;
    }

    .tech-stats {
        flex-wrap: wrap;
        gap: var(--spacing-xl);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .gallery-item-tall,
    .gallery-item-wide {
        grid-row: span 1;
        grid-column: span 1;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

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

    .footer-copyright,
    .footer-disclaimer {
        margin-left: 0;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

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

.hero-badge,
.hero-title,
.hero-subtitle,
.hero-cta,
.hero-stats {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-badge { animation-delay: 0s; }
.hero-title { animation-delay: 0.1s; }
.hero-subtitle { animation-delay: 0.2s; }
.hero-cta { animation-delay: 0.3s; }
.hero-stats { animation-delay: 0.4s; }

/* Smooth scroll margin for fixed header */
section[id] {
    scroll-margin-top: 80px;
}

/* ===== DARK MODE ===== */
@media (prefers-color-scheme: dark) {
    :root {
        --color-white: #0a0a0a;
        --color-black: #FFFFFF;
        --color-charcoal: #FFFFFF;
        --color-gray-50: #111827;
        --color-gray-100: #1F2937;
        --color-gray-200: #374151;
        --color-gray-300: #4B5563;
        --color-gray-400: #6B7280;
        --color-gray-500: #9CA3AF;
        --color-gray-600: #D1D5DB;
        --color-gray-700: #E5E7EB;
        --color-gray-800: #F3F4F6;
        --color-gray-900: #F9FAFB;

        --color-primary: #3B82F6;
        --color-primary-dark: #2563EB;
        --color-primary-light: #60A5FA;

        --color-accent: #A78BFA;
        --color-accent-dark: #8B5CF6;
        --color-accent-light: #C4B5FD;

        --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
        --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
        --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    }

    body {
        background-color: #0a0a0a;
        color: #F9FAFB;
    }

    /* Navbar dark mode */
    .navbar {
        background: rgba(10, 10, 10, 0.9);
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }

    .logo {
        color: #F9FAFB;
    }

    .mobile-menu-btn span {
        background: #F9FAFB;
    }

    .mobile-menu {
        background: #111827;
        border-bottom-color: #374151;
    }

    /* Hero dark mode */
    .hero-gradient {
        background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.2), transparent),
                    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(139, 92, 246, 0.15), transparent);
    }

    .hero-pattern {
        background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
    }

    .hero-badge {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
        border-color: rgba(59, 130, 246, 0.3);
    }

    /* Buttons dark mode */
    .btn-primary {
        box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.3);
    }

    .btn-primary:hover {
        box-shadow: 0 6px 20px 0 rgba(59, 130, 246, 0.4);
    }

    .btn-secondary {
        background: #1F2937;
        color: #F9FAFB;
        border-color: #374151;
    }

    .btn-secondary:hover {
        background: #374151;
        border-color: #4B5563;
    }

    /* Phone mockup dark mode */
    .phone-frame {
        box-shadow:
            0 50px 100px -20px rgba(0, 0, 0, 0.5),
            0 30px 60px -30px rgba(0, 0, 0, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .phone-screen {
        background: #1F2937;
    }

    .before-room {
        background: linear-gradient(135deg, #374151 0%, #1F2937 100%);
    }

    .room-placeholder span {
        color: #9CA3AF;
    }

    /* Demo section dark mode */
    .demo-section {
        background: #111827;
    }

    .before-state {
        background: linear-gradient(135deg, #374151 0%, #1F2937 100%);
    }

    /* Features dark mode */
    .feature-card {
        background: #111827;
        border-color: #1F2937;
    }

    .feature-card:hover {
        border-color: transparent;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
    }

    /* Gallery dark mode */
    .gallery-section {
        background: #111827;
    }

    /* Pricing dark mode */
    .pricing-card {
        background: #111827;
        border-color: #374151;
    }

    .pricing-card:hover {
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
    }

    .pricing-card-featured {
        border-color: var(--color-primary);
        box-shadow: 0 0 0 1px var(--color-primary), 0 20px 25px -5px rgba(0, 0, 0, 0.4);
    }

    .pricing-header {
        border-bottom-color: #374151;
    }

    /* CTA dark mode */
    .btn-white {
        background: #F9FAFB;
        color: #111827;
    }

    .btn-outline-white {
        border-color: rgba(255, 255, 255, 0.3);
    }

    .btn-outline-white:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.5);
    }

    /* Footer dark mode */
    .footer {
        background: #050505;
    }

    .footer-brand .logo {
        color: #F9FAFB;
    }

    .footer-tagline {
        color: #9CA3AF;
    }

    .footer-column h4 {
        color: #F9FAFB;
    }

    .footer-column a {
        color: #9CA3AF;
    }

    .footer-column a:hover {
        color: #F9FAFB;
    }

    .social-link {
        background: #1F2937;
    }

    .social-link:hover {
        background: var(--color-primary);
    }

    /* Tech section dark mode - keep dark background with light text */
    .tech-section {
        background: #121212;
    }

    .tech-title {
        color: #FFFFFF;
    }

    .tech-description {
        color: rgba(255, 255, 255, 0.7);
    }

    .tech-stat-number {
        color: #FFFFFF;
    }

    .tech-stat-label {
        color: rgba(255, 255, 255, 0.5);
    }
}
