@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg-primary: #071A2F;
  --bg-secondary: #0c2543;
  --bg-tertiary: #123157;
  --accent-blue: #00C2FF;
  --accent-gold: #FFC247;
  --text-white: #FFFFFF;
  --text-gray: #a5b4fc;
  --text-muted: #64748b;
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --glass-bg: rgba(12, 37, 67, 0.6);
  --glass-border: rgba(0, 194, 255, 0.15);
  --glass-glow: rgba(0, 194, 255, 0.05);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

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

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}

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

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-badge {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-blue);
  background: rgba(0, 194, 255, 0.1);
  padding: 0.4rem 1.2rem;
  border-radius: 2rem;
  border: 1px solid rgba(0, 194, 255, 0.2);
  display: inline-block;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, var(--text-white) 30%, #a5c6f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-gray);
  max-width: 650px;
  margin: 0 auto;
}

/* Navigation Bar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7, 26, 47, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

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

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-container img {
  width: 42px;
  height: 42px;
}

.logo-text {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

.logo-text span {
  color: var(--accent-blue);
}

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

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-gray);
  transition: var(--transition-fast);
}

nav a:hover, nav a.active {
  color: var(--accent-blue);
  text-shadow: 0 0 10px rgba(0, 194, 255, 0.4);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent-blue), #007bff);
  color: var(--bg-primary);
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 20px rgba(0, 194, 255, 0.3);
  transition: var(--transition-fast);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 194, 255, 0.5);
  color: var(--bg-primary);
}

/* Glass Card Global Styles */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px var(--glass-glow);
  border-radius: 1rem;
  backdrop-filter: blur(12px);
  padding: 2.5rem;
  transition: var(--transition-normal);
}

.glass-card:hover {
  border-color: rgba(0, 194, 255, 0.4);
  box-shadow: 0 12px 40px rgba(0, 194, 255, 0.15);
  transform: translateY(-5px);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background-image: linear-gradient(to bottom, rgba(7, 26, 47, 0.5), var(--bg-primary)), url('assets/hero_bg.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(0, 194, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

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

.hero-content {
  z-index: 2;
}

.hero-tag {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-tag::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-gold);
}

.hero-name {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-white) 40%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.typing-container {
  height: 40px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
}

.typewriter-text {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--accent-blue);
  border-right: 3px solid var(--accent-blue);
  white-space: nowrap;
  animation: cursor-blink 0.75s step-end infinite;
  padding-right: 5px;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 3rem;
  max-width: 640px;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.2rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition-normal);
  cursor: pointer;
  gap: 0.8rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), #007bff);
  color: var(--bg-primary);
  box-shadow: 0 4px 20px rgba(0, 194, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 194, 255, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-white);
}

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

.btn-accent {
  background: linear-gradient(135deg, var(--accent-gold), #e0a300);
  color: #071A2F;
  box-shadow: 0 4px 20px rgba(255, 194, 71, 0.3);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 194, 71, 0.5);
}

.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 480px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  animation: hero-float 6s ease-in-out infinite;
}

.profile-bg-badge {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  opacity: 0.65;
  filter: drop-shadow(0 0 40px rgba(0, 194, 255, 0.3));
  z-index: 1;
}

.profile-img {
  position: relative;
  max-height: 100%;
  max-width: 100%;
  z-index: 2;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(7, 26, 47, 0.8));
}

/* Industries Served Section */
.industries-section {
  padding: 8rem 0;
  position: relative;
  background: radial-gradient(circle at 10% 50%, rgba(0, 194, 255, 0.05) 0%, transparent 50%);
}

.industries-map-container {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.map-svg-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  background: rgba(12, 37, 67, 0.3);
  border-radius: 1.5rem;
  border: 1px solid var(--glass-border);
  overflow: hidden;
}

.world-map-svg {
  width: 100%;
  height: 100%;
  opacity: 0.15;
}

.map-glow-points {
  position: absolute;
  inset: 0;
}

