/* -------------------------------------------------------------------------- */
/*                               CSS Variables                                */
/* -------------------------------------------------------------------------- */
:root {
  /* Background Colors */
  --color-bg-app: #0E1A0F;
  --color-bg-card: #1A1E1A;
  --color-bg-input: #2A2E2B;
  --color-bg-header: #3A3E3B;

  /* Accent & Action Colors */
  --color-primary: #25A16B;
  --color-primary-light: rgba(37, 161, 107, 0.1);
  --color-info: #3498DB;
  --color-destructive: #FF6B6B;

  /* Text Colors */
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #6B7280;
  --color-text-disabled: #9CA3AF;

  /* Border Colors */
  --color-border: #2A2E2B;
  --color-border-focus: #3A3E3B;

  /* Border Radius */
  --radius-card: 24px;
  --radius-btn-primary: 16px;
  --radius-btn-secondary: 12px;
  --radius-badge: 16px;

  /* Spacing */
  --spacing-page-mobile: 20px;
  --spacing-card-pad: 24px;

  /* Shadows */
  --shadow-card: 0px 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-btn: 0px 4px 12px rgba(0, 0, 0, 0.25);
}

/* -------------------------------------------------------------------------- */
/*                                Base & Reset                                */
/* -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg-app);
  color: var(--color-text-primary);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #1f8a5a;
}

/* -------------------------------------------------------------------------- */
/*                               Typography                                   */
/* -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
}

.title-hero {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 24px;
}
.title-hero .highlight {
  color: var(--color-primary);
}

.title-section {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 32px;
  text-align: center;
}

.title-card {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text-primary);
}

p.lead {
  font-size: 18px;
  color: var(--color-text-secondary);
  font-weight: 500;
  margin-bottom: 32px;
}

/* -------------------------------------------------------------------------- */
/*                                Components                                  */
/* -------------------------------------------------------------------------- */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  font-family: inherit;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-primary);
  border-radius: var(--radius-btn-primary);
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 600;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background-color: #2ab578;
  box-shadow: 0px 6px 16px rgba(37, 161, 107, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text-primary);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-btn-primary);
  padding: 14px 30px;
  font-size: 18px;
  font-weight: 600;
}

.btn-secondary:hover {
  background-color: var(--color-bg-input);
  border-color: var(--color-border-focus);
}

.btn-icon {
  margin-right: 8px;
  font-size: 24px;
}

/* Base Card from Design System */
.smoach-card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-card);
  padding: var(--spacing-card-pad);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.smoach-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.45);
  border-color: var(--color-border-focus);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--radius-badge);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-primary);
}
.badge-primary { background-color: var(--color-primary); }
.badge-info { background-color: var(--color-info); }

/* -------------------------------------------------------------------------- */
/*                                  Layout                                    */
/* -------------------------------------------------------------------------- */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-page-mobile);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(14, 26, 15, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.navbar-brand {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-brand .logo-icon {
  color: var(--color-primary);
  font-size: 32px;
}

.navbar-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-link {
  color: var(--color-text-primary);
  font-weight: 600;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  display: flex;
  align-items: center;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 161, 107, 0.15) 0%, rgba(14, 26, 15, 0) 70%);
  z-index: -1;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

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

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image {
  max-width: 100%;
  width: 320px;
  border-radius: 40px;
  box-shadow: 0px 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 8px #2A2E2B;
  transform: rotate(-5deg);
  transition: transform 0.5s ease;
}

.hero-image:hover {
  transform: rotate(0) scale(1.05);
}

/* Floating Elements */
.floating-badge {
  position: absolute;
  background: var(--color-bg-card);
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  box-shadow: 0 16px 32px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 6s ease-in-out infinite;
}

.floating-badge.badge-1 {
  top: 10%;
  right: -20px;
  animation-delay: 0s;
}

.floating-badge.badge-2 {
  bottom: 20%;
  left: -40px;
  animation-delay: 2s;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: var(--color-bg-app);
}

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

.feature-card .icon-wrapper {
  width: 56px;
  height: 56px;
  background-color: var(--color-primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.feature-card .icon-wrapper .material-symbols-rounded {
  font-size: 28px;
}

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

/* Smoach Board Section */
.smoach-board-section {
  padding: 100px 0;
  background-color: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.smoach-board-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.board-image-wrapper img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border: 1px solid var(--color-border);
}

/* Footer */
.footer {
  padding: 64px 0 32px;
  background-color: var(--color-bg-app);
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-links a {
  color: var(--color-text-secondary);
  font-weight: 500;
}

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

.footer p {
  color: var(--color-text-disabled);
  font-size: 14px;
}

/* -------------------------------------------------------------------------- */
/*                               Responsive                                   */
/* -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  
  .hero-content {
    margin: 0 auto;
  }

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

  .smoach-board-container {
    grid-template-columns: 1fr;
  }

  .smoach-board-content {
    order: -1;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 120px;
  }
  
  .hero-image {
    width: 260px;
  }

  .floating-badge {
    display: none;
  }

  .navbar-nav {
    display: none;
  }
}
