/* --- CSS VARIABLES --- */
:root {
    /* Brand Palette - Rich Teal */
    --bg-body: #152a30;        
    --bg-card: rgba(28, 52, 59, 0.6);        
    
    /* Accent Color: Beige/Gold */
    --brand-color: #d9cbae; 
    --brand-glow: rgba(217, 203, 174, 0.4); 
    --gradient-main: linear-gradient(135deg, #d9cbae 0%, #e6dbb3 100%);

    --text-main: #f0f4f5; 
    --text-heading: #d9cbae; 
    --text-muted: #aebdc0;

    --container-width: 1140px;
    --radius: 8px; 
    --anim-ease: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- RESET & GLOBAL --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 100px;
    position: relative;
}

/* --- STRIPE MESH GRADIENT --- */
.mesh-gradient-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -2;
    background-color: #152a30;
    overflow: hidden;
}

.mesh-blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.5;
    animation: meshMove 20s infinite alternate;
    border-radius: 50%;
}

.blob-1 {
    top: -10%; left: -10%;
    width: 50vw; height: 50vh;
    background: radial-gradient(circle, rgba(217, 203, 174, 0.15), transparent 70%);
}

.blob-2 {
    bottom: -20%; right: -20%;
    width: 60vw; height: 60vh;
    background: radial-gradient(circle, rgba(40, 75, 85, 0.4), transparent 70%);
    animation-delay: -5s;
}

.blob-3 {
    top: 30%; left: 20%;
    width: 40vw; height: 40vh;
    background: radial-gradient(circle, rgba(217, 203, 174, 0.05), transparent 70%);
    animation-duration: 25s;
}

@keyframes meshMove {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

/* --- TYPOGRAPHY --- */
h1, h2, h3 { 
    font-family: 'Oswald', sans-serif; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    color: var(--text-heading);
}
h1 { font-weight: 700; line-height: 1.1; }
p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 1.5rem; }
a { text-decoration: none; transition: all 0.3s ease; }

/* --- UTILITIES --- */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 120px 0; }
.badge {
    display: inline-block; background: rgba(217, 203, 174, 0.1); color: var(--brand-color);
    padding: 6px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 700;
    margin-bottom: 20px; border: 1px solid rgba(217, 203, 174, 0.2);
    text-transform: uppercase; letter-spacing: 2px;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; border-radius: 4px; font-weight: 700; font-size: 0.9rem;
    text-transform: uppercase; letter-spacing: 1px; cursor: pointer; border: none;
    transition: all 0.3s ease;
}
.btn-primary {
    background: var(--brand-color); color: #152a30; 
    box-shadow: 0 0 20px var(--brand-glow);
}
.btn-primary:hover {
    transform: translateY(-2px); box-shadow: 0 0 35px var(--brand-glow); background: #e6dbb3;
}
.btn-outline {
    background: transparent; border: 1px solid rgba(217, 203, 174, 0.3); color: var(--brand-color);
}
.btn-outline:hover {
    border-color: var(--brand-color); background: rgba(217, 203, 174, 0.05);
}