.glow-point {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent-blue);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent-blue);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.glow-point::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  width: 24px;
  height: 24px;
  border: 2px solid var(--accent-blue);
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

.glow-point:hover {
  transform: scale(1.5);
  background: var(--accent-gold);
  box-shadow: 0 0 20px var(--accent-gold);
}

.glow-point:hover::after {
  border-color: var(--accent-gold);
}

.glow-point[data-industry="finance"] { top: 45%; left: 18%; }
.glow-point[data-industry="hospital"] { top: 52%; left: 47%; }
.glow-point[data-industry="hotel"] { top: 38%; left: 65%; }
.glow-point[data-industry="school"] { top: 62%; left: 78%; }
.glow-point[data-industry="church"] { top: 30%; left: 35%; }
.glow-point[data-industry="ngo"] { top: 58%; left: 25%; }
.glow-point[data-industry="manufacturing"] { top: 48%; left: 85%; }
.glow-point[data-industry="government"] { top: 25%; left: 55%; }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.industry-card {
  padding: 1.5rem;
  text-align: center;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
  cursor: pointer;
}

.industry-card i {
  font-size: 2rem;
  color: var(--accent-blue);
  margin-bottom: 1rem;
  display: block;
}

.industry-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

.industry-card:hover {
  background: rgba(0, 194, 255, 0.1);
  border-color: var(--accent-blue);
  box-shadow: 0 0 20px rgba(0, 194, 255, 0.2);
  transform: translateY(-5px);
}

.industry-card.active {
  background: rgba(255, 194, 71, 0.1);
  border-color: var(--accent-gold);
  box-shadow: 0 0 20px rgba(255, 194, 71, 0.2);
}

.industry-card.active i {
  color: var(--accent-gold);
}

/* Solutions I Build Section */
.solutions-section {
  padding: 8rem 0;
  background: var(--bg-secondary);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.solution-card {
  position: relative;
  height: 380px;
  perspective: 1000px;
}

.solution-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.solution-card:hover .solution-inner {
  transform: rotateY(180deg);
}

.solution-front, .solution-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 1rem;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.solution-front {
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  justify-content: space-between;
}

.solution-front .solution-icon {
  font-size: 3rem;
  color: var(--accent-blue);
}

.solution-front h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.solution-front p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

.solution-front .solution-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  background: rgba(0, 194, 255, 0.1);
  color: var(--accent-blue);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
}

.solution-back {
  background: var(--bg-primary);
  border: 1px solid var(--accent-gold);
  transform: rotateY(180deg);
  justify-content: center;
}

.solution-back h4 {
  font-size: 1.3rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  text-align: center;
}

.solution-features {
  list-style: none;
}

.solution-features li {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.solution-features li::before {
  content: '✓';
  color: var(--accent-gold);
  font-weight: 800;
}

/* Interactive Database Animation Section */
.database-animation-section {
  padding: 8rem 0;
  position: relative;
  background: var(--bg-primary);
  overflow: hidden;
}

.db-animation-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 4rem;
  margin-top: 4rem;
}

.db-details-panel {
  z-index: 2;
}

.db-canvas-wrapper {
  width: 100%;
  height: 480px;
  background: rgba(7, 26, 47, 0.6);
  border-radius: 1.5rem;
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 0 40px rgba(0, 194, 255, 0.1);
  position: relative;
  overflow: hidden;
}

/* Featured Case Studies */
.case-studies-section {
  padding: 8rem 0;
  background: var(--bg-secondary);
}

.case-study-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  margin-bottom: 5rem;
  align-items: center;
}

.case-study-card:nth-child(even) {
  grid-template-columns: 0.9fr 1.1fr;
}

.case-study-card:nth-child(even) .case-study-visual {
  order: -1;
}

.case-study-visual {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 15px 40px rgba(0, 194, 255, 0.15);
  height: 420px;
}

.case-study-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-study-card:hover .case-study-visual img {
  transform: scale(1.05);
}

.case-study-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.case-study-tag {
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 194, 71, 0.15);
  color: var(--accent-gold);
  padding: 0.3rem 0.8rem;
  border-radius: 0.25rem;
}

