/* --- Variables & Reset --- */
:root {
    --bg-main: #030712;            /* Ultra Dark Navy/Black */
    --bg-secondary: #111827;       /* Dark Gray Blue */
    --card-bg: rgba(30, 41, 59, 0.6); /* Dark Glass */
    --accent-gold: #FFD700;        /* Standard Gold */
    --accent-gold-hover: #E6C200;
    --brand-blue: #0047AB;         /* Logo Blue (Deep Royal Blue) */
    --text-light: #f8fafc;         /* Off-white text */
    --text-gray: #94a3b8;          /* Muted Blue-Gray */
    --border-color: rgba(255, 255, 255, 0.08);
    --glow-primary: 0 0 25px rgba(0, 71, 171, 0.5);
    --font-main: 'Poppins', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    /* Subtle Cyber Grid */
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      radial-gradient(circle at top, rgba(0, 71, 171, 0.4), transparent 60%),
                      linear-gradient(to bottom, rgba(0, 71, 171, 0.1), transparent);
    background-size: 50px 50px, 50px 50px, 100% 100%, 100% 100%;
    background-repeat: repeat, repeat, no-repeat, no-repeat;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Typography --- */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 3rem; }
h3 { font-size: 1.5rem; }
p { color: var(--text-gray); margin-bottom: 1.5rem; }

/* Gradient Text Utility */
.gradient-text {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #60a5fa 100%); /* Logo Blue to Light Blue */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(0, 71, 171, 0.4));
}

/* --- Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
    color: #000;
}

.btn-gold:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3); /* Glowing effect */
}

.section-padding { padding: 80px 0; }

/* --- Header / Navbar --- */
header {
    background-color: rgba(0, 25, 60, 0.9); /* Dark Blue Shade */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0; /* Remove padding to reduce navbar size */
    height: 80px; /* Fixed small height */
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 71, 171, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
    display: flex;
    justify-content: flex-end; /* Align links/hamburger to right */
    align-items: center;
    position: relative; /* For absolute logo positioning */
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    height: 160px; /* Even bigger logo */
}

header .logo {
    position: absolute; /* Take out of flow to not expand navbar */
    left: -30px;
    top: -40px; /* Center vertically relative to 80px navbar */
    z-index: 10;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.2));
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a:not(.btn) {
    color: var(--text-light);
    font-weight: 500;
}

.nav-links a:not(.btn):hover, .nav-links a:not(.btn).active {
    color: var(--accent-gold);
    text-decoration: underline;
    text-underline-offset: 6px;
}

.hamburger { display: none; cursor: pointer; font-size: 1.5rem; color: var(--accent-gold); }

/* --- Hero Section --- */
.hero {
    padding: 100px 0;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.about-hero {
    min-height: 60vh;
    padding-top: 150px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-video-placeholder {
    width: 100%;
    background: #0f172a;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    aspect-ratio: 16/9;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 71, 171, 0.2); /* Blue Glow */
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg); /* Initial 3D stance */
    overflow: hidden;
}

.play-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(0, 71, 171, 0.4);
    z-index: 2;
}

.play-icon::after {
    content: '';
    border-left: 20px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 5px;
}

.play-icon:hover {
    transform: scale(1.1);
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    box-shadow: 0 0 30px rgba(0, 71, 171, 0.6);
}

/* --- Mock Dashboard UI (CSS Only) --- */
.mock-window {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #0f172a;
}

