/* CSS Design System & Styles for proasc (Automation System Company) */

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

:root {
  /* Colors */
  --bg: #030712;
  --bg-rgb: 3, 7, 18;
  --bg-card: rgba(13, 20, 38, 0.45);
  --bg-card-hover: rgba(22, 32, 60, 0.6);
  
  --primary: #00f2fe;
  --primary-rgb: 0, 242, 254;
  --secondary: #9b51e0;
  --secondary-rgb: 155, 81, 224;
  --whatsapp: #00f5a0;
  --whatsapp-rgb: 0, 245, 160;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.25);
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout & Animations */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(155, 81, 224, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 242, 254, 0.5);
}

/* Background Gradients & Grid */
.background-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.radial-glow-1 {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(155, 81, 224, 0.12) 0%, rgba(0,0,0,0) 70%);
  filter: blur(80px);
}

.radial-glow-2 {
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, rgba(0,0,0,0) 70%);
  filter: blur(80px);
}

.grid-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}

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

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-green {
  background: linear-gradient(135deg, var(--primary) 0%, var(--whatsapp) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* Nav Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  background: rgba(3, 7, 18, 0.7);
  transition: var(--transition);
}

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

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.logo:hover .logo-img {
  transform: scale(1.08) rotate(5deg);
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: -0.01em;
  transition: var(--transition);
}

.logo:hover .logo-text {
  color: var(--primary);
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -6px;
  left: 0;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition);
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
  background: transparent;
  color: #fff;
  border: 1px solid rgba(0, 242, 254, 0.4);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.05);
}

.nav-cta:hover {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.1) 0%, rgba(155, 81, 224, 0.1) 100%);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
  transform: translateY(-2px);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

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

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

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

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

.badge-new {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(155, 81, 224, 0.1);
  border: 1px solid rgba(155, 81, 224, 0.25);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #c084fc;
}

.badge-new i {
  color: var(--primary);
}

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

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #030712;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

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

/* Glass Card Global Styles */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: 0 20px 40px rgba(0, 242, 254, 0.05);
}

/* WhatsApp Simulator Section */
#whatsapp-demo {
  background: linear-gradient(180deg, transparent, rgba(0, 245, 160, 0.02), transparent);
}

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

.section-subtitle {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.15rem;
  color: var(--primary);
  font-weight: 600;
}

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

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

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

.simulator-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-pill-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-pill {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255,255,255,0.04);
  padding: 1.25rem;
  border-radius: 16px;
  transition: var(--transition);
}

.feature-pill:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 245, 160, 0.2);
}

.feature-pill i {
  color: var(--whatsapp);
  font-size: 1.25rem;
  margin-top: 0.15rem;
}

.feature-pill h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.feature-pill p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Phone Mockup */
.phone-mockup {
  width: 100%;
  max-width: 380px;
  height: 620px;
  border-radius: 40px;
  border: 12px solid #1e293b;
  margin: 0 auto;
  background: #0b0f19;
  position: relative;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 245, 160, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Speaker Notch */
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 25px;
  background: #1e293b;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-camera {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0b0f19;
}

/* WhatsApp Screen elements */
.wa-header {
  background: #0f172a;
  padding: 2rem 1rem 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wa-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wa-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.wa-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.wa-avatar::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--whatsapp);
  border-radius: 50%;
  bottom: 0;
  right: 0;
  border: 2px solid #0f172a;
  z-index: 2;
}

.wa-user-details h5 {
  font-size: 0.95rem;
  color: #fff;
}

.wa-user-details span {
  font-size: 0.7rem;
  color: var(--whatsapp);
  display: block;
}

.wa-actions {
  display: flex;
  gap: 1rem;
  color: var(--text-muted);
}

.wa-actions i {
  cursor: pointer;
  transition: var(--transition);
}

.wa-actions i:hover {
  color: var(--primary);
}

.wa-chat-body {
  flex: 1;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 16px 16px;
  background-color: #090d16;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wa-msg {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.4;
  position: relative;
  animation: messageSlideIn 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

.wa-msg-in {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(255,255,255,0.03);
  color: #fff;
  align-self: flex-start;
  border-top-left-radius: 4px;
}

.wa-msg-out {
  background: rgba(0, 245, 160, 0.15);
  border: 1px solid rgba(0, 245, 160, 0.25);
  color: #fff;
  align-self: flex-end;
  border-top-right-radius: 4px;
}

.wa-time {
  display: block;
  text-align: right;
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.wa-typing {
  align-self: flex-start;
  background: rgba(30, 41, 59, 0.85);
  padding: 0.75rem 1.2rem;
  border-radius: 16px;
  border-top-left-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  display: none;
}

.wa-dot {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typingDot 1.4s infinite ease-in-out;
}

.wa-dot:nth-child(2) { animation-delay: 0.2s; }
.wa-dot:nth-child(3) { animation-delay: 0.4s; }

.wa-options-panel {
  padding: 0.75rem;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wa-options-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.wa-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.wa-preset-btn {
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--primary);
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

.wa-preset-btn:hover {
  background: rgba(0, 242, 254, 0.25);
  transform: scale(1.03);
}

.wa-footer {
  background: #0f172a;
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.wa-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  color: #fff;
  font-size: 0.8rem;
  pointer-events: none; /* Only allow preset interaction for simulation stability */
}

.wa-send-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--whatsapp);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #030712;
  cursor: pointer;
  opacity: 0.7;
}

/* Animations */
@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

/* Services Section */
#services {
  background: linear-gradient(180deg, transparent, rgba(155, 81, 224, 0.02), transparent);
}

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

