/* CSS Variables */
:root {
    --primary: #0066FF;
    --primary-dark: #0052cc;
    --navy: #0B192C;
    --navy-light: #152A4A;
    --text-main: #334155;
    --text-muted: #64748b;
    --bg-light: #ffffff;
    --bg-soft: #F8FAFC;
    --border: #e2e8f0;
    --card-shadow: 0 20px 40px rgba(11, 25, 44, 0.08);
    --hover-shadow: 0 30px 60px rgba(0, 102, 255, 0.15);
    
    --font-sans: 'Manrope', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    color: var(--navy);
    line-height: 1.2;
}

h1, h2 {
    font-family: var(--font-serif);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-blue { color: var(--primary); }
.bg-soft { background-color: var(--bg-soft); }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.text-center { text-align: center; }

/* Typography */
.eyebrow, .kicker {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}
.kicker::before, .eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background-color: var(--primary);
}

h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}
.desc-center {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin: 1rem auto 3rem;
    max-width: 600px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-sm {
    padding: 12px 20px;
    font-size: 0.75rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 102, 255, 0.3);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--navy);
    border: 1px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--navy);
    transform: translateY(-3px);
}

.link-blue {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}
.link-blue:hover {
    gap: 12px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1280px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 100px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(11, 25, 44, 0.05);
    transition: all 0.3s ease;
}
.navbar.scrolled {
    top: 10px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 40px rgba(11, 25, 44, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
}

.logo {
    height: 36px;
    width: auto;
}

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

.nav-links a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy);
    position: relative;
    padding: 8px 0;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}
.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--navy);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.03;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

/* Hero 3D Eye Graphic */
.hero-visual {
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.eye-3d-container {
    position: relative;
    width: 400px;
    height: 400px;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out; /* Smooth mouse tracking */
}

.eye-center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(40px);
    width: 250px;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

.eye-rings {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
}

.ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(0, 102, 255, 0.2);
}
.r1 { width: 300px; height: 300px; animation: spin 20s linear infinite; border-top-color: var(--primary); }
.r2 { width: 450px; height: 450px; animation: spin 30s linear infinite reverse; border-right-color: var(--primary); }
.r3 { width: 600px; height: 600px; border-style: dashed; opacity: 0.5; }

@keyframes spin { 100% { transform: translate(-50%, -50%) rotate(360deg); } }

.floating-tag {
    position: absolute;
    background: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--navy);
    box-shadow: 0 10px 25px rgba(11, 25, 44, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    border: 1px solid var(--border);
    animation: float 4s ease-in-out infinite;
}
.floating-tag i { color: var(--primary); font-size: 1rem; }

.tag-people { top: 15%; left: -5%; animation-delay: 0s; transform: translateZ(60px); }
.tag-places { top: 10%; right: -10%; animation-delay: 1s; transform: translateZ(30px); }
.tag-operations { bottom: 15%; left: -15%; animation-delay: 2s; transform: translateZ(50px); }
.tag-possibilities { bottom: 20%; right: -5%; animation-delay: 0.5s; transform: translateZ(80px); }

@keyframes float {
    0%, 100% { transform: translateY(0) translateZ(inherit); }
    50% { transform: translateY(-15px) translateZ(inherit); }
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    padding-top: 40px;
    margin-top: 80px;
}

.stat-item {
    border-right: 1px solid var(--border);
    padding: 0 24px;
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: none; padding-right: 0; }

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    font-family: var(--font-serif);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}
.mouse {
    width: 20px;
    height: 30px;
    border: 2px solid var(--border);
    border-radius: 10px;
    position: relative;
}
.mouse::before {
    content: '';
    position: absolute;
    top: 4px; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 6px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}
@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 12px); opacity: 0; }
}


/* Layout Sections */
.section {
    padding: 120px 0;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}
.align-center {
    align-items: center;
}
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

/* Smart Eye Features */
.features-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--primary);
}
.feature-item .icon-box {
    width: 48px;
    height: 48px;
    background: var(--bg-soft);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 1.5rem;
}
.feature-item h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}
.feature-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Dashboard Visual */
.monitor-wrapper {
    position: relative;
    width: 100%;
    padding-top: 65%;
    background: #0f172a;
    border-radius: 16px;
    border: 10px solid #e2e8f0;
    box-shadow: 0 30px 60px -15px rgba(11, 25, 44, 0.2);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}
.monitor-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}
.monitor-screen {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 4px;
}
.dashboard-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.floating-ui {
    position: absolute;
    top: 20px; right: -40px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: float 5s ease-in-out infinite alternate;
}
.floating-ui img {
    width: 60px; height: 60px;
    border-radius: 8px;
    object-fit: cover;
}
.floating-ui h5 { color: white; font-size: 0.875rem; font-family: var(--font-sans); }
.floating-ui p { font-size: 0.7rem; color: #94a3b8; margin-bottom: 4px; }
.live-badge {
    font-size: 0.65rem; font-weight: 700;
    color: #ef4444; display: flex; align-items: center; gap: 4px;
}
.dot { width: 6px; height: 6px; background: #ef4444; border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }

.handwritten-note {
    position: absolute;
    bottom: -30px; right: 20px;
    font-family: 'Caveat', cursive, sans-serif;
    font-size: 1.2rem;
    color: var(--primary);
    transform: rotate(-10deg);
}
.handwritten-note i {
    font-size: 2rem;
    display: block;
    margin-bottom: 5px;
}

/* Flow Cards */
.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}
.flow-grid::before {
    content: '';
    position: absolute;
    top: 50%; left: 10%; right: 10%;
    height: 1px;
    background: dashed 1px var(--border);
    z-index: 0;
}
.flow-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.flow-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary);
}
.step-num {
    position: absolute;
    top: 16px; left: 16px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
}
.icon-lg {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
    padding: 16px;
    background: var(--bg-soft);
    border-radius: 50%;
}
.flow-card h3 { margin-bottom: 12px; font-size: 1.25rem; font-family: var(--font-sans); }
.flow-card p { font-size: 0.9rem; color: var(--text-muted); }
.arrow-out {
    position: absolute;
    right: -24px; top: 50%;
    transform: translateY(-50%);
    width: 24px; height: 24px;
    background: var(--bg-soft);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: var(--primary);
    border: 1px solid var(--border);
    z-index: 2;
}
.flow-card:last-child .arrow-out { display: none; }


