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

/* ==========================================================================
   GLOBAL DESIGN SYSTEM TOKENS & RESET
   ========================================================================== */
:root {
  --primary: #0f172a;       /* slate 900 */
  --primary-light: #1e293b; /* slate 800 */
  --accent-blue: #0284c7;   /* sky 600 */
  --accent-teal: #0d9488;   /* teal 600 */
  --accent-green: #10b981;  /* emerald 500 */
  --text-main: #334155;     /* slate 700 */
  --text-muted: #64748b;    /* slate 500 */
  --bg-light: #f8fafc;      /* slate 50 */
  --bg-white: #ffffff;
  --border-color: #e2e8f0;  /* slate 200 */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  padding-bottom: 0px !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* NAVBAR OVERRIDES - FORCE FULL WIDTH */
body .navbar-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  position: relative;
  z-index: 1000;
}

body .navbar-wrapper > .container {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body .navbar {
  border-radius: 0 !important;
  margin-bottom: 0 !important;
  border: none !important;
}

body .navbar .container {
  padding-left: 30px !important;
  padding-right: 30px !important;
}

/* ==========================================================================
   GENERIC UI COMPONENTS (REUSABLE)
   ========================================================================== */
/* Badge styling */
.badge-custom {
  display: inline-block;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 50px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-blue {
  background-color: #e0f2fe;
  color: var(--accent-blue);
}

.badge-teal {
  background-color: #ccfbf1;
  color: var(--accent-teal);
}

.badge-green {
  background-color: #d1fae5;
  color: var(--accent-green);
}

/* Buttons */
.btn-custom {
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-teal) 100%);
  color: var(--bg-white) !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
  opacity: 0.95;
}

.btn-outline {
  border: 2px solid var(--border-color);
  background-color: transparent;
  color: var(--primary) !important;
}

.btn-outline:hover {
  background-color: rgba(15, 23, 42, 0.05);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Alert styling */
.alert-custom {
  max-width: 900px;
  margin: 0 auto 30px auto;
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  border: 1px solid transparent;
}

.alert-success {
  background-color: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.alert-success h4 {
  color: #065f46 !important;
  margin-bottom: 4px;
  font-size: 16px;
}

.alert-danger {
  background-color: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}

.alert-danger h4 {
  color: #991b1b !important;
  margin-bottom: 4px;
  font-size: 16px;
}

.alert-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.alert-content p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

/* ==========================================================================
   HOMEPAGE SPECIFIC STYLES (#new-home-wrapper)
   ========================================================================== */
#new-home-wrapper {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.7;
  overflow-x: hidden;
}

#new-home-wrapper h1, 
#new-home-wrapper h2, 
#new-home-wrapper h3, 
#new-home-wrapper h4 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.025em;
  margin-top: 0;
}

/* Section Styling */
.home-section {
  padding: 95px 0;
  position: relative;
}

