/* ==========================================================================
   BENNU SYDN FZCO - Premium Stylesheet
   ========================================================================== */

/* Design Tokens & Custom Properties */
:root {
  --bg-primary: #0a0a0c;
  --bg-secondary: #121216;
  --bg-tertiary: #191921;
  --bg-darker: #050506;
  
  --gold-primary: #e5a93b;
  --gold-light: #ffe27a;
  --gold-dark: #b07e1c;
  --gold-gradient: linear-gradient(135deg, #ffe27a 0%, #e5a93b 50%, #b07e1c 100%);
  --gold-glow: rgba(229, 169, 59, 0.15);
  --gold-border: rgba(229, 169, 59, 0.25);
  
  --text-primary: #f5f5f7;
  --text-secondary: #9ea0a8;
  --text-muted: #6c6e75;
  
  --border-glass: rgba(255, 255, 255, 0.07);
  --bg-glass: rgba(18, 18, 22, 0.75);
  --bg-glass-heavy: rgba(10, 10, 12, 0.9);
  
  --error-color: #ff5252;
  --success-color: #4caf50;
  
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.4);
  --shadow-inset: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

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

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: #23232c;
  border: 2px solid var(--bg-primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
  font-weight: 400;
}

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

.gold-text {
  color: var(--gold-primary);
}

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

/* Interactive Background Elements */
.glow-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.15;
}

.orb-1 {
  top: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: var(--gold-primary);
}

.orb-2 {
  bottom: -10%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: #3a270f;
}

/* Header & Navigation */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.header-glass {
  background: rgba(10, 10, 12, 0.2);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}

#main-header.scrolled {
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  padding: 12px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
  transition: var(--transition-smooth);
}

#main-header.scrolled .nav-container {
  padding-top: 10px;
  padding-bottom: 10px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 1.5px;
}

.logo-svg {
  transition: var(--transition-smooth);
}

.logo:hover .logo-svg {
  transform: rotate(10deg) scale(1.05);
}

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

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 4px;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition-smooth);
}

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

.btn-inquiry {
  border: 1px solid var(--gold-border);
  padding: 10px 20px !important;
  border-radius: 6px;
  background: rgba(229, 169, 59, 0.05);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: var(--gold-primary) !important;
}

.btn-inquiry::after {
  display: none !important;
}

.btn-inquiry:hover {
  background: var(--gold-gradient);
  color: var(--bg-darker) !important;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--gold-glow);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle .bar {
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-fast);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge-fzco {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-inset);
  color: var(--text-primary);
}

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

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 35px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--bg-darker);
  border: none;
  box-shadow: 0 10px 25px var(--gold-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px var(--gold-glow);
  opacity: 0.95;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-inset);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-secondary);
  transform: translateY(-3px);
}

/* Hero Visual Graphic */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.visual-card {
  width: 100%;
  max-width: 440px;
  height: 480px;
  background: linear-gradient(135deg, rgba(25, 25, 33, 0.4) 0%, rgba(10, 10, 12, 0.6) 100%);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cube-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--gold-primary);
  filter: blur(70px);
  opacity: 0.25;
  animation: float-slow 8s ease-in-out infinite alternate;
}

.floating-glass-device {
  width: 250px;
  height: 380px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 16px;
  box-shadow: var(--shadow-inset), 0 20px 50px rgba(0,0,0,0.3);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  animation: float-device 6s ease-in-out infinite alternate;
  z-index: 2;
}

.glass-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-darker);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.screen-header {
  display: flex;
  gap: 6px;
}

