/**
 * Layout - Grid Systems
 * Flexible grid layouts for pages
 */

/* Two-column content grid (used in home.html) */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

/* Main content wrapper */
.main-content {
  width: 100%;
  margin: 0 auto;
}

/* Center layout */
.center {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem 1rem;
}

/* Container */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

/* Responsive grid adjustments */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .center {
    padding: 1rem;
  }
}
/**
 * Layout - Hero Section
 * Hero/feature section styling
 */

.hero-section {
  text-align: left;
  padding: 2rem;
  background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
}

.hero-icon {
  margin-bottom: 1.5rem;
}

.hero-title {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.hero-description {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Responsive hero */
@media (max-width: 1024px) {
  .hero-section {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 1.5rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
}
/**
 * Components - Buttons
 * Button styles and variants
 */

/* CTA Button (Call-to-Action) */
.cta-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  transform: translateY(0);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -3px rgba(59, 130, 246, 0.4);
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

/* Icon Button */
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  transform: scale(1);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
}

.icon-button:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.icon-button:active {
  transform: scale(0.95);
}

/* Button variants */
.btn-primary {
  background-color: #3b82f6;
  color: white;
}

.btn-primary:hover {
  background-color: #2563eb;
}

.btn-secondary {
  background-color: #6b7280;
  color: white;
}

.btn-secondary:hover {
  background-color: #4b5563;
}

/* Button sizes */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-md {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}
/**
 * Components - Navigation
 * Navigation bar and bottom panel styles
 */

/* Bottom navigation panel */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.bottom-nav-container {
  padding: 0 1rem;
  /* display and alignment handled by Tailwind classes in HTML */
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language toggle container */
.language-toggle-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

/* Responsive navigation */
@media (min-width: 640px) {
  .bottom-nav-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .bottom-nav-container {
    padding: 0 2rem;
  }
}
/**
 * Page - Homepage Specific Styles
 * Styles specific to homepage layout
 */

/* Homepage center layout adjustment */
.homepage .center {
  padding-bottom: 5rem;
}

/* Market section spacing */
.market-section {
  margin-top: 0;
}

/* Sticky hero section on desktop */
@media (min-width: 1025px) {
  .hero-section {
    position: sticky;
    top: 2rem;
    z-index: 10;
  }
}

/* Homepage responsive adjustments */
@media (max-width: 768px) {
  .homepage .center {
    padding-bottom: 4rem;
  }
}
