/* Modern Bento Grid + Glassmorphism Design - SaaSphere LTD */
:root {
  /* Modern Color Palette - Purple to Cyan */
  --primary: #8B5CF6;
  --secondary: #06B6D4;
  --accent: #10B981;
  --warning: #F59E0B;
  
  /* Dark Theme */
  --bg-dark: #0A0B0F;
  --bg-secondary: #121318;
  --bg-glass: rgba(18, 19, 24, 0.6);
  --bg-card: rgba(30, 32, 40, 0.8);
  
  /* Text */
  --text-primary: #F9FAFB;
  --text-secondary: #D1D5DB;
  --text-muted: #9CA3AF;
  
  /* Borders */
  --border: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(139, 92, 246, 0.5);
  
  /* Fonts */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

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

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary), transparent);
  top: -10%;
  left: 10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--secondary), transparent);
  top: 40%;
  right: -10%;
  animation-delay: 3s;
}

.orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--accent), transparent);
  bottom: -10%;
  left: 50%;
  animation-delay: 6s;
}

/* Navigation */
.nav-glass {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon svg {
  display: block;
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--text-primary);
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white !important;
  padding: 0.6rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: 0.3s;
}

/* Hero Bento Grid */
.hero-bento {
  min-height: 100vh;
  padding: 120px 2rem 4rem;
  position: relative;
  z-index: 1;
}

.hero-container-bento {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 1.5rem;
  grid-template-areas:
    "main main main main stats1 stats2"
    "main main main main tech tech"
    "visual visual visual testimonial testimonial testimonial";
}

.bento-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(6, 182, 212, 0.05));
  opacity: 0;
  transition: opacity 0.3s;
}

.bento-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

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

/* Hero Main Card */
.hero-main {
  grid-area: main;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2rem;
}

.tag-pulse {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

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

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--primary);
}

.btn-primary.large, .btn-primary.full-width {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
}

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

/* Stats Cards */
.stats-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.card-1 {
  grid-area: stats1;
}

.card-2 {
  grid-area: stats2;
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Tech Card */
.tech-card {
  grid-area: tech;
  padding: 2rem;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.card-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.badge {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

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

.tech-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid var(--border);
  font-weight: 500;
  transition: all 0.3s;
}

.tech-item:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--primary);
}

.tech-icon {
  font-size: 1.5rem;
}

