/* mock/css/style.css */

/* --- Reset & Global Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--ff-body);
  background-color: var(--clr-bg-base);
  color: var(--clr-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  line-height: 1.2;
  margin-bottom: var(--sp-sm);
  color: var(--clr-text-main);
}

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

a:hover {
  color: var(--clr-primary-hover);
}

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

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.section {
  padding: var(--sp-xl) 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: var(--sp-lg);
}

.section-title span {
  color: var(--clr-primary);
}

/* --- UI Components --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--ff-heading);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--clr-primary);
  color: var(--clr-bg-base);
}

.btn-primary:hover {
  background-color: var(--clr-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background-color: transparent;
  color: var(--clr-text-main);
  border: 2px solid var(--clr-border);
}

.btn-outline:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--clr-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--clr-text-main);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--clr-primary);
}

.nav-links {
  display: flex;
  gap: var(--sp-md);
  list-style: none;
}

.nav-links a {
  color: var(--clr-text-main);
  font-weight: 500;
  font-size: 0.95rem;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.lang-switch {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

.lang-switch a {
  color: var(--clr-text-muted);
}

.lang-switch a.active {
  color: var(--clr-primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--clr-text-main);
  cursor: pointer;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--header-height);
  background-image: linear-gradient(to right, rgba(18,18,18,0.9) 0%, rgba(18,18,18,0.4) 100%), url('https://images.unsplash.com/photo-1544191696-102dbb1faca5?q=80&w=2000&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero-tagline {
  color: var(--clr-primary);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--sp-xs);
  display: block;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 800;
  margin-bottom: var(--sp-md);
  text-transform: uppercase;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.125rem;
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-lg);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: var(--sp-sm);
}

/* --- Feature Cards --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-md);
}

.feature-card {
  background: var(--clr-bg-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--clr-primary);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--clr-bg-surface-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-sm);
  color: var(--clr-primary);
}

.feature-card h3 {
  font-size: 1.5rem;
}

.feature-card p {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
}

/* --- Footer --- */
.footer {
  background: var(--clr-bg-surface);
  border-top: 1px solid var(--clr-border);
  padding: var(--sp-lg) 0 var(--sp-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-lg);
  margin-bottom: var(--sp-lg);
}

.footer-col h4 {
  color: var(--clr-text-main);
  margin-bottom: var(--sp-sm);
  font-size: 1.1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  color: var(--clr-text-muted);
}

.footer-col ul a:hover {
  color: var(--clr-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--sp-md);
  border-top: 1px solid var(--clr-border);
  color: var(--clr-text-muted);
  font-size: 0.85rem;
}

/* --- Animations --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .nav-links, .nav-actions .btn {
    display: none; /* simple mobile hide for now */
  }
  .menu-toggle {
    display: block;
  }
}
