@import "global.css";

/* Auth page specific styles */
.auth-page {
  position: relative;
  min-height: 100vh;
  background: var(--yondr-darkest);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.auth-page::before {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background-image: 
    linear-gradient(var(--yondr-green) 2px, transparent 2px),
    linear-gradient(90deg, var(--yondr-green) 2px, transparent 2px);
  background-size: 60px 60px;
  background-repeat: repeat;
  transform: translate(-50%, -50%) perspective(1000px) rotateX(60deg) translateZ(-200px);
  animation: authGridMove 5s linear infinite;
  opacity: 0.2;
  z-index: 0;
}

.auth-page::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(180deg, 
      transparent 0%,
      transparent 30%,
      rgba(38, 38, 38, 0.3) 60%,
      rgba(38, 38, 38, 0.7) 80%,
      var(--yondr-darkest) 100%
    ),
    radial-gradient(
      ellipse 70% 50% at 50% 100%,
      transparent 0%,
      transparent 40%,
      rgba(26, 26, 26, 0.5) 70%,
      var(--yondr-darkest) 100%
    );
  z-index: 1;
  pointer-events: none;
}

@keyframes authGridMove {
  0% {
    transform: translate(-50%, -50%) perspective(1000px) rotateX(60deg) translateZ(-200px) translateY(0px);
  }
  100% {
    transform: translate(-50%, -50%) perspective(1000px) rotateX(60deg) translateZ(-200px) translateY(60px);
  }
}

.auth-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  position: relative;
  z-index: 10;
  background: var(--yondr-darker);
  padding: 24px;
  border-radius: 5px;
  width: 500px;
  min-height: 500px;
  height: auto;
}

.auth-container form {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.auth-container .btn-full {
  margin-top: auto;
}

/* Landing Page Styles */
.landing-page {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  background: var(--yondr-dark);
  color: var(--yondr-gray);
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
}

/* Navigation */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yondr-dark);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--yondr-grid);
}

