/* ==========================================================================
   GotChiro Marketing Global Styles
   ========================================================================== */

/* Variables
========================================================================== */
:root {
  /* Colors */
  --color-slate-900: #0f172a;
  --color-slate-800: #1e293b;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-500: #64748b;
  --color-slate-400: #94a3b8;
  --color-slate-200: #e2e8f0;
  --color-slate-100: #f1f5f9;
  --color-slate-50: #f8fafc;
  --color-white: #ffffff;

  --color-teal: rgb(19, 236, 200);
  /* Electric Teal Accent */
  --color-teal-dark: rgb(15, 180, 150);
  --color-teal-light: rgba(19, 236, 200, 0.1);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing */
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 8rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset
========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-slate-700);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography
========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-slate-900);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

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

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

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

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: var(--color-slate-600);
  font-size: 1.125rem;
}

a {
  color: var(--color-slate-900);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* Global Utilities
========================================================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-2xl) 0;
  position: relative;
}

.section-bg-slate {
  background-color: var(--color-slate-50);
}

.section-bg-dark {
  background-color: var(--color-slate-900);
  color: var(--color-slate-200);
}

.section-bg-dark h2,
.section-bg-dark h3 {
  color: var(--color-white);
}

.section-bg-dark p {
  color: var(--color-slate-400);
}

.text-center {
  text-align: center;
}

.text-teal {
  color: var(--color-teal);
}

.mb-1 {
  margin-bottom: var(--space-md);
}

.mb-2 {
  margin-bottom: var(--space-lg);
}

.mb-4 {
  margin-bottom: var(--space-xl);
}

/* Buttons
========================================================================== */
.btn-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-teal);
  color: var(--color-slate-900);
  box-shadow: 0 4px 14px 0 rgba(19, 236, 200, 0.39);
}

.btn-primary:hover {
  background-color: rgb(40, 255, 220);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(19, 236, 200, 0.23);
  color: var(--color-slate-900);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-slate-900);
  border: 1px solid var(--color-slate-200);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--color-slate-50);
  border-color: var(--color-slate-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Navbar
========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all var(--transition-normal);
  background-color: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 1rem 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-slate-200);
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-slate-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-slate-600);
  font-size: 1rem;
}

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

.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--color-slate-900);
}

/* Hero Section
========================================================================== */
.hero {
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
  background-color: var(--color-slate-50);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at top right, var(--color-teal-light) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--color-teal-light);
  color: var(--color-teal-dark);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 2rem;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-image-wrapper {
  margin-top: 5rem;
  perspective: 1000px;
  position: relative;
}

.hero-dashboard-mockup {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--color-slate-200);
  background: var(--color-white);
  overflow: hidden;
  transform: rotateX(5deg) scale(0.95);
  transition: transform var(--transition-slow);
}

.hero-image-wrapper:hover .hero-dashboard-mockup {
  transform: rotateX(0) scale(1);
}

/* Social Proof
========================================================================== */
.social-proof {
  padding: 4rem 0;
  border-bottom: 1px solid var(--color-slate-200);
  background: white;
}

.social-proof p {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-slate-400);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity var(--transition-normal);
}

.logo-strip:hover {
  opacity: 1;
}

.logo-strip img {
  height: 32px;
  width: auto;
}

/* Grid Framework
========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

/* Cards (Features)
========================================================================== */
.feature-card {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 1rem;
  border: 1px solid var(--color-slate-200);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--color-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

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

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--color-slate-50);
  color: var(--color-slate-900);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  transition: background-color var(--transition-normal);
}

.feature-card:hover .feature-icon {
  background-color: var(--color-teal-light);
  color: var(--color-teal-dark);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 1rem;
  margin-bottom: 0;
}

/* How It Works
========================================================================== */
.step-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.step-number {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background-color: var(--color-slate-900);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.step-content h3 {
  margin-bottom: 0.5rem;
}

/* Testimonials
========================================================================== */
.testimonial-card {
  background: var(--color-white);
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.quote-icon {
  color: var(--color-teal);
  font-size: 2rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.testimonial-text {
  font-size: 1.25rem;
  color: var(--color-slate-900);
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--color-slate-200);
  object-fit: cover;
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.author-info p {
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* Pricing Pricing
========================================================================== */
.pricing-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  text-align: left;
  transition: all var(--transition-normal);
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--color-teal);
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
  z-index: 2;
}

.pricing-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-teal);
  color: var(--color-slate-900);
  padding: 0.25rem 1rem;
  border-radius: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: 0.5rem;
}

.price span {
  font-size: 1rem;
  color: var(--color-slate-500);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  margin: 2rem 0;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--color-slate-600);
}

.pricing-features li i {
  color: var(--color-teal-dark);
  margin-top: 0.25rem;
}

/* Final CTA Banner
========================================================================== */
.cta-banner {
  background-color: var(--color-slate-900);
  color: var(--color-white);
  text-align: center;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 40rem;
  height: 40rem;
  background: radial-gradient(circle, var(--color-teal-light) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--color-white);
}

.cta-banner p {
  color: var(--color-slate-400);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Contacts Form
========================================================================== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-slate-900);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--color-slate-300);
  border-radius: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px var(--color-teal-light);
}

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

/* Footer
========================================================================== */
.footer {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-slate-200);
  padding: 4rem 0 2rem;
}

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

.footer-brand .nav-logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--color-slate-900);
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--color-slate-500);
  font-size: 0.875rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--color-slate-200);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-slate-500);
}

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

.social-icons a {
  color: var(--color-slate-400);
  font-size: 1.25rem;
}

.social-icons a:hover {
  color: var(--color-slate-900);
}

/* Animation Utilities (Intersection Observer driven)
========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-slow);
}

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

.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

/* Responsive
========================================================================== */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  /* Mobile menu active state */
  .navbar.menu-open {
    background: var(--color-white);
  }

  .navbar.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-white);
    padding: 2rem var(--space-lg);
    border-bottom: 1px solid var(--color-slate-200);
    gap: 1.5rem;
  }

  .navbar.menu-open .nav-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
  }

  .navbar.menu-open .btn {
    width: 100%;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

  h1 {
    font-size: 2.5rem;
  }

  .hero {
    padding: 8rem 0 4rem;
  }
}