.section-bg-white {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.section-header .lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* HERO SECTION */
.hero-section {
  padding: 120px 0 100px 0;
  background: radial-gradient(circle at 85% 15%, rgba(224, 242, 254, 0.4) 0%, rgba(248, 250, 252, 1) 75%);
}

.hero-title {
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-lead {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* HERO CUSTOM SOFTWARE MOCKUP VISUAL */
.hero-mockup-container {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 340px;
}

@keyframes float-up {
  0% { transform: translateY(0px) rotateX(8deg) rotateY(-6deg); }
  50% { transform: translateY(-8px) rotateX(8deg) rotateY(-6deg); }
  100% { transform: translateY(0px) rotateX(8deg) rotateY(-6deg); }
}

@keyframes float-down {
  0% { transform: translateY(0px) rotateX(8deg) rotateY(-6deg); }
  50% { transform: translateY(8px) rotateX(8deg) rotateY(-6deg); }
  100% { transform: translateY(0px) rotateX(8deg) rotateY(-6deg); }
}

.mockup-browser {
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  height: 230px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  overflow: hidden;
  z-index: 2;
  transform: rotateX(8deg) rotateY(-6deg);
  animation: float-up 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

.browser-header {
  height: 28px;
  background-color: #f1f5f9;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
}

.browser-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #cbd5e1;
}

.browser-address {
  flex-grow: 1;
  height: 16px;
  background-color: var(--bg-white);
  border-radius: 4px;
  margin-left: 12px;
  font-size: 9px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  padding-left: 8px;
  font-weight: 500;
}

.browser-content {
  padding: 16px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  height: calc(100% - 28px);
  box-sizing: border-box;
}

.mockup-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-right: 1px solid #f1f5f9;
  padding-right: 12px;
}

.sidebar-item {
  height: 8px;
  background-color: #e2e8f0;
  border-radius: 4px;
  width: 100%;
}

.sidebar-item.active {
  background-color: var(--accent-blue);
  opacity: 0.8;
  width: 100%;
}

.mockup-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-start;
}

.main-title {
  height: 12px;
  width: 45%;
  background-color: #cbd5e1;
  border-radius: 4px;
  margin-bottom: 4px;
}

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

.grid-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.card-line {
  height: 6px;
  background-color: #cbd5e1;
  border-radius: 3px;
}

.card-line.short {
  width: 50%;
  background-color: #e2e8f0;
}

.main-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 65px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-top: auto;
}

.chart-bar {
  flex-grow: 1;
  background-color: #cbd5e1;
  border-radius: 3px 3px 0 0;
  min-height: 10px;
}

.chart-bar.fill-accent {
  background-color: var(--accent-blue);
}

.mockup-phone {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 140px;
  height: 250px;
  background: var(--primary);
  border-radius: 22px;
  box-shadow: var(--shadow-xl);
  border: 4px solid #1e293b;
  overflow: hidden;
  z-index: 3;
  transform: rotateX(8deg) rotateY(-6deg);
  animation: float-down 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background-color: var(--bg-light);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.phone-header {
  height: 8px;
  width: 40px;
  background-color: #cbd5e1;
  border-radius: 4px;
  margin: 0 auto 12px auto;
}

.phone-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.phone-line {
  height: 6px;
  background-color: #cbd5e1;
  border-radius: 3px;
}

.phone-line.short {
  width: 60%;
  background-color: #e2e8f0;
}

.phone-nav {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #e2e8f0;
  padding-top: 10px;
}

.phone-nav-item {
  width: 16px;
  height: 16px;
  background-color: #cbd5e1;
  border-radius: 4px;
}

.phone-nav-item.active {
  background-color: var(--accent-teal);
}

/* API/Integration floating elements */
.api-badge {
  position: absolute;
  top: 38%;
  left: 65%;
  transform: translate(-50%, -50%) rotateX(8deg) rotateY(-6deg);
  background-color: var(--accent-teal);
  color: var(--bg-white);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-lg);
  z-index: 4;
  animation: float-up 6s ease-in-out infinite alternate;
}

/* 3D ECOSYSTEM STACK */
.stack-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

/* Ambient soft glow background behind the stack */
.stack-ambient-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, rgba(16, 185, 129, 0.12) 50%, transparent 100%);
  filter: blur(55px);
  z-index: 1;
  pointer-events: none;
}

.stack-visual {
  position: relative;
  height: 380px;
  width: 100%;
  max-width: 440px;
  perspective: 1200px;
  transform-style: preserve-3d;
  z-index: 2;
}

.stack-layer {
  position: absolute;
  width: 100%;
  height: 95px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid rgba(226, 232, 240, 0.85);
  display: flex;
  align-items: center;
  transform-style: preserve-3d;
  z-index: 2;
}

.stack-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.1) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.stack-layer-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.stack-layer-content {
  flex-grow: 1;
}

.stack-layer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--primary);
}

.stack-layer-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.stack-layer-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: auto;
}