.case-study-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.case-study-tabs {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}

.case-study-tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-title);
  font-weight: 600;
  padding: 0.5rem 0;
  cursor: pointer;
  transition: var(--transition-fast);
  border-bottom: 2px solid transparent;
}

.case-study-tab-btn.active {
  color: var(--accent-blue);
  border-bottom-color: var(--accent-blue);
}

.case-study-tab-content {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.case-study-tab-content.active {
  display: block;
}

.case-study-tab-content p {
  color: var(--text-gray);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.tech-badge {
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.3rem 0.8rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Development Workflow Section */
.workflow-section {
  padding: 8rem 0;
  background: var(--bg-primary);
  position: relative;
}

.workflow-timeline {
  position: relative;
  max-width: 1000px;
  margin: 4rem auto 0 auto;
  padding-left: 2rem;
}

.workflow-timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-blue), var(--accent-gold));
}

.workflow-step {
  position: relative;
  margin-bottom: 4rem;
  padding-left: 3rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.workflow-step:hover {
  opacity: 1;
}

.workflow-step-bullet {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-blue);
  z-index: 2;
  transition: all 0.3s ease;
}

.workflow-step:hover .workflow-step-bullet {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  box-shadow: 0 0 15px var(--accent-gold);
  transform: scale(1.2);
}

.workflow-step-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  display: block;
}

.workflow-step h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.workflow-step p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* Tech Laboratory Section */
.tech-lab-section {
  padding: 8rem 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.tech-lab-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 4rem;
}

.tech-lab-bubble-area {
  position: relative;
  height: 480px;
  background: rgba(7, 26, 47, 0.4);
  border-radius: 1.5rem;
  border: 1px solid var(--glass-border);
  overflow: hidden;
}

.tech-bubble {
  position: absolute;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-white);
  padding: 0.8rem 1.4rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(0, 194, 255, 0.1);
  animation: float-bubble 12s ease-in-out infinite alternate;
}

/* Floating values for multiple tech bubbles */
.tech-bubble:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.tech-bubble:nth-child(2) { top: 25%; left: 60%; animation-delay: 1.5s; }
.tech-bubble:nth-child(3) { top: 60%; left: 20%; animation-delay: 3s; }
.tech-bubble:nth-child(4) { top: 75%; left: 55%; animation-delay: 0.5s; }
.tech-bubble:nth-child(5) { top: 40%; left: 35%; animation-delay: 2s; }
.tech-bubble:nth-child(6) { top: 10%; left: 40%; animation-delay: 4s; }
.tech-bubble:nth-child(7) { top: 80%; left: 15%; animation-delay: 2.5s; }
.tech-bubble:nth-child(8) { top: 50%; left: 75%; animation-delay: 1s; }
.tech-bubble:nth-child(9) { top: 30%; left: 15%; animation-delay: 3.5s; }
.tech-bubble:nth-child(10) { top: 65%; left: 45%; animation-delay: 0.8s; }

/* Why My Systems Are Different */
.why-different-section {
  padding: 8rem 0;
  background: var(--bg-primary);
}

.comparison-wrapper {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.comparison-col {
  padding: 3rem;
  border-radius: 1.5rem;
}

.col-standard {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.col-kevin {
  background: var(--glass-bg);
  border: 1px solid var(--accent-gold);
  box-shadow: 0 8px 32px rgba(255, 194, 71, 0.1);
}

.comparison-col h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
}

.col-standard h3 {
  color: var(--text-muted);
}

.col-kevin h3 {
  color: var(--accent-gold);
}

.comparison-list {
  list-style: none;
}

.comparison-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.col-standard .comparison-item::before {
  content: '✗';
  color: #ef4444;
  font-weight: 800;
}

.col-kevin .comparison-item::before {
  content: '✓';
  color: var(--accent-gold);
  font-weight: 800;
}

/* Statistics Section */
.stats-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 3.5rem;
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--text-gray);
  font-weight: 500;
}

