/* ============================================
   CSS Reset & Base Styles
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Space & Galaxy Color Palette */
    --primary-color: #60a5fa;
    --primary-dark: #3b82f6;
    --primary-light: #93c5fd;
    
    /* SeqX Theme Colors (from actual project) */
    --seqx-bg: #050910;
    --seqx-surface: #0d141f;
    --seqx-panel: #111a28;
    --seqx-accent: #4ade80;
    --seqx-accent-secondary: #60a5fa;
    --seqx-gradient-dark: linear-gradient(135deg, #1c2437 0%, #27395a 100%);
    --seqx-table-gradient: linear-gradient(135deg, #08230f 0%, #0d5322 50%, #051509 100%);
    
    /* PracticePay Theme Colors (from actual project) */
    --practicepay-primary: #0277bd;
    --practicepay-secondary: #2e7d32;
    --practicepay-accent: #28a745;
    --practicepay-gradient: linear-gradient(135deg, #0277bd 0%, #2e7d32 100%);
    
    /* Galaxy Theme Colors */
    --space-black: #000000;
    --space-dark: #0a0e27;
    --space-blue: #1e3a8a;
    --space-purple: #6b21a8;
    --nebula-pink: #ec4899;
    --nebula-purple: #a855f7;
    --star-white: #ffffff;
    --star-blue: #60a5fa;
    --star-gold: #fbbf24;
    
    --secondary-color: #6c757d;
    --accent-color: #ec4899;
    --dark-bg: #0a0e27;
    --dark-section: #151933;
    --light-bg: #1a1f3a;
    --white: #ffffff;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-light: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-seqx: var(--seqx-gradient-dark);
    --gradient-practicepay: var(--practicepay-gradient);
    --gradient-space: linear-gradient(135deg, #1e3a8a 0%, #6b21a8 50%, #ec4899 100%);
    --gradient-nebula: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #f59e0b 100%);
    --gradient-dark: linear-gradient(135deg, #0a0e27 0%, #151933 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: #000000;
    background-image: 
        radial-gradient(ellipse at top, rgba(30, 58, 138, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at bottom, rgba(107, 33, 168, 0.3) 0%, transparent 60%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 10% 20%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1px 1px at 30% 40%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 50% 10%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 70% 60%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 90% 30%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1px 1px at 20% 80%, rgba(96, 165, 250, 0.6), transparent),
        radial-gradient(1px 1px at 80% 90%, rgba(251, 191, 36, 0.6), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(168, 85, 247, 0.5), transparent),
        radial-gradient(1px 1px at 60% 85%, rgba(236, 72, 153, 0.5), transparent);
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #60a5fa, #a855f7);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(96, 165, 250, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3b82f6, #9333ea);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(96, 165, 250, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, #000814 0%, #001d3d 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: var(--transition-base);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    position: relative;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 60px 70px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 50px 50px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(2px 2px at 90px 10px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 160px 60px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 200px 20px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 250px 70px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 300px 40px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1px 1px at 180px 10px, rgba(255, 215, 0, 0.6), transparent),
        radial-gradient(1px 1px at 270px 25px, rgba(96, 165, 250, 0.6), transparent);
    background-repeat: repeat-x;
    background-size: 350px 100%;
    animation: starfield 120s linear infinite;
    opacity: 0.6;
    pointer-events: none;
}

@keyframes starfield {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 350px 0;
    }
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
    background: linear-gradient(180deg, #000000 0%, #001233 100%);
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.navbar.scrolled::before {
    opacity: 0.8;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 60px;
    width: auto;
    transition: var(--transition-base);
    filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.5));
}

.logo-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(96, 165, 250, 0.7));
}

/* Hide logo text when image loads successfully */
.logo-image:not([src=""]):not([src*="default"]) ~ h1 {
    display: none;
}

/* Show text-only logo if image fails to load */
.logo-image[src=""],
.logo-image:not([src]) {
    display: none;
}

.logo h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #e0e0e0;
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
}

.logo .labs-text {
    background: linear-gradient(135deg, #60a5fa 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: #e0e0e0;
    position: relative;
    transition: var(--transition-base);
}

.nav-link:hover {
    color: #ffd700;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #60a5fa 0%, #ffd700 100%);
    transition: var(--transition-base);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #e0e0e0;
    border-radius: 2px;
    transition: var(--transition-base);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(ellipse at center, #1e3a8a 0%, #0a0e27 50%, #000000 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 800px 600px at 20% 40%, rgba(168, 85, 247, 0.15), transparent),
        radial-gradient(ellipse 600px 800px at 80% 60%, rgba(236, 72, 153, 0.12), transparent),
        radial-gradient(ellipse 500px 500px at 50% 80%, rgba(96, 165, 250, 0.1), transparent);
    animation: nebulaPulse 15s ease-in-out infinite;
    pointer-events: none;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(96, 165, 250, 0.2), transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(168, 85, 247, 0.15), transparent 50%);
    opacity: 0.9;
    animation: cosmicDrift 20s ease-in-out infinite alternate;
}

@keyframes cosmicDrift {
    0% { transform: translateX(-2%) translateY(-2%); }
    100% { transform: translateX(2%) translateY(2%); }
}

.hero-divider {
    position: absolute;
    left: 50%;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(74, 222, 128, 0.6) 20%, 
        rgba(40, 167, 69, 0.6) 80%, 
        transparent 100%);
    transform: translateX(-50%);
    z-index: 1;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.5);
}

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

