/* RESET & VARIABLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* AUTOMAN 80s THEME COLORS */
    --bg-light: #020508; /* Deep space black/blue */
    --bg-white: #060d14; /* Card background */
    --bg-glass-card: rgba(6, 13, 20, 0.85);
    
    --text-main: #dcf3ff; /* Pale glowing cyan text */
    --text-muted: #5e7999; /* Steel gray */
    
    --primary: #00ffff; /* NEON CYAN */
    --primary-light: #80ffff;
    --primary-dark: #008888; /* Primary button bg */
    
    --accent-orange: #ff8800; /* For GeoRilievo */
    --accent-orange-light: rgba(255, 136, 0, 0.15);
    --accent-green: #00ffaa; /* For Kervio */
    --accent-green-light: rgba(0, 255, 170, 0.15);
    --accent-blue: #0088ff; /* For Doxen */
    --accent-blue-light: rgba(0, 136, 255, 0.15);
    --accent-purple: #cc00ff;
    --accent-purple-light: rgba(204, 0, 255, 0.15);
    --accent-pink: #ff00aa; /* For Dikast */
    --accent-pink-light: rgba(255, 0, 170, 0.15);
    --accent-gold: #ffd700; /* For Kallos */
    --accent-gold-light: rgba(255, 215, 0, 0.15);
    --accent-red: #ff3333; /* For Mentor */
    --accent-red-light: rgba(255, 51, 51, 0.15);
    
    --accent-cyan: #00ffff;
    --accent-cyan-light: rgba(0, 255, 255, 0.15);
    
    --glass-bg: rgba(2, 5, 8, 0.9);
    --glass-border: rgba(0, 255, 255, 0.3);
    --glass-shadow: 0 0 25px 0 rgba(0, 255, 255, 0.15);
}

html, body {
    font-family: 'Rajdhani', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    word-break: break-word;
    overflow-wrap: break-word;
    font-size: 1.15rem; /* slightly larger for rajdhani */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

ul {
    list-style: none;
}

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

.section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/* BACKGROUND EFFECTS */
.bg-gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
}

.sphere-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--primary-dark), transparent);
    top: -200px; right: -100px;
}

.sphere-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2), transparent);
    bottom: 10vh; left: -100px;
}

.bg-grid-pattern {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; justify-content: space-between; align-items: center;
}

.nav-brand {
    display: flex; align-items: center; gap: 8px;
    font-family: 'Orbitron', sans-serif; font-size: 1.5rem; font-weight: 800; color: #fff;
    text-shadow: 0 0 10px rgba(0,255,255,0.5);
}

.brand-icon { color: var(--primary); filter: drop-shadow(0 0 5px var(--primary)); }

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

.nav-link { font-weight: 500; color: var(--text-muted); transition: color 0.2s; }
.nav-link:hover { color: var(--text-main); }

.btn-nav {
    background: rgba(0, 255, 255, 0.05); color: var(--primary); border: 1px solid var(--primary);
    padding: 10px 24px; border-radius: 0; font-family: 'Orbitron', sans-serif; font-weight: 600; transition: all 0.3s;
    text-transform: uppercase; font-size: 0.8rem;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn-nav:hover { background: rgba(0, 255, 255, 0.15); box-shadow: 0 0 15px rgba(0, 255, 255, 0.4); color: white; }

.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; color: white; }

.mobile-menu {
    display: none; background: var(--bg-white); position: absolute; top: 100%; left: 0; right: 0;
    padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.5); border-bottom: 1px solid var(--glass-border);
}
.mobile-menu.active { display: flex; flex-direction: column; gap: 15px; }

/* HERO SECTION */
.hero {
    min-height: 100vh; /* Make it full screen like Elma */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 5, 8, 0.85); /* Dark overlay so text is readable */
    z-index: 2;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
    z-index: 10;
}

.badge-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0, 255, 255, 0.05);
    padding: 8px 16px; border-radius: 0; font-size: 0.9rem; font-weight: 600; color: var(--primary);
    border: 1px solid var(--primary); margin-bottom: 30px;
    font-family: 'Orbitron', sans-serif; text-transform: uppercase;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.pulse-dot {
    width: 8px; height: 8px; background: var(--accent-green); border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); animation: pulse 2s infinite;
}

.hero-title {
    font-size: 4.5rem; line-height: 1.1; margin-bottom: 20px; letter-spacing: -0.02em;
}

.text-gradient-primary {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem; color: var(--text-muted); margin-bottom: 40px;
    max-width: 650px; margin-left: auto; margin-right: auto;
}

.hero-actions { display: flex; justify-content: center; gap: 15px; margin-bottom: 50px; }

