/* FONTS */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/Inter-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/Inter-SemiBold.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/Inter-Bold.woff2') format('woff2');
}

/* ROOT VARIABLES */
:root {
  --brand: #F3E5AB;
  --brand-light: #FFF9E5;
  --text: #1F2937;
  --muted: #6B7280;
  --bg: #F9FAFB;
  --white: #FFFFFF;
  --radius: 12px;
}

/* RESET & BODY */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}

/* NAVIGATION */
header {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}
.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo img {
  display: block;
  height: 40px;
  width: 40px;
  object-fit: contain;
}
.logo span {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--brand);
  line-height: 1;
}
header nav {
  display: flex;
  gap: 2rem;
}
nav a {
  position: relative;
  font-weight: 700;
  color: #a57e57; /* dark vanilla */
  padding-bottom: 4px;
}
nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.3s;
}
nav a:hover {
  color: var(--brand);
}
nav a:hover::after {
  width: 100%;
}
.lang-switch {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.lang-btn {
  background: var(--brand);
  color: white;
  font-weight: 600;
  text-decoration: none;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.lang-btn:hover {
  background: var(--brand-light);
  color: var(--text);
}

/* HERO */
.hero {
  background: var(--brand);
  color: var(--white);
  padding: 4rem 2rem;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.hero-image {
  width: 35%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  opacity: 0.3;
}
.hero-content {
  width: 60%;
  text-align: left;
}
.hero-content h1 {
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: #37210a; /* light black */
}
.hero-content p {
  margin-bottom: 1.5rem;
  font-weight: normal;
  color: #a57e57;
}
.hero-content .btn {
  display: inline-block;
}

/* BUTTON */
.btn {
  display: inline-block;
  background: var(--white);
  color: var(--text);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.3s;
}
.btn:hover {
  background: var(--brand-light);
}

/* SECTIONS */
section {
  padding: 4rem 2rem;
}
h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: #a57e57;
}

/* FEATURES */
.features {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  max-width: 1200px;
  margin: auto;
}
.feature {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s;
}
.feature:hover {
  transform: translateY(-4px);
}
.feature h3 {
  margin-bottom: 0.5rem;
  color: #a57e57;
}
.feature p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ABOUT ME */
.about-section {
  background: var(--brand-light);
  padding: 4rem 2rem 2rem;
  text-align: center;
}
.about-section h2 {
  color: #a57e57;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}
.about-section p {
  color: var(--text);
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* DEMO */
.demo-section {
  text-align: center;
  padding: 2rem 1rem 5rem;
  background: var(--brand-light);
}
.mock-browser {
  width: 90%;
  max-width: 800px;
  margin: 2rem auto;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}
.browser-bar {
  height: 28px;
  background: #f0f0f0;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0 12px;
}
.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.browser-bar span:nth-child(1) { background: #ff5f56; }
.browser-bar span:nth-child(2) { background: #ffbd2e; }
.browser-bar span:nth-child(3) { background: #27c93f; }
.scroll-frame {
  height: 90vh;
  overflow: hidden;
}
.scroll-frame iframe {
  width: 100%;
  height: 100vh;
  border: none;
}

/* CONTACT */
.contact {
  background: var(--brand-light);
}
.contact-inner {
  max-width: 600px;
  margin: auto;
  text-align: center;
}
form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  text-align: left;
}
input, textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-family: inherit;
  font-size: 1rem;
}
textarea {
  min-height: 130px;
  resize: vertical;
}
.submit-btn {
  background: var(--brand);
  color: var(--text);
  padding: 0.8rem 1.4rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
}
.submit-btn:hover {
  background: #EAD99A;
}
.form-info {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.95rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* PRICING */
.pricing {
  background: var(--bg);
  padding: 4rem 2rem;
}
.pricing-inner {
  max-width: 1000px;
  margin: auto;
  text-align: center;
}
.pricing h2, .pricing h3 { color: #a57e57; }
.pricing h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.pricing h3 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.pricing .subtitle { color: var(--muted); margin-bottom: 1rem; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}
.price-card h3 { color: #a57e57; font-size: 1.4rem; margin-bottom: 0.5rem; }
.price { font-size: 2rem; font-weight: 700; color: var(--text); margin-bottom: 1rem; }
.features { list-style: none; text-align: left; color: var(--muted); margin-bottom: 2rem; padding-left: 1rem; }
.features li {
  margin-bottom: 0.6rem;
  position: relative;
  padding-left: 1.2rem;
}
.features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand);
}
.price-btn {
  display: inline-block;
  background: var(--brand);
  color: var(--text);
  font-weight: 600;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.3s;
}
.price-btn:hover {
  background: #EAD99A;
}

/* FOOTER */
footer.site-footer {
  background: #0a0a0a;
  color: #9ca3af;
  text-align: center;
  font-size: 0.9rem;
  padding: 2rem 1rem;
}
footer.site-footer nav { margin-bottom: 0.75rem; }
footer.site-footer nav a {
  color: #9ca3af;
  margin: 0 0.75rem;
  transition: color 0.3s;
}
footer.site-footer nav a:hover { color: #ffffff; }
footer.site-footer .brand { color: #ffffff; font-weight: 600; }

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s ease;
}
.cookie-banner.show { opacity: 1; transform: translateY(0); }
.cookie-banner p { margin-right: 1rem; max-width: 600px; color: var(--muted); }
.cookie-banner button {
  background: var(--brand);
  color: var(--text);
  border: none;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 640px) {
  header .nav-container { flex-direction: column; align-items: center; gap: 1rem; padding: 1rem; }
  nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
  .hero { flex-direction: column; align-items: center; text-align: center; padding: 4rem 1rem 2rem; }
  .hero-inner { flex-direction: column; align-items: center; }
  .hero-image { width: 70%; max-width: 250px; margin: 0 auto 1.5rem; opacity: 0.3; }
  .hero-content { width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; margin-bottom: 1.5rem; }
  .hero-content .btn { display: block; margin: 0 auto; padding: 0.7rem 1.5rem; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .cookie-banner p { margin-bottom: 0.5rem; }
}

/* BANNER / POPUP */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.popup-content {
  background-color: #ffffff;
  color: #000000;
  padding: 25px 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 380px;
  text-align: center;
  position: relative;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  animation: slide-down 0.5s ease-out;
}
@keyframes slide-down {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.popup-content h2,
.popup-content p {
  color: #000000;
  font-family: Arial, sans-serif;
  margin: 0 0 10px 0;
}
.popup-content p { margin-bottom: 20px; font-size: 1rem; }
.signup-form { display: flex; flex-direction: column; gap: 10px; }
.signup-form input {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  color: #000000;
  background-color: #ffffff;
  font-family: Arial, sans-serif;
}
.signup-form button {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #ecdfa6;
  color: #000000;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  font-family: Arial, sans-serif;
}
.signup-form button:hover { background-color: #e0d990; }
.success-message {
  font-size: 1.5rem;
  font-weight: bold;
  color: green;
  margin-top: 10px;
  opacity: 0;
  transition: opacity 0.6s ease, font-size 0.3s ease;
  text-align: center;
  line-height: 1.2;
  word-break: break-word;
}
.success-message.visible {
  opacity: 1;
  transform: scale(1);
  font-size: 3rem;
}
.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 1.4rem;
  cursor: pointer;
  color: #000000;
  font-family: Arial, sans-serif;
}
