/* ============================================
   LUMEN AXIS - Futuristic Technology Website
   Advanced CSS3 with Modern Effects
   ============================================ */

/* === CSS Custom Properties === */
:root {
    --bg-primary: #050510;
    --bg-secondary: #0a0a1a;
    --bg-card: rgba(10, 10, 30, 0.6);
    --text-primary: #e8e8f0;
    --text-secondary: #8888aa;
    --text-muted: #555577;
    --accent-blue: #00b4ff;
    --accent-cyan: #00e5ff;
    --accent-purple: #a855f7;
    --accent-magenta: #e040fb;
    --accent-gradient: linear-gradient(135deg, #00b4ff, #00e5ff);
    --accent-gradient-2: linear-gradient(135deg, #a855f7, #e040fb);
    --glow-blue: 0 0 20px rgba(0, 180, 255, 0.3), 0 0 40px rgba(0, 180, 255, 0.1);
    --glow-cyan: 0 0 20px rgba(0, 229, 255, 0.3), 0 0 40px rgba(0, 229, 255, 0.1);
    --glow-purple: 0 0 20px rgba(168, 85, 247, 0.3);
    --glass-bg: rgba(10, 10, 30, 0.4);
    --glass-border: rgba(0, 180, 255, 0.1);
    --glass-blur: blur(20px);
    --font-display: 'Orbitron', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
    --nav-height: 80px;
    --section-padding: 120px;
    --container-width: 1200px;
    --border-radius: 16px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s ease;
    --transition-slow: 0.8s ease;
}

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
    position: relative;
}

/* === Canvas Backgrounds === */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#circuitCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* === Selection === */
::selection {
    background: rgba(0, 180, 255, 0.3);
    color: var(--accent-cyan);
}

/* === Scrollbar === */
::-webkit-scrollbar {
    width: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-blue), var(--accent-purple));
    border-radius: 3px;
}

/* === Links === */
a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 16, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 180, 255, 0.05);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(5, 5, 16, 0.92);
    border-bottom: 1px solid rgba(0, 180, 255, 0.1);
}

.nav-glow-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), var(--accent-cyan), var(--accent-blue), transparent);
    opacity: 0.5;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.nav-logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 180, 255, 0.4));
    transition: filter var(--transition-normal);
}

.nav-logo:hover .nav-logo-img {
    filter: drop-shadow(0 0 20px rgba(0, 180, 255, 0.7));
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-primary);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width var(--transition-normal);
    box-shadow: var(--glow-blue);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-cyan);
}

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

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--accent-cyan);
    transition: all var(--transition-normal);
    border-radius: 2px;
}

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

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 30px 80px;
    overflow: hidden;
    z-index: 1;
}

.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 180, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 180, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, transparent 70%);
    animation: gridPulse 4s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(0, 180, 255, 0.08);
    border: 1px solid rgba(0, 180, 255, 0.15);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 30px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-cyan);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.5); }
    50% { opacity: 0.5; box-shadow: 0 0 0 8px rgba(0, 229, 255, 0); }
}

.hero-logo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.hero-logo {
    width: 160px;
    height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(0, 180, 255, 0.4));
    animation: logoFloat 6s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.hero-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 180, 255, 0.2), transparent 70%);
    animation: glowPulse 4s ease-in-out infinite;
    z-index: 0;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 8px;
    margin-bottom: 20px;
}

.title-line {
    display: block;
}

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

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: var(--accent-cyan);
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.hero-description {
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* === Buttons === */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #000;
    box-shadow: 0 4px 20px rgba(0, 180, 255, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 180, 255, 0.5), 0 0 60px rgba(0, 180, 255, 0.2);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 229, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* === Stats === */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 30px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-cyan);
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-blue);
}

.stat-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, var(--accent-blue), transparent);
}

/* === Scroll Indicator === */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(0, 180, 255, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 3px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   SECTION BASE STYLES
   ============================================ */
.section {
    position: relative;
    padding: var(--section-padding) 30px;
    z-index: 1;
}

.section-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    display: inline-block;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--accent-purple);
    letter-spacing: 2px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.title-decoration.left {
    justify-content: flex-start;
}

.deco-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue));
}

.title-decoration .deco-line:last-child {
    background: linear-gradient(90deg, var(--accent-blue), transparent);
}

.deco-diamond {
    width: 10px;
    height: 10px;
    background: var(--accent-gradient);
    transform: rotate(45deg);
    box-shadow: var(--glow-blue);
}

/* ============================================
   TECHNOLOGY CARDS
   ============================================ */
.technology-section {
    background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary), var(--bg-primary));
}

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

.tech-card {
    position: relative;
    padding: 2px;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, rgba(0, 180, 255, 0.1), rgba(168, 85, 247, 0.05));
    transition: all var(--transition-normal);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.tech-card:hover {
    transform: translateY(-8px);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 180, 255, 0.06), transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

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