/* Live Pulsing Dot Indicator */
.pulse-dot-container {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 8px;
  height: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.layer-studio .pulse-dot { background-color: var(--accent-blue); }
.layer-framework .pulse-dot { background-color: var(--accent-teal); }
.layer-backbone .pulse-dot { background-color: var(--accent-green); }

.pulse-ring {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  animation: pulse-ring-animation 2s infinite ease-out;
}
.layer-studio .pulse-ring { border: 2px solid rgba(2, 132, 199, 0.4); }
.layer-framework .pulse-ring { border: 2px solid rgba(13, 148, 136, 0.4); }
.layer-backbone .pulse-ring { border: 2px solid rgba(16, 185, 129, 0.4); }

@keyframes pulse-ring-animation {
  0% {
    transform: scale(0.5);
    opacity: 1;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Layer positioning */
.layer-studio {
  top: 15px;
  transform: rotateX(24deg) rotateY(-18deg) rotateZ(5deg) translateZ(80px);
  border-left: 5px solid var(--accent-blue);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.95) 100%);
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.12), 0 8px 16px -6px rgba(2, 132, 199, 0.08);
}
.layer-studio .stack-layer-icon {
  background-color: #e0f2fe;
  color: var(--accent-blue);
}
.layer-studio .stack-layer-badge {
  background-color: #e0f2fe;
  color: var(--accent-blue);
}

.layer-framework {
  top: 135px;
  transform: rotateX(24deg) rotateY(-18deg) rotateZ(5deg) translateZ(40px);
  border-left: 5px solid var(--accent-teal);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 253, 250, 0.95) 100%);
  box-shadow: 0 10px 25px -5px rgba(13, 148, 136, 0.12), 0 8px 16px -6px rgba(13, 148, 136, 0.08);
}
.layer-framework .stack-layer-icon {
  background-color: #ccfbf1;
  color: var(--accent-teal);
}
.layer-framework .stack-layer-badge {
  background-color: #ccfbf1;
  color: var(--accent-teal);
}

.layer-backbone {
  top: 255px;
  transform: rotateX(24deg) rotateY(-18deg) rotateZ(5deg) translateZ(0px);
  border-left: 5px solid var(--accent-green);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 253, 244, 0.95) 100%);
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.12), 0 8px 16px -6px rgba(16, 185, 129, 0.08);
}
.layer-backbone .stack-layer-icon {
  background-color: #d1fae5;
  color: var(--accent-green);
}
.layer-backbone .stack-layer-badge {
  background-color: #d1fae5;
  color: var(--accent-green);
}

/* Hover effects */
.layer-studio:hover {
  transform: rotateX(24deg) rotateY(-18deg) rotateZ(5deg) translateZ(105px) translateY(-12px);
  box-shadow: 0 25px 45px -10px rgba(2, 132, 199, 0.3), 0 10px 20px -5px rgba(2, 132, 199, 0.15);
}
.layer-studio:hover .stack-layer-icon {
  background-color: var(--accent-blue);
  color: var(--bg-white);
}

.layer-framework:hover {
  transform: rotateX(24deg) rotateY(-18deg) rotateZ(5deg) translateZ(65px) translateY(-12px);
  box-shadow: 0 25px 45px -10px rgba(13, 148, 136, 0.3), 0 10px 20px -5px rgba(13, 148, 136, 0.15);
}
.layer-framework:hover .stack-layer-icon {
  background-color: var(--accent-teal);
  color: var(--bg-white);
}

.layer-backbone:hover {
  transform: rotateX(24deg) rotateY(-18deg) rotateZ(5deg) translateZ(25px) translateY(-12px);
  box-shadow: 0 25px 45px -10px rgba(16, 185, 129, 0.3), 0 10px 20px -5px rgba(16, 185, 129, 0.15);
}
.layer-backbone:hover .stack-layer-icon {
  background-color: var(--accent-green);
  color: var(--bg-white);
}

/* ECOSYSTEM DETAIL CARDS */
.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 35px 30px;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 132, 199, 0.2);
}

.card-icon-container {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.card-icon-container.blue {
  background-color: #e0f2fe;
  color: var(--accent-blue);
}

.card-icon-container.teal {
  background-color: #ccfbf1;
  color: var(--accent-teal);
}

.card-icon-container.green {
  background-color: #d1fae5;
  color: var(--accent-green);
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
}

.feature-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-bullets li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-main);
  font-weight: 500;
}

