/* ==========================================
   남성역 헤르니티 - CSS Design System & Layout
   ========================================== */

/* Root Variables */
:root {
  /* Color Palette */
  --bg-primary: #0a0c10;
  --bg-secondary: #121620;
  --bg-tertiary: #191e2b;
  --bg-overlay: rgba(10, 12, 16, 0.8);
  
  --accent-gold: #c5a880;
  --accent-gold-hover: #e0be92;
  --accent-gold-rgb: 197, 168, 128;
  --accent-gold-dark: #8c7250;
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --text-white: #ffffff;
  
  --border-color: rgba(197, 168, 128, 0.15);
  --border-color-light: rgba(255, 255, 255, 0.08);
  --shadow-color: rgba(0, 0, 0, 0.5);
  
  /* Fonts */
  --font-base: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  
  /* Layout constraints */
  --max-width: 1200px;
  --header-height: 80px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset & Defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
}

body {
  font-family: var(--font-base);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 0; /* Add space for mobile sticky bar dynamically via media query */
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-gold-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Typographic refinement for premium text wrapping */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance; /* Balance line endings for headings */
}

p, li {
  text-wrap: pretty; /* Prevent orphans */
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.gold-text {
  color: var(--accent-gold);
  background: linear-gradient(135deg, #f3e7c9 0%, #c5a880 50%, #8c7250 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.font-serif {
  font-family: 'Georgia', 'Times New Roman', serif;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(197, 168, 128, 0.1);
  border: 1px solid var(--border-color);
  color: var(--accent-gold);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  outline: none;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, #c5a880, #a98d66);
  color: #111;
  box-shadow: 0 4px 15px rgba(197, 168, 128, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e0be92, #c5a880);
  box-shadow: 0 6px 20px rgba(197, 168, 128, 0.5);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: rgba(197, 168, 128, 0.1);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

/* Sections Structure */
section {
  padding: 100px 0;
  position: relative;
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.25em;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.title-bar {
  width: 50px;
  height: 2px;
  background: var(--accent-gold);
  margin: 0 auto 20px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================
   Header Component
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background-color: var(--bg-overlay);
  backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--border-color-light);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--accent-gold);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--accent-gold);
}

.nav-link.active::after {
  width: 100%;
}

.highlight-menu {
  color: var(--accent-gold);
  border: 1px dashed var(--border-color);
  padding: 6px 12px;
  border-radius: 4px;
}

.highlight-menu::after {
  display: none;
}

.highlight-menu:hover {
  background: rgba(197, 168, 128, 0.1);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 168, 128, 0.1);
  border: 1px solid var(--border-color);
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 700;
  color: var(--accent-gold);
}

.phone-btn:hover {
  background: var(--accent-gold);
  color: #111;
}

.phone-icon {
  width: 16px;
  height: 16px;
}

.phone-icon-sm {
  width: 18px;
  height: 18px;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  width: 24px;
  height: 18px;
  justify-content: space-between;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-normal);
}

/* Hamburger active transformation */
.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -7px);
}

/* ==========================================
   Mobile Overlay Menu
   ========================================== */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-container {
  text-align: center;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}

.mobile-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mobile-link:hover {
  color: var(--accent-gold);
}

.mobile-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #c5a880, #a98d66);
  color: #111;
  padding: 15px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
  padding-top: calc(var(--header-height) + 50px);
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color-light);
}

.hero-bg-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(197, 168, 128, 0.08) 0%, rgba(10, 12, 16, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

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

.hero-title {
  font-size: 3rem;
  line-height: 1.25;
  margin-bottom: 25px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

/* Visual Placeholder Styles */
.hero-visual {
  width: 100%;
}

.visual-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(25, 30, 43, 0.4) 0%, rgba(18, 22, 32, 0.6) 100%);
  border: 1px solid var(--border-color-light);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.placeholder-border {
  position: absolute;
  top: 15px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  border: 1px dashed rgba(197, 168, 128, 0.2);
  border-radius: 6px;
  pointer-events: none;
}

.placeholder-content {
  text-align: center;
  padding: 30px;
  z-index: 2;
}

.placeholder-icon {
  width: 60px;
  height: 60px;
  stroke: var(--accent-gold);
  opacity: 0.7;
  margin-bottom: 15px;
}

.placeholder-main-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.placeholder-sub-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================
   Overview Section
   ========================================== */
.overview-section {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color-light);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
}

.overview-info {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color-light);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.overview-table {
  width: 100%;
  border-collapse: collapse;
}