.card-border {
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 180, 255, 0.08);
    transition: border-color var(--transition-normal);
    pointer-events: none;
}

.tech-card:hover .card-border {
    border-color: rgba(0, 180, 255, 0.3);
    box-shadow: inset 0 0 30px rgba(0, 180, 255, 0.05);
}

.card-content {
    position: relative;
    padding: 40px 30px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    z-index: 1;
    height: 100%;
}

.card-icon {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.card-icon svg {
    width: 30px;
    height: 30px;
    color: var(--accent-cyan);
    position: relative;
    z-index: 1;
    transition: all var(--transition-normal);
}

.tech-card:hover .card-icon svg {
    color: var(--accent-blue);
    filter: drop-shadow(0 0 10px rgba(0, 180, 255, 0.5));
}

.icon-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 12px;
    transition: all var(--transition-normal);
}

.tech-card:hover .icon-ring {
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
    transform: rotate(45deg) scale(1.1);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: var(--text-primary);
    transition: color var(--transition-normal);
}

.tech-card:hover .card-title {
    color: var(--accent-cyan);
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.card-line {
    width: 40px;
    height: 2px;
    background: var(--accent-gradient);
    margin-top: 20px;
    transition: width var(--transition-normal);
    box-shadow: 0 0 10px rgba(0, 180, 255, 0.3);
}

.tech-card:hover .card-line {
    width: 80px;
}

/* HUD Corners */
.card-hud-corner {
    position: absolute;
    width: 15px;
    height: 15px;
    z-index: 2;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.tech-card:hover .card-hud-corner {
    opacity: 1;
}

.card-hud-corner.tl {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--accent-cyan);
    border-left: 2px solid var(--accent-cyan);
    border-radius: var(--border-radius) 0 0 0;
}

.card-hud-corner.tr {
    top: -1px;
    right: -1px;
    border-top: 2px solid var(--accent-cyan);
    border-right: 2px solid var(--accent-cyan);
    border-radius: 0 var(--border-radius) 0 0;
}

.card-hud-corner.bl {
    bottom: -1px;
    left: -1px;
    border-bottom: 2px solid var(--accent-cyan);
    border-left: 2px solid var(--accent-cyan);
    border-radius: 0 0 0 var(--border-radius);
}

.card-hud-corner.br {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid var(--accent-cyan);
    border-right: 2px solid var(--accent-cyan);
    border-radius: 0 0 var(--border-radius) 0;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: var(--bg-primary);
    overflow: hidden;
}

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

.about-visual-box {
    position: relative;
    padding: 40px;
}

/* Animated Data Lines */
.data-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.data-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 180, 255, 0.3), transparent);
    animation: dataFlow 3s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.4s);
    left: 0;
    right: 0;
}

.data-line:nth-child(1) { top: 10%; }
.data-line:nth-child(2) { top: 20%; }
.data-line:nth-child(3) { top: 35%; }
.data-line:nth-child(4) { top: 50%; }
.data-line:nth-child(5) { top: 65%; }
.data-line:nth-child(6) { top: 75%; }
.data-line:nth-child(7) { top: 85%; }
.data-line:nth-child(8) { top: 95%; }

@keyframes dataFlow {
    0% { opacity: 0; transform: scaleX(0) translateX(-50%); }
    50% { opacity: 1; transform: scaleX(1) translateX(0); }
    100% { opacity: 0; transform: scaleX(0) translateX(50%); }
}

/* Code Block */
.about-code-block {
    position: relative;
    background: rgba(10, 10, 30, 0.9);
    border: 1px solid rgba(0, 180, 255, 0.15);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0, 180, 255, 0.05);
    border-bottom: 1px solid rgba(0, 180, 255, 0.1);
}