.screen-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.screen-header .dot.red { background: #ff5f56; }
.screen-header .dot.yellow { background: #ffbd2e; }
.screen-header .dot.green { background: #27c93f; }

.screen-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.chart-line {
  height: 40px;
  background: linear-gradient(90deg, rgba(229,169,59,0.05) 0%, rgba(229,169,59,0.15) 70%, rgba(229,169,59,0) 100%);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.chart-line::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
}

.grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mini-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.mini-card svg {
  color: var(--gold-primary);
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  align-self: center;
}

.status-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #27c93f;
  box-shadow: 0 0 8px #27c93f;
}

.status-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 700;
}

.spec-badge {
  position: absolute;
  background: rgba(229, 169, 59, 0.1);
  border: 1px solid var(--gold-border);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold-light);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.badge-top-right {
  top: 40px;
  right: -10px;
  animation: float-badge-1 5s ease-in-out infinite alternate;
}

.badge-bottom-left {
  bottom: 50px;
  left: -20px;
  animation: float-badge-2 5s ease-in-out infinite alternate-reverse;
}

/* Mouse Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid var(--text-muted);
  border-radius: 15px;
  display: block;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--gold-primary);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 1.6s ease infinite;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.title-bar {
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 2px;
  margin-bottom: 20px;
}

.section-description {
  max-width: 600px;
  color: var(--text-secondary);
}

/* About Us Section */
.about-section {
  padding: 120px 0;
  background-color: var(--bg-secondary);
  position: relative;
  border-top: 1px solid var(--border-glass);
}

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

.paragraph-lead {
  font-size: 1.25rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 20px;
  font-weight: 500;
}

.paragraph-body {
  margin-bottom: 35px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.feature-item {
  display: flex;
  gap: 20px;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(229, 169, 59, 0.07);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-content h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.feature-content p {
  font-size: 0.95rem;
}

/* Stats Card Grid */
.about-stats {
  display: flex;
  justify-content: center;
}

.stats-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
  max-width: 440px;
}

.stat-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  padding: 30px 24px;
  border-radius: 16px;
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.stat-box:hover {
  transform: translateY(-5px);
  border-color: var(--gold-border);
  box-shadow: 0 15px 35px var(--gold-glow);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1;
}

.stat-box.font-large .stat-number::after {
  content: '%';
  font-size: 1.5rem;
  color: var(--gold-primary);
  margin-left: 2px;
}

.stat-number::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold-primary);
  margin-left: 2px;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

/* Product Portfolio Section */
.portfolio-section {
  padding: 120px 0;
  background-color: var(--bg-primary);
}

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

.portfolio-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.card-inner {
  height: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(229,169,59,0.06), transparent 40%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.portfolio-card:hover .card-inner {
  border-color: var(--gold-border);
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
}

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

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(229, 169, 59, 0.05);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.portfolio-card:hover .card-icon {
  background: var(--gold-gradient);
  color: var(--bg-darker);
  transform: scale(1.05);
}

.portfolio-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.card-desc {
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.card-brands {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.card-brands li {
  font-size: 0.9rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-brands li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-primary);
}

.card-footer {
  margin-top: auto;
}

.card-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: var(--gold-primary);
}

.card-action-btn::after {
  content: '→';
  transition: var(--transition-fast);
}

.card-action-btn:hover {
  color: var(--gold-light);
}

.card-action-btn:hover::after {
  transform: translateX(4px);
}

/* Global Network Map Section */
.network-section {
  padding: 120px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
}

.map-wrapper {
  position: relative;
  background: var(--bg-darker);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-premium);
  overflow: hidden;
}

.world-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

.route-line {
  stroke-dasharray: 6, 6;
  animation: route-flow 25s linear infinite;
}

/* Map Hub Pin Styles */
.map-hub {
  cursor: pointer;
}

.ping-ring {
  transform-origin: center;
  animation: ping-expand 2s ease-out infinite;
}

/* Tooltip overlay details card */
.hub-info-card {
  position: absolute;
  bottom: 40px;
  left: 40px;
  width: 340px;
  background: rgba(18, 18, 22, 0.9);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: var(--transition-smooth);
  z-index: 10;
}

.hub-info-card.active {
  opacity: 1;
  transform: translateY(0);
}

.hub-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.hub-details {
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.hub-meta {
  display: flex;
  gap: 8px;
}

.hub-tag {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  border-radius: 4px;
}

/* Contact & Inquiry Section */
.contact-section {
  padding: 120px 0;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-glass);
  position: relative;
}

.contact-form-wrapper {
  max-width: 760px;
  margin: 0 auto;
}

/* Glass Form Card */
.glass-form-card {
  background: linear-gradient(135deg, rgba(25, 25, 33, 0.45) 0%, rgba(10, 10, 12, 0.6) 100%);
  border: 1px solid var(--border-glass);
  padding: 48px;
  border-radius: 24px;
  position: relative;
  box-shadow: var(--shadow-premium);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

.glass-form-card h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.form-instructions {
  font-size: 0.9rem;
  margin-bottom: 30px;
}

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

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.input-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

/* Custom Styled Tab Radio Selector */
.tab-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--bg-darker);
  border: 1px solid var(--border-glass);
  padding: 4px;
  border-radius: 8px;
  gap: 4px;
}

