/* ==========================================================================
   Nearit Agency — Global Design System & Stylesheet
   Typography: Plus Jakarta Sans
   Theme: Modern Iridescent Glassmorphism & Enterprise Cloud Tech
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #0a0c10;
  --bg-secondary: #0f131a;
  --bg-card: rgba(18, 24, 38, 0.65);
  --bg-card-hover: rgba(26, 34, 52, 0.85);
  --bg-card-glass: rgba(255, 255, 255, 0.04);
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(99, 102, 241, 0.3);
  --border-glow: rgba(56, 189, 248, 0.4);

  /* Hostinger & Iridescent Brand Accents */
  --accent-hostinger: #673de6;
  --accent-hostinger-light: #7e57c2;
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-green: #10b981;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #673de6 0%, #3b82f6 50%, #06b6d4 100%);
  --grad-iridescent: linear-gradient(135deg, #a78bfa 0%, #60a5fa 35%, #34d399 70%, #f472b6 100%);
  --grad-dark-card: linear-gradient(180deg, rgba(25, 33, 50, 0.6) 0%, rgba(13, 17, 28, 0.8) 100%);
  --grad-glow: radial-gradient(circle at 50% 0%, rgba(103, 61, 230, 0.25) 0%, transparent 70%);

  /* Typography */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Shadows & Effects */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 35px rgba(99, 102, 241, 0.25);
  --shadow-glow-cyan: 0 0 35px rgba(6, 182, 212, 0.25);
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-primary);
}

/* Background Atmosphere */
.ambient-glow-1 {
  position: fixed;
  top: -20%;
  left: 10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(103, 61, 230, 0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.ambient-glow-2 {
  position: fixed;
  bottom: 10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.09) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
}

.ambient-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

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

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

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

.text-gradient {
  background: var(--grad-iridescent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Top Announcement Banner */
.top-banner {
  background: linear-gradient(90deg, rgba(103, 61, 230, 0.25) 0%, rgba(6, 182, 212, 0.25) 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  text-align: center;
  position: relative;
  z-index: 101;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.top-banner .badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
}

.badge-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: #34d399;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

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

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(103, 61, 230, 0.4);
}

.brand-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.brand-tag {
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: -0.25rem;
}

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

.nav-links a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  transition: width var(--transition-fast);
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-family);
  font-size: 0.925rem;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(103, 61, 230, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(103, 61, 230, 0.5);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-subtle);
  color: var(--text-main);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: #fff;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero-section {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(103, 61, 230, 0.12);
  border: 1px solid rgba(103, 61, 230, 0.35);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  color: #c4b5fd;
  margin-bottom: 1.5rem;
}

.hero-pill svg {
  width: 16px;
  height: 16px;
  fill: #a78bfa;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  letter-spacing: -0.035em;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-trust-bar {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.trust-item strong {
  color: var(--text-main);
  font-weight: 600;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-cyan);
}

/* Hero Showcase Card */
.hero-visual {
  position: relative;
}

.hero-card-stack {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--grad-dark-card);
  border: 1px solid var(--border-highlight);
  padding: 2rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  backdrop-filter: blur(20px);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.status-dot-pulse {
  width: 10px;
  height: 10px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
}

