
:root {
    --bg-deep: #050B14;
    --bg-abyss: #0B162C;
    --bg-surface: #12223F;
    --neon-cyan: #00E5FF;
    --neon-pink: #FF2A6D;
    --text-main: #E2E8F0;
    --text-muted: #94A3B8;
    --font-heading: 'Comfortaa', cursive;
    --font-body: 'Nunito', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    font-family: var(--font-body); 
    background-color: var(--bg-deep); 
    color: var(--text-main); 
    overflow-x: hidden; 
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 { 
    font-family: var(--font-heading); 
    font-weight: 700; 
    color: #FFF; 
}

a { text-decoration: none; color: var(--neon-cyan); transition: all 0.3s ease; }
a:hover { color: var(--neon-pink); text-shadow: 0 0 10px rgba(255, 42, 109, 0.5); }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--bg-surface); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--neon-cyan); }

/* Typography Scale */
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1; margin-bottom: 1.5rem; text-transform: lowercase; letter-spacing: -2px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; margin-bottom: 1.5rem; text-transform: lowercase; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
p { font-size: 1.125rem; margin-bottom: 1.5rem; }
.lead { font-size: clamp(1.125rem, 2vw, 1.35rem); color: var(--text-muted); font-weight: 300; }

/* Layout Utilities */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section-pad { padding: 8rem 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; gap: 3rem; } }

/* Animations */
@keyframes sonarPing {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(2); opacity: 0; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
@keyframes glowPulse {
    0%, 100% { filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.4)); }
    50% { filter: drop-shadow(0 0 30px rgba(0, 229, 255, 0.8)); }
}

/* Header & Nav */
header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(5, 11, 20, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 229, 255, 0.1); transition: all 0.4s ease;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo-area { display: flex; align-items: center; gap: 1rem; }
.logo-icon { width: 40px; height: 40px; background: var(--neon-cyan); border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; animation: glowPulse 4s infinite; }
.logo-icon::after {
    content: ''; position: absolute; width: 100%; height: 100%; border-radius: 50%;
    border: 2px solid var(--neon-cyan); animation: sonarPing 3s infinite linear;
}
.logo-text { font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; color: #FFF; letter-spacing: -1px; }

nav ul { display: flex; gap: 2rem; list-style: none; }
nav a { color: var(--text-main); font-weight: 600; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }
nav a.active { color: var(--neon-cyan); text-shadow: 0 0 8px rgba(0,229,255,0.4); }

.hamburger { display: none; background: none; border: none; color: #FFF; font-size: 2rem; cursor: pointer; padding: 10px; }

@media (max-width: 900px) {
    nav ul {
        position: fixed; top: 80px; left: -100%; width: 100%; height: calc(100vh - 80px);
        background: var(--bg-deep); flex-direction: column; align-items: center; justify-content: center;
        gap: 3rem; transition: left 0.4s ease;
    }
    nav ul.open { left: 0; }
    nav a { font-size: 1.5rem; }
    .hamburger { display: block; }
}

/* Buttons */
.btn-primary {
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; color: var(--neon-cyan);
    padding: 1rem 2.5rem; border: 1px solid var(--neon-cyan); border-radius: 30px;
    font-family: var(--font-heading); font-weight: 700; text-transform: uppercase;
    letter-spacing: 2px; position: relative; overflow: hidden; z-index: 1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}
.btn-primary::before {
    content: ''; position: absolute; top: 0; left: 0; width: 0%; height: 100%;
    background: var(--neon-cyan); z-index: -1; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.btn-primary:hover { color: var(--bg-deep); box-shadow: 0 0 25px rgba(0, 229, 255, 0.6); }
.btn-primary:hover::before { width: 100%; }

.btn-secondary {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--neon-pink); color: #FFF;
    padding: 1rem 2.5rem; border: none; border-radius: 30px;
    font-family: var(--font-heading); font-weight: 700; text-transform: uppercase;
    letter-spacing: 2px; transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 42, 109, 0.4);
}
.btn-secondary:hover { transform: translateY(-3px); box-shadow: 0 0 25px rgba(255, 42, 109, 0.8); color: #FFF; }

/* Submarine Cards */
.sub-card {
    background: var(--bg-abyss); border-radius: 20px; padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.05); position: relative;
    transition: all 0.4s ease; z-index: 1; overflow: hidden;
}
.sub-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
    opacity: 0; transition: opacity 0.4s ease;
}
.sub-card:hover { transform: translateY(-10px); border-color: rgba(0,229,255,0.2); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.sub-card:hover::before { opacity: 1; }

.card-img-wrapper { margin: -2.5rem -2.5rem 2rem -2.5rem; overflow: hidden; height: 220px; position: relative; }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; filter: brightness(0.8) contrast(1.2); }
.sub-card:hover .card-img-wrapper img { transform: scale(1.08); filter: brightness(1) contrast(1.2); }

.card-tag { 
    position: absolute; top: 1rem; left: 1rem; 
    background: rgba(5,11,20,0.8); backdrop-filter: blur(5px);
    color: var(--neon-cyan); padding: 0.3rem 1rem; border-radius: 15px; 
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    border: 1px solid rgba(0,229,255,0.3);
}

/* Imagery & Overlays */
.hero-wrapper {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    padding-top: 80px; overflow: hidden;
}
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.4) saturate(1.2); }
.hero-gradient {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background: radial-gradient(circle at 70% 50%, transparent 0%, var(--bg-deep) 100%),
                linear-gradient(to top, var(--bg-deep) 0%, transparent 40%);
}

.wave-divider {
    position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0;
}
.wave-divider svg { display: block; width: calc(100% + 1.3px); height: 120px; }
.wave-divider path { fill: var(--bg-deep); }

/* Forms */
.sonar-form { display: flex; flex-direction: column; gap: 1.5rem; }
.input-group { position: relative; }
.sonar-form input, .sonar-form textarea {
    width: 100%; background: var(--bg-surface); border: 1px solid rgba(255,255,255,0.1);
    color: #FFF; padding: 1.2rem 1.5rem; border-radius: 12px; font-family: var(--font-body);
    font-size: 1rem; transition: all 0.3s ease;
}
.sonar-form input:focus, .sonar-form textarea:focus {
    outline: none; border-color: var(--neon-cyan); box-shadow: 0 0 15px rgba(0,229,255,0.1);
    background: rgba(0,229,255,0.02);
}
.sonar-form label {
    position: absolute; left: 1.5rem; top: 1.2rem; color: var(--text-muted); pointer-events: none;
    transition: all 0.3s ease; font-size: 1rem;
}
.sonar-form input:focus ~ label, .sonar-form input:valid ~ label,
.sonar-form textarea:focus ~ label, .sonar-form textarea:valid ~ label {
    top: -0.6rem; left: 1rem; font-size: 0.75rem; background: var(--bg-surface); padding: 0 0.5rem; color: var(--neon-cyan); border-radius: 4px;
}

/* Footer */
footer {
    background: var(--bg-abyss); border-top: 1px solid rgba(255,255,255,0.05);
    padding: 6rem 0 2rem; position: relative; overflow: hidden;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 4rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; gap: 3rem; } }
.footer-col h4 { color: var(--neon-pink); font-size: 1.2rem; margin-bottom: 1.5rem; font-family: var(--font-body); letter-spacing: 1px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a { color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--neon-cyan); padding-left: 5px; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem; color: var(--text-muted); font-size: 0.85rem; }
