/* ============================================================
   SkySoar Technologies — Main Stylesheet (v2 Production)
   Design language preserved. Architecture, maintainability,
   accessibility, and performance refined.
   ============================================================ */

/* ===== DESIGN TOKENS ===== */
:root {
  --bg: #050816;
  --bg2: #070d20;
  --primary: #00D4FF;
  --secondary: #00FFF0;
  --accent: #6C63FF;
  --text: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.6);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(0, 212, 255, 0.15);
  --glow: rgba(0, 212, 255, 0.3);
  --glow-strong: rgba(0, 212, 255, 0.6);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --radius: 16px;
  --radius-lg: 24px;
  --nav-height: 72px;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --transition: 0.3s ease;
  --focus-ring: 0 0 0 3px rgba(0, 212, 255, 0.35);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom cursor only on fine pointer devices */
@media (pointer: fine) {
  body { cursor: none; }
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== CUSTOM CURSOR ===== */
.cursor {
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.1s;
  box-shadow: 0 0 20px var(--primary), 0 0 40px var(--glow);
  will-change: transform;
}

.cursor-follower {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 212, 255, 0.4);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99998;
  transition: all 0.15s ease;
  will-change: transform;
}

@media (pointer: coarse) {
  .cursor,
  .cursor-follower { display: none !important; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--primary), var(--accent));
  border-radius: 2px;
}

/* ===== LOADING SCREEN ===== */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 100000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.loader-logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 60px var(--glow-strong), 0 0 120px rgba(0, 212, 255, 0.2);
  animation: logoPulse 2s ease-in-out infinite;
}

.loader-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.loader-bar-wrap {
  width: 240px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1px;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  width: 0%;
  box-shadow: 0 0 12px var(--primary);
  transition: width 0.05s linear;
}

.loader-text {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--primary);
  text-transform: uppercase;
}

.scan-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(0, 212, 255, 0.02) 50%);
  background-size: 100% 4px;
  pointer-events: none;
  animation: scanMove 8s linear infinite;
}

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 8, 22, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.08);
  transition: background 0.4s ease, border-color 0.4s ease;
}

nav.scrolled {
  background: rgba(5, 8, 22, 0.9);
  border-bottom-color: rgba(0, 212, 255, 0.2);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-video {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  line-height: 1;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary);
  background: rgba(0, 212, 255, 0.06);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg) !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
  border-radius: 10px !important;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.3);
  transition: transform 0.3s, box-shadow 0.3s !important;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px) !important;
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.5) !important;
}

.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: none;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(5, 8, 22, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 24px 5%;
  border-bottom: 1px solid var(--glass-border);
  z-index: 999;
}

.mobile-menu.open {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  color: var(--primary);
}

/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 5% 80px;
}

#particles-js {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPulse 6s ease-in-out infinite;
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: glowFloat 8s ease-in-out infinite;
}

.hero-ring {
  position: absolute;
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 50%;
  animation: ringRotate linear infinite;
}

.hero-ring:nth-child(1) {
  width: 500px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 30s;
}

.hero-ring:nth-child(2) {
  width: 700px;
  height: 700px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 45s;
  animation-direction: reverse;
  border-color: rgba(108, 99, 255, 0.1);
}

.hero-ring:nth-child(3) {
  width: 900px;
  height: 900px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 60s;
  border-color: rgba(0, 255, 240, 0.06);
}

.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: 8px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 100px;
  padding: 8px 20px;
  margin-bottom: 32px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
  animation: badgePulse 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-title .line1 {
  display: block;
  color: var(--text);
}

.hero-title .line2 {
  display: block;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
  margin: 0 auto 16px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 580px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg);
  padding: 16px 36px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.3), 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.1) 100%);
  transition: opacity 0.3s;
  opacity: 0;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.5), 0 8px 30px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover::before,
