/* ========== GLOBAL STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00ff88;
    --primary-dark: #00cc6a;
    --bg-dark: #0d1117;
    --bg-darker: #010409;
    --text-light: #c9d1d9;
    --text-gray: #8b949e;
    --border-color: rgba(0, 255, 136, 0.2);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Prevent layout shift */
* {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Show default cursor on mobile */
@media (max-width: 768px) {
    body {
        cursor: auto;
    }
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* ========== CUSTOM CURSOR ========== */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease, opacity 0.2s ease;
    mix-blend-mode: difference;
}

.custom-cursor.hover {
    transform: scale(1.5);
    background: rgba(0, 255, 136, 0.2);
}

/* Hide cursor on mobile */
@media (max-width: 768px) {
    .custom-cursor {
        display: none;
    }
}

/* ========== LOADING SCREEN ========== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(0, 255, 136, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    margin-top: 20px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--primary);
    font-size: 14px;
}

/* ========== PARTICLE CANVAS ========== */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}

/* Reduce particles on mobile for performance */
@media (max-width: 768px) {
    #particleCanvas {
        opacity: 0.5;
        will-change: auto;
    }
}

.content-wrapper {
    position: relative;
    z-index: 1;
    isolation: isolate;
}

/* Ensure proper stacking context for all major sections */
.hero-section,
.services-preview,
.stats-section,
.testimonials-section,
.quick-answers-section,
.guarantees-section,
.cta-section {
    position: relative;
    isolation: isolate;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Prevent text from showing through header */
.hero-section {
    padding-top: 80px;
}

footer {
    position: relative;
    z-index: 1;
    isolation: isolate;
    background: var(--bg-darker);
}

/* ========== HEADER & NAVIGATION ========== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
    transition: all 0.3s ease;
    will-change: transform;
}

header.scrolled {
    background: rgba(13, 17, 23, 0.98);
    box-shadow: 0 5px 30px rgba(0, 255, 136, 0.1);
}

/* Ensure all sections have proper z-index hierarchy */
section {
    position: relative;
    z-index: 1;
    isolation: isolate;
}

.stats-section {
    position: relative;
    z-index: 2;
    isolation: isolate;
    background: var(--bg-darker) !important;
}

/* Sections should be transparent to show particles */
.hero-section,
.services-preview,
.testimonials-section,
.quick-answers-section,
.guarantees-section,
.cta-section {
    background: transparent;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Online Status */
.online-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse 2s infinite;
}

.online-status.offline .status-dot {
    background: #ff4444;
    animation: none;
}

.online-status.offline {
    background: rgba(255, 68, 68, 0.1);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary);
    position: relative;
    cursor: pointer;
}

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

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    position: relative;
    transition: color 0.3s ease;
}

.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,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
}

/* ========== GLITCH EFFECT ========== */
.glitch {
    position: relative;
    display: inline-block;
}

.glitch:hover::before,
.glitch:hover::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch:hover::before {
    animation: glitch-1 0.3s infinite;
    color: var(--primary);
    z-index: -1;
}

.glitch:hover::after {
    animation: glitch-2 0.3s infinite;
    color: #ff0088;
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    33% { transform: translate(-2px, 2px); }
    66% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    33% { transform: translate(2px, -2px); }
    66% { transform: translate(-2px, 2px); }
}

/* ========== NEON EFFECTS ========== */
.neon-glow {
    box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary), 0 0 30px var(--primary);
}

.neon-text {
    text-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary);
}

/* ========== GLASSMORPHISM ========== */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.3), 0 20px 60px rgba(0, 0, 0, 0.5);
}

.glass-card:hover::before {
    left: 100%;
}

/* ========== BUTTONS ========== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-dark);
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px var(--primary), 0 10px 30px rgba(0, 255, 136, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 32px;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--primary);
}

/* ========== SCROLL ANIMATIONS ========== */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--primary);
}

/* ========== FOOTER ========== */
footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(0, 255, 136, 0.1);
    padding: 3rem 0;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ========== RESPONSIVE ========== */

