/* Reset and Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow-x: hidden; font-family: system-ui, -apple-system, sans-serif; }
body { background: #000; color: #fff; line-height: 1.5; }
h1, h2, h3, h4, h5, h6 { line-height: 1.2; }
a { text-decoration: none; color: inherit; }
button { border: none; cursor: pointer; font-family: inherit; }

/* Circuitry Background */
.circuitry-background { position: fixed; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.gradient-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to bottom, #020617, #0f172a, #000); }
.circuitry-svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.9; }

/* SVG Animations */
.scan-anim-1 { animation: scan 20s linear infinite; }
.scan-anim-2 { animation: scan 25s linear infinite reverse; }
.scan-anim-3 { animation: scan 30s linear infinite; }
@keyframes scan { 0% { transform: translate(0, 0); opacity: 0.6; } 50% { opacity: 1; } 100% { transform: translate(150px, 150px); opacity: 0.6; } }

/* Content Wrapper */
.content-wrapper { position: relative; z-index: 10; width: 100%; height: 100%; overflow-y: auto; }

/* Container */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(2, 44, 34, 0.9); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(16, 185, 129, 0.3); box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.1); }
.header-content { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
.logo span { font-size: 1.25rem; letter-spacing: -0.025em; color: #ecfdf5; }
.nav { display: none; align-items: center; gap: 2rem; }
.nav a { font-size: 0.875rem; color: #a7f3d0; transition: color 0.2s; }
.nav a:hover { color: #34d399; }
@media (min-width: 768px) { .nav { display: flex; } }
.btn-primary { padding: 0.625rem 1.5rem; background: #10b981; color: #022c22; font-size: 0.875rem; transition: all 0.2s; box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3); }
.btn-primary:hover { background: #34d399; box-shadow: 0 10px 15px -3px rgba(52, 211, 153, 0.4); }

/* Hero Section */
.hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.4), rgba(0,0,0,0.7)); }
.hero-content { position: relative; z-index: 10; max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: 31.25rem; height: auto; margin-bottom: 2rem; object-fit: contain; }
@media (min-width: 768px) { .hero-logo { width: 39rem; } }
@media (min-width: 1024px) { .hero-logo { width: 46.8rem; } }
.hero-title { font-size: 2.25rem; color: #fff; margin-bottom: 1.5rem; letter-spacing: -0.025em; text-align: center; max-width: 56rem; }
@media (min-width: 768px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }
.hero-subtitle { font-size: 1.25rem; color: rgba(255,255,255,0.9); margin-bottom: 3rem; max-width: 48rem; margin-left: auto; margin-right: auto; font-weight: 300; }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.5rem; } }
.btn-secondary { padding: 1rem 2.5rem; background: #fff; color: #171717; font-size: 1.125rem; transition: background 0.2s; }
.btn-secondary:hover { background: #f5f5f5; }
.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); color: #fff; animation: bounce 1s infinite; }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-25%); } }

/* About Section */
.about { padding: 8rem 0; }
.about-content { max-width: 56rem; margin: 0 auto; text-align: center; }
.about h2 { font-size: 2.25rem; color: #fff; margin-bottom: 3rem; letter-spacing: -0.025em; }
@media (min-width: 768px) { .about h2 { font-size: 3rem; } }
.about-text { display: flex; flex-direction: column; gap: 2rem; font-size: 1.125rem; line-height: 1.75; color: #fff; }

/* Services Section */
.services { padding: 8rem 0; background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(4px); }
.section-header { text-align: center; margin-bottom: 5rem; }
.section-header h2 { font-size: 2.25rem; color: #ecfdf5; margin-bottom: 1rem; letter-spacing: -0.025em; }
@media (min-width: 768px) { .section-header h2 { font-size: 3rem; } }
.section-header p { font-size: 1.25rem; color: rgba(167, 243, 208, 0.8); max-width: 42rem; margin: 0 auto; }
.services-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card { padding: 2rem; border: 1px solid rgba(16, 185, 129, 0.2); background: rgba(30, 41, 59, 0.5); transition: all 0.3s; }
.service-card:hover { border-color: #34d399; box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.2); }
.service-icon { font-size: 3rem; margin-bottom: 1.5rem; }
.service-card h3 { font-size: 1.25rem; color: #ecfdf5; margin-bottom: 0.75rem; }
.service-card p { color: rgba(167, 243, 208, 0.7); line-height: 1.75; }

/* Philosophy Section */
.philosophy { padding: 8rem 0; background: #171717; color: #fff; }
.philosophy-content { max-width: 56rem; margin: 0 auto; text-align: center; }
.philosophy h2 { font-size: 2.25rem; margin-bottom: 3rem; letter-spacing: -0.025em; }
@media (min-width: 768px) { .philosophy h2 { font-size: 3rem; } }
.philosophy-text { display: flex; flex-direction: column; gap: 2rem; font-size: 1.125rem; line-height: 1.75; color: rgba(255,255,255,0.8); text-align: center; }
.philosophy-quote { padding-top: 3rem; margin-top: 3rem; border-top: 1px solid rgba(255,255,255,0.2); text-align: center; }
.tagline { font-size: 2.25rem; color: #991b1b; animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; line-height: 1.25; margin-bottom: 3rem; }
@media (min-width: 768px) { .tagline { font-size: 3rem; } }
.glow-text { display: inline-block; animation: glow 2s ease-in-out infinite; }
.glow-text-delay { animation-delay: 0.5s; }
@keyframes glow { 0%, 100% { text-shadow: 0 0 10px rgba(153, 27, 27, 0.5), 0 0 20px rgba(153, 27, 27, 0.3), 0 0 30px rgba(153, 27, 27, 0.2); } 50% { text-shadow: 0 0 20px rgba(153, 27, 27, 0.8), 0 0 30px rgba(153, 27, 27, 0.5), 0 0 40px rgba(153, 27, 27, 0.3), 0 0 50px rgba(153, 27, 27, 0.2); } }
.wing-image-container { display: flex; justify-content: center; }
.wing-image { width: 16rem; height: auto; object-fit: contain; }
@media (min-width: 768px) { .wing-image { width: 20rem; } }
@media (min-width: 1024px) { .wing-image { width: 24rem; } }

/* Contact Section */
.contact { padding: 8rem 0; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px); }
.contact-content { max-width: 48rem; margin: 0 auto; text-align: center; }
.contact h2 { font-size: 2.25rem; color: #ecfdf5; margin-bottom: 1.5rem; letter-spacing: -0.025em; }
@media (min-width: 768px) { .contact h2 { font-size: 3rem; } }
.contact-subtitle { font-size: 1.25rem; color: rgba(167, 243, 208, 0.8); margin-bottom: 3rem; }
.contact-form-wrapper { background: rgba(30, 41, 59, 0.7); padding: 3rem; border: 1px solid rgba(16, 185, 129, 0.3); box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.1); }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .form-row { grid-template-columns: repeat(2, 1fr); } }
.form-group { text-align: left; }
.form-group label { display: block; font-size: 0.875rem; color: #a7f3d0; margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.75rem 1rem; background: rgba(15, 23, 42, 0.5); border: 1px solid rgba(16, 185, 129, 0.3); color: #ecfdf5; transition: border-color 0.2s; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #34d399; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(167, 243, 208, 0.4); }
.form-group textarea { resize: none; }
.btn-submit { width: 100%; padding: 1rem; background: #10b981; color: #022c22; font-size: 1.125rem; transition: all 0.2s; box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3); }
.btn-submit:hover { background: #34d399; box-shadow: 0 10px 15px -3px rgba(52, 211, 153, 0.4); }
.contact-direct { margin-top: 4rem; padding-top: 4rem; border-top: 1px solid rgba(16, 185, 129, 0.2); }
.contact-direct p { color: rgba(167, 243, 208, 0.7); margin-bottom: 1rem; }
.contact-direct a { font-size: 1.25rem; color: #34d399; transition: color 0.2s; }
.contact-direct a:hover { color: #6ee7b7; }

/* Footer */
.footer { max-width: 1280px; margin: 8rem auto 0; padding: 3rem 1.5rem 0; border-top: 1px solid rgba(16, 185, 129, 0.2); }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; font-size: 0.875rem; color: rgba(167, 243, 208, 0.7); }
@media (min-width: 768px) { .footer-content { flex-direction: row; justify-content: space-between; } }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: #34d399; }