.tab-selector input[type="radio"] {
  display: none;
}

.tab-label {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 10px 4px;
  border-radius: 6px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-selector input[type="radio"]:checked + .tab-label {
  background: var(--gold-gradient);
  color: var(--bg-darker);
  box-shadow: 0 4px 10px rgba(229,169,59,0.2);
}

/* Inputs & Textareas */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 16px;
  border-radius: 8px;
  outline: none;
  transition: var(--transition-fast);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  border-color: var(--gold-border);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 0 12px rgba(229, 169, 59, 0.1), inset 0 1px 2px rgba(0,0,0,0.2);
}

/* Error states */
.form-group.error input,
.form-group.error textarea {
  border-color: var(--error-color);
  background: rgba(255, 82, 82, 0.02);
}

.error-msg {
  display: none;
  font-size: 0.75rem;
  color: var(--error-color);
  margin-top: 6px;
  font-weight: 500;
}

.form-group.error .error-msg {
  display: block;
}

/* Form submission button loader state */
.btn-submit {
  width: 100%;
  margin-top: 10px;
  position: relative;
}

.btn-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  position: absolute;
}

.submitting .btn-text {
  opacity: 0;
}

.submitting .btn-loader {
  display: block;
}

/* Success/Error overlays */
.form-status-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  z-index: 5;
}

.form-status-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.status-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.success-overlay .status-icon-wrap {
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: var(--success-color);
}

.error-overlay .status-icon-wrap {
  background: rgba(255, 82, 82, 0.1);
  border: 1px solid rgba(255, 82, 82, 0.3);
  color: var(--error-color);
}

.form-status-overlay h3 {
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.form-status-overlay p {
  font-size: 0.95rem;
  max-width: 400px;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Footer styling */
.simple-footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-glass);
  padding: 40px 0;
  font-size: 0.85rem;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.design-credit {
  font-size: 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-dark);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(229, 169, 59, 0.5);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(229, 169, 59, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(229, 169, 59, 0);
  }
}

@keyframes float-slow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(15px, -15px) scale(1.1); }
}

@keyframes float-device {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-12px) rotate(-1deg); }
}

@keyframes float-badge-1 {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes float-badge-2 {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-10px) rotate(-1.5deg); }
}

@keyframes scroll-wheel {
  0% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 15px); }
}

@keyframes route-flow {
  to {
    stroke-dashoffset: -120;
  }
}

@keyframes ping-expand {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

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

/* Scroll reveal utility classes */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Delay modifiers for scroll reveal */
.scroll-reveal:nth-child(2) { transition-delay: 0.15s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.3s; }

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 40px;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-description {
    max-width: 600px;
  }

  .hero-actions {
    justify-content: center;
  }

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

  .about-stats {
    justify-content: center;
  }

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

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

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

  .footer-disclaimer {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.6rem;
  }
  
  .section-title {
    font-size: 2rem;
  }

  /* Navigation burger menu */
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-glass-heavy);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-glass);
    padding: 100px 40px 40px 40px;
    transition: var(--transition-smooth);
    z-index: 1000;
  }

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

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
  }

  .btn-inquiry {
    width: 100%;
    text-align: center;
  }

  .nav-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .glass-form-card {
    padding: 30px;
  }
  
  .tab-selector {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-disclaimer {
    grid-column: span 1;
  }
}
