/* VoxGuard Brand Variables */
:root {
  /* Primary Purple Gradient */
  --vox-purple-10: #F8F4FF;
  --vox-purple-20: #EDE4FF;
  --vox-purple-30: #DDCEFF;
  --vox-purple-40: #C4B5FF;
  --vox-purple-50: #A690FF;
  --vox-purple-60: #8B6BFF;
  --vox-purple-70: #7048E8;  /* Main Brand Color */
  --vox-purple-80: #5F3DC4;
  --vox-purple-90: #4C2A95;

  /* Cyan Accent Gradient */
  --vox-cyan-10: #F0FDFF;
  --vox-cyan-20: #D1F8FF;
  --vox-cyan-30: #ABF1FF;
  --vox-cyan-40: #7DE6FF;
  --vox-cyan-50: #4DD8F7;
  --vox-cyan-60: #22C3E6;
  --vox-cyan-70: #0AA5C7;    /* Secondary Brand Color */
  --vox-cyan-80: #0B86A3;
  --vox-cyan-90: #0C6B7A;

  /* Neutral Colors */
  --vox-grey-10: #FCFCFC;
  --vox-grey-20: #F8F9FA;
  --vox-grey-30: #F1F3F4;
  --vox-grey-40: #E8EAED;
  --vox-grey-50: #DADCE0;
  --vox-grey-60: #BDC1C6;
  --vox-grey-70: #9AA0A6;
  --vox-grey-80: #5F6368;
  --vox-grey-90: #3C4043;
  --vox-grey-95: #202124;

  /* Functional Colors */
  --vox-green: #34A853;
  --vox-orange: #FF9800;
  --vox-red: #EA4335;
  --vox-blue: #4285F4;

  /* Website Color Variables */
  --primary: var(--vox-purple-70);
  --secondary: var(--vox-cyan-70);
  --background: var(--vox-grey-20);
  --surface: #FFFFFF;
  --text-primary: var(--vox-grey-90);
  --text-secondary: var(--vox-grey-80);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-primary, .btn-secondary {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--vox-purple-80) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(112, 72, 232, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(112, 72, 232, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-primary.large {
  padding: 16px 32px;
  font-size: 1.2rem;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid var(--vox-grey-40);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand h2 {
  color: var(--primary);
  margin: 0;
  font-size: 1.8rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--vox-purple-10) 0%, var(--vox-cyan-10) 100%);
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-content {
  z-index: 2;
}

.hero-title {
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 300px;
  height: 600px;
  background: #000;
  border-radius: 40px;
  padding: 20px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--vox-purple-60) 0%, var(--vox-cyan-60) 100%);
  border-radius: 20px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.call-interface {
  text-align: center;
  color: white;
}

.caller-info {
  margin-bottom: 40px;
}

.avatar {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  margin: 0 auto 20px;
}

.caller-info h3 {
  color: white;
  margin-bottom: 10px;
}

.caller-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.call-flow {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.flow-step.active {
  background: rgba(255, 255, 255, 0.2);
  opacity: 1;
}

.step-icon {
  font-size: 1.5rem;
}

.flow-step span {
  color: white;
  font-size: 0.9rem;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.features {
  padding: 80px 0;
  background: var(--surface);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--vox-grey-30);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(112, 72, 232, 0.1);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-secondary);
}

/* How It Works Section */
.how-it-works {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--vox-purple-10) 0%, var(--vox-cyan-10) 100%);
}

.steps-container {
  display: grid;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.step-content h3 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.step-content p {
  margin-bottom: 1rem;
}

.step-example {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.speaker {
  font-weight: 600;
  color: var(--primary);
}

.message {
  color: var(--text-secondary);
  font-style: italic;
}

/* Configuration Section */
.configuration {
  padding: 80px 0;
  background: var(--surface);
}

.config-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.config-list {
  list-style: none;
  margin-top: 2rem;
}

.config-list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text-secondary);
}

.config-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--vox-green);
  font-weight: bold;
}

.settings-panel {
  background: var(--vox-grey-20);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.setting-item {
  margin-bottom: 1.5rem;
}

.setting-item label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.setting-item input,
.setting-item textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--vox-grey-40);
  border-radius: 8px;
  font-family: inherit;
  background: white;
}

.setting-item textarea {
  resize: vertical;
  height: 80px;
}

.toggle {
  width: 50px;
  height: 28px;
  background: var(--vox-grey-40);
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
}

.toggle::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.3s ease;
}

.toggle.active {
  background: var(--primary);
}

.toggle.active::before {
  transform: translateX(22px);
}

/* CTA Section */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  text-align: center;
}

.cta-content h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  margin-bottom: 3rem;
}

.download-links {
  display: flex;
  justify-content: center;
}

.download-badge img {
  height: 75px;
  transition: transform 0.3s ease;
}

.download-badge:hover img {
  transform: scale(1.05);
}

/* Footer */
.footer {
  background: var(--vox-grey-95);
  color: var(--vox-grey-40);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--vox-grey-60);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.link-group h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.link-group ul {
  list-style: none;
}

.link-group li {
  margin-bottom: 0.5rem;
}

.link-group a {
  color: var(--vox-grey-60);
  text-decoration: none;
  transition: color 0.3s ease;
}

.link-group a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--vox-grey-80);
  padding-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Style the SSL seal container */
.ssl-seal {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Style the auto-generated TrustLogo elements when they appear */
#comodoTL {
  display: inline-block !important;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

#comodoTL:hover {
  opacity: 1;
}

#comodoTL img {
  height: auto;
  max-width: 100%;
}

/* Ensure scripts execute within the container */
.ssl-seal script {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .phone-mockup {
    width: 250px;
    height: 500px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .step {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .config-content {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .download-links {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 0 60px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .phone-mockup {
    width: 200px;
    height: 400px;
  }
  
  .features,
  .how-it-works,
  .configuration,
  .cta {
    padding: 60px 0;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card,
.step,
.config-content {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
button:focus,
a:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}