/* ========================================
   AWENBOX — Styles complets
   ======================================== */

/* --- Variables --- */
:root {
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Archivo', 'Inter', -apple-system, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Utilities --- */
.text-teal {
  color: var(--teal-400);
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

@media (min-width: 768px) {
  .header-inner {
    height: 80px;
  }
}

/* Logo */
.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  color: var(--white);
  transition: color var(--transition);
}

.header.scrolled .logo {
  color: var(--gray-900);
}

.logo-accent {
  color: var(--teal-500);
}

/* Nav */
.nav {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition);
}

.nav a:hover {
  color: var(--teal-500);
}

.header.scrolled .nav a {
  color: var(--gray-700);
}

.header.scrolled .nav a:hover {
  color: var(--teal-500);
}

.nav-cta {
  background: var(--teal-500) !important;
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}

.nav-cta:hover {
  background: var(--teal-600) !important;
}

/* Menu toggle (mobile) */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.header.scrolled .menu-toggle span {
  background: var(--gray-900);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
  background: var(--gray-900);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
  background: var(--gray-900);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  z-index: 99;
  padding: 16px 24px;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-link {
  font-weight: 500;
  color: var(--gray-700);
  padding: 8px 0;
  transition: color var(--transition);
}

.mobile-link:hover {
  color: var(--teal-500);
}

.mobile-cta {
  background: var(--teal-500);
  color: var(--white) !important;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  margin-top: 8px;
  transition: background var(--transition);
}

.mobile-cta:hover {
  background: var(--teal-600);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(17, 24, 39, 0.85), rgba(17, 24, 39, 0.7), rgba(17, 24, 39, 0.4));
}

.hero-content {
  position: relative;
  padding: 128px 0 96px;
}

@media (min-width: 768px) {
  .hero-content {
    padding: 160px 0 128px;
  }
}

.hero-text {
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 184, 166, 0.15);
  border: 1px solid rgba(45, 212, 191, 0.3);
  color: var(--teal-300);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--teal-400);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.25rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 560px;
}

@media (min-width: 768px) {
  .hero-sub {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-proof {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.875rem;
  color: var(--gray-400);
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.proof-icon {
  width: 20px;
  height: 20px;
  color: var(--teal-400);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: 8px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--teal-500);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-600);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-white {
  background: var(--white);
  color: var(--teal-700);
}

.btn-white:hover {
  background: var(--teal-50);
}

.btn-full {
  width: 100%;
}

.btn-arrow {
  width: 20px;
  height: 20px;
}

/* ========================================
   SECTION COMMON
   ======================================== */
.section-tag {
  color: var(--teal-600);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.section-tag-light {
  color: var(--teal-400);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-header-left {
  text-align: left;
  margin: 0 0 64px;
}

.section-header h2,
.products-content h2,
.why-title,
.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .section-header h2,
  .products-content h2,
  .why-title,
  .contact-info h2 {
    font-size: 2.25rem;
  }
}

.section-desc {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ========================================
   SERVICES
   ======================================== */
.services {
  padding: 96px 0;
  background: var(--gray-50);
}

@media (min-width: 768px) {
  .services {
    padding: 128px 0;
  }
}

.services-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--teal-200);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-50);
  color: var(--teal-600);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card:hover .service-icon {
  background: var(--teal-500);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.how-it-works {
  padding: 96px 0;
  background: var(--white);
}

@media (min-width: 768px) {
  .how-it-works {
    padding: 128px 0;
  }
}

.steps-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

.step {
  position: relative;
}

.step-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--teal-100);
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.step p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ========================================
   PRODUCTS
   ======================================== */
.products {
  padding: 96px 0;
  background: var(--gray-50);
}

@media (min-width: 768px) {
  .products {
    padding: 128px 0;
  }
}

.products-wrapper {
  display: grid;
  gap: 64px;
  align-items: center;
}

@media (min-width: 1024px) {
  .products-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

.products-image {
  position: relative;
}

.products-image img {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  width: 100%;
}

.products-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--teal-500);
  color: var(--white);
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

@media (max-width: 1023px) {
  .products-badge {
    bottom: -12px;
    right: 12px;
  }
}

.products-content h2 {
  color: var(--gray-900);
}

.products-desc {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 32px;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.product-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: 12px;
  padding: 12px 16px;
  border: 1px solid var(--gray-100);
}

.check-icon {
  width: 20px;
  height: 20px;
  color: var(--teal-500);
  flex-shrink: 0;
}

.product-item span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
}

/* ========================================
   WHY AWENBOX
   ======================================== */
.why-awenbox {
  padding: 96px 0;
  background: var(--gray-900);
  color: var(--white);
}

@media (min-width: 768px) {
  .why-awenbox {
    padding: 128px 0;
  }
}

.why-wrapper {
  display: grid;
  gap: 64px;
}

@media (min-width: 1024px) {
  .why-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

.why-title {
  color: var(--white) !important;
}

.why-desc {
  font-size: 1.125rem;
  color: var(--gray-400);
  line-height: 1.7;
}

.why-right {
  display: grid;
  gap: 20px;
}

.why-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
  transition: background var(--transition);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.why-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
  color: var(--white);
}

@media (min-width: 768px) {
  .cta-section {
    padding: 128px 0;
  }
}

.cta-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .cta-content h2 {
    font-size: 2.25rem;
  }
}

.cta-content p {
  color: var(--teal-100);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
  padding: 96px 0;
  background: var(--white);
}

@media (min-width: 768px) {
  .contact {
    padding: 128px 0;
  }
}

.contact-wrapper {
  display: grid;
  gap: 64px;
}

@media (min-width: 1024px) {
  .contact-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-desc {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--teal-50);
  color: var(--teal-600);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
}

.contact-detail strong {
  display: block;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.contact-detail span {
  color: var(--gray-600);
}

.contact-detail a {
  color: var(--teal-600);
  transition: color var(--transition);
}

.contact-detail a:hover {
  color: var(--teal-700);
}

/* Contact form */
.contact-form-wrapper {
  background: var(--gray-50);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--gray-100);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  gap: 20px;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--gray-900);
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group textarea {
  resize: none;
}

.form-status {
  text-align: center;
  font-size: 0.875rem;
}

.form-status.success {
  color: var(--teal-600);
}

.form-status.error {
  color: #dc2626;
}

.form-note {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-align: center;
}

/* Form success state */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 0;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  background: var(--teal-100);
  color: var(--teal-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.form-success-icon svg {
  width: 32px;
  height: 32px;
}

.form-success h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--gray-600);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 48px 0;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-logo {
  font-size: 1.25rem;
  color: var(--white) !important;
}

.footer-brand p {
  font-size: 0.875rem;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.875rem;
}

.footer-links a {
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  margin-top: 32px;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom a {
  color: var(--teal-400);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--teal-300);
}