.overview-table th, .overview-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color-light);
  font-size: 0.95rem;
  text-align: left;
}

.overview-table tr:last-child th, .overview-table tr:last-child td {
  border-bottom: none;
}

.overview-table th {
  color: var(--accent-gold);
  font-weight: 600;
  width: 25%;
  vertical-align: top;
}

.overview-table td {
  color: var(--text-primary);
}

.overview-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-card {
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, rgba(18, 22, 32, 0.5) 100%);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
}

.stat-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 8px;
  font-family: 'Georgia', 'Times New Roman', serif;
}

.stat-num .unit {
  font-size: 1.2rem;
  font-weight: 500;
  margin-left: 2px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ==========================================
   Premium Location Section
   ========================================== */
.premium-section {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color-light);
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.premium-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color-light);
  border-radius: 8px;
  padding: 40px 30px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
  opacity: 0;
  transition: var(--transition-normal);
}

.premium-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-color);
  box-shadow: 0 10px 30px rgba(197, 168, 128, 0.1);
}

.premium-card:hover::before {
  opacity: 1;
}

.card-icon-container {
  width: 50px;
  height: 50px;
  background: rgba(197, 168, 128, 0.08);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: var(--accent-gold);
}

.card-icon {
  width: 26px;
  height: 26px;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================
   Unit Types Section (Tabs)
   ========================================== */
.units-section {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color-light);
}

.tabs-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.tabs-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid var(--border-color-light);
  padding-bottom: 20px;
}

.tab-trigger {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color-light);
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-trigger:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.tab-trigger.active {
  background: var(--accent-gold);
  color: #111;
  border-color: var(--accent-gold);
}

.tabs-content-wrapper {
  position: relative;
}

.tab-content {
  display: none;
  animation: fadeIn var(--transition-slow);
}

.tab-content.active {
  display: block;
}

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

.unit-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: center;
}

.unit-info h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.unit-intro {
  font-size: 1.05rem;
  margin-bottom: 25px;
  color: var(--text-primary);
}

.spec-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color-light);
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 30px;
}

.spec-list li {
  font-size: 0.9rem;
}

.spec-list li strong {
  color: var(--accent-gold);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.unit-features h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.unit-features h4::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 14px;
  background: var(--accent-gold);
}

.unit-features p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.unit-visual .visual-placeholder {
  aspect-ratio: 16 / 10;
}

/* ==========================================
   Development & Vision Section
   ========================================== */
.development-section {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color-light);
}

.dev-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.dev-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color-light);
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.dev-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dev-img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(25, 30, 43, 0.4) 0%, rgba(18, 22, 32, 0.6) 100%);
  border-bottom: 1px solid var(--border-color-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 20px;
}

.placeholder-icon-sm {
  width: 32px;
  height: 32px;
  stroke: var(--accent-gold);
  opacity: 0.6;
}

.dev-content {
  padding: 30px;
  position: relative;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.dev-number {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(197, 168, 128, 0.08);
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1;
}

.dev-content h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-primary);
  position: relative;
  z-index: 2;
}

.dev-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* ==========================================
   Special Strategies Section
   ========================================== */
.strategy-section {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color-light);
}

.strategy-tabs-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.strategy-block {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color-light);
  border-radius: 8px;
  padding: 40px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.strategy-block h3 {
  font-size: 1.4rem;
  margin-bottom: 30px;
  color: var(--accent-gold);
  position: relative;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color-light);
}

.strategy-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.strategy-item {
  display: flex;
  gap: 20px;
}

.str-code {
  flex-shrink: 0;
  width: 90px;
  height: 32px;
  background: rgba(197, 168, 128, 0.1);
  border: 1px solid var(--border-color);
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.str-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: rgba(197, 168, 128, 0.1);
  color: var(--accent-gold);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.strategy-item h4 {
  font-size: 1.05rem;
  margin-bottom: 5px;
  color: var(--text-primary);
}

.strategy-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================
   Contact Registration Form Section
   ========================================== */
.contact-section {
  background-color: var(--bg-primary);
  overflow: hidden;
}

.contact-bg-glow {
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(197, 168, 128, 0.06) 0%, rgba(10, 12, 16, 0) 70%);
  pointer-events: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-title {
  font-size: 2.6rem;
  line-height: 1.25;
  margin-bottom: 25px;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 35px;
}

.contact-tel-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 25px;
  border-radius: 6px;
  margin-bottom: 35px;
  text-align: center;
}

.contact-tel-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 8px;
}

.tel-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
  letter-spacing: 0.02em;
}