.btn-primary:focus-visible::before {
  opacity: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 15px 36px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s;
  backdrop-filter: blur(12px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stat {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s;
}

.hero-stat:hover {
  border-color: var(--primary);
  background: rgba(0, 212, 255, 0.06);
  transform: translateY(-3px);
}

.hero-stat-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
}

/* ===== SECTION BASE ===== */
section {
  padding: 100px 5%;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--primary);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.section-title span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 64px;
}

.section-header {
  margin-bottom: 64px;
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-label {
  justify-content: center;
}

.section-header.center .section-sub {
  margin: 0 auto 64px;
}

/* ===== GLASS CARD ===== */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.glass-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.05);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 212, 255, 0.1);
}

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

/* ===== SERVICES ===== */
#services {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.service-card {
  padding: 36px 32px;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(108, 99, 255, 0.15));
  border: 1px solid rgba(0, 212, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 26px;
  transition: all 0.4s;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(108, 99, 255, 0.25));
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.3);
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.service-card:hover h3 {
  color: var(--primary);
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.service-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--primary);
  margin-top: 20px;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s;
}

.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ===== WHY CHOOSE ===== */
#why {
  position: relative;
  overflow: hidden;
}

#why::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, transparent 70%);
  top: 50%;
  right: -200px;
  transform: translateY(-50%);
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.why-card {
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.why-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s;
}

.why-card:hover .why-icon {
  background: rgba(0, 212, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.25);
}

.why-text h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  transition: color 0.3s;
}

.why-card:hover .why-text h4 {
  color: var(--primary);
}

.why-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== ABOUT ===== */
#about {
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
}

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

.about-visual {
  position: relative;
  height: 480px;
}

.about-main-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  padding: 32px;
  text-align: center;
  z-index: 2;
}

.about-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-logo-video {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.about-main-card p {
  font-size: 12px;
  color: var(--text-muted);
}

.about-float-card {
  position: absolute;
  padding: 16px 20px;
  min-width: 160px;
}

.about-float-card:nth-child(2) {
  top: 40px;
  left: 10px;
  animation: float1 5s ease-in-out infinite;
}

.about-float-card:nth-child(3) {
  top: 40px;
  right: 10px;
  animation: float2 6s ease-in-out infinite;
}

.about-float-card:nth-child(4) {
  bottom: 40px;
  left: 10px;
  animation: float2 5.5s ease-in-out infinite;
}

.about-float-card:nth-child(5) {
  bottom: 40px;
  right: 10px;
  animation: float1 4.5s ease-in-out infinite;
}

.float-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}

.float-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.about-text .section-title {
  margin-bottom: 20px;
}

.about-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-highlight {
  background: rgba(0, 212, 255, 0.06);
  border-left: 3px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

/* ===== PROCESS ===== */
#process {
  position: relative;
}

.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.3) 20%, rgba(0, 212, 255, 0.3) 80%, transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  gap: 48px;
  margin-bottom: 48px;
  align-items: center;
}

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

.timeline-card {
  flex: 1;
  padding: 28px;
}

.timeline-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 10px;
}

.timeline-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.timeline-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.timeline-dot {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.4);
  position: relative;
  z-index: 1;
}

.timeline-spacer {
  flex: 1;
}

/* ===== PORTFOLIO ===== */
#portfolio {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.portfolio-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.portfolio-thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}

.portfolio-thumb-bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  transition: opacity 0.4s;
}

.portfolio-card:hover .portfolio-thumb-bg {
  opacity: 0.25;
}

.portfolio-thumb-icon {
  position: relative;
  z-index: 1;
  transition: transform 0.4s;
}

.portfolio-card:hover .portfolio-thumb-icon {
  transform: scale(1.15) rotate(-5deg);
}

.portfolio-info {
  padding: 24px;
}

.portfolio-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.portfolio-info h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.portfolio-card:hover .portfolio-info h3 {
  color: var(--primary);
}

.portfolio-info p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== PRODUCTS ===== */
.products {
  padding: 100px 8%;
  text-align: center;
}