/* Testimonials Section */
.testimonials-section {
  padding: 8rem 0;
  background: var(--bg-primary);
}

.testimonials-wrapper {
  margin-top: 4rem;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.testimonials-track {
  display: flex;
  gap: 2rem;
  animation: scroll-carousel 30s linear infinite;
  width: max-content;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  width: 380px;
  flex-shrink: 0;
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-gray);
}

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

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--bg-primary);
}

.testimonial-info h4 {
  font-size: 1.05rem;
}

.testimonial-info p {
  font-size: 0.85rem;
  color: var(--accent-gold);
}

/* FAQ Section */
.faq-section {
  padding: 8rem 0;
  background: var(--bg-secondary);
}

.faq-wrapper {
  max-width: 800px;
  margin: 4rem auto 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
}

.faq-question {
  width: 100%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 1.5rem 2rem;
  border-radius: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-white);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  border-color: var(--accent-blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
  background: rgba(12, 37, 67, 0.2);
  border-radius: 0 0 0.75rem 0.75rem;
  border: 1px solid transparent;
  border-top: none;
}

.faq-answer-content {
  padding: 2.0rem;
  color: var(--text-gray);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  border-color: var(--glass-border);
  transition: max-height 0.8s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-question {
  border-color: var(--accent-blue);
  border-radius: 0.75rem 0.75rem 0 0;
}

.faq-item.active .faq-question::after {
  content: '−';
  color: var(--accent-blue);
}

.faq-question::after {
  content: '+';
  color: var(--text-muted);
  font-size: 1.5rem;
}

/* Contact / CTA Section */
.contact-section {
  padding: 8rem 0;
  background-image: linear-gradient(to top, rgba(7, 26, 47, 0.95), var(--bg-primary)), url('assets/contact_workspace.png');
  background-size: cover;
  background-position: center;
}

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

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 194, 255, 0.1);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 1.2rem;
}

.contact-link-item h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-link-item p {
  font-size: 1.1rem;
  font-weight: 600;
}

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

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-icon:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-3px);
}

.contact-form-wrapper h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  background: rgba(7, 26, 47, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  color: var(--text-white);
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 10px rgba(0, 194, 255, 0.2);
}

textarea.form-control {
  resize: vertical;
  height: 150px;
}

/* Footer */
footer {
  background: #04101e;
  padding: 3rem 0;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

footer p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Animations */
@keyframes cursor-blink {
  from, to { border-color: transparent }
  50% { border-color: var(--accent-blue); }
}

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

@keyframes pulse-ring {
  0% { transform: scale(0.85); opacity: 0.5; }
  50% { opacity: 0.3; }
  100% { transform: scale(1.6); opacity: 0; }
}

@keyframes float-bubble {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
  100% { transform: translateY(10px) rotate(-5deg); }
}

@keyframes scroll-carousel {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-380px * 4 - 2rem * 4)); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-graphic {
    order: -1;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-name {
    font-size: 3.5rem;
  }
  
  .case-study-card, .case-study-card:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .case-study-visual {
    order: -1 !important;
  }
  
  .comparison-wrapper {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .tech-lab-container {
    grid-template-columns: 1fr;
  }
  
  .db-animation-container {
    grid-template-columns: 1fr;
  }
}

/* ================ Hamburger Menu Button ================ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition-normal);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ================ Mobile Overlay ================ */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 26, 47, 0.7);
  backdrop-filter: blur(4px);
  z-index: 98;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.nav-overlay.visible {
  opacity: 1;
}

/* ================ Mobile Navigation ================ */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 80vw);
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--glass-border);
    z-index: 105;
    padding: 6rem 2rem 2rem;
    transition: right var(--transition-normal);
    overflow-y: auto;
  }

  nav.open {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
  }

  nav ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  nav ul li a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
  }

  .nav-cta {
    display: inline-block;
    margin-top: 1rem;
    text-align: center;
  }

  .nav-overlay {
    display: block;
    pointer-events: none;
  }

  .nav-overlay.visible {
    pointer-events: auto;
  }

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