/* Radiant-inspired Design System */

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

body {
  font-family: 'Switzer', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #0a0a0a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section with Gradient */
.hero-wrapper {
  position: relative;
  overflow: hidden;
}

.gradient-bg {
  position: absolute;
  inset: 0.5rem;
  bottom: 0;
  border-radius: 2rem;
  background: linear-gradient(115deg, #fff1be 28%, #ee87cb 70%, #b060ff);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  z-index: 0;
}

.navbar {
  position: relative;
  z-index: 10;
  padding: 1.5rem 0;
}

/* Floating Navbar */
.navbar-floating {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.navbar-floating.visible {
  transform: translateY(0);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: #0a0a0a;
  margin-top: -6px;
  margin-left: -14px;
}

.logo-img {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 600;
}

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

.nav-links .btn-signin {
  top: 0;
}

.nav-links a {
  text-decoration: none;
  color: #0a0a0a;
  font-weight: 500;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 0.7;
}

.btn-signin {
  background: #0a0a0a;
  color: #fff !important;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  position: relative;
  top: -4px;
}

.btn-signin:hover {
  opacity: 1 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-signin-mobile {
  background: #0a0a0a;
  color: #fff !important;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  margin-top: 1rem;
  text-align: center;
}

/* User Menu (logged in state) */
.user-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-name {
  font-weight: 500;
  color: #0a0a0a;
}

.btn-account {
  background: transparent;
  color: #6366f1 !important;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #6366f1;
  transition: background 0.2s, color 0.2s;
}

.btn-account:hover {
  background: #6366f1;
  color: #fff !important;
}

.btn-signout {
  background: transparent;
  color: #666;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-signout:hover {
  background: #f5f5f5;
  color: #333;
}

.btn-signout-mobile {
  background: transparent;
  color: #666;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  border: 1px solid #ddd;
  cursor: pointer;
  margin-top: 0.5rem;
  width: 100%;
  text-align: center;
}

.nav-divider {
  width: 1px;
  height: 1.25rem;
  background: rgba(10, 10, 10, 0.2);
}

.mobile-menu .nav-divider {
  display: none;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: #0a0a0a;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 999;
  padding: 6rem 2rem 2rem;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
}

.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-close span {
  display: block;
  position: absolute;
  width: 24px;
  height: 2px;
  background: #0a0a0a;
  border-radius: 2px;
  left: 4px;
  top: 15px;
}

.mobile-menu-close span:nth-child(1) {
  transform: rotate(45deg);
}

.mobile-menu-close span:nth-child(2) {
  transform: rotate(-45deg);
}

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

.mobile-menu a {
  display: block;
  padding: 1rem 0;
  font-size: 1.25rem;
  font-weight: 500;
  color: #0a0a0a;
  text-decoration: none;
  border-bottom: 1px solid #e5e5e5;
  transition: opacity 0.2s;
}

.mobile-menu a:hover {
  opacity: 0.7;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  padding: 4rem 0 6rem;
  max-width: 900px;
}

.hero-title {
  font-size: 6rem;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  margin-bottom: 2rem;
}

.hero-description {
  font-size: 1.5rem;
  line-height: 1.75;
  font-weight: 500;
  color: rgba(10, 10, 10, 0.75);
  max-width: 32rem;
  margin-bottom: 3rem;
}

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

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  background: #0a0a0a;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: #333333;
}

.btn-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(209, 80, 82, 0.15);
  font-size: 1rem;
  font-weight: 500;
  color: #0a0a0a;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}

.btn-secondary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  box-shadow: inset 0 0 2px 1px rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

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

/* Section Styles */
.section-gradient {
  background: #ffffff;
  padding: 8rem 0;
}

.benefits-title-hero {
  max-width: 48rem;
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #0a0a0a;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .benefits-title-hero {
    font-size: 3.75rem;
  }
}

.section-dark {
  background: #171717;
  margin: 0.5rem;
  border-radius: 2rem;
  padding: 4rem 0 8rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header-left {
  text-align: left;
}

.section-header-left .section-heading,
.section-header-left .section-description {
  margin-left: 0;
  margin-right: 0;
}

.section-header-left .section-heading {
  font-size: 2rem;
}

.section-header-left .section-description {
  font-size: 1.25rem;
}

.how-title-spacing {
  margin-top: 6rem;
}

.section-heading {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 48rem;
  margin: 0 auto;
}

.section-subheading {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #737373;
  margin-bottom: 0.5rem;
}

.section-subheading-dark {
  color: #a3a3a3;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

.section-title-dark {
  color: #ffffff;
  margin-left: auto;
  margin-right: auto;
}

.bento-container {
  padding-top: 4rem;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 1rem;
}

.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 2rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.bento-card-dark {
  background: #262626;
  border-color: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

/* Bento Card Sizes */
.bento-card-large {
  grid-column: span 3;
  min-height: 250px;
}

.bento-card-xlarge {
  grid-column: span 4;
  min-height: 400px;
}

.bento-card-medium {
  grid-column: span 2;
}

.bento-card-small {
  grid-column: span 2;
  min-height: 250px;
}

.bento-card-half {
  grid-column: span 3;
  min-height: 250px;
}

/* Gradient grid for Build better, faster section */
.bento-grid-gradient {
  background: linear-gradient(135deg, #fff1be 0%, #ee87cb 50%, #b060ff 100%);
  border-radius: 2.5rem;
  padding: 1rem;
}

.bento-grid-gradient .bento-card {
  background: rgba(255, 255, 255, 0.7);
}

/* Bento Card Content */
.bento-icon {
  color: #0a0a0a;
  margin-bottom: 1rem;
}

.bento-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #737373;
  margin-bottom: 0.75rem;
}

.bento-card-dark .bento-eyebrow {
  color: #a3a3a3;
}

.bento-title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.bento-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #525252;
}

.bento-card-dark .bento-description {
  color: #d4d4d4;
}

/* Section Light */
.section-light {
  padding: 8rem 0;
  background: #ffffff;
}

.section-description {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #525252;
  max-width: 42rem;
  margin: 0 auto;
}

/* Product Section */
.work-section {
  padding: 8rem 0;
  background: #f5f5f5;
}

.work-title-hero {
  max-width: 48rem;
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #0a0a0a;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .work-title-hero {
    font-size: 3.75rem;
  }
}

.work-intro {
  max-width: 48rem;
  font-size: 1.25rem;
  line-height: 1.6;
  color: #525252;
  margin-bottom: 3rem;
}

/* Services Section */
.services-section {
  padding: 8rem 0;
  background: #ffffff;
}

.services-grid-wrapper {
  background: linear-gradient(135deg, #fff1be 0%, #ee87cb 50%, #b060ff 100%);
  border-radius: 2.5rem;
  padding: 1rem;
}

.services-title-hero {
  max-width: 48rem;
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #0a0a0a;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .services-title-hero {
    font-size: 3.75rem;
  }
}

/* Contact Section */
.contact-section {
  padding: 8rem 0;
  text-align: center;
  background: #f5f5f5;
}

.contact-section-white {
  background: #ffffff;
}

.contact-description {
  font-size: 1.25rem;
  line-height: 1.75;
  color: #525252;
  max-width: 600px;
  margin: 2rem auto 3rem;
}

/* Footer */
.footer {
  background: #ffffff;
  border-top: 1px solid #e5e5e5;
  padding: 4rem 0 2rem;
}

.footer-grey {
  background: #f5f5f5;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e5e5;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: -14px;
}

.footer-logo {
  width: 32px;
  height: 32px;
}

.footer-logo-text {
  font-size: 1.125rem;
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  text-decoration: none;
  color: #525252;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #0a0a0a;
}

.footer-bottom {
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: #737373;
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .bento-card-large,
  .bento-card-xlarge,
  .bento-card-medium,
  .bento-card-small,
  .bento-card-half {
    grid-column: span 6;
  }

  .hero-title {
    font-size: 4rem;
  }

  .section-heading {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-description {
    font-size: 1.25rem;
  }

  .nav-links {
    display: none;
  }

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

  .section-heading {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

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

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .bento-card {
    padding: 1.5rem;
  }
}

/* Forora/SheetGenius Hero Page - Green/Teal Gradient */
.sheetgenius-hero .gradient-bg,
.sheetgenius-gradient {
  background: linear-gradient(135deg, #4ade80 0%, #22d3ee 50%, #60a5fa 100%);
}

/* SheetGenius Bento Grid */
.bento-grid-sheetgenius {
  background: linear-gradient(135deg, #4ade80 0%, #22d3ee 50%, #60a5fa 100%);
  border-radius: 2.5rem;
  padding: 1rem;
}

.bento-grid-sheetgenius .bento-card {
  background: rgba(255, 255, 255, 0.85);
}

/* SheetGenius CTA Section */
.sheetgenius-cta {
  background: linear-gradient(135deg, #1e3a5f 0%, #0d4f3c 50%, #1a5c4a 100%);
}

.sheetgenius-cta .section-heading {
  color: #ffffff;
}

.sheetgenius-cta .contact-description {
  color: #d1fae5;
}

/* SheetGenius Button */
.btn-sheetgenius {
  background: #0a0a0a;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-sheetgenius:hover {
  background: #333333;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Use Case Grid */
.usecase-grid-wrapper {
  background: linear-gradient(135deg, #4ade80 0%, #22d3ee 50%, #60a5fa 100%);
  border-radius: 2.5rem;
  padding: 1rem;
  margin-top: 3rem;
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.usecase-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.usecase-icon {
  color: #0d4f3c;
  margin-bottom: 1rem;
}

.usecase-icon-text {
  font-size: 2rem;
  font-weight: 700;
}

.usecase-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0a0a0a;
  margin-bottom: 0.75rem;
}

.usecase-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #525252;
}

@media (max-width: 768px) {
  .usecase-grid {
    grid-template-columns: 1fr;
  }
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

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

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
  color: #0a0a0a;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0a0a0a;
  margin-bottom: 0.75rem;
}

.step-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #525252;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
