/* Zynpatix - Modern Tech Theme */
:root {
    --bg-base: #06080F;
    --bg-surface: #0B0E1A;
    --bg-elevated: #131726;
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --accent-primary: #7C3AED; /* Deep Purple */
    --accent-secondary: #06B6D4; /* Neon Blue */
    --accent-gradient: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    --border-color: rgba(255, 255, 255, 0.08);
    --nav-height: 80px;
}

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

a, button, input, textarea, select, .link, [onclick] {
    cursor: pointer;
}

input, textarea {
    cursor: text;
}

[disabled] {
    cursor: not-allowed;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Elements */
h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

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

/* Background Grid Effect */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

.bg-grid::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-base) 80%);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(6, 8, 15, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--border-color);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0,0,0,0.5);
}

.nav-links a:hover {
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(6, 182, 212, 0.8);
}

/* Buttons */
.btn-primary-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: var(--accent-gradient);
    color: white;
    border-radius: 8px;
    font-weight: 500;
    border: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary-glow::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
}

.btn-primary-glow:hover::before {
    opacity: 1;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: transparent;
    color: white;
    border-radius: 8px;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-primary-glow i { margin-left: 8px; font-size: 1.2rem; }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--nav-height) + 4rem) 2rem 4rem;
    position: relative;
    background: 
        linear-gradient(180deg, rgba(6,8,15,0.7) 0%, rgba(6,8,15,0.4) 30%, rgba(6,8,15,0.8) 70%, rgba(6,8,15,1) 100%),
        url('assets/images/hero_bg.jpg') no-repeat center center;
    background-size: cover;
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(11, 14, 26, 0.8);
    border: 1px solid rgba(124, 58, 237, 0.6);
    border-radius: 20px;
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto 3rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 6rem;
}

/* Hero Stats */
.hero-stats {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    background: rgba(11, 14, 26, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
}

.stat-card {
    text-align: center;
    border-right: 1px solid var(--border-color);
}
.stat-card:last-child { border-right: none; }

.stat-card h3 {
    font-size: 2.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
}

/* Common Section Styles */
section:not(.hero) {
    padding: 8rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2rem;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.service-glow {
    position: absolute;
    top: 0; left: 0; right: 0; height: 40%;
    background: radial-gradient(circle at center top, rgba(124, 58, 237, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.service-card:hover .service-glow { opacity: 1; }

.service-icon {
    font-size: 3rem;
    color: var(--accent-secondary);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    color: var(--accent-primary);
    font-weight: 500;
    position: relative;
    z-index: 1;
}
.learn-more i { margin-left: 6px; transition: transform 0.3s; }
.learn-more:hover i { transform: translateX(4px); }

/* Solutions Section */
.solutions-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solutions-list {
    margin: 2rem 0 3rem;
    list-style: none;
}

.solutions-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.solutions-list i {
    color: var(--accent-secondary);
    font-size: 1.5rem;
}

.solutions-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.abstract-shape {
    position: absolute;
    width: 300px; height: 300px;
    background: var(--accent-gradient);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    animation: pulse 6s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.15; }
    100% { transform: scale(1.2); opacity: 0.25; }
}

.glass-panel {
    background: rgba(19, 23, 38, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 80%;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.panel-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
    color: var(--text-primary);
    background: rgba(255,255,255,0.02);
}

.panel-body {
    padding: 1.5rem;
}

.status-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}
.status-row:last-child { margin-bottom: 0; }
.status-ok { color: #10B981; font-weight: 500; }

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 4rem;
}

.contact-info h2 { font-size: 3rem; margin-bottom: 1rem; }
.contact-info p { color: var(--text-secondary); margin-bottom: 3rem; font-size: 1.1rem; }

.detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.detail-item i {
    font-size: 1.5rem;
    color: var(--accent-secondary);
    padding: 12px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 50%;
}

.contact-form-container {
    background: var(--bg-elevated);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.input-group { margin-bottom: 1.5rem; }
.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

input, textarea, select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

option { background: var(--bg-elevated); }
.full-width { width: 100%; margin-top: 1rem; }

.form-status { margin-top: 1rem; font-size: 0.95rem; text-align: center; }
.form-status.success { color: #10B981; }

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 1rem;
    background: var(--bg-surface);
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo {
    height: 18px;
    width: auto;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-content a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

.footer-content a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay modifiers for stagger effect */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Floating Animation for Hero Stats */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.stat-card {
    animation: float 6s ease-in-out infinite;
}
.stat-card:nth-child(2) { animation-delay: 1s; }
.stat-card:nth-child(3) { animation-delay: 2s; }

/* Responsive */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .hero h1 { font-size: 4rem; }
    .hero-stats { grid-template-columns: 1fr; gap: 1rem; }
    .stat-card { border-right: none; border-bottom: 1px solid var(--border-color); padding-bottom: 1rem; }
    .stat-card:last-child { border-bottom: none; padding-bottom: 0; }
    .solutions-container, .contact-wrapper, .footer-content { grid-template-columns: 1fr; }
    .footer-links-horizontal { justify-content: center; flex-wrap: wrap; gap: 1rem; }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    
    .nav-links, .nav-actions { 
        display: none; 
        width: 100%; 
        flex-direction: column; 
        text-align: center; 
        padding: 1rem 0;
    }
    
    .nav-links.active {
        display: flex;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        background: var(--bg-surface);
        border-bottom: 1px solid var(--border-color);
        gap: 1.5rem;
    }

    .hero h1 { font-size: 3rem; }
    .hero p { font-size: 1.1rem; }
    .contact-wrapper { padding: 2rem; }
    .form-row { grid-template-columns: 1fr; }
}
