/* ============================================
   216-16 METAL - Space Resource Intelligence
   ============================================ */

:root {
    /* Colors - Dark Blue Theme */
    --primary: #1e3a8a;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a5f;
    --accent: #22d3ee;
    --accent-secondary: #60a5fa;
    --success: #10b981;
    --warning: #f59e0b;
    
    /* Dark Theme */
    --bg-dark: #030712;
    --bg-card: #0f172a;
    --bg-card-hover: #1e293b;
    --bg-surface: rgba(15, 23, 42, 0.8);
    
    /* Text */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Gradients - Dark Blue */
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    --gradient-accent: linear-gradient(135deg, #22d3ee 0%, #1e3a8a 100%);
    --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(30, 58, 138, 0.15) 0%, transparent 50%);
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;
    
    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Effects */
    --glow: 0 0 40px rgba(30, 58, 138, 0.3);
    --glow-accent: 0 0 40px rgba(34, 211, 238, 0.3);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Starfield Animation */
.stars, .stars2, .stars3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.stars {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.8"/></svg>') repeat;
    background-size: 100px 100px;
    animation: animateStars 100s linear infinite;
}

.stars2 {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="30" cy="70" r="0.8" fill="white" opacity="0.6"/></svg>') repeat;
    background-size: 150px 150px;
    animation: animateStars 150s linear infinite;
}

.stars3 {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="70" cy="30" r="0.5" fill="white" opacity="0.4"/></svg>') repeat;
    background-size: 200px 200px;
    animation: animateStars 200s linear infinite;
}

@keyframes animateStars {
    from { transform: translateY(0); }
    to { transform: translateY(-100%); }
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.logo-216 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-metal {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-light);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-cta {
    background: var(--gradient-primary);
    padding: 10px 20px !important;
    border-radius: 8px;
    color: white !important;
}

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

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 120px 24px 80px;
    max-width: var(--container-max);
    margin: 0 auto;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 100%;
    background: var(--gradient-hero);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(30, 58, 138, 0.1);
    border: 1px solid rgba(30, 58, 138, 0.3);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.hero h1 {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.hero-logo-216 {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-logo-metal {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--primary-light);
    letter-spacing: 8px;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(30, 58, 138, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.btn-full {
    width: 100%;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

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

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Hero Visual - Asteroid */
.hero-visual {
    position: relative;
    z-index: 1;
}

.asteroid-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 500px;
    margin: 0 auto;
}

.asteroid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    aspect-ratio: 1;
    background: 
        radial-gradient(ellipse at 30% 30%, #4a5568 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, #2d3748 0%, transparent 40%),
        radial-gradient(ellipse at 50% 80%, #1a202c 0%, transparent 50%),
        linear-gradient(135deg, #374151 0%, #1f2937 50%, #111827 100%);
    border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
    box-shadow: 
        inset -20px -20px 60px rgba(0, 0, 0, 0.5),
        inset 10px 10px 40px rgba(255, 255, 255, 0.05),
        0 0 100px rgba(30, 58, 138, 0.2);
    animation: float 6s ease-in-out infinite;
}

.asteroid::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 0%, transparent 30%),
        radial-gradient(circle at 60% 40%, rgba(0,0,0,0.3) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(0,0,0,0.4) 0%, transparent 15%),
        radial-gradient(circle at 35% 65%, rgba(0,0,0,0.3) 0%, transparent 12%);
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-50%, -53%) rotate(2deg); }
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: scan 3s ease-in-out infinite;
    opacity: 0.8;
}

@keyframes scan {
    0%, 100% { top: 10%; opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { top: 90%; opacity: 0; }
}

.data-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.data-point {
    position: absolute;
    left: var(--x);
    top: var(--y);
    animation: pulse 2s ease-in-out infinite;
}

.data-point::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent);
}

.data-label {
    position: absolute;
    left: 20px;
    top: -4px;
    background: rgba(15, 23, 42, 0.9);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: monospace;
    color: var(--accent);
    white-space: nowrap;
    border: 1px solid rgba(34, 211, 238, 0.3);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Sections Common */
.section {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-block;
    background: rgba(30, 58, 138, 0.1);
    border: 1px solid rgba(30, 58, 138, 0.3);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

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

.highlight {
    color: var(--primary-light);
}

/* Problem Section */
.problem-section {
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.5) 50%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.problem-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0.15;
}

.problem-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.problem-section .container {
    position: relative;
    z-index: 1;
}

.problem-grid {
    display: grid;
    gap: 48px;
}

.problem-main {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.problem-main .lead {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.problem-main p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.highlight-box {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 4px 12px;
    border-radius: 6px;
    color: #f87171;
    font-weight: 600;
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.problem-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
}

.problem-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.problem-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.problem-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Solution Section */
.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.platform-mockup {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--glow);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:nth-child(3) { background: #10b981; }

.mockup-title {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.mockup-content {
    display: grid;
    grid-template-columns: 150px 1fr;
}

.mockup-sidebar {
    background: rgba(0, 0, 0, 0.2);
    padding: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-item {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.sidebar-item.active {
    background: var(--primary);
    color: white;
}

.mockup-main {
    padding: 24px;
}

.chart-container {
    height: 150px;
    margin-bottom: 20px;
    position: relative;
}

.spectral-chart {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        #ef4444 0%, #f97316 15%, #eab308 30%, #22c55e 50%, 
        #06b6d4 70%, #3b82f6 85%, #1e3a8a 100%);
    border-radius: 8px;
    opacity: 0.8;
    position: relative;
}

.spectral-chart::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 10px,
        rgba(0,0,0,0.3) 10px,
        rgba(0,0,0,0.3) 11px
    );
}

.metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.metric {
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.metric-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s;
}

.feature:hover {
    background: var(--bg-card-hover);
    border-color: rgba(30, 58, 138, 0.3);
}

.feature-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 58, 138, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.feature-content h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.solution-quote {
    margin-top: 64px;
    text-align: center;
}

.solution-quote blockquote {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--text-primary);
    font-style: italic;
}

.solution-quote em {
    color: var(--primary-light);
    font-style: normal;
}

/* Technology Section */
.tech-section {
    background: linear-gradient(180deg, transparent 0%, rgba(30, 58, 138, 0.03) 50%, transparent 100%);
    position: relative;
}

.tech-hero-image {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 60px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--glow);
}

.tech-hero-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.tech-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.3) 0%, rgba(34, 211, 238, 0.2) 100%);
    pointer-events: none;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tech-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
}

.tech-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: rgba(30, 58, 138, 0.3);
}

.tech-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 58, 138, 0.1);
    border-radius: 16px;
}

