/* --- Variables & Reset --- */
:root {
    --bg-dark: #0a0a0f;
    --primary: #00f2ff;
    --secondary: #bd00ff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #b3b3b3;
    --font-main: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* --- Animated Background --- */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glowing-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: floatOrb 10s infinite alternate ease-in-out;
}

.orb-1 { width: 300px; height: 300px; background: var(--primary); top: -50px; left: -50px; }
.orb-2 { width: 400px; height: 400px; background: var(--secondary); bottom: -100px; right: -100px; animation-duration: 15s; }
.orb-3 { width: 150px; height: 150px; background: #0044ff; top: 50%; left: 50%; transform: translate(-50%, -50%); animation-duration: 12s; }

@keyframes floatOrb {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 50px); }
}

/* --- Layout Utils --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navigation --- */
.navbar {
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.95); /* Darker bg to ensure logo visibility */
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between; 
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 101;
    text-decoration: none;
}

/* Updated Logo CSS for better visibility */
.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    object-fit: cover; /* Ensures image fills the circle */
    background-color: #000; /* Fallback color if image fails */
}

.site-name {
    font-weight: 800;
    font-size: 1.1rem;
    background: linear-gradient(90deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- BUTTONS --- */
.cta-button {
    padding: 16px 40px;
    background: rgba(0, 242, 255, 0.05);
    color: var(--primary);
    font-weight: 700;
    border-radius: 16px; 
    border: 2px solid var(--primary);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.3), inset 0 0 10px rgba(0, 242, 255, 0.1);
    transition: all 0.4s ease-in-out;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    z-index: -1;
    transition: opacity 0.4s linear;
    opacity: 0; 
}

.cta-button:hover {
    color: white;
    border-color: transparent;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.6), 0 0 50px rgba(189, 0, 255, 0.4);
    transform: translateY(-3px) scale(1.02);
}

.cta-button:hover::before {
    opacity: 1;
}

/* --- Hero Section (Compact Fix) --- */
.hero {
    /* Changed from 80vh to 60vh to reduce desktop space */
    min-height: 60vh;
    display: flex;
    flex-direction: column; /* Stacks items vertically */
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Reduced padding to bring content up */
    padding: 100px 20px 40px; 
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 10px; /* Reduced margin */
}

.highlight { color: var(--primary); text-shadow: 0 0 15px var(--primary); }

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 25px; /* Reduced margin */
}

/* --- Sections & Cards --- */
.section { padding: 60px 0; /* Reduced padding between sections */ }

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
}

/* Glass Card */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    transition: 0.3s;
    height: 100%;
}

.card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.icon { font-size: 2.5rem; color: var(--secondary); margin-bottom: 20px; }

/* --- Split Content --- */
.content-split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.text-block, .visual-block {
    flex: 1;
    min-width: 300px;
}

.feature-list li {
    margin: 15px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1.05rem;
}
.feature-list i { color: var(--primary); margin-top: 5px; }

/* --- Email Mockup --- */
.email-mockup { font-family: monospace; font-size: 0.9rem; }
.mock-header { margin-bottom: 15px; display: flex; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }
.mock-body p { margin-bottom: 8px; color: #fff; word-break: break-all; }
.highlight-text { color: var(--primary); text-decoration: underline; }
.mock-body hr { border: 0; border-top: 1px solid rgba(255,255,255,0.2); margin: 15px 0; }

/* --- Wide Cards --- */
.wide-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.icon-lg { font-size: 2.5rem; color: var(--primary); flex-shrink: 0; }

/* --- CTA Section --- */
.center-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--secondary);
    box-shadow: 0 0 30px rgba(189, 0, 255, 0.2);
}

/* --- Footer --- */
footer {
    background: rgba(0,0,0,0.8);
    border-top: 1px solid var(--glass-border);
    padding: 50px 0 30px;
    text-align: center;
}

.footer-logo a {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo img { 
    width: 60px; 
    height: 60px;
    border-radius: 50%; 
    border: 2px solid var(--primary);
    object-fit: cover;
}

.footer-logo h3 {
    font-size: 1.5rem;
}

.divider-line { width: 100%; max-width: 300px; height: 1px; background: var(--glass-border); margin: 20px auto; }
.footer-link { color: var(--primary); text-decoration: underline; }

/* --- Animations --- */
.animate-text { opacity: 0; transform: translateY(20px); animation: fadeInUp 0.8s forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.hidden { opacity: 0; transform: translateY(50px); transition: all 1s ease; }
.show { opacity: 1; transform: translateY(0); }

@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* =========================================
   RESPONSIVE MEDIA QUERIES
   ========================================= */

@media (max-width: 992px) {
    .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .center-nav-mobile {
        justify-content: center;
    }
    
    .hero { padding-top: 120px; min-height: auto; padding-bottom: 60px; }
    .grid-3 { grid-template-columns: 1fr; }
    .content-split { flex-direction: column; }
    .text-block, .visual-block { width: 100%; min-width: auto; }
    .wide-card { flex-direction: column; text-align: center; align-items: center; }
    .icon-box { margin-bottom: 15px; }
    .copyright-section { font-size: 0.9rem; }
}

@media (max-width: 480px) {
    .section-title { font-size: 1.8rem; }
    .glass { padding: 20px; }
    .site-name { font-size: 1rem; }
    .hero-sub { font-size: 0.95rem; }
    .cta-button { width: 100%; display: block; font-size: 1rem; padding: 14px 20px; }
    .footer-logo img { width: 50px; height: 50px; }
    .footer-logo h3 { font-size: 1.2rem; }
}
