@font-face {
  font-family: 'Nunito';
  src: url('../fonts/Nunito-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NunitoItalic';
  src: url('../fonts/Nunito-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #d65a5a;
  --primary-dark: #b84d4d;
  --secondary: #576574;
  --bg-light: #f7f1e3;
  --bg-white: #ffffff;
  --text-dark: #2f3640;
  --text-muted: #7f8c8d;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-light: #121212;
    --bg-white: #1e1e1e;
    --text-dark: #f5f6fa;
    --text-muted: #a0a0a0;
    --secondary: #a4b0be;
  }
  .login-note {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
  }
}

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

body,
button,
input,
textarea,
select {
  font-family: 'Nunito', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
  font-family: 'Nunito', sans-serif;
  font-weight: normal;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
nav {
  padding: 24px 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  text-decoration: none;
}

.logo i {
  background: var(--bg-white);
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 700;
  transition: var(--transition);
}

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

.btn-nav {
  background: var(--primary);
  color: white !important;
  padding: 10px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(214, 90, 90, 0.3);
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(214, 90, 90, 0.4);
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: radial-gradient(circle at center, rgba(214, 90, 90, 0.05) 0%, transparent 70%);
}

.hero-content {
  max-width: 850px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(214, 90, 90, 0.1) 0%, transparent 70%);
  z-index: -1;
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-content p {
  font-size: 1.4rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 700px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  justify-content: center;
}

.login-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.03);
  padding: 8px 20px;
  border-radius: 100px;
  margin-top: 10px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.login-note:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.login-note i {
  color: var(--primary);
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border: none;
  box-shadow: 0 10px 25px rgba(214, 90, 90, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(214, 90, 90, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
}

.btn-outline:hover {
  background: var(--text-dark);
  color: var(--bg-white);
}

.hero-image {
  position: relative;
  max-width: 900px;
  width: 100%;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateX(10deg);
  transition: var(--transition);
}

.hero-image:hover img {
  transform: perspective(1000px) rotateX(0);
}

/* Features Section */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(214, 90, 90, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border-radius: 16px;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  font-weight: 800;
}

.feature-card p {
  color: var(--text-muted);
}

/* Benefits Section */
.benefits {
  background: var(--bg-white);
}

.benefit-row {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 80px;
}

.benefit-row:nth-child(even) {
  flex-direction: row-reverse;
}

.benefit-content {
  flex: 1;
}

.benefit-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 800;
}

.benefit-content ul {
  list-style: none;
}

.benefit-content li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.benefit-content li i {
  color: #6ab04c;
}

.benefit-image {
  flex: 1;
}

.benefit-image img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

/* CTA Section */
.cta {
  background: var(--primary);
  color: white;
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  margin: 100px 24px;
}

.cta h2 {
  font-size: 3rem;
  margin-bottom: 24px;
  font-weight: 900;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn-outline {
  border-color: white;
  color: white;
}

.cta .btn-outline:hover {
  background: white;
  color: var(--primary);
}

/* Footer */
footer {
  padding: 60px 0;
  background: var(--bg-white);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-info p {
  margin-top: 20px;
  color: var(--text-muted);
  max-width: 300px;
}

.footer-links h4 {
  margin-bottom: 24px;
  font-weight: 800;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  transition: var(--transition);
}

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

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  nav .container {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .hero {
    padding-top: 120px;
    padding-bottom: 80px;
  }

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

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .benefit-row {
    flex-direction: column !important;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  nav {
    padding: 16px 0;
    position: static;
  }

  nav .container {
    gap: 16px;
  }

  .logo {
    justify-content: center;
    font-size: 1.25rem;
    text-align: center;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
  }

  .nav-links a {
    text-align: center;
  }

  .btn-nav {
    padding: 12px 18px;
  }

  .hero {
    padding: 48px 0 72px;
  }

  .hero::before {
    width: 520px;
    height: 520px;
    top: -60px;
  }

  .hero-content {
    margin-bottom: 36px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
  }

  .hero-content p {
    font-size: 1.05rem;
    margin-bottom: 28px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .btn-lg {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }

  .login-note {
    width: 100%;
    justify-content: center;
    text-align: center;
    line-height: 1.5;
    padding: 10px 16px;
    border-radius: 20px;
    flex-wrap: wrap;
  }

  .hero-image {
    max-width: 100%;
  }

  .hero-image img {
    transform: none;
  }

  .section {
    padding: 72px 0;
  }

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

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

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

  .feature-card {
    padding: 28px 24px;
  }

  .benefit-row {
    gap: 28px;
    margin-bottom: 56px;
  }

  .benefit-content h3 {
    font-size: 1.65rem;
  }

  .benefit-content li {
    align-items: flex-start;
  }

  .cta {
    margin: 72px 20px;
    padding: 56px 24px;
  }

  .cta h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
  }

  .cta p {
    font-size: 1.05rem;
    margin-bottom: 28px;
  }

  footer {
    padding: 48px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-info p {
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2.1rem;
  }

  .nav-links {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .cta {
    margin: 56px 16px;
    padding: 44px 20px;
  }

  .cta h2 {
    font-size: 1.9rem;
  }
}
