/* ===== CSS VARIABLES & RESET ===== */
:root {
    /* Colors */
    --bg-dark: #050b14;
    --bg-darker: #02060b;
    --bg-card: rgba(14, 25, 45, 0.6);
    --primary: #00e5ff;
    --primary-glow: rgba(0, 229, 255, 0.4);
    --secondary: #7000ff;
    --text-main: #f0f4f8;
    --text-muted: #94a3b8;
    --border-color: rgba(0, 229, 255, 0.1);
    
    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

html {
    scroll-behavior: smooth;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== UTILITIES & BUTTONS ===== */
.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--primary);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
    line-height: 1.2;
}

.section-title span {
    color: var(--primary);
}

.mt-4 { margin-top: 32px; }

/* Buttons */
.btn-primary, .btn-secondary, .btn-submit {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-heading);
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-darker);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.6);
    background: #00c4dc;
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(0, 229, 255, 0.1);
}

/* ===== NAVBAR ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(2, 6, 11, 0.85);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary);
}

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

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/tech_hero.png');
    background-position: center;
    background-size: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 6, 11, 0.95) 0%, rgba(2, 6, 11, 0.7) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 229, 255, 0.1);
    color: var(--primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

.stat-item h3 {
    display: inline-block;
    font-size: 2.5rem;
    color: var(--text-main);
    margin-right: 2px;
}

.stat-item span {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary);
    font-weight: 600;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.img-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.img-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, rgba(0,229,255,0.2) 0%, transparent 100%);
    pointer-events: none;
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: rgba(2, 6, 11, 0.9);
    border: 1px solid var(--border-color);
    padding: 16px 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(5px);
}

.pulse {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(0, 229, 255, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 229, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 1.1rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-list li {
    display: flex;
    gap: 16px;
}

.icon-box {
    width: 36px;
    height: 36px;
    background: rgba(0, 229, 255, 0.1);
    color: var(--primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-list h5 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--text-main);
}

.feature-list p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 100px 0;
    background: var(--bg-darker);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-header p {
    color: var(--text-muted);
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(0,229,255,0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

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

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

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .card-icon {
    background: var(--primary);
    color: var(--bg-darker);
    box-shadow: 0 0 15px var(--primary-glow);
}

.card-icon svg {
    width: 28px;
    height: 28px;
}

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

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.learn-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.learn-more:hover {
    color: #fff;
}

/* ===== BANNER SECTION ===== */
.banner-section {
    padding: 120px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-darker);
}

.banner-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('images/tech_services.png');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    opacity: 0.3;
}

.banner-section .section-title {
    margin-bottom: 16px;
}

.banner-section p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(112, 0, 255, 0.1);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info-item h4 {
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.info-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

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

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.5);
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: var(--bg-darker);
    font-size: 1.1rem;
}

.form-status {
    margin-top: 16px;
    text-align: center;
    font-size: 0.9rem;
}

/* ===== FOOTER ===== */
footer {
    background: var(--bg-darker);
    padding-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.footer-brand h2 span {
    color: var(--primary);
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-muted);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--bg-darker);
}

.footer-links h3 {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
}

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

.footer-bottom {
    background: #010408;
    padding: 24px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* ===== MEDIA QUERIES ===== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .floating-badge { right: 20px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .btn-nav { display: none; }
    .mobile-menu-btn { display: flex; }
    
    .hero-stats { flex-direction: column; gap: 24px; }
    .services-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(2, 6, 11, 0.95);
        padding: 24px;
        backdrop-filter: blur(10px);
    }
}

/* ===== LOGO AND REFERENCES ===== */
.brand-logo { height: 52px; display: block; }
.footer-logo { height: 65px; margin-bottom: 16px; }
.references-section { padding: 80px 0; background: var(--bg-dark); border-bottom: 1px solid rgba(255,255,255,0.05); }
.references-grid { display: flex; justify-content: center; gap: 30px; margin-top: 40px; }
.reference-card { background: var(--bg-card); border: 1px solid var(--border-color); padding: 30px 50px; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: var(--transition); min-width: 250px; }
.reference-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 5px 20px rgba(0,229,255,0.2); }
.ref-icon { font-size: 2.5rem; margin-bottom: 12px; }
.reference-card h3 { font-size: 1.2rem; color: var(--text-main); }