/* --- HEADER --- */
header {
    padding: 10px 0; position: fixed; width: 100%; top: 0; z-index: 1000;
    background: rgba(21, 42, 48, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(217, 203, 174, 0.05);
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; }

/* --- LOGO FIX (Restored Blend Mode) --- */
.nav-logo { 
    height: 70px; 
    width: auto; 
    object-fit: contain;
    mix-blend-mode: lighten; 
}

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a.link { color: var(--text-muted); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.nav-links a.link:hover { color: var(--brand-color); }
.hamburger { display: none; font-size: 2rem; color: var(--brand-color); cursor: pointer; user-select: none; }
.mobile-menu {
    position: fixed; top: 100px; left: 0; width: 100%; background: #1c343b;
    padding: 20px; border-bottom: 1px solid var(--brand-color); display: none;
    flex-direction: column; gap: 20px; text-align: center; z-index: 999;
}
.mobile-menu a { color: var(--text-main); font-size: 1.2rem; font-weight: 700; text-transform: uppercase; }

/* --- HERO --- */
.hero { padding: 100px 0 140px; position: relative; }
.hero h1 { font-size: 5rem; color: var(--brand-color); margin-bottom: 24px; line-height: 1; text-shadow: 0 0 30px rgba(0,0,0,0.3); }

/* --- CARDS --- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 60px; }
.card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 50px 40px; border-radius: var(--radius);
    border: 1px solid rgba(217, 203, 174, 0.1);
    transition: var(--anim-ease); position: relative; overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.card:hover {
    transform: translateY(-8px);
    background: rgba(35, 64, 72, 0.6);
    border-color: rgba(217, 203, 174, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.card-icon { font-size: 2.5rem; color: var(--brand-color); margin-bottom: 25px; filter: drop-shadow(0 0 10px var(--brand-glow)); }

/* --- FEATURE BLOCKS --- */
.feature-block { display: flex; align-items: center; gap: 80px; margin: 150px 0; scroll-margin-top: 100px; }
.feature-block.reverse { flex-direction: row-reverse; }
.feature-text { flex: 0.9; }
.feature-visual {
    flex: 1.1; height: 450px; border-radius: var(--radius); position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(217, 203, 174, 0.1);
    display: flex; align-items: center; justify-content: center; perspective: 1000px; 
}
.feature-list li { margin-bottom: 15px; display: flex; align-items: center; color: var(--text-muted); }
.feature-list li::before { content: "►"; color: var(--brand-color); margin-right: 15px; font-size: 0.8rem; }

/* --- ANIMATIONS (Scanner) --- */
.scan-card-glass {
    width: 240px; height: 320px; background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(5px);
    border: 1px solid rgba(217, 203, 174, 0.2); border-radius: 12px; position: relative;
    overflow: hidden; transform: rotateY(-10deg) rotateX(5deg); box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    display: flex; flex-direction: column; padding: 30px; gap: 20px;
}
.scan-row { height: 12px; background: rgba(217, 203, 174, 0.1); border-radius: 4px; animation: pulseRow 3s ease-in-out infinite; }
.scan-line {
    position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: var(--brand-color); box-shadow: 0 0 20px var(--brand-color);
    animation: modernScan 3s ease-in-out infinite; z-index: 10;
}
@keyframes modernScan { 0% { top: -10%; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: 110%; opacity: 0; } }
@keyframes pulseRow { 0% { background: rgba(217, 203, 174, 0.1); } 50% { background: rgba(217, 203, 174, 0.4); box-shadow: 0 0 10px var(--brand-glow); } 100% { background: rgba(217, 203, 174, 0.1); } }

/* Radar Animation */
.radar-container { width: 300px; height: 300px; display: flex; justify-content: center; align-items: center; position: relative; }
.radar-ring { position: absolute; border-radius: 50%; border: 1px solid var(--brand-color); opacity: 0.3; }
.ring-1 { width: 100%; height: 100%; border-style: dashed; animation: rotateRing 20s linear infinite; }
.ring-2 { width: 70%; height: 70%; border-style: solid; animation: pulseRing 3s ease-out infinite; }
.ring-3 { width: 40%; height: 40%; border: 2px solid var(--brand-color); opacity: 0.5; }
.radar-sweep {
    position: absolute; width: 100%; height: 100%;
    background: conic-gradient(from 0deg, transparent 0deg, transparent 300deg, var(--brand-glow) 360deg);
    border-radius: 50%; animation: rotateRing 4s linear infinite;
}
.radar-dot { width: 8px; height: 8px; background: white; border-radius: 50%; position: absolute; top: 25%; right: 25%; box-shadow: 0 0 15px white; animation: flashDot 4s infinite; }
@keyframes rotateRing { 100% { transform: rotate(360deg); } }
@keyframes pulseRing { 0% { transform: scale(0.9); opacity: 0.5; } 100% { transform: scale(1.3); opacity: 0; } }
@keyframes flashDot { 0%, 50% { opacity: 0; } 60% { opacity: 1; transform: scale(1.5); } 100% { opacity: 0; } }

/* Phone Animation */
.phone-glass {
    width: 160px; height: 300px; background: #0d1a1e; border: 2px solid #234048;
    border-radius: 20px; position: relative; transform: rotateY(-15deg) rotateX(10deg);
    box-shadow: 20px 20px 50px rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center;
}
.notch { position: absolute; top: 10px; width: 40%; height: 15px; background: #000; border-radius: 10px; z-index: 5; }
.screen-content { width: 90%; height: 90%; background: linear-gradient(135deg, #152a30 0%, #1c343b 100%); border-radius: 15px; position: relative; overflow: hidden; }
.notification-pop {
    position: absolute; top: 30%; left: 5%; right: 5%;
    background: rgba(217, 203, 174, 0.15); backdrop-filter: blur(10px);
    border: 1px solid rgba(217, 203, 174, 0.4); border-radius: 8px; padding: 10px;
    display: flex; align-items: center; gap: 10px; color: white; animation: notifSlide 4s ease-in-out infinite; box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.notif-icon { width: 30px; height: 30px; background: var(--brand-color); color: var(--bg-body); border-radius: 6px; display: flex; justify-content: center; align-items: center; font-weight: bold; font-size: 1.2rem; }
.notif-text strong { display: block; font-size: 0.8rem; color: var(--brand-color); }
.notif-text span { font-size: 0.65rem; color: #ccc; }
@keyframes notifSlide { 0% { transform: translateY(50px) scale(0.9); opacity: 0; } 20% { transform: translateY(0) scale(1); opacity: 1; } 80% { transform: translateY(0) scale(1); opacity: 1; } 100% { transform: translateY(-20px) scale(0.95); opacity: 0; } }

/* --- CONTACT SECTION --- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 60px; }
.contact-card {
    background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(217, 203, 174, 0.1);
    backdrop-filter: blur(10px); padding: 40px; border-radius: 12px; text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.contact-card:hover { transform: translateY(-5px); border-color: var(--brand-color); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

/* Updated Icon Styling for SVGs */
.contact-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    color: var(--brand-color);
    filter: drop-shadow(0 0 8px var(--brand-glow));
}
.contact-icon svg { width: 100%; height: 100%; }

.contact-card h3 { font-size: 1.2rem; margin-bottom: 20px; color: var(--text-muted); letter-spacing: 2px; }
.contact-link { display: block; color: var(--text-main); font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; transition: color 0.3s ease; }
.contact-link:hover { color: var(--brand-color); text-shadow: 0 0 10px var(--brand-glow); }

/* --- STATS & FOOTER --- */
.results-bar {
    background: rgba(28, 52, 59, 0.4); backdrop-filter: blur(5px);
    border-top: 1px solid rgba(217, 203, 174, 0.1); border-bottom: 1px solid rgba(217, 203, 174, 0.1);
    padding: 80px 0; scroll-margin-top: 100px;
}
.stats-grid { display: flex; justify-content: space-around; text-align: center; color: white; }
.stat-number { font-size: 3.5rem; font-weight: 700; display: block; color: var(--brand-color); font-family: 'Oswald'; }
.stat-label { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); }
footer { border-top: 1px solid rgba(217, 203, 174, 0.1); padding: 60px 0; font-size: 0.9rem; color: var(--text-muted); text-align: center; }

/* --- RESPONSIVE / MOBILE --- */
@media (max-width: 900px) {
    .hero h1 { font-size: 3rem; }
    .feature-block, .feature-block.reverse { flex-direction: column; gap: 40px; margin: 80px 0; }
    .nav-links { display: none; }
    .hamburger { display: block; }
    .stats-grid { flex-direction: column; gap: 40px; }
    .feature-visual { width: 100%; height: 350px; }
    .mesh-blob { animation: none; }
}

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }