/* Milk Studio - Design System */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Sora:wght@600;700;800&display=swap');

/* CSS Variables - Design Tokens */
:root {
  /* Base Colors */
  --milk-white: #FAFAF7;
  --charcoal-black: #0F0F10;
  --light-gray: #E9E9E6;
  --text-gray: #4B4B4B;
  
  /* Accent Colors */
  --lime-electric: #B8FF2C;
  --cream-cappuccino: #E7DDCF;
  
  /* Typography */
  --font-heading: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;
  --spacing-2xl: 6rem;
  
  /* Container */
  --container-max: 1280px;
  
  /* Radius */
  --radius: 0.75rem;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--milk-white);
  color: var(--charcoal-black);
  line-height: 1.7;
}

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

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  color: var(--text-gray);
  line-height: 1.7;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

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

/* Section Padding */
.section-padding {
  padding: var(--spacing-2xl) 0;
}

.bg-light {
  background: #F5F5F2;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 250, 247, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--light-gray);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal-black);
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.8;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--lime-electric);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon span {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--charcoal-black);
}

.nav-links {
  display: none;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-gray);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--charcoal-black);
}

.nav-cta {
  display: none;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--charcoal-black);
}

.menu-icon {
  width: 24px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: currentColor;
  left: 0;
}

.menu-icon::before {
  top: -8px;
}

.menu-icon::after {
  top: 8px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--light-gray);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  padding: 0.5rem 0;
  font-weight: 500;
  color: var(--text-gray);
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--charcoal-black);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.2s;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--lime-electric);
  color: var(--charcoal-black);
}

.btn-primary:hover {
  background: #A3E625;
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  border-color: var(--lime-electric);
  background: rgba(184, 255, 44, 0.1);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Hero Section */
.hero-section {
  padding: 4rem 0 6rem;
  background: linear-gradient(180deg, var(--milk-white) 0%, #F5F5F2 100%);
}

.hero-content {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(184, 255, 44, 0.15);
  border: 1px solid var(--lime-electric);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal-black);
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.125rem;
  margin: 1.5rem 0 2rem;
  color: var(--text-gray);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.trust-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-gray);
}

.hero-visual {
  position: relative;
}

.dashboard-mockup {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(15, 15, 16, 0.1);
  overflow: hidden;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--light-gray);
  border-bottom: 1px solid #E0E0DD;
}

.mockup-dots {
  display: flex;
  gap: 0.5rem;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #C0C0BD;
}

.mockup-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal-black);
}

.mockup-content {
  padding: 2rem;
  display: grid;
  gap: 1rem;
}

.stat-card {
  padding: 1.5rem;
  background: var(--milk-white);
  border-radius: var(--radius);
  border: 1px solid var(--light-gray);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-gray);
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--lime-electric);
  margin-bottom: 0.5rem;
}

.stat-trend {
  font-size: 0.875rem;
  color: var(--text-gray);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  padding: 2rem;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--light-gray);
  transition: all 0.3s;
}

.service-card:hover {
  border-color: var(--lime-electric);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 15, 16, 0.08);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(184, 255, 44, 0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime-electric);
  margin-bottom: 1.5rem;
}

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

.service-card p {
  margin-bottom: 1rem;
}

.service-link {
  color: var(--charcoal-black);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.service-link:hover {
  color: var(--lime-electric);
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Process Steps */
.process-steps {
  display: grid;
  gap: 2rem;
}

.process-step {
  padding: 2.5rem;
  background: white;
  border-radius: var(--radius);
  border-left: 4px solid var(--lime-electric);
}

.step-number {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--lime-electric);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.process-step h3 {
  margin-bottom: 0.75rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  gap: 2rem;
}

.testimonial-card {
  padding: 2.5rem;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--light-gray);
}

.stars {
  color: var(--lime-electric);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--charcoal-black);
}

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

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lime-electric);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--charcoal-black);
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  color: var(--charcoal-black);
  margin-bottom: 0.25rem;
}

.author-role {
  font-size: 0.875rem;
  color: var(--text-gray);
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: var(--charcoal-black);
  color: var(--milk-white);
  text-align: center;
}

.cta-content h2 {
  color: var(--milk-white);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.125rem;
  color: rgba(250, 250, 247, 0.7);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background: var(--charcoal-black);
  color: var(--milk-white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 300px;
}

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

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(250, 250, 247, 0.7);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(250, 250, 247, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--milk-white);
  transition: all 0.2s;
}

.social-links a:hover {
  background: var(--lime-electric);
  color: var(--charcoal-black);
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--milk-white);
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
}

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

.footer-links a,
.footer-contact a {
  font-size: 0.875rem;
  color: rgba(250, 250, 247, 0.7);
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--lime-electric);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact svg {
  color: var(--lime-electric);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-hours {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 250, 247, 0.1);
}

.footer-hours p {
  font-size: 0.75rem;
  color: rgba(250, 250, 247, 0.5);
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 250, 247, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(250, 250, 247, 0.5);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.footer-legal a {
  font-size: 0.875rem;
  color: rgba(250, 250, 247, 0.5);
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--lime-electric);
}

/* Desktop Styles */
@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: block;
  }

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

  .hero-content {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Typography Adjustments */
@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.875rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .section-padding {
    padding: var(--spacing-xl) 0;
  }

  .hero-section {
    padding: 2rem 0 3rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn-lg {
    width: 100%;
  }

  .trust-indicators {
    flex-direction: column;
    gap: 1rem;
  }
}
