/* Castaneda Networks - Main Stylesheet
 * Extracted from inline styles for performance optimization
 * Last updated: 2025
 */

/* ===== CRITICAL MOBILE STYLES ===== */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 8, 23, 0.98);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    height: 100%;
    overflow-y: auto;
    padding: 20px;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-logo {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(135deg, #00D9FF, #7B2CBF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-links {
    list-style: none;
    padding: 40px 0;
}

.mobile-nav-links li {
    margin-bottom: 20px;
}

.mobile-nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    display: block;
    padding: 10px 0;
    transition: all 0.3s;
}

.mobile-nav-links a:hover {
    color: #00D9FF;
    transform: translateX(10px);
}

.mobile-nav-links a.mobile-cta {
    background: linear-gradient(135deg, #00D9FF, #7B2CBF);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-align: center;
    margin-top: 20px;
    display: inline-block;
}

body.mobile-menu-open {
    overflow: hidden;
}

/* ===== NOTIFICATION MODAL ===== */
.notification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 8, 23, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.notification-modal.active {
    opacity: 1;
    visibility: visible;
}

.notification-content {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(123, 44, 191, 0.1));
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.2);
}

.notification-modal.active .notification-content {
    transform: translateY(0);
}

.notification-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.notification-icon.success {
    background: linear-gradient(135deg, #10B981, #059669);
}

.notification-icon.error {
    background: linear-gradient(135deg, #EF4444, #DC2626);
}

.notification-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #00D9FF, #7B2CBF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.notification-message {
    color: #E0E0E0;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.notification-button {
    background: linear-gradient(135deg, #00D9FF, #7B2CBF);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.notification-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

/* ===== AVAILABILITY BADGE ===== */
.availability-badge {
    position: fixed;
    top: 120px;
    right: 30px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.availability-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
}

.availability-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* ===== GLOBAL RESETS & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00D9FF;
    --secondary: #7B2CBF;
    --dark: #0A0E27;
    --darker: #060817;
    --light: #ffffff;
    --gray: #94A3B8;
    --success: #10B981;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--darker);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

section {
    max-width: 1260px;
    margin: 0 auto;
    padding: 5rem 2rem;
    contain: layout style;
}

/* ===== ANIMATED BACKGROUNDS ===== */
.bg-animation {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(to bottom, #060817, #0A0E27);
    overflow: hidden;
}

.bg-animation::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 80% 80%, rgba(123, 44, 191, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 40% 20%, rgba(0, 217, 255, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

.grid-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(0, 217, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-5px); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== NAVIGATION ===== */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.95);
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.3s ease;
    will-change: transform;
}

header.scrolled {
    padding: 0.5rem 0;
    background: rgba(10, 14, 39, 0.98);
}

nav {
    max-width: 1260px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.logo-img {
    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;
    border-radius: 50%;
    object-fit: contain;
    object-position: center;
    background: #000;
    padding: 1px;
    border: 2px solid rgba(0, 217, 255, 0.3);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2);
    flex-shrink: 0;
}

.logo:hover .logo-img {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.4);
}

.logo-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text::before {
    content: '</>';
    font-family: monospace;
    font-size: 1.2rem;
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.book-consultation-nav {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.book-consultation-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
    border-color: var(--primary);
    color: white !important;
}

.book-consultation-nav::after {
    display: none !important;
}

.client-portal-nav {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    padding: 0.5rem 1.25rem !important;
    border-radius: 50px;
    color: white !important;
    font-weight: 600 !important;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.client-portal-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(123, 44, 191, 0.3);
    color: white !important;
}

.client-portal-nav::after {
    display: none !important;
}

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
    position: relative;
}

.hero-content {
    max-width: 1260px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-headline .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    background: linear-gradient(135deg, var(--light) 0%, var(--gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--gray);
    margin-bottom: 2rem;
    opacity: 0;
}

.founder-tag {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    opacity: 0;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
}

.cta-primary {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
    will-change: transform;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.4);
}

.cta-secondary {
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--primary);
    text-decoration: none;
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    will-change: transform;
}

.cta-secondary:hover {
    background: rgba(0, 217, 255, 0.1);
    transform: translateY(-2px);
}

/* ===== HERO VISUAL ===== */
.hero-visual {
    position: relative;
    opacity: 0;
}

.hero-logo {
    position: absolute;
    top: -140px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    min-width: 100px;
    min-height: 100px;
    border-radius: 50%;
    object-fit: contain;
    object-position: center;
    background: #000;
    padding: 2px;
    border: 3px solid rgba(0, 217, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.3),
                0 0 60px rgba(123, 44, 191, 0.2);
    z-index: 10;
}

.code-window {
    background: rgba(10, 14, 39, 0.95);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.3s ease;
    will-change: transform;
}

.code-window:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.window-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.window-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #28CA42; }

.code-content {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-line {
    margin-bottom: 0.5rem;
    opacity: 0;
}

.code-keyword { color: #FF79C6; }
.code-function { color: #50FA7B; }
.code-string { color: #F1FA8C; }
.code-number { color: #BD93F9; }
.code-comment { color: #6272A4; }

/* ===== STATS SECTION ===== */
.stats {
    padding: 4rem 2rem;
    background: rgba(10, 14, 39, 0.5);
    border-top: 1px solid rgba(0, 217, 255, 0.1);
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray);
    font-size: 1.1rem;
}

/* ===== TECH STACK SECTION ===== */
.tech-stack {
    padding: 4rem 5%;
    background: rgba(10, 14, 39, 0.3);
    border-top: 1px solid rgba(0, 217, 255, 0.1);
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.tech-stack-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.tech-stack h3 {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tech-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.tech-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tech-logo {
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%) brightness(0.7);
    opacity: 0.6;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: visible;
}

.tech-logo:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: translateY(-5px);
}

.tech-logo svg {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.tech-name {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-logo:hover + .tech-name {
    opacity: 1;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--light) 0%, var(--gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(10, 14, 39, 0.6);
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
    fill: none;
}

.service-card:hover .service-icon {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.service-card p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: var(--gray);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    background: rgba(10, 14, 39, 0.3);
}

.portfolio-container {
    max-width: 1260px;
    margin: 0 auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: var(--darker);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0, 217, 255, 0.1);
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
}

.portfolio-item:hover {
    transform: scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.2);
}

.portfolio-image {
    height: 250px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(123, 44, 191, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-image::after {
    opacity: 1;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.portfolio-tech {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tech-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary);
}

.portfolio-content p {
    color: var(--gray);
    line-height: 1.6;
}

/* ===== BLOG SECTION ===== */
.blog {
    padding: 5rem 2rem;
    background: var(--darker);
}

.blog-container {
    max-width: 1260px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: rgba(10, 14, 39, 0.5);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border: 1px solid rgba(0, 217, 255, 0.1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.2);
    border-color: var(--primary);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(123, 44, 191, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--gray);
}

.blog-date {
    color: var(--primary);
}

.blog-category {
    padding: 0.25rem 0.75rem;
    background: rgba(0, 217, 255, 0.1);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--primary);
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light);
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-read-more {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.blog-card:hover .blog-read-more {
    gap: 1rem;
}

/* ===== FAQ SECTION ===== */
.faq {
    background: rgba(10, 14, 39, 0.3);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}

.faq-item {
    background: rgba(10, 14, 39, 0.6);
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--light);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.8;
}

.faq-answer ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 217, 255, 0.1);
}

.faq-cta p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-item {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: start;
    gap: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
}

.contact-details {
    flex: 1;
}

.contact-label {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.contact-value {
    color: var(--light);
    font-size: 1.1rem;
}

.contact-value a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-value a:hover {
    color: var(--light);
}

.contact-form {
    background: rgba(10, 14, 39, 0.6);
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 8px;
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 217, 255, 0.05);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: rgba(239, 68, 68, 0.5);
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: rgba(16, 185, 129, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--light);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.05) 0%, rgba(123, 44, 191, 0.05) 100%);
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 217, 255, 0.1);
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.newsletter-subtitle {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #e0e0e0;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-input::placeholder {
    color: var(--gray);
}

.newsletter-consent {
    display: flex;
    align-items: start;
    gap: 10px;
    font-size: 14px;
    color: #b0b0b0;
    cursor: pointer;
    text-align: left;
}

.newsletter-consent input[type="checkbox"] {
    margin-top: 2px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.newsletter-consent span {
    flex: 1;
    line-height: 1.5;
}

.newsletter-consent a {
    color: #00d4ff;
    text-decoration: underline;
}

.newsletter-consent a:hover {
    color: #7b2ff7;
}

.newsletter-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #00d4ff, #7b2ff7);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.newsletter-btn:hover {
    transform: scale(1.05);
}

.newsletter-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.newsletter-privacy {
    font-size: 14px;
    color: var(--gray);
}

/* ===== FOOTER ===== */
footer {
    background: var(--darker);
    border-top: 1px solid rgba(0, 217, 255, 0.1);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content p {
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a svg {
    width: 20px;
    height: 20px;
    fill: var(--primary);
    transition: fill 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}

.social-links a:hover svg {
    fill: var(--dark);
}

/* ===== MOBILE MENU BUTTON ===== */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.mobile-menu span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
}

.mobile-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links.active {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    animation: slideDown 0.3s ease;
    border-top: 1px solid rgba(0, 217, 255, 0.2);
}

.nav-links.active .book-consultation-nav {
    width: 100%;
    justify-content: center;
    margin-left: 0;
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .logo-img {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .notification-content {
        padding: 30px 20px;
    }

    .notification-title {
        font-size: 20px;
    }

    .notification-message {
        font-size: 14px;
    }

    .availability-badge {
        top: 100px;
        right: 20px;
        font-size: 0.85rem;
        padding: 10px 16px;
    }

    .mobile-menu {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .book-consultation-nav {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .cta-group {
        flex-direction: column;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tech-logos {
        gap: 2rem;
    }

    .tech-logo {
        width: 60px;
        height: 60px;
    }

    .newsletter-title {
        font-size: 28px;
    }

    .newsletter-subtitle {
        font-size: 16px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
    }
}

/* Performance optimization for mobile - slower animations */
@media (max-width: 768px) {
    .bg-animation::before {
        animation: rotate 60s linear infinite;
    }
    .grid-bg {
        animation: grid-move 20s linear infinite;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .bg-animation::before,
    .grid-bg,
    .availability-badge {
        animation: none;
    }
}