.service-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.1) 0%, rgba(155, 81, 224, 0.1) 100%);
  border: 1px solid rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: rotate(5deg) scale(1.1);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #030712;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.service-title {
  font-size: 1.4rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

/* Workflow Builder Visualizer Section */
#workflow {
  overflow: hidden;
}

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

.workflow-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Visualizer Board Wrapper for scaling */
.visualizer-wrapper {
  width: 100%;
  height: 360px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: visible;
  transition: height 0.2s ease;
}

.visualizer-board {
  width: 680px;
  height: 360px;
  background: rgba(13, 20, 38, 0.3);
  border-radius: 24px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.5);
  flex-shrink: 0;
}

.svg-connections {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.connection-line {
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 2px;
  stroke-dasharray: 6 4;
}

.pulse-line {
  stroke: url(#cyan-purple-grad);
  stroke-width: 3px;
  stroke-linecap: round;
  stroke-dasharray: 20 180;
  stroke-dashoffset: 200;
  animation: dashMove 3s linear infinite;
  display: none; /* Activated via class */
}

@keyframes dashMove {
  to {
    stroke-dashoffset: 0;
  }
}

.flow-node {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(30, 41, 59, 0.9);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-muted);
  z-index: 2;
  transition: var(--transition-slow);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.flow-node-label {
  position: absolute;
  bottom: -2.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-muted);
  transition: var(--transition);
}

/* Active State for Nodes */
.flow-node.node-active {
  color: #fff;
  border-color: var(--primary);
  background: rgba(0, 242, 254, 0.1);
  box-shadow: 
    0 0 25px rgba(0, 242, 254, 0.4),
    inset 0 0 10px rgba(0, 242, 254, 0.2);
  transform: scale(1.1);
}

.flow-node.node-active .flow-node-label {
  color: var(--primary);
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
}

.flow-node.node-whatsapp-active {
  color: #fff;
  border-color: var(--whatsapp);
  background: rgba(0, 245, 160, 0.1);
  box-shadow: 
    0 0 25px rgba(0, 245, 160, 0.4),
    inset 0 0 10px rgba(0, 245, 160, 0.2);
  transform: scale(1.1);
}

.flow-node.node-whatsapp-active .flow-node-label {
  color: var(--whatsapp);
  text-shadow: 0 0 8px rgba(0, 245, 160, 0.5);
}

.flow-node.node-purple-active {
  color: #fff;
  border-color: var(--secondary);
  background: rgba(155, 81, 224, 0.1);
  box-shadow: 
    0 0 25px rgba(155, 81, 224, 0.4),
    inset 0 0 10px rgba(155, 81, 224, 0.2);
  transform: scale(1.1);
}

.flow-node.node-purple-active .flow-node-label {
  color: var(--secondary);
  text-shadow: 0 0 8px rgba(155, 81, 224, 0.5);
}

/* About Section */
#about {
  background: linear-gradient(180deg, transparent, rgba(0, 242, 254, 0.01), transparent);
}

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

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

.stat-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: var(--transition);
}

.stat-box:hover {
  border-color: var(--border-glow);
  background: rgba(255,255,255,0.03);
  transform: translateY(-3px);
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

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

/* Contact Section */
#contact {
  background: linear-gradient(180deg, transparent, rgba(155, 81, 224, 0.01), transparent);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-card-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition);
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--primary);
  transform: translateX(5px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.15rem;
}

.contact-item:hover .contact-icon {
  background: var(--primary);
  color: #030712;
}

.contact-details h5 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

.contact-details p {
  font-size: 1rem;
  font-weight: 500;
}

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

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

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

.form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  color: #fff;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--primary);
  background: rgba(0, 242, 254, 0.02);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

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

/* Form status popup styling */
.form-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--primary);
  padding: 1rem 2rem;
  border-radius: 12px;
  color: #fff;
  z-index: 1000;
  transform: translateY(150%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

.form-toast.toast-active {
  transform: translateY(0);
}

.form-toast i {
  color: var(--whatsapp);
  font-size: 1.2rem;
}

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

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

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-links-col h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 0.85rem;
}

.newsletter-input:focus {
  border-color: var(--primary);
}

.btn-newsletter {
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-size: 0.85rem;
}

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

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

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

/* Animations Scroll Reveal Utility */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  section {
    padding: 6rem 0;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .whatsapp-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .workflow-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  header {
    background: rgba(3, 7, 18, 0.95);
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: #030712;
    flex-direction: column;
    align-items: center;
    padding: 3rem 0;
    transition: var(--transition);
    border-top: 1px solid var(--border);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .nav-menu.active li {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Apply delay to mobile menu items */
  .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
  .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
  .nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
  .nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }
  .nav-menu.active li:nth-child(5) { transition-delay: 0.5s; }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .visualizer-board {
    padding: 0 1.5rem;
  }
}
