/* Global Reset & Variables */
:root {
    --bg-dark: #020813;
    --bg-card: #0a1529;
    --primary-blue: #3b82f6;
    --primary-blue-hover: #2563eb;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --border-color: rgba(59, 130, 246, 0.15);
    --glow: 0 0 20px rgba(59, 130, 246, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

html {
    scroll-behavior: smooth;
}

/* Background Effects */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    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);
    background-size: 40px 40px;
    z-index: -2;
    pointer-events: none;
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 4px white;
    animation: twinkle infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.2; transform: scale(0.8); }
    100% { opacity: 0.8; transform: scale(1.2); }
}

/* Typography Utilities */
.text-highlight {
    color: var(--primary-blue);
    text-shadow: var(--glow);
}

.section-tag {
    color: var(--primary-blue);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 8, 19, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    height: 35px;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
}

.nav-brand {
    font-size: 1.2rem;
    font-weight: 700;
}

.nav-links {
    display: none; /* Hidden on mobile by default */
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.menu-toggle {
    font-size: 1.5rem;
    cursor: pointer;
    display: block;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 60px;
    position: relative;
}

.hero-badge {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-badge i {
    color: var(--primary-blue);
}

.hero-logo-wrapper {
    margin-bottom: 20px;
}

.hero-logo {
    width: 120px;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.6));
}

.floating {
    animation: float 4s ease-in-out infinite;
}

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

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-text {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    padding: 15px 40px;
    font-size: 1.1rem;
    box-shadow: var(--glow);
    margin-bottom: 20px;
}

.btn-primary:hover {
    background-color: var(--primary-blue-hover);
    transform: translateY(-2px);
}

.discover-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.discover-link:hover {
    color: var(--primary-blue);
}

/* Standard Section */
.section {
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.text-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.mb-4 { margin-bottom: 40px; }

/* Vision Graphic */
.vision-graphic {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 60px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-outer, .circle-inner {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.circle-outer { width: 100%; height: 100%; border-style: dashed; }
.circle-inner { width: 60%; height: 60%; }

.center-logo img {
    width: 80px;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.8));
    z-index: 10;
    position: relative;
}

.icon-node {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-blue);
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.node-top { top: -20px; left: 50%; transform: translateX(-50%); }
.node-right { right: -20px; top: 50%; transform: translateY(-50%); }
.node-bottom { bottom: -20px; left: 50%; transform: translateX(-50%); }
.node-left { left: -20px; top: 50%; transform: translateY(-50%); }

/* Feature Cards */
.features-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Newsletter Section */
.newsletter-card {
    background: linear-gradient(145deg, var(--bg-card), #050d1a);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 50px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.envelope-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin: 0 auto 25px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.newsletter-card h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.newsletter-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.subscribe-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 20px;
    border-radius: 30px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.subscribe-form input:focus {
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.08);
}

.subscribe-form button {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 18px 20px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.subscribe-form button:hover {
    background: var(--primary-blue-hover);
    box-shadow: var(--glow);
}

.form-message {
    margin-top: 15px;
    font-size: 0.9rem;
    display: none;
}
.form-message.success { color: #4ade80; display: block; }
.form-message.error { color: #f87171; display: block; }

/* Footer */
footer {
    text-align: center;
    padding: 80px 20px 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    position: relative;
}

.footer-tag {
    color: var(--primary-blue);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

footer h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
}

.contact-email {
    color: var(--text-muted);
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 30px;
}

.footer-logo span {
    font-size: 1.2rem;
    font-weight: 700;
}

.copyright {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    line-height: 1.8;
}

/* Responsive Styles for Desktop */
@media (min-width: 768px) {
    .menu-toggle { display: none; }
    .nav-links { display: flex; }
    
    .hero-title { font-size: 4rem; }
    .hero-subtitle { font-size: 3rem; }
    
    .features-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .subscribe-form {
        flex-direction: row;
        max-width: 600px;
    }
    .subscribe-form input { flex: 1; }
    .subscribe-form button { width: 150px; }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}