/* Visual Card */
.visual-card {
  grid-area: visual;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-visualization {
  position: relative;
  width: 100%;
  height: 200px;
}

.ai-node {
  position: absolute;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
  animation: pulse 3s ease-in-out infinite;
}

.node-1 {
  top: 30%;
  left: 30%;
  animation-delay: 0s;
}

.node-2 {
  top: 30%;
  right: 30%;
  animation-delay: 0.5s;
}

.node-3 {
  bottom: 30%;
  left: 30%;
  animation-delay: 1s;
}

.node-4 {
  bottom: 30%;
  right: 30%;
  animation-delay: 1.5s;
}

.connection-lines {
  position: absolute;
  top: 0;
  left: 0;
}

/* Testimonial Preview */
.testimonial-preview {
  grid-area: testimonial;
  padding: 2rem;
}

.quote-icon {
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 1rem;
  font-family: Georgia, serif;
}

.testimonial-preview p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

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

.author-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.author-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.author-role {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Sections */
.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-intro {
  margin-bottom: 4rem;
}

.section-intro.centered {
  text-align: center;
}

.section-tag {
  display: inline-block;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
}

.section-intro.centered .section-subtitle {
  margin: 0 auto;
}

/* Services Split */
.services-split {
  padding: 8rem 0;
  position: relative;
  z-index: 1;
}

.services-container {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.service-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-split.right {
  direction: rtl;
}

.service-split.right > * {
  direction: ltr;
}

.service-visual {
  padding: 3rem;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.visual-content {
  width: 100%;
}

/* Code Window */
.code-window {
  background: #1e1e2e;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.window-header {
  background: #2a2a3e;
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.5rem;
}

.window-header span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f56;
}

.window-header span:nth-child(2) {
  background: #ffbd2e;
}

.window-header span:nth-child(3) {
  background: #27c93f;
}

.code-lines {
  padding: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  line-height: 1.8;
}

.code-line {
  color: #e0e0e0;
}

.code-line.indent {
  padding-left: 2rem;
}

.code-purple {
  color: #c792ea;
}

.code-blue {
  color: #82aaff;
}

.code-green {
  color: #c3e88d;
}

.code-comment {
  color: #676e95;
}

/* Growth Chart */
.growth-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 300px;
  padding: 2rem;
  gap: 1rem;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 8px 8px 0 0;
  position: relative;
  transition: all 0.3s;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0.5rem;
}

.chart-bar:hover {
  transform: translateY(-10px);
}

.bar-1 {
  height: 25%;
}

.bar-2 {
  height: 50%;
}

.bar-3 {
  height: 75%;
}

.bar-4 {
  height: 100%;
}

.bar-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
}

/* Integration Diagram */
.integration-diagram {
  position: relative;
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.central-node {
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.6);
  z-index: 2;
}

.connected-node {
  position: absolute;
  width: 100px;
  height: 100px;
  background: var(--bg-card);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  animation: pulse 3s ease-in-out infinite;
}

.node-ai {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.node-ml {
  bottom: 0;
  left: 0;
  animation-delay: 0.5s;
}

.node-data {
  bottom: 0;
  right: 0;
  animation-delay: 1s;
}

/* Service Content */
.service-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  margin-bottom: 1rem;
}

.service-content h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

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

.service-list svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Portfolio Section */
.portfolio-modern {
  padding: 8rem 0;
  background: var(--bg-secondary);
  position: relative;
  z-index: 1;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
}

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

.portfolio-card.featured {
  border-color: var(--accent);
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.portfolio-icon {
  font-size: 3rem;
}

.portfolio-badge {
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portfolio-badge.live {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.portfolio-badge.beta {
  background: rgba(6, 182, 212, 0.2);
  color: var(--secondary);
  border: 1px solid var(--secondary);
}

.portfolio-card h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.portfolio-tagline {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 1rem;
}

.portfolio-desc {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.portfolio-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(139, 92, 246, 0.05);
  border-radius: 16px;
  margin-bottom: 1.5rem;
}

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

.metric-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.25rem;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portfolio-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.portfolio-tech span {
  background: rgba(139, 92, 246, 0.1);
  color: var(--primary);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.85rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
  font-weight: 500;
}

/* Process Timeline */
.process-timeline-modern {
  padding: 8rem 0;
  position: relative;
  z-index: 1;
}

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

.timeline-line {
  position: absolute;
  left: 30px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  opacity: 0.3;
}

.timeline-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-marker {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
  z-index: 2;
}

.marker-inner {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.timeline-content {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s;
}

.timeline-content:hover {
  border-color: var(--border-hover);
  transform: translateX(10px);
}

.timeline-badge {
  display: inline-block;
  background: rgba(6, 182, 212, 0.1);
  color: var(--secondary);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.timeline-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.timeline-deliverables span {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
}

/* Team Section */
.team-modern {
  padding: 8rem 0;
  background: var(--bg-secondary);
  position: relative;
  z-index: 1;
}

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

.team-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
}

.team-card.founder-card {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(139, 92, 246, 0.05));
}

.team-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(139, 92, 246, 0.2);
  color: var(--primary);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  border: 1px solid var(--primary);
}

.team-avatar {
  margin: 0 auto 1.5rem;
  width: 100px;
  height: 100px;
}

.avatar-gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

.team-bio {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.team-achievements {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

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

.achievement-icon {
  font-size: 1.25rem;
}

.team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.team-skills span {
  background: rgba(6, 182, 212, 0.1);
  color: var(--secondary);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.85rem;
  border: 1px solid rgba(6, 182, 212, 0.2);
  font-weight: 500;
}

/* CTA Full Width */
.cta-fullwidth {
  padding: 8rem 0;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
}

.cta-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cta-info {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-info span {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
}

.cta-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.cta-stat {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.cta-stat:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.cta-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.cta-stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Contact Section */
.contact-modern {
  padding: 8rem 0;
  position: relative;
  z-index: 1;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info-modern h2 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-lead {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

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

.method-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.method-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.method-content a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.method-content a:hover {
  color: var(--secondary);
}

.method-text {
  color: var(--text-secondary);
  line-height: 1.6;
}

.company-info-box {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.company-info-box h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.company-info-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0.5rem 0;
}

/* Contact Form */
.contact-form-modern {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
}

.modern-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: all 0.3s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

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

/* Footer */
.footer-modern {
  background: var(--bg-secondary);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.footer-stats-mini {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-stats-mini span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  transition: color 0.3s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

.footer-address {
  font-size: 0.85rem !important;
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-20px) translateX(10px);
  }
  50% {
    transform: translateY(0) translateX(20px);
  }
  75% {
    transform: translateY(-10px) translateX(5px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-container-bento {
    grid-template-areas:
      "main main main main stats1 stats2"
      "tech tech visual visual testimonial testimonial";
    grid-template-rows: auto auto;
  }
}

@media (max-width: 1024px) {
  .hero-container-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "main main"
      "stats1 stats2"
      "tech tech"
      "visual visual"
      "testimonial testimonial";
  }

  .service-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-split.right {
    direction: ltr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .cta-container {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-container-bento {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "stats1"
      "stats2"
      "tech"
      "visual"
      "testimonial";
  }

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

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

  .footer-links-section {
    grid-template-columns: 1fr;
  }

  .timeline-line {
    display: none;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .timeline-marker {
    position: absolute;
    top: 0;
    left: 0;
  }

  .timeline-content {
    margin-left: 80px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

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

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

  .cta-info {
    flex-direction: column;
    gap: 0.75rem;
  }
}