.server-info-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.server-info-sub {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.tech-badge-hostinger {
  background: rgba(103, 61, 230, 0.2);
  border: 1px solid rgba(103, 61, 230, 0.4);
  color: #ddd6fe;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.server-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  transition: transform var(--transition-fast);
}

.metric-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.metric-val {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.metric-val.green {
  color: #34d399;
}

.metric-val.cyan {
  color: #38bdf8;
}

.metric-foot {
  font-size: 0.7rem;
  color: var(--accent-cyan);
  margin-top: 0.2rem;
}

.hero-live-feed {
  background: rgba(10, 13, 20, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.feed-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feed-line .sym {
  color: #34d399;
  font-weight: bold;
}

/* Floating Badges */
.floating-glass-badge {
  position: absolute;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-highlight);
  backdrop-filter: blur(12px);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  animation: float-slow 4s ease-in-out infinite;
}

.floating-badge-1 {
  top: -20px;
  right: -20px;
}

.floating-badge-2 {
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.badge-avatar-group {
  display: flex;
  align-items: center;
}

.badge-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  margin-left: -8px;
  background-size: cover;
}

.badge-avatar:first-child {
  margin-left: 0;
}

.badge-text-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.badge-text-sub {
  font-size: 0.725rem;
  color: var(--text-dim);
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Ecosystem Banner */
.ecosystem-section {
  padding: 3rem 0 5rem;
}

.ecosystem-card {
  background: linear-gradient(135deg, rgba(103, 61, 230, 0.15) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(103, 61, 230, 0.35);
  border-radius: var(--radius-xl);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.ecosystem-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.ecosystem-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

.eco-feat {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.eco-feat-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.eco-feat-text h5 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.eco-feat-text p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.partner-visual-box {
  background: rgba(10, 14, 23, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.partner-logo-duo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.partner-logo-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.partner-connector {
  font-size: 1.2rem;
  color: var(--accent-cyan);
}

/* Services Grid (Hostinger Products & Services Coverage) */
.services-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.services-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--grad-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(103, 61, 230, 0.3);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: all var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

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

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(103, 61, 230, 0.15);
  border: 1px solid rgba(103, 61, 230, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #a78bfa;
}

.service-icon-box svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.service-num {
  position: absolute;
  top: 1.75rem;
  right: 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dim);
  font-family: monospace;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.925rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.service-features-list {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.service-features-list li::before {
  content: '✓';
  color: var(--accent-cyan);
  font-weight: bold;
}

.service-card-foot {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-badge {
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition-fast);
}

.service-card:hover .service-link {
  gap: 0.6rem;
  color: var(--accent-cyan);
}

/* Our Approach Section (Matching UI/ce176d204513961fd2d5e215b991dc44.webp) */
.approach-section {
  padding: 6rem 0;
  position: relative;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.approach-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.approach-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: var(--shadow-glow-cyan);
}

.approach-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.approach-icon-wrap svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.approach-card h3 {
  font-size: 1.45rem;
  font-weight: 700;
}

.approach-card p {
  font-size: 0.975rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.approach-tag-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.approach-tag {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  color: var(--text-dim);
}

/* Portfolio & Case Studies Section */
.portfolio-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.case-card-header {
  padding: 2rem 2.25rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.case-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.case-tech-tag {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.case-card-body {
  padding: 0 2.25rem 2rem;
  flex: 1;
}

.case-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.case-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.case-metrics-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  background: rgba(10, 13, 20, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

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

.c-metric-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.c-metric-val.blue { color: #60a5fa; }
.c-metric-val.green { color: #34d399; }
.c-metric-val.purple { color: #a78bfa; }

.c-metric-lbl {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.case-arch-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.case-arch-specs li {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

/* About Nearit & Leadership Section */
.about-section {
  padding: 6rem 0;
}

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

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.about-card-stat {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.about-card-stat h4 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 0.25rem;
}

.about-card-stat p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.team-card {
  background: var(--grad-dark-card);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.founder-profile {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.5rem;
}

.founder-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 0 20px rgba(103, 61, 230, 0.4);
}

.founder-meta h4 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.founder-meta span {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.founder-quote {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.team-capabilities {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cap-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.cap-bar-outer {
  width: 140px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.cap-bar-inner {
  height: 100%;
  background: var(--grad-primary);
  border-radius: var(--radius-full);
}

/* Pricing & Engagement Models */
.pricing-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-smooth);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(30, 27, 75, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
  border-color: rgba(103, 61, 230, 0.6);
  box-shadow: 0 0 35px rgba(103, 61, 230, 0.25);
  transform: translateY(-8px);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
}

.pricing-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(103, 61, 230, 0.4);
}

.pricing-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.plan-price-wrap {
  margin: 1.5rem 0 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.plan-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
}

.plan-period {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  flex: 1;
}

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

.pricing-features-list li svg {
  width: 18px;
  height: 18px;
  fill: #34d399;
  flex-shrink: 0;
}

/* Testimonials */
.testimonials-section {
  padding: 6rem 0;
}

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

.test-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.test-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

.test-stars {
  color: #f59e0b;
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.25rem;
}

.test-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-pic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-cyan);
}

.author-info h5 {
  font-size: 0.95rem;
  font-weight: 600;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Blog / Insights Section (Matching UI/757430773334d99c5e5ce30907c08576.webp) */
.blog-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

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

.blog-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.775rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.blog-cat-pill {
  background: rgba(103, 61, 230, 0.15);
  border: 1px solid rgba(103, 61, 230, 0.3);
  color: #c4b5fd;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.85rem;
}

.blog-summary {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

/* Contact / Consultation Booking Section */
.contact-section {
  padding: 6rem 0;
  position: relative;
}

.contact-box {
  background: var(--grad-dark-card);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.contact-info-col h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-info-col p {
  margin-bottom: 2rem;
  line-height: 1.6;
}

.direct-channels {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.channel-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.channel-text span {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  display: block;
}

.channel-text strong {
  font-size: 0.95rem;
  color: #fff;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

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

.form-input,
.form-select,
.form-textarea {
  background: rgba(10, 14, 22, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  font-family: var(--font-family);
  font-size: 0.925rem;
  color: #fff;
  transition: all var(--transition-fast);
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-hostinger-light);
  box-shadow: 0 0 15px rgba(103, 61, 230, 0.35);
  background: rgba(15, 20, 32, 0.95);
}

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

.form-status {
  padding: 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

/* Newsletter / CTA Section (Matching UI/40b77b435ac17b058fff076579671bdb.webp) */
.newsletter-section {
  padding: 5rem 0;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(103, 61, 230, 0.15) 0%, transparent 70%);
}

.newsletter-box {
  max-width: 680px;
  margin: 0 auto;
}

.newsletter-box h3 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.newsletter-box p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.newsletter-form {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.35rem 0.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
}

.newsletter-form:focus-within {
  border-color: var(--accent-hostinger-light);
  box-shadow: 0 0 20px rgba(103, 61, 230, 0.3);
}

.newsletter-form input {
  background: transparent;
  border: none;
  font-family: var(--font-family);
  font-size: 0.95rem;
  color: #fff;
  flex: 1;
  outline: none;
}

.newsletter-form button {
  background: #1e293b;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-family);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.newsletter-form button:hover {
  background: #fff;
  color: #000;
}

.newsletter-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
}

.social-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  background: #07090d;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 1.25rem 0;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #fff;
  letter-spacing: 0.02em;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

.partner-compliance-notice {
  font-size: 0.775rem;
  color: var(--text-dim);
  max-width: 650px;
  line-height: 1.5;
}

/* Interactive Modal for Legal & Case Studies */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.active {
  display: flex;
}

.modal-content-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.modal-body h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.modal-body p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.modal-body ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid,
  .ecosystem-content,
  .about-grid,
  .contact-box {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-grid,
  .pricing-grid,
  .testimonials-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: 2.75rem;
  }
}

@media (max-width: 768px) {
  .services-grid,
  .pricing-grid,
  .testimonials-grid,
  .blog-grid,
  .approach-grid,
  .case-study-grid,
  .form-group-row {
    grid-template-columns: 1fr;
  }

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

  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
  }

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

  .contact-box {
    padding: 2rem 1.5rem;
  }
}