/* Geo Aware Section */
.geo-grid {
    display: grid;
    grid-template-columns: 3fr 5fr 2fr;
    gap: 40px;
    align-items: center;
}

/* Isometric Map */
.isometric-container {
    perspective: 1200px;
    width: 100%;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.map-plane {
    position: relative;
    width: 90%;
    height: 90%;
    transform: rotateX(60deg) rotateZ(-35deg);
    transform-style: preserve-3d;
    border-radius: 16px;
    box-shadow: -20px 30px 40px rgba(11, 25, 44, 0.15);
    background: #fff;
    transition: transform 0.2s ease-out;
}
.map-plane img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 16px;
    opacity: 0.8;
}

.iso-pin {
    position: absolute;
    background: white;
    padding: 10px 16px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--navy);
    /* Counter-rotate to stand up straight */
    transform: rotateZ(35deg) rotateX(-60deg) translateZ(40px);
    transition: all 0.3s ease;
    cursor: default;
    border: 1px solid var(--border);
}
.iso-pin i { color: var(--primary); font-size: 1.2rem; }
.iso-pin:hover {
    transform: rotateZ(35deg) rotateX(-60deg) translateZ(60px) scale(1.1);
    border-color: var(--primary);
}

.pin-assets { top: 20%; left: 30%; }
.pin-incidents { top: 50%; left: 60%; }
.pin-personnel { bottom: 20%; left: 40%; }
.pin-monitoring { top: 30%; right: 10%; }

.network-lines {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    transform: translateZ(5px);
    pointer-events: none;
}

/* Geo Features List */
.geo-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.feature-line {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--navy);
    transition: all 0.3s ease;
}
.feature-line i {
    font-size: 1.25rem;
    color: var(--primary);
}
.feature-line:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateX(-10px);
}
.feature-line:hover i { color: white; }


/* Industries Section */
.ind-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.ind-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}
.ind-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary);
}
.ind-icon-wrap {
    height: 120px;
    display: flex;
    align-items: flex-end;
    padding: 24px 20px 0;
}
.icon-industry {
    font-size: 3.5rem;
    color: var(--primary);
    transition: transform 0.4s ease, color 0.4s ease;
}
.ind-card:hover .icon-industry {
    transform: scale(1.1) translateY(-5px);
    color: var(--navy);
}
.ind-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ind-content h4 {
    font-size: 0.85rem;
    font-family: var(--font-sans);
    line-height: 1.4;
    margin-bottom: 16px;
}
.arrow-circle {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex; justify-content: center; align-items: center;
    color: var(--primary);
    transition: all 0.3s ease;
}
.ind-card:hover .arrow-circle {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}


/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0B192C 0%, #152A4A 100%);
    color: white;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 800px; height: 800px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.05);
    z-index: 0;
}
.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}
.cta-content h2 {
    color: white;
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: 1rem;
}
.cta-content p {
    color: #94a3b8;
    font-size: 1.125rem;
}


/* Footer */
.footer {
    background: #0B192C;
    color: white;
    padding: 80px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}
.footer-logo {
    height: 48px;
    margin-bottom: 24px;
    filter: brightness(0) invert(1); /* Ensure white logo if original is dark */
}
.brand-tagline {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-bottom: 8px;
}
.brand-tagline-sub {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: #64748b;
}

.footer h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 24px;
    font-family: var(--font-sans);
}
.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links a {
    color: #94a3b8;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: white;
}

.footer-contact p {
    color: #94a3b8;
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}
.social-links a {
    color: white;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}
.social-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.75rem;
    color: #64748b;
}
.legal-links {
    display: flex;
    gap: 24px;
}
.legal-links a:hover { color: white; }


/* Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }


/* Responsive Design */
@media (max-width: 1100px) {
    .section-grid { grid-template-columns: 1fr; gap: 40px; }
    .geo-grid { grid-template-columns: 1fr; }
    .isometric-container { height: 350px; }
    .geo-features { flex-direction: row; flex-wrap: wrap; }
    .feature-line { flex: 1 1 200px; }
}

@media (max-width: 900px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-actions { justify-content: center; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 40px 0; }
    .stat-item:nth-child(2) { border-right: none; }
    .flow-grid { grid-template-columns: 1fr 1fr; }
    .flow-card:nth-child(2) .arrow-out { display: none; }
    .ind-grid { grid-template-columns: repeat(3, 1fr); }
    .cta-container { flex-direction: column; text-align: center; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn { display: none; }
    .mobile-menu-btn { display: block; }
    h2 { font-size: 2rem; }
    .section { padding: 80px 0; }
    .ind-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding: 20px 0; }
    .flow-grid { grid-template-columns: 1fr; }
    .arrow-out { right: 50%; bottom: -24px; top: auto; transform: translateX(50%) rotate(90deg); }
    .ind-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
