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

:root {
  /* Colors */
  --color-primary: #004085; /* Deep Corporate Blue */
  --color-primary-light: #0056b3;
  --color-primary-dark: #002752;
  
  --color-secondary: #007BFF; /* Accent Blue instead of Orange */
  --color-secondary-hover: #0056b3;
  
  --color-dark: #0F172A;
  --color-dark-alt: #1E293B;
  
  --color-light: #FFFFFF;
  --color-bg: #F8FAFC;
  --color-gray: #64748B;
  --color-gray-light: #E2E8F0;
  
  /* Typography */
  --font-heading: 'Google Sans', sans-serif;
  --font-body: 'Google Sans', sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --section-padding: 5rem 2rem;
  
  /* Transitions & Shadows */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 20px rgba(0, 123, 255, 0.4);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-dark);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-light { color: var(--color-light); }
.text-gray { color: var(--color-gray); }

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--color-gray);
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-light);
  box-shadow: 0 4px 14px 0 rgba(0, 64, 133, 0.39);
}

.btn-primary:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 64, 133, 0.5);
}

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

.btn-outline:hover {
  background-color: var(--color-light);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(37, 211, 102, 0.39);
}

.btn-whatsapp:hover {
  background-color: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

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

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-light);
  letter-spacing: -1px;
}

.navbar .logo-color {
  display: none;
}
.navbar.scrolled .logo-white {
  display: none;
}
.navbar.scrolled .logo-color {
  display: block;
}

.navbar.scrolled .logo {
  color: var(--color-primary);
}

.logo span {
  color: var(--color-secondary);
}

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

.nav-link {
  color: var(--color-light);
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  color: var(--color-light);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--color-light);
  line-height: 1.1;
}

.hero-title span {
  color: var(--color-secondary);
  display: inline-block;
  position: relative;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

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

.hero-image {
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

/* Animated Border Form */
.animated-border-box {
  position: relative;
  border-radius: 16px;
  background: var(--color-primary-dark);
  padding: 4px; /* Border thickness */
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.animated-border-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent, 
    transparent, 
    transparent, 
    #007BFF, 
    #00ffff, 
    #007BFF
  );
  animation: spin 4s linear infinite;
}

.hero-form {
  position: relative;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  padding: 2.5rem;
  z-index: 1;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-image-placeholder {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  height: 500px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-image-placeholder::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(45deg);
  animation: shine 5s infinite;
}


/* Risks Section */
.section {
  padding: var(--section-padding);
}

.bg-light { background-color: var(--color-light); }
.bg-dark { background-color: var(--color-dark); color: var(--color-light); }
.bg-dark .section-title { color: var(--color-light); }

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

.risk-card {
  background: var(--color-light);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--color-gray-light);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.risk-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--color-secondary);
  transition: var(--transition);
}

.risk-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.risk-card:hover::before {
  width: 100%;
  z-index: -1;
  opacity: 0.05;
}

.risk-icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.risk-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Scenario Section (Glassmorphism) */
.scenario-section {
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.scenario-bg-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,64,133,0.4) 0%, rgba(15,23,42,0) 70%);
  top: -100px;
  right: -200px;
  border-radius: 50%;
  z-index: 0;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  transition: var(--transition);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-10px);
  border-color: rgba(0, 123, 255, 0.3);
  box-shadow: 0 10px 30px -10px rgba(0, 123, 255, 0.2);
}

.glass-card .step-number {
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  color: var(--color-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin: 0 auto 1.5rem;
  border: 2px solid rgba(255,255,255,0.1);
}

.glass-card h3 {
  color: var(--color-light);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.glass-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* Benefits Section */
.benefits-wrapper {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.benefits-content {
  flex: 1;
}

.benefits-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit-icon {
  background: rgba(0, 123, 255, 0.1);
  color: var(--color-secondary);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.benefit-item h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.benefit-item p {
  color: var(--color-gray);
  font-size: 0.95rem;
}

.benefits-visual {
  flex: 1;
  position: relative;
}

/* FAQ Accordion */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Intl-Tel-Input Override */
.iti {
  width: 100%;
}
.iti input {
  padding-left: 52px !important; /* Prevents flag overlapping */
}
.iti__flag {background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/img/flags.png");}
@media (min-resolution: 2x) {
  .iti__flag {background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/img/flags@2x.png");}
}

.accordion-item {
  background: var(--color-light);
  border: 1px solid var(--color-gray-light);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.accordion-icon {
  transition: transform 0.3s ease;
  color: var(--color-secondary);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--color-gray);
}

.accordion-item.active .accordion-content {
  padding: 0 1.5rem 1.5rem;
  max-height: 300px; /* arbitrary max height for animation */
}

/* CTA Section */
.cta-section {
  background: linear-gradient(45deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-light);
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  color: var(--color-light);
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.cta-section .btn {
  background: var(--color-light);
  color: var(--color-secondary);
}

.cta-section .btn:hover {
  background: var(--color-dark);
  color: var(--color-light);
  box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 2rem 2rem;
}

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

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-light);
  margin-bottom: 1rem;
  display: block;
}

.footer h4 {
  color: var(--color-light);
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Animations & Utilities */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(45deg); }
  10% { transform: translateX(200%) rotate(45deg); }
  100% { transform: translateX(200%) rotate(45deg); }
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .scenario-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .benefits-wrapper {
    flex-direction: column;
  }
}

/* Footer Styles */
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-contact-column {
  text-align: right;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: inline-block;
  text-align: left;
}

.footer-links li {
  margin-bottom: 0.5rem;
  word-break: break-word;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .scenario-grid {
    grid-template-columns: 1fr !important;
  }

  .risk-grid {
    grid-template-columns: 1fr !important;
  }
  
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .footer-contact-column {
    text-align: left;
  }
  
  .hero-title {
    font-size: 2.1rem;
  }
  
  .section {
    padding: 3.5rem 1rem;
  }

  .btn {
    width: 100%;
    padding: 1rem 1.2rem;
    font-size: 1rem;
  }
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--color-light);
  padding: 3rem 2rem;
  border-radius: 16px;
  width: 90%;
  max-width: 450px;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--color-gray);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--color-primary);
  transform: scale(1.1);
}

/* Cursor Glow Effect */
#cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.15) 0%, rgba(0, 123, 255, 0) 70%);
  transform: translate(-50%, -50%);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: screen;
}