.code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.code-dot.red { background: #ff5f57; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green { background: #28c840; }

.code-filename {
    margin-left: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.code-body {
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 2;
}

.code-line {
    display: block;
    opacity: 0;
    animation: typeIn 0.5s forwards;
}

.code-line:nth-child(1) { animation-delay: 0.3s; }
.code-line:nth-child(2) { animation-delay: 0.6s; }
.code-line:nth-child(3) { animation-delay: 0.9s; }
.code-line:nth-child(4) { animation-delay: 1.2s; }
.code-line:nth-child(5) { animation-delay: 1.5s; }
.code-line:nth-child(6) { animation-delay: 1.8s; }

@keyframes typeIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.code-keyword { color: var(--accent-purple); }
.code-class { color: var(--accent-cyan); }
.code-prop { color: var(--accent-blue); }
.code-string { color: #4ade80; }
.code-number { color: var(--accent-magenta); }
.code-bool { color: #fbbf24; }

/* Floating Elements */
.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.float-el {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: var(--accent-blue);
    opacity: 0.4;
    padding: 6px 10px;
    border: 1px solid rgba(0, 180, 255, 0.15);
    border-radius: 6px;
    background: rgba(0, 180, 255, 0.05);
    animation: floatEl 6s ease-in-out infinite;
}

.float-el.el1 { top: -10px; right: 20px; animation-delay: 0s; }
.float-el.el2 { bottom: 10px; left: -10px; animation-delay: 1.5s; }
.float-el.el3 { top: 30%; right: -20px; animation-delay: 3s; }
.float-el.el4 { bottom: 30%; left: 20px; animation-delay: 4.5s; }

@keyframes floatEl {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* About Text */
.about-text .section-tag {
    margin-bottom: 10px;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 10px;
}

.about-paragraph {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.about-paragraph strong {
    color: var(--text-primary);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 180, 255, 0.04);
    border: 1px solid rgba(0, 180, 255, 0.08);
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.about-feature:hover {
    background: rgba(0, 180, 255, 0.08);
    border-color: rgba(0, 180, 255, 0.2);
    transform: translateX(5px);
}

.feature-icon-wrap {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.feature-icon-wrap svg {
    width: 100%;
    height: 100%;
    color: var(--accent-cyan);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
}

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

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    opacity: 0.5;
}

/* Contact Info Card */
.contact-card {
    text-align: center;
}

.contact-icon-wrap {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: 20px;
}

.contact-icon-wrap svg {
    width: 35px;
    height: 35px;
    color: #25d366;
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.contact-phone {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-cyan);
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
    transition: all var(--transition-fast);
}

.contact-phone:hover {
    text-shadow: 0 0 25px rgba(0, 229, 255, 0.5);
    color: #fff;
}

.contact-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.contact-decoration {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.deco-circuit svg {
    width: 200px;
    height: 200px;
    color: var(--accent-blue);
    animation: circuitPulse 3s ease-in-out infinite;
}

@keyframes circuitPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Contact Form */
.contact-form .form-header {
    margin-bottom: 30px;
}

.contact-form .form-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.form-header-line {
    width: 50px;
    height: 2px;
    background: var(--accent-gradient);
    margin-top: 10px;
    box-shadow: 0 0 10px rgba(0, 180, 255, 0.3);
}

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
    transition: color var(--transition-fast);
    z-index: 1;
}

.input-icon.textarea-icon {
    top: 20px;
    transform: none;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: rgba(5, 5, 16, 0.6);
    border: 1px solid rgba(0, 180, 255, 0.1);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    outline: none;
    resize: vertical;
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: var(--text-muted);
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(0, 180, 255, 0.1);
}

.input-wrapper input:focus ~ .input-glow,
.input-wrapper textarea:focus ~ .input-glow {
    opacity: 1;
}

.input-wrapper:has(input:focus) .input-icon,
.input-wrapper:has(textarea:focus) .input-icon {
    color: var(--accent-cyan);
}

.input-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
    pointer-events: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    padding: 60px 30px 30px;
    background: var(--bg-secondary);
    z-index: 1;
}

.footer-glow-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), var(--accent-purple), var(--accent-blue), transparent);
    opacity: 0.5;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0, 180, 255, 0.08);
}

.footer-logo-wrap {
    margin-bottom: 15px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 180, 255, 0.3));
}

.footer-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 6px 0;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-cyan);
    transform: translateX(5px);
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-whatsapp svg {
    width: 18px;
    height: 18px;
    color: #25d366;
}

.footer-whatsapp:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    padding-top: 25px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-tech-text {
    margin-top: 5px;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.6;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate].visible {
    opacity: 1;
    transform: translate(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-visual {
        order: 2;
    }

    .about-text {
        order: 1;
    }

    .about-text .section-title {
        text-align: center;
    }

    .title-decoration.left {
        justify-content: center;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
        --nav-height: 70px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 16, 0.97);
        backdrop-filter: blur(30px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: right var(--transition-normal);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        font-size: 1.3rem;
    }

    .nav-toggle {
        display: flex;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        letter-spacing: 4px;
    }

    .hero-logo {
        width: 120px;
        height: 120px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
    }

    .stat-divider {
        width: 50px;
        height: 1px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-logo-wrap {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .section {
        padding: var(--section-padding) 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-badge {
        font-size: 0.7rem;
    }

    .card-content {
        padding: 30px 20px;
    }

    .glass-card {
        padding: 30px 20px;
    }
}

/* ============================================
   UTILITY ANIMATIONS
   ============================================ */
@keyframes neonFlicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
    20%, 24%, 55% { opacity: 0.6; }
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

/* Print Styles */
@media print {
    .navbar, #particleCanvas, #circuitCanvas, .hero-scroll-indicator {
        display: none;
    }

    body {
        background: #fff;
        color: #000;
    }
}