.feature-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230d9488'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* CORE SERVICES REDESIGN */
.service-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card .image-wrapper {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.service-card .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .image-wrapper img {
  transform: scale(1.05);
}

.service-card .card-body {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-link {
  font-weight: 600;
  color: var(--accent-blue) !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  transition: var(--transition);
}

.card-link .arrow {
  margin-left: 6px;
  transition: var(--transition);
}

.card-link:hover .arrow {
  transform: translateX(4px);
}

/* PHILOSOPHY FEATURETTE REDESIGN */
.philosophy-section {
  background-color: var(--bg-white);
}

.philosophy-image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.philosophy-image-container img {
  width: 100%;
  transition: var(--transition);
}

.philosophy-content {
  padding-left: 20px;
}

.philosophy-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.philosophy-content .lead {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.point-item {
  display: flex;
  margin-top: 30px;
}

.point-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: #d1fae5;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.point-text h4 {
  font-size: 18px;
  margin-bottom: 6px;
}

.point-text p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

/* CALL TO ACTION (CTA) */
.cta-section {
  padding: 80px 0 100px 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  color: var(--bg-white);
  box-shadow: var(--shadow-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box h2 {
  color: var(--bg-white) !important;
  font-size: 36px;
  margin-bottom: 16px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 32px auto;
}

.cta-box .btn-custom {
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

/* ==========================================================================
   CONTACT PAGE SPECIFIC STYLES (#contact-wrapper)
   ========================================================================== */
#contact-wrapper {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.7;
  padding: 120px 0 100px 0;
  min-height: calc(100vh - 350px);
}

#contact-wrapper h1, 
#contact-wrapper h2, 
#contact-wrapper h3, 
#contact-wrapper h4 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.025em;
  margin-top: 0;
}

.contact-header {
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.contact-header h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.contact-header h1 span {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.contact-header .lead {
  font-size: 18px;
  color: var(--text-muted);
}

.contact-content {
  max-width: 1000px;
  margin: 0 auto;
}

.info-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.info-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.info-intro {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 35px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

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

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: #e0f2fe;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.info-text p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

.form-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-card h3 {
  font-size: 24px;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group-custom {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group-custom label {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.form-group-custom input,
.form-group-custom textarea {
  font-family: inherit;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--primary);
  background-color: var(--bg-light);
  transition: var(--transition);
  outline: none;
}

.form-group-custom input:focus,
.form-group-custom textarea:focus {
  border-color: var(--accent-blue);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-group-captcha {
  margin-top: 8px;
}

.form-group-submit {
  margin-top: 12px;
}

.btn-custom:hover .btn-icon {
  transform: translateX(3px) translateY(-2px);
}

/* ==========================================================================
   GLOBAL FOOTER STYLES
   ========================================================================== */
.footer-bs {
  background-color: #0f172a;
  border-top: 1px solid #1e293b;
  padding: 80px 40px 40px 40px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.footer-bs h3.footer-brand {
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.footer-bs .footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bs h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-bs p {
  font-size: 14px;
  line-height: 1.7;
}

.footer-bs .footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-bs .footer-links a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

.footer-bs .footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 40px 0 20px 0;
}

.footer-bs .footer-bottom p.copyright {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  margin: 0;
}

.footer-bs .footer-bottom a.back-to-top {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-bs .footer-bottom a.back-to-top:hover {
  color: #38bdf8;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 991px) {
  .hero-section {
    padding: 80px 0 60px 0;
    text-align: center;
  }
  
  .hero-title {
    font-size: 38px;
  }

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

  .hero-mockup-container {
    margin-top: 50px;
    height: 300px;
  }

  .stack-visual-wrapper {
    margin-top: 60px;
    min-height: auto;
  }

  .philosophy-content {
    padding-left: 0;
    margin-top: 40px;
  }
  
  .home-section {
    padding: 70px 0;
  }
  
  #contact-wrapper {
    padding: 80px 0 60px 0;
  }
  
  .contact-header h1 {
    font-size: 38px;
  }
  
  .info-card {
    margin-bottom: 40px;
  }
}

@media (max-width: 767px) {
  .stack-visual {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    perspective: none;
  }

  .stack-layer {
    position: relative;
    top: 0 !important;
    transform: none !important;
    box-shadow: var(--shadow-md);
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .cta-box {
    padding: 40px 24px;
  }
  
  .cta-box h2 {
    font-size: 28px;
  }
  
  .info-card, .form-card {
    padding: 24px;
  }
  
  .btn-block-mobile {
    width: 100%;
  }
}

/* ==========================================================================
   AI AGENT PAGE SPECIFIC STYLES (#ai-agent-wrapper)
   ========================================================================== */
#ai-agent-wrapper {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.7;
  padding: 120px 0 100px 0;
  min-height: calc(100vh - 350px);
  overflow-x: hidden;
}

#ai-agent-wrapper h1, 
#ai-agent-wrapper h2, 
#ai-agent-wrapper h3, 
#ai-agent-wrapper h4 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.025em;
  margin-top: 0;
}

.ai-header {
  max-width: 750px;
  margin: 0 auto 60px auto;
}

.ai-header h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.ai-header h1 span {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.ai-header .lead {
  font-size: 18px;
  color: var(--text-muted);
}

/* Prompt sandbox styles */
.sandbox-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sandbox-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.sandbox-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 25px;
}

.prompt-choices {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.prompt-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  outline: none;
}

.prompt-btn:hover {
  border-color: var(--accent-blue);
  background-color: var(--bg-white);
  transform: translateX(4px);
}

.prompt-btn.active {
  border-color: var(--accent-blue);
  background-color: #f0f9ff;
  box-shadow: var(--shadow-sm);
}

.prompt-btn .number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #cbd5e1;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  transition: var(--transition);
}

.prompt-btn.active .number {
  background-color: var(--accent-blue);
  color: var(--bg-white);
}

.prompt-btn .text {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

.prompt-btn.active .text {
  color: var(--accent-blue);
}

.sandbox-info {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.info-block {
  display: none;
}

.info-block.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.info-block strong {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 6px;
}

.info-block .prompt-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  background-color: #f1f5f9;
  border-left: 4px solid var(--accent-teal);
  padding: 10px 14px;
  border-radius: 0 4px 4px 0;
  margin: 0;
}

/* Terminal mockup styles */
.terminal-mockup {
  background-color: #1e293b;
  border: 4px solid #334155;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 380px;
}

.terminal-header {
  background-color: #0f172a;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #334155;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot.red { background-color: #ef4444; }
.terminal-dot.yellow { background-color: #f59e0b; }
.terminal-dot.green { background-color: #10b981; }

.terminal-title {
  color: #94a3b8;
  font-size: 11px;
  font-family: monospace;
  margin-left: auto;
  margin-right: auto;
}

.terminal-body {
  padding: 24px;
  color: #f8fafc;
  font-family: 'Consolas', 'Courier New', Courier, monospace;
  font-size: 13px;
  line-height: 1.6;
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.terminal-group {
  display: none;
  flex-direction: column;
  height: 100%;
}

.terminal-group.active {
  display: flex;
  animation: fadeIn 0.4s ease;
}

.terminal-line {
  margin-bottom: 8px;
}

.terminal-line .prompt {
  color: var(--accent-teal);
  font-weight: 700;
}

.terminal-line.response {
  color: #94a3b8;
}

.terminal-line.code {
  color: #38bdf8;
  padding-left: 20px;
  white-space: pre-wrap;
}

.terminal-line.success {
  color: #4ade80;
  font-weight: 600;
  margin-top: 10px;
}

.terminal-line .cursor {
  animation: blink-cursor 1s infinite step-end;
  font-weight: 700;
}

@keyframes blink-cursor {
  from, to { color: transparent; }
  50% { color: #f8fafc; }
}

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