:root {
  /* Deep Blue - represents trust and stability */
  --primary: #0a4d68;
  --primary-dark: #083344;
  --primary-light: #088395;

  /* Professional Navy */
  --navy: #05263b;

  /* Modern Slate */
  --slate: #334155;

  /* Crisp Background */
  --background: #f8fafc;

  /* Keep the familiar WhatsApp green */
  --accent: #25d366;

  --text: var(--slate);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background-color: var(--background);
  line-height: 1.6;
}

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

/* Hero Section */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: linear-gradient(
    45deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: soft-light;
}

.logo {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  animation: fadeInDown 0.8s ease-out;
  color: white;
}

.logo span:first-child {
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo span.call {
  background: linear-gradient(135deg, var(--accent) 0%, #1eb358 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo span.sage {
  color: white;
  -webkit-text-fill-color: white;
}

.logo span.ai {
  color: white;
  -webkit-text-fill-color: white;
}

.logo span.dot {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

.logo .highlight {
  background: linear-gradient(135deg, var(--accent) 0%, #1eb358 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.connecting-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 20px;
  height: 24px;
}

.connecting-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--accent);
  display: inline-block;
  animation: connectingDots 5s infinite;
}

.connecting-dots .dot:nth-child(2) {
  animation-delay: 1s;
}

.connecting-dots .dot:nth-child(3) {
  animation-delay: 2s;
}

.connecting-dots .dot:nth-child(4) {
  animation-delay: 3s;
}

.connecting-dots .dot:nth-child(5) {
  animation-delay: 4s;
}

@keyframes connectingDots {
  0% {
    background: transparent;
    border-color: white;
    transform: scale(1);
  }
  20% {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.2);
  }
  100% {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1);
  }
}

h1 .highlight {
  display: none;
}

.subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeIn 1s ease-out 0.5s forwards;
  opacity: 0;
}

/* Features Section */
.features {
  padding: 80px 0;
  text-align: center;
}

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

.feature-card {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.feature-card::before {
  content: 'Coming Soon';
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-light);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.8;
}

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

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  text-align: center;
  color: var(--primary-dark);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background-color: var(--background);
  text-align: center;
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

input,
textarea {
  padding: 1rem 1.2rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  width: 100%;
  transition: all 0.2s ease;
}

input:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74, 192, 192, 0.1);
  outline: none;
}

textarea {
  height: 150px;
  resize: vertical;
}

.btn-wrapper {
  position: relative;
  text-align: center;
}

#notification {
  display: none;
  padding: 10px;
  margin-top: 10px;
  border-radius: 4px;
  text-align: center;
  font-weight: 500;
}

#notification.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

#notification.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Buttons */
.cta-button-large {
  width: auto;
  min-width: 180px;
  padding: 0 2rem;
  height: 54px;
  font-size: 1rem;
  letter-spacing: 0.5px;
  background-image: linear-gradient(
    135deg,
    var(--accent) 0%,
    #1eb358 100%
  );
  border: none;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.cta-button-large:hover {
  box-shadow: 0 4px 3px 1px #fcfcfc, 0 6px 8px #d6d7d9,
    0 -4px 4px #cecfd1, 0 -6px 4px #fefefe,
    inset 0 0 3px 3px rgba(37, 211, 102, 0.2);
}

.cta-button-large:active {
  box-shadow: 0 4px 3px 1px #fcfcfc, 0 6px 8px #d6d7d9,
    0 -4px 4px #cecfd1, 0 -6px 4px #fefefe,
    inset 0 0 5px 3px rgba(0, 0, 0, 0.2),
    inset 0 0 30px rgba(0, 0, 0, 0.2);
}

.cta-button-large:focus {
  outline: none;
  box-shadow: 0 4px 3px 1px #fcfcfc, 0 6px 8px #d6d7d9,
    0 -4px 4px #cecfd1, 0 -6px 4px #fefefe,
    inset 0 0 5px 3px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  background-color: var(--navy);
  color: white;
  padding: 2rem 0;
  text-align: center;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  h1 {
    flex-direction: column;
    font-size: 3rem;
    gap: 10px;
  }
  
  .connecting-dots {
    flex-direction: column;
    height: auto;
    gap: 6px;
    margin: 15px 8px;
  }
  
  .connecting-dots .dot:nth-child(4) {
    display: none;
  }
}

/* Add animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.contact h2 {
  margin-bottom: 1.5rem;
}

.contact h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 1rem auto 0;
  border-radius: 2px;
}