/* Tablet and below */
@media (max-width: 968px) {
    nav {
        padding: 1rem 1.5rem;
        gap: 0.5rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .online-status {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .terminal-3d {
        transform: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Fix navigation overlap */
    nav {
        padding: 1rem 1rem;
        gap: 0.5rem;
        justify-content: space-between;
    }

    .logo {
        font-size: 1rem;
        order: 1;
        flex: 0 0 auto;
    }

    .online-status {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
        order: 2;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .status-dot {
        width: 6px;
        height: 6px;
    }

    .mobile-menu-btn {
        order: 3;
        flex: 0 0 auto;
    }

    /* Navigation Menu */
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(13, 17, 23, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1001;
    }

    .mobile-menu-btn span {
        width: 25px;
        height: 2px;
        background: var(--primary);
        transition: all 0.3s ease;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Hero Section */
    .hero-section {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 3rem;
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons button {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    /* Terminal */
    .terminal-3d {
        padding: 1rem;
        margin-top: 2rem;
    }

    .terminal-content {
        font-size: 0.75rem;
        line-height: 1.6;
    }

    /* Sections */
    .section-padding {
        padding: 2rem 1.5rem;
    }

    .services-preview {
        padding: 2rem 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .service-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .service-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .service-features li {
        font-size: 0.85rem;
    }

    /* Stats */
    .stats-section {
        padding: 2rem 1.5rem;
        margin: 1rem 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-box .number {
        font-size: 2.5rem;
    }

    .stat-box .label {
        font-size: 0.9rem;
    }

    /* Tech Grid */
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .tech-item {
        padding: 1.5rem 0.5rem;
    }

    .tech-icon {
        font-size: 2rem;
    }

    .tech-name {
        font-size: 0.85rem;
    }

    /* Timeline */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 50px;
        margin-bottom: 2rem;
    }

    .timeline-content {
        width: 100%;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-year {
        font-size: 0.85rem;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    /* Testimonials */
    .testimonials-section {
        padding: 2rem 1.5rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .testimonial-author h4 {
        font-size: 1rem;
    }

    .testimonial-author p {
        font-size: 0.85rem;
    }

    /* Quick Answers */
    .quick-answers-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .answer-question {
        font-size: 0.95rem;
        padding: 1rem;
    }

    .answer-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Guarantees */
    .guarantees-section {
        padding: 2rem 1.5rem;
    }

    .guarantees-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .guarantee-icon {
        font-size: 2.5rem;
    }

    .guarantee-card h3 {
        font-size: 1.1rem;
    }

    .guarantee-card p {
        font-size: 0.9rem;
    }

    /* CTA Section */
    .cta-section {
        padding: 2rem 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .cta-section p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-section .glass-card {
        padding: 2rem 1.5rem !important;
    }

    .cta-section div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .cta-section button {
        width: 100%;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-section p,
    .footer-section li {
        font-size: 0.9rem;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        padding: 1.5rem;
        font-size: 0.85rem;
    }

    /* Buttons */
    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        min-height: 48px; /* Touch-friendly */
    }

    /* Language Toggle */
    .lang-toggle {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    /* Back to top */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }

    /* Disable heavy effects on mobile */
    .glass-card:hover,
    .portfolio-item:hover,
    .service-card:hover {
        transform: translateY(-5px) !important;
    }

    /* Disable parallax on mobile */
    .hero-section,
    #particleCanvas {
        transform: none !important;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stat-box .number {
        font-size: 2rem;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .logo {
        font-size: 0.9rem;
    }

    .online-status {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
    }

    .status-text {
        display: none; /* Hide text on very small screens, keep only dot */
    }
}

/* iOS specific fixes */
@supports (-webkit-touch-callout: none) {
    /* iOS Safari */
    body {
        -webkit-font-smoothing: antialiased;
    }

    input,
    textarea,
    button {
        -webkit-appearance: none;
        border-radius: 0;
    }

    /* Fix iOS scroll bounce causing overlap */
    .content-wrapper {
        -webkit-overflow-scrolling: touch;
    }

    /* Prevent iOS zoom on input focus */
    input,
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Android specific fixes */
@media (max-width: 768px) {
    /* Prevent text size adjustment on orientation change */
    html {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    /* Better tap highlighting */
    * {
        -webkit-tap-highlight-color: rgba(0, 255, 136, 0.2);
    }

    /* Disable cursor on mobile */
    body {
        cursor: auto !important;
    }

    .custom-cursor {
        display: none !important;
    }

    /* Ensure smooth scrolling on mobile */
    body {
        -webkit-overflow-scrolling: touch;
        overflow-scrolling: touch;
    }

    /* Fix for mobile Safari address bar */
    .hero-section {
        min-height: calc(100vh - 70px);
    }
}

/* ========== CUSTOM SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

/* ========== 3D CARD EFFECTS ========== */
.glass-card,
.portfolio-item,
.service-card {
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-card:hover,
.portfolio-item:hover,
.service-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.3);
}

.glass-card::before,
.portfolio-item::before,
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
    pointer-events: none;
}

.glass-card:hover::before,
.portfolio-item:hover::before,
.service-card:hover::before {
    opacity: 1;
}

/* ========== GLOW EFFECTS ========== */
.glow-on-hover {
    position: relative;
    overflow: hidden;
}

.glow-on-hover::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.4), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.glow-on-hover:hover::after {
    width: 300px;
    height: 300px;
}

/* ========== LOADING SKELETON ========== */
.skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-card {
    height: 300px;
    margin-bottom: 2rem;
}

.skeleton-text {
    height: 20px;
    margin-bottom: 10px;
}

.skeleton-title {
    height: 30px;
    width: 60%;
    margin-bottom: 15px;
}

/* ========== ENHANCED ANIMATIONS ========== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 255, 136, 0.6); }
}

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

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* ========== TECHNOLOGIES SECTION ========== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-item {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.tech-item:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--primary);
    background: rgba(0, 255, 136, 0.05);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.2);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.4s ease;
}

.tech-item:hover .tech-icon {
    transform: rotateY(360deg);
}

.tech-name {
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ========== TIMELINE ========== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.2);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary);
    z-index: 1;
}

.timeline-year {
    font-family: 'JetBrains Mono', monospace;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* ========== TESTIMONIALS CAROUSEL ========== */
.testimonials-section {
    padding: 3rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-carousel {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.testimonial-info h4 {
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 255, 136, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

/* ========== LANGUAGE TOGGLE ========== */
.lang-toggle {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--primary);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: var(--text-light);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    background: rgba(0, 255, 136, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.lang-toggle #currentLang {
    color: var(--primary);
    font-weight: 700;
}

.lang-toggle #otherLang {
    color: var(--text-gray);
}

/* ========== MOBILE IMPROVEMENTS ========== */
@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
    }

    .tech-item {
        padding: 1.5rem 0.5rem;
    }

    .tech-icon {
        font-size: 2rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 50px;
    }

    .timeline-content {
        width: 100%;
    }

    .timeline-dot {
        left: 20px;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .lang-toggle {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
}

/* ========== QUICK ANSWERS SECTION ========== */
.quick-answers-section {
    background: var(--bg-dark);
    padding: 3rem 3rem;
}

.quick-answers-grid {
    display: grid;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.answer-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.answer-card:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.1);
}

.answer-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

.answer-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.answer-card.active .answer-icon {
    transform: rotate(45deg);
}

.answer-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
}

.answer-card.active .answer-content {
    max-height: 200px;
    margin-top: 1rem;
}

.answer-content p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ========== GUARANTEES SECTION ========== */
.guarantees-section {
    background: var(--bg-darker);
    padding: 3rem 3rem;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.guarantee-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
}

.guarantee-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.2);
}

.guarantee-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.guarantee-card h3 {
    font-family: 'JetBrains Mono', monospace;
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.guarantee-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

