/* --- Variables & Reset --- */
:root {
    --bg-dark: #000725;
    --bg-secondary: #00153e;
    --card-bg: #00153e;
    --primary-blue: #0d4d7d;
    --accent-cyan: #27aae1;
    --accent-gradient: linear-gradient(135deg, #0d4d7d, #27aae1);
    --text-white: #e6f1ff;
    --text-gray: #aeafb0;
    --font-main: 'Inter', sans-serif;
    --radius: 8px;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    /* Create the subtle radial gradient background from the image */
    /* background: radial-gradient(circle at 50% 10%, #172a45 0%, #020c1b 70%); */
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Typography Helpers --- */
h1, h2, h3, h4 {
    color: var(--text-white);
    font-weight: 700;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--accent-gradient);
    background-origin: border-box;
    color: white;
    box-shadow: 0 4px 15px rgba(39, 170, 225, 0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 170, 225, 0.5);
    filter: brightness(1.1);
    color: white;
}

.btn-white {
    background-color: white;
    color: var(--bg-dark);
    font-weight: 700;
    padding: 14px 34px;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
    background-color: #f8fbff;
}

.btn-card {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    margin-top: auto; /* Push to bottom if flex */
}

.btn-card:hover {
    background: var(--accent-gradient);
    background-origin: border-box;
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 170, 225, 0.3);
}

/* --- Navbar --- */
.navbar {
    padding: 20px 0;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    background: rgba(0, 7, 37, 0.9); /* Slight transparency */
    backdrop-filter: blur(10px);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 1.2rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tm {
    font-size: 0.8rem;
    vertical-align: super;
}

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

.nav-links a {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

/* --- Hero Section with Advanced Gradient --- */
.hero {
    /* 1. Base dark color */
    background-color: var(--bg-dark);
    
    /* 2. The magic: A radial gradient that mimics a spotlight from below */
    background-image: 
        radial-gradient(
            circle at 50% 130%, 
            rgba(39, 170, 225, 0.4) 0%, 
            rgba(0, 21, 62, 0.1) 50%, 
            transparent 80%
        );
    background-repeat: no-repeat;
        
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden; /* Keeps the glow contained */
}

/* Optional: Add a subtle secondary glow for more depth */
/* .hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(72, 202, 228, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px); 
    z-index: 0;
    pointer-events: none;
} */

/* Ensure content sits on top of the background glow */
.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Products Section --- */
.products-section {
    padding: 80px 0;
    position: relative;
    background: radial-gradient(circle at 20% 30%, rgba(39, 170, 225, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(13, 77, 125, 0.08) 0%, transparent 50%);
}

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

.card {
    background: rgba(0, 21, 62, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.card:hover {
    background: rgba(0, 21, 62, 0.5);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-logo {
    background-color: white;
    padding: 15px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    height: 90px;
    display: block;
    width: auto;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.card-logo:hover {
    transform: scale(1.05);
}

.card h3 {
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.card .subtitle {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card .desc {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* --- Services Section --- */
.services-section {
    padding: 60px 0 100px;
    text-align: center;
}

.services-grid {
    max-width: 1100px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 10px;
}

.service-item i {
    font-size: 2rem;
    color: var(--accent-cyan);
    padding: 20px;
    background: rgba(72, 202, 228, 0.1);
    border-radius: 12px;
    margin-bottom: 5px;
}

.service-item h4 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.service-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 320px;
}

/* --- Footer --- */
.footer {
    background-color: #010811; /* Even darker for footer */
    padding: 80px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
    color: var(--text-gray);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 15px;
    color: var(--text-white);
}

.footer-col h4 {
    color: var(--text-white);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
}

.contact-list li i {
    margin-right: 10px;
    width: 15px;
    margin-top: 5px;
}

.footer-col a:hover {
    color: var(--accent-cyan);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-icons a:hover {
    background: var(--accent-cyan);
    color: var(--bg-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.8rem;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Simple hide for mobile, would typically replace with hamburger menu */
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand, .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}