.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 32px; border-radius: 0; font-weight: 700; font-size: 1.1rem; transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif; text-transform: uppercase; letter-spacing: 1px;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}

.btn-primary {
    background: var(--primary-dark); color: white; border: 1px solid var(--primary);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}
.btn-primary:hover { background: var(--primary); color: black; box-shadow: 0 0 30px rgba(0, 255, 255, 0.8); }

.btn-secondary {
    background: rgba(0, 255, 255, 0.05); color: var(--primary); border: 1px solid var(--primary);
}
.btn-secondary:hover { background: rgba(0, 255, 255, 0.2); color: white; box-shadow: 0 0 20px rgba(0, 255, 255, 0.4); }

/* HERO STATS */
.hero-stats {
    display: flex; justify-content: center; align-items: center; gap: 30px;
    background: var(--bg-glass-card); backdrop-filter: blur(10px);
    border: 1px solid var(--primary); padding: 25px 50px; border-radius: 0;
    margin: 0 auto; max-width: 100%; width: max-content; box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.stat { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.stat-number { font-size: 2rem; font-weight: 800; font-family: 'Orbitron', sans-serif; color: var(--primary); line-height: 1; text-shadow: 0 0 10px rgba(0,255,255,0.5); }
.stat-label { font-size: 0.8rem; font-weight: 700; color: var(--text-main); text-transform: uppercase; letter-spacing: 1.5px; }

.stat-divider { width: 1px; height: 40px; background: var(--glass-border); }

.trust-bar { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text-muted); font-size: 0.95rem; }
.trust-item i { width: 20px; height: 20px; color: var(--accent-green); }


/* SECTIONS HEADER */
.section-kicker {
    display: inline-block; color: var(--primary); font-weight: 700; font-size: 0.85rem;
    letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px;
}
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; }
.section-header p { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 50px auto; }

/* ECOSYSTEM GRID */
.ecosystem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.eco-card {
    background: var(--bg-white); padding: 40px 30px; border-radius: 0;
    border: 1px solid var(--glass-border); border-top: 4px solid transparent;
    transition: all 0.3s; position: relative;
    display: flex; flex-direction: column;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.eco-card:hover { transform: translateY(-5px); box-shadow: 0 0 30px rgba(0, 255, 255, 0.2); border-color: var(--primary); }

.eco-card.border-blue { border-top-color: var(--accent-blue); }
.eco-card.border-orange { border-top-color: var(--accent-orange); }
.eco-card.border-green { border-top-color: var(--accent-green); }
.eco-card.border-purple { border-top-color: var(--accent-purple); }
.eco-card.border-pink { border-top-color: var(--accent-pink); }
.eco-card.border-gold { border-top-color: var(--accent-gold); }
.eco-card.border-red { border-top-color: var(--accent-red); }

.eco-card.featured { box-shadow: 0 10px 30px rgba(0,0,0,0.2); z-index: 2; }
.eco-card.featured:hover { transform: translateY(-10px); }

.eco-badge {
    position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
    background: var(--accent-blue); color: #fff; padding: 6px 20px; border-radius: 0;
    font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 100%, 0 100%);
}

.eco-icon {
    width: 60px; height: 60px; border-radius: 0; display: flex; align-items: center; justify-content: center; margin-bottom: 25px;
    border: 1px solid currentColor; box-shadow: inset 0 0 10px currentColor;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.eco-icon i { width: 30px; height: 30px; }

.bg-blue-light { background: transparent; }
.bg-orange-light { background: transparent; }
.bg-green-light { background: transparent; }
.bg-purple-light { background: transparent; }
.bg-pink-light { background: transparent; }
.bg-indigo-light { background: transparent; }
.bg-cyan-light { background: transparent; }
.bg-gold-light { background: transparent; }
.bg-red-light { background: transparent; }
.text-blue { color: var(--accent-blue); }
.text-orange { color: var(--accent-orange); }
.text-green { color: var(--accent-green); }
.text-purple { color: var(--accent-purple); }
.text-pink { color: var(--accent-pink); }
.text-indigo { color: var(--accent-blue); }
.text-cyan { color: var(--accent-cyan); }
.text-gold { color: var(--accent-gold); }
.text-red { color: var(--accent-red); }

.eco-card h3 { font-size: 1.8rem; margin-bottom: 5px; color: white; }
.eco-target { font-weight: 600; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.eco-desc { color: var(--text-muted); margin-bottom: 30px; line-height: 1.7; }

.btn-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1.05rem; margin-top: auto; }
.btn-link i { width: 18px; height: 18px; transition: transform 0.2s; }
.btn-link:hover i { transform: translateX(5px); }

/* CUSTOM DEVELOPMENT SECTION */
.bg-glass {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.8) 100%);
    border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border);
}