.products h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.product-card {
  max-width: 900px;
  margin: auto;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px;
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 212, 255, 0.25);
}

.product-content h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 15px;
}

.product-content p {
  color: #cfcfcf;
  line-height: 1.8;
  margin-bottom: 25px;
}

.product-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.product-tags span {
  padding: 8px 16px;
  background: #1f2937;
  border-radius: 50px;
  font-size: 0.9rem;
}

.product-btn {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(135deg, #00d4ff, #7c4dff);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-btn:hover,
.product-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

/* ===== UPCOMING PROJECTS ===== */
#upcoming-projects {
  background: #05080f;
  padding: 90px 20px;
}

.projectCard {
  background: #0b1018;
  border: 1px solid rgba(0, 217, 255, 0.14);
  border-radius: 22px;
  padding: 28px;
  transition: 0.35s;
  box-shadow: 0 0 18px rgba(0, 217, 255, 0.05);
}

.projectCard:hover {
  transform: translateY(-10px);
  border-color: #00d9ff;
  box-shadow: 0 0 35px rgba(0, 217, 255, 0.18);
}

.topRow {
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
}

.badge {
  padding: 7px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: bold;
}

.badge.new {
  background: rgba(0, 217, 255, 0.12);
  color: #00d9ff;
}

.badge.phase {
  background: rgba(59, 130, 246, 0.12);
  color: #59b8ff;
}

.projectCard h3 {
  color: white;
  font-size: 28px;
  margin: 0 0 15px;
  font-family: var(--font-display);
}

.projectCard p {
  color: #a6afbc;
  line-height: 1.8;
  min-height: 105px;
}

.meta {
  margin: 22px 0;
  font-size: 14px;
  color: #7d8898;
}

.projectCard .btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
  color: white;
  background: linear-gradient(90deg, #00d9ff, #2563eb);
  transition: 0.3s;
}

.projectCard .btn:hover,
.projectCard .btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(0, 217, 255, 0.4);
}

/* ===== TECHNOLOGIES ===== */
#technologies {
  position: relative;
  overflow: hidden;
}

.tech-orbit-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
}

.tech-orbit {
  position: relative;
  width: 500px;
  height: 500px;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(108, 99, 255, 0.15));
  border: 1px solid rgba(0, 212, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.2);
}

.orbit-center-text {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.1);
  transform: translate(-50%, -50%);
}

.orbit-ring-1 {
  width: 220px;
  height: 220px;
  animation: spin 20s linear infinite;
}

.orbit-ring-2 {
  width: 380px;
  height: 380px;
  animation: spin 35s linear infinite reverse;
}

.orbit-ring-3 {
  width: 490px;
  height: 490px;
  animation: spin 50s linear infinite;
  border-color: rgba(108, 99, 255, 0.08);
}

.orbit-item {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 600;
  color: var(--text-muted);
  gap: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  cursor: default;
}

.orbit-item:hover {
  border-color: var(--primary);
  background: rgba(0, 212, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  color: var(--primary);
}

.orbit-item .tech-icon {
  font-size: 22px;
}

/* ===== TESTIMONIALS ===== */
#testimonials {
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card {
  flex-shrink: 0;
  width: 100%;
  padding: 48px;
  text-align: center;
}

.testimonial-quote {
  font-size: clamp(18px, 3vw, 24px);
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 36px;
  position: relative;
}

.testimonial-quote::before {
  content: '"';
  font-size: 80px;
  color: var(--primary);
  opacity: 0.3;
  font-family: var(--font-display);
  position: absolute;
  top: -20px;
  left: -20px;
  line-height: 1;
}

.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.3);
}

.testimonial-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.testimonial-role {
  font-size: 14px;
  color: var(--text-muted);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.carousel-dot.active {
  background: var(--primary);
  width: 24px;
  box-shadow: 0 0 12px var(--primary);
}

/* ===== CONTACT ===== */
#contact {
  position: relative;
}