.qualify-rules h4 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.qualify-rules ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qualify-rules li {
  font-size: 0.9rem;
  position: relative;
  padding-left: 15px;
  color: var(--text-secondary);
}

.qualify-rules li::before {
  content: '•';
  color: var(--accent-gold);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Form Styling */
.contact-form-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color-light);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.interest-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group label .required {
  color: #ff5a5a;
  margin-left: 2px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select {
  width: 100%;
  height: 50px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color-light);
  border-radius: 4px;
  padding: 0 16px;
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-fast);
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 5px;
}

.check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem !important;
  color: var(--text-secondary) !important;
  font-weight: 500 !important;
  cursor: pointer;
}

.check-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--accent-gold);
}

.privacy-group {
  border-top: 1px solid var(--border-color-light);
  padding-top: 20px;
}

.privacy-text-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color-light);
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  height: 90px;
  overflow-y: scroll;
  line-height: 1.5;
  margin-bottom: 12px;
}

.privacy-text-box p {
  margin-bottom: 6px;
}

.privacy-agree {
  font-weight: 600 !important;
  color: var(--text-primary) !important;
}

.btn-submit {
  width: 100%;
  height: 55px;
  background: linear-gradient(135deg, #c5a880, #a98d66);
  color: #111;
  font-size: 1.05rem;
  box-shadow: 0 4px 15px rgba(197, 168, 128, 0.3);
  border: none;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #e0be92, #c5a880);
  box-shadow: 0 6px 20px rgba(197, 168, 128, 0.5);
  transform: translateY(-2px);
}

/* ==========================================
   Footer Component
   ========================================== */
.footer {
  background: #07080a;
  border-top: 1px solid var(--border-color-light);
  padding: 60px 0 30px;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-brand h2 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

.footer-divider {
  border: 0;
  height: 1px;
  background: var(--border-color-light);
  margin: 30px 0;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-info {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-info p {
  margin-bottom: 6px;
}

.footer-info strong {
  color: var(--text-secondary);
}

.footer-info a {
  color: var(--accent-gold);
  font-weight: 700;
}

.disclaimer {
  margin-top: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}

/* ==========================================
   Floating Widgets & Mobile Bottom Bar
   ========================================== */
/* Top Button */
.top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--accent-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.top-btn:hover {
  background: var(--accent-gold);
  color: #111;
  transform: translateY(-3px);
}

.top-icon {
  width: 20px;
  height: 20px;
}

/* Sticky Quick Bar for Mobile (Hidden on Desktop) */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 998;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.4);
  background: var(--bg-overlay);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color-light);
}

.mobile-sticky-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  height: 100%;
  flex: 1;
  gap: 8px;
}

.sticky-call {
  background: var(--bg-tertiary);
  color: var(--accent-gold);
}

.sticky-reg {
  background: linear-gradient(135deg, #c5a880, #a98d66);
  color: #111;
}

/* Custom Toast Notification styles */
.toast-container {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-tertiary);
  border: 1px solid var(--accent-gold);
  border-radius: 6px;
  padding: 16px 24px;
  color: var(--text-primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(120%);
  transition: transform var(--transition-normal);
  max-width: 320px;
}

.toast.show {
  transform: translateX(0);
}

.toast-success-icon {
  color: var(--accent-gold);
  font-size: 1.2rem;
}


/* ==========================================
   Responsive Media Queries
   ========================================== */

/* Up to 1024px (Large Tablets / Laptops) */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .overview-cards {
    flex-direction: row;
  }
  .stat-card {
    flex: 1;
  }
  
  .premium-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .dev-cards {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .strategy-tabs-layout {
    grid-template-columns: 1fr;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Up to 768px (Mobile & Small Tablets) */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  body {
    padding-bottom: 60px; /* Space for sticky call bar */
  }
  
  section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  /* Navigation */
  .nav-menu {
    display: none;
  }
  .header-right .phone-btn {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .overview-cards {
    flex-direction: column;
  }
  
  .premium-grid {
    grid-template-columns: 1fr;
  }
  
  .unit-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .tab-trigger {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  
  .contact-form-panel {
    padding: 25px;
  }
  
  .tel-number {
    font-size: 2rem;
  }
  
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-links {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .mobile-sticky-bar {
    display: flex;
  }
  
  .top-btn {
    bottom: 80px; /* Adjust height to not cover sticky bar */
    right: 20px;
  }
  
  .toast-container {
    top: auto;
    bottom: 80px;
    right: 20px;
    left: 20px;
  }
  .toast {
    max-width: 100%;
  }
}