.tech-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-light);
}

.tech-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.tech-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Market Section */
.market-section {
    position: relative;
    overflow: hidden;
}

.market-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0.1;
}

.market-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.market-section .container {
    position: relative;
    z-index: 1;
}

.market-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.market-info h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 32px;
}

.market-stats {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.market-stat {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

.market-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.market-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.market-stat p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.customers-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.customer-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.customer-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.customer-icon {
    font-size: 1.5rem;
}

.customer-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.customer-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.use-cases h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.use-cases ul {
    list-style: none;
}

.use-cases li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.use-cases li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-light);
}

/* Business Section */
.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.business-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s;
}

.business-card.highlight {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(30, 64, 175, 0.1) 100%);
    border-color: rgba(30, 58, 138, 0.3);
}

.business-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.business-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.business-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Team Section */
.team-section {
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.5) 50%, transparent 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.team-card.founder {
    background: var(--bg-card);
    border: 1px solid rgba(30, 58, 138, 0.3);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    gap: 32px;
}

.team-photo {
    flex-shrink: 0;
}

.photo-placeholder {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.team-info h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 4px;
}

.team-role {
    display: block;
    color: var(--primary-light);
    font-size: 1rem;
    margin-bottom: 16px;
}

.team-info p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.advisors h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.advisor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.advisor-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.advisor-photo {
    width: 50px;
    height: 50px;
    background: rgba(30, 58, 138, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-light);
    flex-shrink: 0;
}

.advisor-info h5 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.advisor-info span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.advisor-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

/* Gallery Section */
.gallery-section {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.3) 0%, transparent 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--glow);
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

.gallery-caption h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.gallery-caption p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .gallery-item.large {
        grid-row: span 1;
        grid-column: span 2;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item.large {
        grid-column: span 1;
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(180deg, transparent 0%, rgba(30, 58, 138, 0.05) 100%);
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 64px;
    align-items: start;
}

.cta-info h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 32px;
}

.raise-info {
    display: flex;
    gap: 32px;
}

.raise-card {
    background: var(--gradient-primary);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    min-width: 150px;
}

.raise-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.raise-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.raise-details p {
    margin-bottom: 12px;
}

.raise-details ul {
    list-style: none;
}

.raise-details li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.raise-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.contact-card > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.contact-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    transition: all 0.3s;
}

.contact-email:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.contact-email svg {
    width: 24px;
    height: 24px;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 30px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 12px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

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

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 0;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .solution-content {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .market-content {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-logo-216 {
        font-size: 3.5rem;
    }
    
    .hero-logo-metal {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .problem-cards {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .business-grid {
        grid-template-columns: 1fr;
    }
    
    .team-card.founder {
        flex-direction: column;
        text-align: center;
    }
    
    .advisor-grid {
        grid-template-columns: 1fr;
    }
    
    .raise-info {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-logo-216 {
        font-size: 2.5rem;
    }
    
    .hero-logo-metal {
        font-size: 1.25rem;
        letter-spacing: 4px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .mockup-content {
        grid-template-columns: 1fr;
    }
    
    .mockup-sidebar {
        display: none;
    }
}

/* ============================================
   Language Selector
   ============================================ */
.language-selector {
    position: relative;
    margin-left: 16px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(30, 58, 138, 0.15);
    border: 1px solid rgba(30, 58, 138, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(30, 58, 138, 0.25);
    border-color: var(--primary);
}

.lang-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.language-selector:hover .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 160px;
    background: var(--bg-card);
    border: 1px solid rgba(30, 58, 138, 0.2);
    border-radius: 12px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.language-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.lang-option:hover {
    background: rgba(30, 58, 138, 0.15);
    color: var(--text-primary);
}

.lang-option.active {
    background: rgba(30, 58, 138, 0.2);
    color: var(--primary-light);
}

@media (max-width: 768px) {
    .language-selector {
        position: static;
        margin: 16px 0 0 0;
    }
    
    .lang-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 8px;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    
    .lang-option {
        padding: 8px 12px;
    }
}

/* RTL Support for Arabic */
html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

html[dir="rtl"] .hero-content {
    text-align: right;
}

html[dir="rtl"] .feature {
    flex-direction: row-reverse;
}

html[dir="rtl"] .feature-content {
    text-align: right;
}

html[dir="rtl"] .customer-item {
    flex-direction: row-reverse;
}

html[dir="rtl"] .team-card {
    text-align: right;
}

html[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}