#contact::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
  bottom: -100px;
  right: -100px;
  pointer-events: none;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.contact-detail-text h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-detail-text a,
.contact-detail-text span {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-detail-text a:hover,
.contact-detail-text a:focus-visible {
  color: var(--primary);
}

.contact-form-wrap {
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font-sans);
  transition: all 0.3s;
  outline: none;
  -webkit-appearance: none;
}

.form-group select option {
  background: #0a0f1e;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(0, 212, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

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

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg);
  border: none;
  border-radius: 12px;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
  margin-top: 8px;
}

.btn-submit:hover,
.btn-submit:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.5);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success.show {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.success-icon {
  font-size: 56px;
  animation: successPop 0.5s ease;
}

/* ===== CAREERS ===== */
#careers {
  background: #05080f;
  padding: 90px 20px;
}

#careers a:hover,
#careers a:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 0 22px rgba(0, 217, 255, 0.45);
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 5% 30px;
}

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

.footer-brand .nav-logo {
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 300px;
}

.footer-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 16px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

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

/* ===== WHATSAPP & SCROLL TOP ===== */
.whatsapp-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  animation: waPulse 3s ease-in-out infinite;
  transition: transform 0.3s;
  font-size: 26px;
}

.whatsapp-btn:hover,
.whatsapp-btn:focus-visible {
  transform: scale(1.15);
  animation: none;
}

.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
  color: var(--text);
}

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

.scroll-top:hover,
.scroll-top:focus-visible {
  background: rgba(0, 212, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* ===== UTILITY ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BULLETIN POPUP ===== */
#skyBulletin {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  font-family: var(--font-sans);
  animation: fadeIn 0.35s;
}

#skyBulletin .bulletin-inner {
  width: 92%;
  max-width: 560px;
  background: #0b0f18;
  border: 1px solid rgba(0, 217, 255, 0.25);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 217, 255, 0.18);
  animation: popup 0.4s ease;
}

#skyBulletin a:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(0, 217, 255, 0.45);
}

#skyBulletin button:hover {
  background: #293548;
}

/* ===== FOOTER SOCIAL ICONS (YouTube, X, Instagram) ===== */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  align-items: center;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.3s ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  color: #fff;
  transform: translateY(-3px) scale(1.08);
  border-color: var(--primary);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.35);
}

.footer-social-link[aria-label="YouTube"]:hover {
  background: #ff0000;
  border-color: #ff0000;
}

.footer-social-link[aria-label="X"]:hover {
  background: #000;
  border-color: #333;
}

.footer-social-link[aria-label="Instagram"]:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
}

/* ===== WEBSITE SUMMARY BUTTON ===== */
.summary-btn {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  box-shadow: 0 4px 24px rgba(0, 212, 255, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
}

.summary-btn:hover,
.summary-btn:focus-visible {
  transform: scale(1.12);
  box-shadow: 0 6px 32px rgba(0, 212, 255, 0.55);
}

/* ===== WEBSITE SUMMARY MODAL ===== */
.summary-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  animation: fadeIn 0.35s;
}

.summary-modal[hidden] {
  display: none !important;
}

.summary-modal-inner {
  width: 92%;
  max-width: 520px;
  background: #0b0f18;
  border: 1px solid rgba(0, 217, 255, 0.25);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 217, 255, 0.18);
  animation: popup 0.4s ease;
}

.summary-modal-header {
  background: linear-gradient(90deg, #00d9ff, #3b82f6);
  padding: 18px 24px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-modal-header h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.summary-modal-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  font-size: 28px;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.summary-modal-close:hover,
.summary-modal-close:focus-visible {
  background: rgba(255, 255, 255, 0.3);
}

.summary-modal-body {
  padding: 28px 24px;
  color: #d3d7de;
  line-height: 1.8;
  font-size: 15px;
}

.summary-modal-body p {
  margin: 0 0 16px;
}

.summary-modal-body p:last-child {
  margin-bottom: 0;
}
