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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Quicksand", sans-serif;
  color: #2F3D40;
  background: #FBF7F4;
  overflow-x: hidden;
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }
.animate-delay-6 { transition-delay: 0.6s; }

/* Page Load Animation */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.navbar {
  animation: fadeInDown 0.6s ease both;
}

.hero-content {
  animation: fadeInLeft 0.8s ease 0.3s both;
}

.hero-image {
  animation: fadeInRight 0.8s ease 0.5s both;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1.8rem 10rem 0.8rem;
  padding: 0.5rem 2rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.4rem;
  flex: 1;
}

.nav-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  flex: 1;
}

.nav-brand .logo {
  height: 65px;
  object-fit: contain;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex: 1;
}

.nav-links a {
  text-decoration: none;
  color: #1E2526;
  font-weight: 700;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #FFB8A7;
}

/* Hero */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5rem 10rem 5rem;
  gap: 3rem;
  min-height: calc(100vh - 100px);
}

.hero-content {
  flex: 1;
  text-align: left;
}

.hero-image {
  flex: 1;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 700;
  color: #1E2526;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero .highlight {
  color: #E8967F;
  position: relative;
  display: inline-block;
}

.hero .highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(232, 150, 127, 0.3);
  border-radius: 3px;
}

.hero p {
  font-size: 1.2rem;
  color: #2F3D40;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-cta {
  padding: 0.9rem 2.5rem;
  font-size: 1.3rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.5rem;
  font-family: "Quicksand", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  background: #E8967F;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-icon {
  display: inline-block;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}

.cta-button:hover {
  background: #54868D;
  padding-right: 1.2rem;
  box-shadow: 0 4px 12px rgba(84, 134, 141, 0.4);
}

.cta-button:hover .cta-icon {
  max-width: 20px;
  margin-left: 0.4rem;
  opacity: 1;
}

.hero-image img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Use Case */
.use-case {
  padding: 5rem 10rem;
}

.use-case-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.use-case-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #1E2526;
  margin-bottom: 1rem;
}

.use-case-subtitle {
  font-size: 1.2rem;
  color: #54868D;
  font-weight: 500;
}

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

.use-case-card {
  padding: 2rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.use-case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.use-case-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.use-case-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1E2526;
  margin-bottom: 0.6rem;
}

.use-case-card p {
  font-size: 0.95rem;
  color: #2F3D40;
  line-height: 1.6;
}

/* How It Works */
.how-it-works {
  padding: 5rem 10rem;
  background: #fff;
  border-radius: 40px 40px 0 0;
}

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

.hiw-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #1E2526;
  margin-bottom: 1rem;
}

.hiw-subtitle {
  font-size: 1.2rem;
  color: #54868D;
  font-weight: 500;
}

.hiw-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.hiw-step {
  flex: 1;
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.hiw-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  background: #FBF7F4;
}

.hiw-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(232, 150, 127, 0.15);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.hiw-step:hover .hiw-number {
  color: rgba(232, 150, 127, 0.35);
}

.hiw-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.hiw-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1E2526;
  margin-bottom: 0.6rem;
}

.hiw-step p {
  font-size: 0.95rem;
  color: #2F3D40;
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

.hiw-connector {
  display: flex;
  align-items: center;
  padding-top: 4rem;
  font-size: 1.8rem;
  color: #E8967F;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.hiw-steps:hover .hiw-connector {
  opacity: 1;
  animation: flowArrow 1s ease infinite;
}

@keyframes flowArrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}


/* Features */
.features {
  padding: 4rem 2rem;
  text-align: center;
  background: #fff;
}

.features h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  padding: 2rem;
  border-radius: 10px;
  background: #f9f9ff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  color: #54868D;
}

/* FAQ */
.faq {
  padding: 5rem 10rem;
}

.faq-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.faq-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #1E2526;
  margin-bottom: 1rem;
}

.faq-subtitle {
  font-size: 1.2rem;
  color: #54868D;
  font-weight: 500;
}

.faq-list {
  max-width: 750px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.faq-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.4rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Quicksand", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1E2526;
  text-align: left;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #E8967F;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 400;
  color: #E8967F;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 1.4rem;
}

.faq-answer p {
  font-size: 1rem;
  color: #2F3D40;
  line-height: 1.7;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 37, 38, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal {
  background: #fff;
  border-radius: 20px;
  padding: 3rem;
  max-width: 450px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  animation: slideUp 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #8a9a9c;
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
}

.modal-close:hover {
  color: #1E2526;
}

.modal h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1E2526;
  margin-bottom: 0.6rem;
}

.modal > p {
  font-size: 1rem;
  color: #2F3D40;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.signup-form input {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  font-family: "Quicksand", sans-serif;
  font-size: 1rem;
  color: #1E2526;
  outline: none;
  transition: border-color 0.3s ease;
}

.signup-form input:focus {
  border-color: #E8967F;
}

.signup-form input::placeholder {
  color: #8a9a9c;
}

.signup-error {
  font-size: 0.85rem;
  color: #e05a3a;
  background: #fef2f0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  border-radius: 8px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.signup-error.show {
  max-height: 60px;
  padding: 0.6rem 1rem;
}

.signup-btn {
  margin-top: 0.5rem;
  justify-content: center;
  width: 100%;
  padding: 0.8rem !important;
}

.signup-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #8a9a9c;
  text-align: center;
}

.signup-success {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #54868D;
  padding: 1.5rem 0;
}