.custom-dev-wrapper { display: flex; align-items: center; gap: 60px; }
.custom-dev-content { flex: 1; }
.custom-dev-content h2 { font-size: 2.5rem; margin-bottom: 20px; color: white; }
.custom-dev-content p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 20px; }

.feature-list { margin-top: 30px; }
.feature-list li {
    display: flex; align-items: flex-start; gap: 12px; margin-bottom: 15px; font-size: 1.05rem; color: var(--text-main);
}
.feature-list i { color: var(--accent-green); flex-shrink: 0; }

.custom-dev-image { flex: 1; display: flex; justify-content: center; }
.glass-panel {
    background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border); padding: 50px 40px; border-radius: 24px; max-width: 400px;
}
.handshake-icon { width: 60px; height: 60px; color: var(--accent-orange); margin-bottom: 20px; }
.glass-panel h3 { color: white; margin-bottom: 15px; font-size: 1.6rem; }
.glass-panel p { color: var(--text-muted); }
.mt-4 { margin-top: 30px; }

/* VALUES SECTION */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.value-card {
    text-align: center; padding: 30px; background: var(--bg-white); border-radius: 0;
    border: 1px solid var(--glass-border);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    transition: all 0.3s;
}
.value-card:hover { border-color: var(--primary); box-shadow: 0 0 20px rgba(0,255,255,0.15); }
.value-icon { width: 48px; height: 48px; color: var(--primary); margin-bottom: 20px; filter: drop-shadow(0 0 5px var(--primary)); }
.value-card h4 { font-size: 1.4rem; margin-bottom: 15px; color: white; }
.value-card p { color: var(--text-muted); line-height: 1.7; }

/* FOOTER */
.footer { background: #070a11; padding: 80px 0 30px 0; border-top: 1px solid var(--glass-border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.text-white { color: white !important; }
.footer-desc { color: var(--text-muted); margin-top: 20px; max-width: 300px; }
.footer-links h5 { color: white; font-size: 1.2rem; margin-bottom: 20px; }
.footer-links a, .footer-links p {
    display: flex; align-items: center; gap: 10px; color: var(--text-muted); margin-bottom: 12px; transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent-orange); }
.footer-links i { width: 18px; height: 18px; }
.footer-bottom { text-align: center; border-top: 1px solid var(--glass-border); padding-top: 30px; color: var(--text-muted); font-size: 0.9rem; }

/* ANIMATIONS */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.animate-up { opacity: 0; transform: translateY(30px); animation: slideUp 0.8s forwards cubic-bezier(0.16, 1, 0.3, 1); }
.animate-fade-in { opacity: 0; animation: fadeIn 1s forwards cubic-bezier(0.16, 1, 0.3, 1); }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

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

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .custom-dev-wrapper { flex-direction: column; text-align: center; }
    .feature-list li { justify-content: center; text-align: left; }
    .ecosystem-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .bg-gradient-sphere { width: 300px; height: 300px; filter: blur(50px); }
    .sphere-1 { right: -50px; top: -100px; }
    .sphere-2 { left: -50px; }
    
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-title { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn { width: 100%; justify-content: center; }
    .hero-stats { flex-direction: column; padding: 20px; gap: 15px; width: 100%; max-width: 100%; }
    .stat-divider { width: 100%; height: 1px; }
    .trust-bar { flex-direction: column; gap: 15px; margin-top: 30px !important; }
    .ecosystem-grid { grid-template-columns: 1fr; }
    .glass-panel { padding: 30px 20px; }
    .eco-card { padding: 30px 20px; }
}

/* FORM STYLE */
.contact-container {
    max-width: 800px;
    margin: 120px auto 60px auto;
    padding: 0 20px;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.contact-header p {
    font-size: 1.15rem;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-row {
    display: flex;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

.form-input {
    width: 100%;
    padding: 18px 20px;
    background: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: white;
    font-size: 1.05rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-input::placeholder {
    color: #64748b;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-textarea {
    resize: vertical;
    min-height: 180px;
}

.privacy-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    margin-bottom: 35px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.privacy-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
}

.privacy-checkbox a {
    color: var(--primary);
    text-decoration: underline;
}

.btn-contact {
    display: inline-block;
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 0;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    border: 1px solid var(--primary);
    cursor: pointer;
    text-transform: uppercase;
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: 1px;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.4);
}

.legal-content {
    max-width: 800px;
    margin: 120px auto 60px auto;
    padding: 0 20px;
    color: var(--text-muted);
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: white;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: white;
}

.legal-content p, .legal-content ul {
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-content ul {
    padding-left: 20px;
    list-style-type: disc;
}

