/* ============================================
   FigByte Landing Page - Styles
   Design System: Modern Minimalist with Institutional Trust
   Primary: #1e3a5f (Deep Navy)
   Accent: #0891b2 (Bright Teal)
   ============================================ */

/* Root Variables */
:root {
  --primary: #1e3a5f;
  --primary-foreground: #f8fafc;
  --accent: #0891b2;
  --accent-foreground: #ffffff;
  --background: #ffffff;
  --foreground: #1e293b;
  --secondary: #f1f5f9;
  --secondary-foreground: #475569;
  --muted: #e2e8f0;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
  --destructive: #dc2626;
  --radius: 0.5rem;

  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Poppins", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary);
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-style: solid;
  border-color: silver;
  border-width: thin;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  font-weight: 700;
  font-size: 1.125rem;
}

.cta-button {
  background-color: var(--accent);
  color: var(--accent-foreground);
  border: none;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #0a7fa4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

/* Buttons */
.button {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
}

.button-primary {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.button-primary:hover {
  background-color: #0a7fa4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

.button-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.button-secondary:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .hero {
    padding: 5rem 0;
  }
}

.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    white,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  z-index: 1;
}

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

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-text {
  animation: fadeInUp 0.6s ease-out;
}

.trust-indicators {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
}

.trust-item {
  text-align: left;
}

.trust-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.trust-item p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

.trust-divider {
  width: 1px;
  height: 3rem;
  background-color: var(--border);
}

/* Benefits Section */
.benefits {
  padding: 5rem 0;
  background-color: rgba(241, 245, 249, 0.3);
}

@media (min-width: 768px) {
  .benefits {
    padding: 8rem 0;
  }
}

.section-header {
  max-width: 42rem;
  margin-bottom: 4rem;
}

.section-header h2 {
  color: var(--primary);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.section-header.light h2,
.section-header.light p {
  color: var(--primary-foreground);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.benefit-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(8, 145, 178, 0.3);
  transform: translateY(-4px);
}

.benefit-icon {
  width: 3rem;
  height: 3rem;
  background-color: rgba(8, 145, 178, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background-color 0.3s ease;
  font-size: 1.5rem;
  color: var(--accent);
}

.benefit-card:hover .benefit-icon {
  background-color: rgba(8, 145, 178, 0.2);
}

.benefit-card h3 {
  color: var(--primary);
}

.benefit-card p {
  color: var(--muted-foreground);
  margin: 0;
}

/* Features Section */
.features {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .features {
    padding: 8rem 0;
  }
}

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

.feature-item {
  padding: 1.5rem;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background-color: rgba(241, 245, 249, 0.5);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(8, 145, 178, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: var(--accent);
}

.feature-item h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.feature-item p {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .testimonials {
    padding: 8rem 0;
  }
}

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

.testimonial-card {
  background-color: rgba(248, 250, 252, 0.1);
  border: 1px solid rgba(248, 250, 252, 0.2);
  border-radius: var(--radius);
  padding: 2rem;
}

.testimonial-quote {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.testimonial-author {
  margin: 0;
}

.author-name {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.author-role {
  font-size: 0.875rem;
  color: rgba(248, 250, 252, 0.7);
  margin: 0;
}

/* CTA Section */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .cta-section {
    padding: 8rem 0;
  }
}

.cta-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  z-index: 0;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    white,
    rgba(255, 255, 255, 0.9),
    transparent
  );
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 42rem;
}

.cta-text h2 {
  color: var(--primary);
}

.cta-text p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.parent {
  display: flex;
  justify-content: center; /* horizontal */
  align-items: center; /* vertical */
}

.checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 2rem !important;
  max-width: 400px; /* or any width you want */
  margin: 0 auto;
  font-size: 14px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted-foreground);
}

.checklist-item i {
  color: var(--accent);
  font-size: 1.25rem;
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 3rem 0 1rem;
}

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

.footer-section h4 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-foreground);
}

.footer-section p {
  font-size: 0.95rem;
  color: rgba(248, 250, 252, 0.7);
  margin: 0;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(248, 250, 252, 0.7);
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: var(--primary-foreground);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(248, 250, 252, 0.2);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(248, 250, 252, 0.7);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

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

.social-links a {
  color: rgba(248, 250, 252, 0.7);
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--primary-foreground);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .trust-indicators {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .trust-divider {
    display: none;
  }

  .button-group {
    flex-direction: column;
  }

  .button {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .checklist {
    grid-template-columns: 1fr;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer {
    display: none;
  }
}