/* Footer */
.footer {
  background: #fff;
  padding: 3rem 10rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

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

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-logo {
  height: 40px;
  border-radius: 10px;
}

.footer-right {
  text-align: right;
}

.footer-copy {
  font-size: 0.85rem;
  color: #8a9a9c;
  margin-bottom: 0.3rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: #8a9a9c;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: #1E2526;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.nav-open .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-open .hamburger span:nth-child(2) {
  opacity: 0;
}

.nav-open .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Tablet */
@media (max-width: 1024px) {
  .navbar {
    margin: 1rem 2rem 0.5rem;
    padding: 0.5rem 1.5rem;
  }

  .nav-links {
    gap: 1.2rem;
  }

  .nav-links a {
    font-size: 0.95rem;
  }

  .nav-brand .logo {
    height: 50px;
  }

  .hero {
    padding: 4rem 3rem 3rem;
    gap: 2rem;
    min-height: auto;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero-image img {
    border-radius: 10px;
  }

  .use-case {
    padding: 4rem 3rem;
  }

  .use-case-header h2 {
    font-size: 2.2rem;
  }

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

  .how-it-works {
    padding: 4rem 3rem;
  }

  .hiw-header h2 {
    font-size: 2.2rem;
  }

  .hiw-step {
    padding: 2rem 1.5rem;
  }

  .hiw-number {
    font-size: 2.8rem;
  }

  .faq {
    padding: 4rem 3rem;
  }

  .faq-header h2 {
    font-size: 2.2rem;
  }

  .footer {
    padding: 2.5rem 3rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .navbar {
    margin: 0.8rem 1rem 0.5rem;
    padding: 0.5rem 1.2rem;
    flex-wrap: wrap;
    border-radius: 16px;
    position: relative;
  }

  .hamburger {
    display: flex;
  }

  .nav-links,
  .nav-cta {
    display: none;
    flex: unset;
    width: 100%;
  }

  .nav-open .nav-links,
  .nav-open .nav-cta {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid #f0ebe7;
    margin-top: 0.5rem;
  }

  .nav-cta {
    justify-content: center;
    padding-bottom: 0.8rem;
  }

  .nav-brand .logo {
    height: 45px;
  }

  .nav-brand {
    flex: unset;
  }

  .navbar {
    justify-content: space-between;
  }

  .hero {
    flex-direction: column;
    padding: 3rem 1.5rem 2.5rem;
    text-align: center;
    min-height: auto;
  }

  .hero-content {
    text-align: center;
    animation: fadeInUp 0.8s ease 0.2s both;
  }

  .hero-image {
    width: 100%;
    animation: fadeInUp 0.8s ease 0.4s both;
  }

  .hero-image img {
    border-radius: 8px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero .highlight::after {
    height: 4px;
    bottom: 2px;
  }

  .hero p {
    font-size: 0.9rem;
    max-width: 100%;
    line-height: 1.6;
  }

  .hero-cta {
    font-size: 0.95rem;
    padding: 0.6rem 1.5rem;
  }

  .cta-button {
    font-size: 0.95rem;
    padding: 0.5rem 1.2rem;
  }

  .modal {
    padding: 2rem;
    margin: 1rem;
  }

  .modal h2 {
    font-size: 1.4rem;
  }

  .modal > p {
    font-size: 0.9rem;
  }

  .signup-form input {
    font-size: 0.9rem;
    padding: 0.7rem 0.8rem;
  }

  .use-case {
    padding: 3rem 1.5rem;
  }

  .use-case-header h2 {
    font-size: 1.5rem;
  }

  .use-case-subtitle {
    font-size: 0.9rem;
  }

  .use-case-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .use-case-card h3 {
    font-size: 1.05rem;
  }

  .use-case-card p {
    font-size: 0.85rem;
  }

  .use-case-icon {
    font-size: 1.6rem;
  }

  .how-it-works {
    padding: 3rem 1.5rem;
    border-radius: 24px 24px 0 0;
  }

  .hiw-header h2 {
    font-size: 1.5rem;
  }

  .hiw-subtitle {
    font-size: 0.9rem;
  }

  .hiw-step h3 {
    font-size: 1.05rem;
  }

  .hiw-step p {
    font-size: 0.85rem;
  }

  .hiw-icon {
    font-size: 1.8rem;
  }

  .hiw-steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .hiw-connector {
    transform: rotate(90deg);
    padding-top: 0;
    padding: 0.5rem 0;
  }

  .hiw-step {
    padding: 1.5rem;
  }

  .hiw-number {
    font-size: 2.5rem;
  }

  .hiw-ongoing {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .faq {
    padding: 2rem 1.2rem;
  }

  .faq-header {
    margin-bottom: 1.5rem;
  }

  .faq-header h2 {
    font-size: 1.3rem;
  }

  .faq-subtitle {
    font-size: 0.8rem;
  }

  .faq-list {
    max-width: 100%;
    padding: 0;
  }

  .faq-question {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.9rem 0;
  }

  .faq-question span:first-child {
    flex: 1;
    min-width: 0;
  }

  .faq-toggle {
    font-size: 1rem;
    margin-left: 0.5rem;
  }

  .faq-answer p {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .faq-item.open .faq-answer {
    padding-bottom: 1rem;
  }

  .footer {
    padding: 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

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

  .footer-logo {
    height: 35px;
  }

  .footer-copy,
  .footer-tagline {
    font-size: 0.8rem;
  }

  .nav-links a {
    font-size: 1rem;
    font-weight: 600;
  }

}