.mock-header {
    height: 12%;
    background: #1e293b;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 8px;
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.mock-content {
    flex: 1;
    display: flex;
    padding: 15px;
    gap: 15px;
    background: #020617;
}

.mock-sidebar {
    width: 25%;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
}

.mock-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mock-card {
    flex: 1;
    background: #1e293b;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

/* Fake Chart Bars */
.mock-bars {
    position: absolute;
    bottom: 10px; left: 10px; right: 10px;
    height: 40%;
    display: flex;
    align-items: flex-end;
    gap: 5px;
}
.bar {
    flex: 1;
    background: linear-gradient(to top, var(--brand-blue), #60a5fa);
    opacity: 0.2;
    border-radius: 50%;
    border-radius: 2px;
}
.bar:nth-child(2) { height: 60%; opacity: 0.5; }
.bar:nth-child(3) { height: 80%; opacity: 0.8; }
.bar:nth-child(4) { height: 50%; opacity: 0.4; }

/* --- Stats Section --- */
.stats-section {
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    margin-top: -50px; /* Overlap slightly or pull up */
    position: relative;
    z-index: 5;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 0;
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 71, 171, 0.6);
    line-height: 1;
}

.stat-item p {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
    margin: 0;
}

.logo-placeholder {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--text-light);
    border: 1px dashed var(--border-color);
    padding: 10px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 5px;
}

/* --- Key Benefits --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.benefit-card:hover { 
    transform: translateY(-10px);
    border-color: var(--brand-blue);
    box-shadow: var(--glow-primary);
}

.benefit-card p {
    color: var(--text-gray);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    display: flex;
    flex-direction: column; /* Stack icon and text */
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 15px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    border-color: var(--brand-blue);
    background: #1e293b;
}

.feature-icon { 
    color: var(--accent-gold); /* Gold icons for premium feel */
    font-size: 2rem; 
    background: rgba(0, 71, 171, 0.15);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 10px;
    box-shadow: 0 0 20px rgba(0, 71, 171, 0.4);
}

.about-details { text-align: left; }
.about-details h2 { text-align: left; }
.about-logo { margin: 0; }

/* --- Video Ad Section --- */
.video-ad {
    text-align: center;
    background: transparent;
}

.ad-placeholder {
    width: 100%;
    max-width: 900px;
    height: auto;
    aspect-ratio: 16/9;
    background-color: #0f172a;
    margin: 0 auto;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    border: 1px solid var(--border-color);
    box-shadow: var(--glow-primary);
    position: relative;
}

/* --- Forms (Free Trial & Contact) --- */
.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.form-group { margin-bottom: 20px; }

label { display: block; margin-bottom: 8px; color: var(--accent-gold); font-size: 0.9rem; }

input, select, textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    background-color: rgba(0,0,0,0.2);
    color: var(--text-light);
    font-family: inherit;
}

select option {
    background-color: var(--bg-secondary);
    color: var(--text-light);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 10px rgba(0, 71, 171, 0.3);
}

/* --- Footer --- */
footer {
    background: linear-gradient(to top, #001a40, #020617); /* Logo Blue Shade at bottom */
    color: #ffffff;
    padding: 60px 0 20px;
    border-top: none;
    overflow: hidden; /* Prevent logo overflow if any */
}

footer .logo {
    height: 160px; /* Restored to Navbar size */
    margin-bottom: -50px; /* Pull text up to reduce gap */
    position: relative;
    left: 0;
    top: 0;
    margin-top: -75px; /* Moved up further to align with Quick Links */
    margin-left: -55px; /* Shift slightly left */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 { color: var(--accent-gold); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; color: var(--text-gray); }
.footer-col ul li a:hover { color: var(--accent-gold); }

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: #888;
}

/* --- Animations & 3D Effects --- */

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1); /* Smooth ease-out */
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* 3D Tilt Class */
.tilt-effect {
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* --- Background Ambient Shapes (3D Depth) --- */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
    animation: floatShape 10s ease-in-out infinite alternate;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(0, 71, 171, 0.25); /* Logo Blue Glow */
}

.shape-2 {
    bottom: 10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: rgba(139, 92, 246, 0.15); /* Purple Glow */
}

@keyframes floatShape {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 50px); }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    
    .hamburger { display: block; }
    
    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--bg-secondary);
        flex-direction: column;
        padding: 20px;
        display: none;
        border-bottom: 2px solid var(--accent-gold);
    }

    .nav-links.active { display: flex; }
    
    .hero-grid { grid-template-columns: 1fr; text-align: center; }

    .hero {
        padding: 50px 0;
        min-height: auto;
    }

    .about-hero {
        padding-top: 50px;
    }
    
    .hero-video-placeholder { 
        margin-top: 30px;
        transform: none;
    }
    
    .trust-logos { gap: 20px; }

    .about-details { text-align: center; }
    .about-details h2 { text-align: center; }
    .about-logo { margin: 0 auto; }
}
