/*
  LOITTEB Premium Stylesheet
  Crafting exceptional solutions with precision and creativity
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Dark Theme Variables (Default) */
  --bg-base: #06060a;
  --bg-surface: #0e0e16;
  --bg-surface-elevated: #161622;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --primary: #00f2fe;
  --secondary: #7928ca;
  --accent: #ff007f;
  
  --gradient-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --gradient-secondary: linear-gradient(135deg, #7928ca 0%, #b800ff 100%);
  --gradient-accent: linear-gradient(135deg, #ff007f 0%, #7928ca 100%);
  --gradient-dark: linear-gradient(180deg, rgba(6,6,10,0.8) 0%, rgba(14,14,22,0.95) 100%);
  
  --glass-bg: rgba(14, 14, 22, 0.6);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-glow: rgba(0, 242, 254, 0.15);
  
  --shadow-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 12px 24px -4px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 48px -8px rgba(0, 0, 0, 0.8);
  
  --grid-pattern: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Variables */
.light-theme {
  --bg-base: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --primary: #0284c7;
  --secondary: #7c3aed;
  --accent: #db2777;
  
  --gradient-primary: linear-gradient(135deg, #0284c7 0%, #3b82f6 100%);
  --gradient-secondary: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  --gradient-accent: linear-gradient(135deg, #db2777 0%, #7c3aed 100%);
  --gradient-dark: linear-gradient(180deg, rgba(248,250,252,0.8) 0%, rgba(255,255,255,0.95) 100%);
  
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(15, 23, 42, 0.08);
  --glass-glow: rgba(2, 132, 199, 0.1);
  
  --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 24px -4px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 20px 48px -8px rgba(15, 23, 42, 0.15);
  
  --grid-pattern: radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: var(--grid-pattern);
  background-size: 32px 32px;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface-elevated);
  border: 2px solid var(--bg-base);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

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

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

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

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

section {
  padding: 8rem 0;
  position: relative;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: padding var(--transition-normal), background-color var(--transition-normal);
}

header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

header.scrolled .nav-wrapper {
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.logo-light {
  display: none !important;
}

.logo-dark {
  display: block !important;
}

.light-theme .logo-light {
  display: block !important;
}

.light-theme .logo-dark {
  display: none !important;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  display: inline-block;
  animation: logo-glow 2s infinite alternate;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

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

.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(--gradient-primary);
  transition: width var(--transition-normal);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Theme Toggle */
.theme-toggle-btn {
  background: none;
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-surface-elevated);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.theme-toggle-btn .sun-icon {
  display: none;
}

.light-theme .theme-toggle-btn .moon-icon {
  display: none;
}

.light-theme .theme-toggle-btn .sun-icon {
  display: block;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--gradient-primary);
  color: #06060a;
  box-shadow: 0 4px 14px 0 rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(0, 242, 254, 0.5);
}

.btn-secondary {
  background-color: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  background-color: rgba(0, 242, 254, 0.05);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  padding: 0.5rem 1rem;
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-tag i {
  font-size: 0.9rem;
}

.hero-title {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
}

.hero-title span.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

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

.hero-description {
  font-size: 1.2rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Animated Tech Shapes in Hero Background */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 450px;
}

.tech-globe {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.1) 0%, transparent 70%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

.globe-ring {
  position: absolute;
  border: 1.5px dashed var(--primary);
  border-radius: 50%;
  opacity: 0.35;
}

.ring-1 {
  width: 100%;
  height: 100%;
  animation: rotate-clockwise 20s linear infinite;
}

.ring-2 {
  width: 80%;
  height: 80%;
  border-color: var(--secondary);
  border-style: dotted;
  animation: rotate-counter 15s linear infinite;
}

.ring-3 {
  width: 60%;
  height: 60%;
  border-color: var(--accent);
  border-style: solid;
  border-width: 1px;
  animation: rotate-clockwise 10s linear infinite;
}

.globe-core {
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  border-radius: 50%;
  box-shadow: 0 0 40px var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #06060a;
}

.tech-node {
  position: absolute;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--glass-border);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.tech-node:hover {
  transform: scale(1.05);
  border-color: var(--primary);
}

.tech-node i {
  color: var(--primary);
}

.node-1 {
  top: 10%;
  left: -10%;
  animation: float 5s ease-in-out infinite alternate;
}

.node-2 {
  bottom: 15%;
  right: -5%;
  animation: float 7s ease-in-out infinite alternate 1s;
}

.node-3 {
  bottom: 10%;
  left: 0%;
  animation: float 6s ease-in-out infinite alternate 0.5s;
}

/* Sections Common Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.section-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 700;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
}

.section-subtitle {
  font-size: 1.1rem;
}

/* Services Grid & Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(0, 242, 254, 0.06), transparent 40%);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px -15px var(--glass-glow);
}

.service-card-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 120px;
  height: 120px;
  background: var(--gradient-primary);
  filter: blur(40px);
  opacity: 0.15;
  transition: opacity var(--transition-normal);
}

.service-card:hover .service-card-glow {
  opacity: 0.3;
}

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
  transition: transform var(--transition-normal), background var(--transition-normal), color var(--transition-normal);
}

.service-card:hover .service-icon-box {
  transform: scale(1.1) rotate(5deg);
  background: var(--gradient-primary);
  color: #06060a;
  box-shadow: 0 8px 20px rgba(0, 242, 254, 0.3);
}

.service-card-title {
  font-size: 1.5rem;
  font-weight: 700;
}

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

.service-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.service-features-list li i {
  color: var(--primary);
  font-size: 0.85rem;
}

/* Interactive Workspace Simulator Section */
#workspace-simulator {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.simulator-box {
  background-color: var(--bg-base);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 550px;
}

/* Simulator Sidebar */
.sim-sidebar {
  background-color: var(--bg-surface);
  border-right: 1px solid var(--glass-border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sim-sidebar-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sim-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sim-tab-btn {
  width: 100%;
  background: none;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}

.sim-tab-btn:hover {
  background-color: var(--bg-surface-elevated);
  color: var(--text-primary);
}

.sim-tab-btn.active {
  background-color: var(--bg-surface-elevated);
  border-color: var(--glass-border);
  color: var(--primary);
  box-shadow: inset 3px 0 0 var(--primary);
}

.sim-status-box {
  margin-top: auto;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sim-status-header {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

.sim-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.sim-status-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  animation: pulse-green 1.5s infinite;
}

/* Simulator Content Area */
.sim-viewport {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
}

.sim-panel {
  display: none;
  animation: fade-in-up 0.4s ease-out forwards;
}

.sim-panel.active {
  display: block;
}

/* Mock Code Workspace Styling */
.mock-window {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  font-family: 'Courier New', Courier, monospace;
}

.mock-window-header {
  background-color: var(--bg-surface);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-dots {
  display: flex;
  gap: 0.4rem;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #64748b;
}

.window-dot.red { background-color: #ef4444; }
.window-dot.yellow { background-color: #eab308; }
.window-dot.green { background-color: #22c55e; }

.window-title {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.window-body {
  padding: 1.5rem;
  overflow-x: auto;
}

/* Terminal & Code Views */
.code-block {
  color: #a9b2c3;
  line-height: 1.5;
  font-size: 0.85rem;
  white-space: pre;
}

.code-keyword { color: #f43f5e; }
.code-tag { color: #00f2fe; }
.code-attr { color: #eab308; }
.code-string { color: #10b981; }
.code-comment { color: #64748b; }
.code-class { color: #3b82f6; }

/* Interactive DNS Widget */
.dns-builder {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dns-controls {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
}

.dns-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dns-input-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.dns-input-group select, .dns-input-group input {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 0.6rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
}

.dns-table-wrapper {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  overflow: hidden;
}

.dns-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: left;
}

.dns-table th, .dns-table td {
  padding: 1rem;
}

.dns-table th {
  background-color: var(--bg-surface);
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--glass-border);
}

.dns-table td {
  border-bottom: 1px solid var(--glass-border);
}

.dns-table tr:last-child td {
  border-bottom: none;
}

.dns-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
  text-align: center;
}

.dns-badge-a { background-color: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.dns-badge-cname { background-color: rgba(168, 85, 247, 0.15); color: #a855f7; }
.dns-badge-mx { background-color: rgba(236, 72, 153, 0.15); color: #ec4899; }
.dns-badge-txt { background-color: rgba(16, 185, 129, 0.15); color: #10b981; }

.dns-action-btn {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.dns-action-btn:hover {
  transform: scale(1.2);
}

/* IT Simulator Configurator */
.it-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.it-switch-card {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.it-switch-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.it-switch-icon {
  width: 40px;
  height: 40px;
  background-color: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.switch-active .it-switch-icon {
  color: var(--primary);
  box-shadow: 0 0 10px var(--glass-glow);
}

/* Toggle Switch Styling */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-surface);
  border: 1px solid var(--glass-border);
  transition: .3s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-muted);
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: rgba(0, 242, 254, 0.1);
  border-color: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(20px);
  background-color: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

.it-switch-details h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.it-switch-details p {
  font-size: 0.8rem;
}

.terminal-monitor {
  background-color: #050508;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 1rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  color: #10b981;
  min-height: 150px;
  max-height: 200px;
  overflow-y: auto;
}

/* Live Speed Optimizer Widget */
.speed-test-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.speed-dial-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.speed-dial {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: conic-gradient(var(--primary) 0%, var(--secondary) 85%, var(--bg-surface-elevated) 85%, var(--bg-surface-elevated) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.15);
  animation: pulse-glow 2s infinite alternate;
}

.speed-dial-inner {
  width: 150px;
  height: 150px;
  background-color: var(--bg-base);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.speed-score {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
}

.speed-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.speed-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.speed-stat-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--glass-border);
}

.speed-stat-name {
  font-weight: 500;
  color: var(--text-secondary);
}

.speed-stat-value {
  font-weight: 700;
  color: #10b981;
}

.speed-stat-value.needs-work {
  color: #f59e0b;
}

/* About / Credentials Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.credentials-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.credential-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.credential-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.credential-label {
  font-size: 0.9rem;
  font-weight: 600;
}

.about-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-wrapper {
  aspect-ratio: 4/3;
  width: 100%;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.1) 0%, rgba(121, 40, 202, 0.1) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-pattern-bg {
  position: absolute;
  width: 80%;
  height: 80%;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  background: linear-gradient(45deg, transparent 48%, var(--primary) 50%, transparent 52%);
  background-size: 20px 20px;
  opacity: 0.15;
}

.about-floating-card {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--shadow-md);
}

.about-floating-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #06060a;
  font-size: 1.25rem;
}

.about-floating-text h4 {
  font-size: 1rem;
}
.about-floating-text p {
  font-size: 0.8rem;
}

/* Contact Section & Form */
#contact {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--glass-border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-card-box {
  background-color: var(--bg-base);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-method {
  display: flex;
  gap: 1.25rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-details p {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
}

.contact-form-card {
  background-color: var(--bg-base);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.form-group input, .form-group select, .form-group textarea {
  background-color: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 0.9rem 1.2rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--glass-glow);
}

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

.form-status {
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
  font-weight: 500;
  align-items: center;
  gap: 0.75rem;
}

.form-status.success {
  display: flex;
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid #10b981;
  color: #10b981;
}

.form-status.error {
  display: flex;
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #ef4444;
}

/* Footer Section */
footer {
  background-color: #040407;
  border-top: 1px solid var(--glass-border);
  padding: 5rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-desc {
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-nav-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--text-primary);
  padding-left: 2px;
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes rotate-clockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotate-counter {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes logo-glow {
  from { box-shadow: 0 0 4px var(--accent); }
  to { box-shadow: 0 0 14px var(--accent); }
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 15px rgba(0, 242, 254, 0.1); }
  100% { box-shadow: 0 0 35px rgba(0, 242, 254, 0.35); }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal utility classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-tag {
    align-self: center;
  }
  
  .hero-description {
    margin: 0 auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-visual {
    height: 350px;
  }
  
  .tech-globe {
    width: 250px;
    height: 250px;
  }
  
  .node-1 { left: 0; }
  .node-2 { right: 0; }
  
  .simulator-box {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .sim-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }
  
  .sim-menu {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }
  
  .sim-tab-btn {
    width: auto;
    flex: 1;
    justify-content: center;
    padding: 0.75rem;
  }
  
  .sim-status-box {
    display: none;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-surface);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: left var(--transition-normal);
    border-top: 1px solid var(--glass-border);
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .nav-actions {
    display: flex;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  
  .contact-form-card {
    padding: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-brand {
    align-items: center;
    text-align: center;
  }
  
  .footer-nav-col {
    align-items: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .dns-controls {
    grid-template-columns: 1fr;
  }
  
  .speed-test-box {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