.nav-container {
  width: 100%;
  max-width: 1366px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.landing-nav .nav-logo,
.landing-nav .nav-links a {
  line-height: 0;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: var(--yondr-gray);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
  font-family: var(--font-medium);
}

.nav-link:hover {
  color: var(--yondr-gray);
}

.nav-actions {
  display: flex;
  gap: 12px;
}

/* Main */

/* Hero Section */
.hero-section {
  padding: 160px 32px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 56px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.hero-title {
  font-size: 72px;
  line-height: 1.05;
  font-weight: 500;
  color: var(--yondr-gray);
  letter-spacing: -1.5px;
}

.hero-subtitle {
  font-size: 22px;
  color: var(--yondr-gray);
  max-width: 750px;
  line-height: 1.1;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.btn-black, .landing-page .btn-primary {
  background: var(--yondr-green);
  color: var(--yondr-darkest);
  border: none;
}

.landing-page .btn-primary:hover {
  opacity: 0.85;
  color: var(--yondr-dark);
}

.landing-page .btn-secondary {
  background: var(--yondr-gray);
  color: var(--yondr-dark);
  border: none;
}

.landing-page .btn-secondary:hover {
  background: var(--yondr-darker);
  color: var(--yondr-gray);
  border: none;
}

.hero-media {
  width: 100%;
  max-width: 946px;
  max-height: 590px;
  margin-top: 20px;
}

.media-container {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  background: var(--yondr-darker);
}

.media-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* References Section */
.references-section {
  padding: 32px;
}

.section-header-references {
  font-size: 24px!important;  
  font-weight: 500!important;
  color: var(--yondr-darkest)!important;
  margin-bottom: 16px!important;
  text-transform: uppercase!important;
  letter-spacing: 1.5px!important;
}

.references-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.reference-card img {
  width: 100%;
  height: 60px;
  object-fit: cover;
}

.reference-card:hover {
  transform: translateY(-4px);
  border-color: var(--yondr-lighter-grid);
}

/* How It Works Section */
.how-it-works-section {
  padding: 120px 32px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 72px;
  font-weight: 500;
  color: var(--yondr-green);
  margin-bottom: 16px;
  letter-spacing: -1.5px;
  line-height: 1.05;
}

.section-header p {
  font-size: 18px;
  color: var(--yondr-gray);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.problem-card {
  background: var(--yondr-darkest);
  padding: 32px;
  border-radius: 5px;
  border: 1px solid var(--yondr-grid);
  transition: transform 0.2s, border-color 0.2s;
}

.problem-card:hover {
  transform: translateY(-4px);
  border-color: var(--yondr-lighter-grid);
}

.problem-card h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--yondr-green);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.problem-card p {   
  font-size: 20px;
  color: var(--yondr-gray);
  margin: 0;
}

.hr {
  border-bottom: 1px solid var(--yondr-gray);
  margin: 64px 0;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.how-it-works-card {
  padding: 32px;
  display: flex;
}

.how-it-works-card > div:first-child {
  flex-shrink: 0;
}

.how-it-works-card h3 {
  font-size: 72px;
  font-weight: 500;
  color: var(--yondr-green);
  margin-bottom: 16px;
  letter-spacing: -1.5px;
  line-height: 1.05;
}

.text-over-left {
  position: relative;
  top: 0;
  left: -35px;
  min-width: 480px;
  margin-top: 24px;
}

.text-over-right {
  width: 390px;
  margin-right: 24px;
}

.how-it-works-card p {
  font-size: 22px;
  color: var(--yondr-gray);
  margin: 0;
}

.how-it-works-card img {
  max-width: 707px;
  max-height: 440px;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
}

/* New Feature Section */
.new-feature-grid {
  max-width: 1200px;
  margin: 0 auto;
}

.new-feature-card {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: flex-start;
}

.new-feature-card > div:first-child {
  flex: 1;
  min-width: 0;
}

.new-feature-card span {
  font-size: 20px;
  color: var(--yondr-green);
}

.new-feature-card h4 {
  font-size: 52px;
  color: var(--yondr-gray);
  margin: 24px 0;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -1.5px;
}

.new-feature-card > div:first-child > p {
  font-size: 22px;
  color: var(--yondr-gray);
  line-height: 1.05;
}

.new-feature-card .row-box img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.new-feature-image {
  flex: 1;
}

.new-feature-image img {
  max-width: 582px;
  max-height: 440px;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
}

.new-feature-image p {
  font-size: 22px;
  color: var(--yondr-gray);
  line-height: 1.4;
  margin: 0;
}

/* Industries Section */
.industries-section {
  padding: 120px 32px;
  background: rgba(0, 0, 0, 0.3);
}

.section-header.left-align {
  text-align: left;
  margin-bottom: 56px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.industry-card {
  background: var(--yondr-darkest);
  padding: 32px;
  border-radius: 5px;
}

.industry-card h4 {
  font-size: 18px;
  color: var(--yondr-gray);
  margin-bottom: 8px;
  font-weight: 600;
}

.industry-card p {
  font-size: 15px;
  color: var(--yondr-gray);
  margin: 0;
}

/* Platform Features Section */
.platform-features-section {
  padding: 120px 32px;
}

.platform-features-grid {
  display: grid;
  grid-template-columns: repeat(1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.platform-feature-card {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  background: var(--yondr-darkest);
  padding: 16px;
  border-radius: 5px;
  border: 1px solid var(--yondr-grid);
}

.platform-feature-card img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.platform-feature-card p {
  font-size: 20px;
  color: var(--yondr-gray);
  line-height: 1.05;
}

.platform-feature-card p.fw-medium {
  font-size: 18px;
  font-weight: 500;
  min-width: 300px;
}


/* Customer Experience Section */

.customer-experience-section {
  padding: 120px 32px;
  background: rgba(0, 0, 0, 0.3);
}

.customer-experience-grid {
  display: grid;
  grid-template-columns: repeat(1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.customer-experience-section .section-header {
  margin-bottom: 56px;
}

.customer-experience-section .section-header span {
  font-size: 20px;
  color: var(--yondr-green);
  margin-bottom: 16px;
  font-weight: 500;
  text-transform: uppercase;
}

.customer-experience-section .section-header p {
  font-size: 22px;
  color: var(--yondr-gray);
  margin: 0;
  width: 750px;
  margin: 0 auto;
}

.customer-experience-section .section-header h2 {
  font-size: 72px;
  font-weight: 500;
  color: var(--yondr-green);
  margin-bottom: 16px;
  letter-spacing: -1.5px;
  line-height: 1.05;
}

.customer-experience-card {
  padding: 32px;
  display: flex;
}

.customer-experience-card > div:first-child {
  flex-shrink: 0;
}

.customer-experience-card h3 {
  font-size: 72px;
  font-weight: 500;
  color: var(--yondr-green);
  margin-bottom: 16px;
  letter-spacing: -1.5px;
  line-height: 1.05;
}

.customer-experience-card p {
  font-size: 22px;
  color: var(--yondr-gray);
  margin: 0;
}

.customer-experience-card img {
  max-width: 707px;
  max-height: 440px;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
}

/* Landing Footer */
.landing-footer {
  padding: 48px 32px;
  border-top: 1px solid var(--yondr-grid);
  background: var(--yondr-grid);
}

.landing-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: var(--yondr-gray);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--yondr-gray);
}

.footer-copyright p {
  font-size: 14px;
  margin: 0;
}

/* New Feature Section 2 */
.spaces-section {
  padding: 120px 32px 0 32px;
}

/* Final Call to Action */
.final-call-to-action {
  padding: 80px 32px 120px 32px;
}

/* Error section */

.error-section {
  padding: 160px 32px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}


/* Responsive Styles - Desktop (Default) */
/* All styles above are for desktop */

/* Tablet Styles */
@media (max-width: 1024px) {
  .nav-container {
    padding: 0 24px;
  }

  .hero-section {
    padding: 140px 24px 80px;
    gap: 48px;
  }

  .hero-title {
    font-size: 56px;
    letter-spacing: -1px;
  }

  .hero-subtitle {
    font-size: 20px;
    max-width: 650px;
  }

  .hero-media {
    max-width: 800px;
  }

  .references-section {
    padding: 24px;
  }

  .references-grid {
    gap: 20px;
  }

  .how-it-works-section {
    padding: 80px 24px;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .section-header h2 {
    font-size: 56px;
  }

  .problems-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .problem-card {
    padding: 24px;
  }

  .problem-card h3 {
    font-size: 18px;
  }

  .problem-card p {
    font-size: 18px;
  }

  .how-it-works-card {
    flex-direction: column;
    padding: 0;
  }

  .how-it-works-card:nth-child(2) {
    flex-direction: column-reverse;
  }

  .how-it-works-card h3 {
    font-size: 56px;
  }

  .how-it-works-card p {
    font-size: 20px;
  }

  .how-it-works-card img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  .text-over-left {
    left: 0;
    min-width: auto;
    width: 100%;
    margin-top: 16px;
  }

  .text-over-right {
    width: 100%;
    margin-right: 0;
    margin-bottom: 16px;
  }

  .new-feature-card {
    flex-direction: column;
    gap: 32px;
  }

  .new-feature-card h4 {
    font-size: 42px;
  }

  .new-feature-card p {
    font-size: 20px;
  }

  .new-feature-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  .industries-section {
    padding: 80px 24px;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .platform-features-section {
    padding: 80px 24px;
  }

  .platform-feature-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }

  .platform-feature-card p.fw-medium {
    min-width: auto;
  }

  .customer-experience-section {
    padding: 80px 24px;
  }

  .customer-experience-section .section-header p {
    width: 100%;
    max-width: 650px;
  }

  .customer-experience-card {
    flex-direction: column;
    padding: 0;
  }

  .customer-experience-card:nth-child(2) {
    flex-direction: column-reverse;
  }

  .customer-experience-card h3 {
    font-size: 56px;
  }

  .customer-experience-card p {
    font-size: 20px;
  }

  .customer-experience-card img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  .spaces-section {
    padding: 80px 24px 0 24px;
  }

  .final-call-to-action {
    padding: 60px 24px 80px 24px;
  }

  .landing-footer {
    padding: 40px 24px;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .landing-nav {
    height: 70px;
  }

  .nav-container {
    padding: 0 16px;
  }

  .nav-logo img {
    height: 24px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .btn {
    padding: 10px 16px;
    font-size: 14px;
  }

  .hero-section {
    padding: 100px 16px 60px;
    gap: 40px;
  }

  .hero-content {
    gap: 20px;
  }

  .hero-title {
    font-size: 36px;
    letter-spacing: -0.5px;
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 1.4;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-media {
    max-width: 100%;
    margin-top: 0;
  }

  .references-section {
    padding: 16px;
  }

  .section-header-references {
    font-size: 16px!important;
    margin-bottom: 12px!important;
  }

  .references-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .how-it-works-section {
    padding: 60px 16px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-header h2 {
    font-size: 36px;
    letter-spacing: -0.5px;
  }

  .section-header p {
    font-size: 16px;
  }

  .section-header span {
    font-size: 16px;
  }

  .problems-grid {
    gap: 16px;
  }

  .problem-card {
    padding: 20px;
  }

  .problem-card h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .problem-card p {
    font-size: 16px;
  }

  .hr {
    margin: 48px 0;
  }

  .how-it-works-card h3 {
    font-size: 36px;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
  }

  .how-it-works-card p {
    font-size: 16px;
  }

  .text-over-left,
  .text-over-right {
    margin-top: 12px;
    margin-bottom: 12px;
  }

  .container.mtb-24 {
    margin: 32px 0;
  }

  .new-feature-card {
    gap: 24px;
  }

  .new-feature-card span {
    font-size: 16px;
  }

  .new-feature-card h4 {
    font-size: 32px;
    margin: 16px 0;
    letter-spacing: -0.5px;
  }

  .new-feature-card p {
    font-size: 16px;
    line-height: 1.4;
  }

  .new-feature-card .row-box {
    margin-top: 16px;
  }

  .new-feature-card .row-box.mt-16 {
    margin-top: 12px;
  }

  .new-feature-card .row-box.mt-24 {
    margin-top: 16px;
  }

  .new-feature-card .row-box img {
    width: 24px;
    height: 24px;
  }

  .new-feature-card .row-box p {
    font-size: 15px;
  }

  .industries-section {
    padding: 60px 16px;
  }

  .section-header.left-align {
    margin-bottom: 32px;
  }

  .industries-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .industry-card {
    padding: 20px;
  }

  .industry-card h4 {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .industry-card p {
    font-size: 14px;
  }

  .platform-features-section {
    padding: 60px 16px;
  }

  .platform-features-grid {
    gap: 16px;
  }

  .platform-feature-card {
    padding: 16px;
  }

  .platform-feature-card img {
    width: 32px;
    height: 32px;
  }

  .platform-feature-card p {
    font-size: 16px;
  }

  .platform-feature-card p.fw-medium {
    font-size: 16px;
  }

  .customer-experience-section {
    padding: 60px 16px;
  }

  .customer-experience-section .section-header {
    margin-bottom: 32px;
  }

  .customer-experience-section .section-header h2 {
    font-size: 36px;
  }

  .customer-experience-section .section-header p {
    font-size: 16px;
    width: 100%;
  }

  .customer-experience-grid {
    gap: 16px;
  }

  .customer-experience-card h3 {
    font-size: 36px;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
  }

  .customer-experience-card p {
    font-size: 16px;
  }

  .row-box.mt-32 {
    margin-top: 24px;
  }

  .spaces-section {
    padding: 60px 16px 0 16px;
  }

  .new-feature-card.g-100 {
    gap: 24px;
  }

  .final-call-to-action {
    padding: 48px 16px 60px 16px;
  }

  .landing-footer {
    padding: 32px 16px;
  }

  .landing-footer .container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .footer-links a {
    font-size: 13px;
  }

  .footer-copyright p {
    font-size: 13px;
  }

  /* Auth page responsive */
  .auth-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    min-height: auto;
  }
}