.hero-title {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
}

.animate-fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 1s ease 0.6s forwards;
}

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

/* ============================================
   Section Styles
   ============================================ */

section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    color: var(--text-primary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #60a5fa, #a855f7, #ec4899);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 1.5rem auto 0;
}

/* ============================================
   About Section
   ============================================ */

.about-section {
    background: radial-gradient(ellipse at top, rgba(30, 58, 138, 0.2) 0%, transparent 70%), #0a0e27;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at left, rgba(96, 165, 250, 0.08), transparent 70%);
}

.about-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at right, rgba(168, 85, 247, 0.08), transparent 70%);
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(30, 58, 138, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
    overflow: visible;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(96, 165, 250, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    border-color: rgba(96, 165, 250, 0.4);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: inline-block;
    padding: 0.2rem 0.5rem;
    min-height: 4rem;
    filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.3));
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

/* ============================================
   Products Section
   ============================================ */

.products-section {
    background: #000000;
    background-image: radial-gradient(ellipse at center, rgba(107, 33, 168, 0.2) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(96, 165, 250, 0.5), rgba(168, 85, 247, 0.5), transparent);
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    position: relative;
}

.product-card {
    background: rgba(30, 58, 138, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
    border: 1px solid rgba(96, 165, 250, 0.2);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-space);
    transition: var(--transition-base);
}

.product-card:first-child::before {
    background: linear-gradient(90deg, #1c2437, #27395a, #4ade80);
}

.product-card:last-child::before {
    background: linear-gradient(90deg, #0277bd, #28a745, #2e7d32);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 48px rgba(96, 165, 250, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    border-color: rgba(96, 165, 250, 0.4);
}

.product-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.product-card:first-child .product-icon {
    background: var(--gradient-seqx);
}

.product-card:last-child .product-icon {
    background: var(--gradient-practicepay);
}

.product-icon svg {
    width: 35px;
    height: 35px;
    color: var(--white);
}

.product-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.product-features {
    margin-bottom: 2rem;
}

.product-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(96, 165, 250, 0.1);
    position: relative;
    padding-left: 1.5rem;
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #60a5fa;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

/* ============================================
   Features Section
   ============================================ */

.features-section {
    background: radial-gradient(ellipse at bottom, rgba(168, 85, 247, 0.2) 0%, transparent 70%), #0a0e27;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(236, 72, 153, 0.4), rgba(168, 85, 247, 0.4), transparent);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: rgba(30, 58, 138, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    border-color: rgba(168, 85, 247, 0.4);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-item:nth-child(odd) .feature-icon {
    background: var(--gradient-seqx);
}

.feature-item:nth-child(even) .feature-icon {
    background: var(--gradient-practicepay);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    color: var(--white);
}

.feature-item h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   Contact Section
   ============================================ */

.contact-section {
    background: #000000;
    background-image: radial-gradient(ellipse at top, rgba(30, 58, 138, 0.3) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at left, rgba(96, 165, 250, 0.05), transparent 70%);
}

.contact-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at right, rgba(168, 85, 247, 0.05), transparent 70%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    padding: 2rem;
    background: rgba(30, 58, 138, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition-base);
}

.contact-info-item:hover {
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 8px 30px rgba(96, 165, 250, 0.2);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-seqx);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact-info-item:nth-child(even) .contact-icon {
    background: var(--gradient-practicepay);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.contact-info-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-info-item p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-form-wrapper {
    background: rgba(30, 58, 138, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid rgba(96, 165, 250, 0.2);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-base);
    background: rgba(10, 14, 39, 0.5);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
    background: rgba(10, 14, 39, 0.7);
}

.form-group textarea {
    resize: vertical;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: linear-gradient(180deg, #0a0e27 0%, #000000 100%);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
    border-top: 1px solid rgba(96, 165, 250, 0.2);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.5), rgba(168, 85, 247, 0.5), transparent);
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-base);
}

.footer-section ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: linear-gradient(180deg, #000814 0%, #001d3d 100%);
        width: 100%;
        padding: 2rem;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
        transition: var(--transition-base);
        border-top: 1px solid rgba(255, 215, 0, 0.2);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Remove split theme effects on mobile */
    .hero {
        background: #1a1f3a !important;
    }
    
    .products-section::before,
    .features-section::before,
    .hero-divider {
        display: none;
    }
    
    .products-section,
    .features-section {
        background: var(--white) !important;
    }
    
    .about-section::before,
    .about-section::after,
    .contact-section::before,
    .contact-section::after {
        display: none;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        padding: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 12px 24px;
    }
}
