

:root {
  --color-white: #ffffff;
  --color-black: #000000;
  --color-chrome: #d9dfe3;
  --color-patina: #4a5d54;
  --color-bg: #f8f8f8;
  --color-border: var(--color-chrome);

  --font-header: 'General Sans', sans-serif;
  --font-body: 'Gambetta', serif;
  --font-tech: 'Array', monospace;

  --border-thin: 1px solid var(--color-border);
  --border-black: 1px solid var(--color-black);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-bg);
  color: var(--color-black);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.font-tech {
  font-family: var(--font-tech);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.text-chrome { color: var(--color-chrome); }
.text-patina { color: var(--color-patina); }
.bg-black { background-color: var(--color-black); color: var(--color-white); }
.bg-white { background-color: var(--color-white); color: var(--color-black); }

/* Layout & Grid Structures */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(248, 248, 248, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: var(--border-thin);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
}

.navbar .logo {
  display: flex;
  align-items: center;
}
.navbar .logo img {
  height: 24px;
  width: auto;
}

.navbar-links {
  display: flex;
  gap: 2rem;
}

.navbar-links a {
  text-decoration: none;
  color: var(--color-black);
  font-family: var(--font-tech);
  font-size: 0.8rem;
  transition: opacity 0.3s ease;
}

.navbar-links a:hover {
  opacity: 0.5;
}

/* Sections */
section {
  position: relative;
  border-bottom: var(--border-thin);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8rem 2rem 4rem;
  background-color: var(--color-bg);
  position: relative;
  text-align: center;
}

/* Industrial Grid Background lines */
.grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 0;
}

.grid-line {
  width: 1px;
  height: 100%;
  background-color: var(--color-border);
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: clamp(4rem, 10vw, 12rem);
  margin-bottom: 2rem;
  letter-spacing: -0.04em;
}

.hero p {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.hero-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}

/* Architecture Section */
.architecture {
  padding: 6rem 0;
  background: var(--color-white);
}

.section-header {
  padding: 0 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: var(--border-thin);
}

.section-header h2 {
  font-size: 3rem;
}

.arch-grid {
  display: flex;
  flex-direction: column;
  border-bottom: var(--border-thin);
}

.arch-visual {
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  border-bottom: var(--border-thin);
  width: 100%;
}

.arch-visual img {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

.arch-content-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.arch-col {
  padding: 3rem 2rem;
  border-right: var(--border-thin);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.arch-col:last-child {
  border-right: none;
}

.arch-number {
  color: var(--color-patina);
  margin-bottom: 1rem;
}

.arch-col h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Configurator Section */
.configurator {
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.config-container {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.config-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  padding: 4rem;
  border-bottom: var(--border-thin);
}

.config-visual img {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: contain;
  transition: opacity 0.3s ease;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

.config-controls {
  padding: 4rem 2rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 4rem;
  background-color: var(--color-white);
  flex-wrap: wrap;
}

.control-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.control-group h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--color-black);
}

.options-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.option-btn {
  background: transparent;
  border: var(--border-thin);
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-family: var(--font-tech);
  font-size: 0.75rem;
  transition: all 0.3s ease;
  color: var(--color-black);
}

.option-btn.active, .option-btn:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.order-btn {
  background: var(--color-black);
  color: var(--color-white);
  border: none;
  padding: 1.5rem 3rem;
  font-family: var(--font-tech);
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  transition: background 0.3s ease;
  align-self: center;
  margin-top: 1rem;
}

.order-btn:hover {
  background: #333;
}

/* Join the Circle */
.join-circle {
  padding: 8rem 2rem;
  background: var(--color-black);
  color: var(--color-white);
  text-align: center;
}

.join-circle .form-container {
  max-width: 500px;
  margin: 4rem auto 0;
  text-align: left;
}

.input-luxe {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-chrome);
  color: var(--color-white);
  padding: 1rem 0;
  width: 100%;
  font-family: var(--font-tech);
  transition: border-color 0.3s ease;
  margin-bottom: 2rem;
}

.input-luxe:focus {
  outline: none;
  border-color: var(--color-white);
}

.submit-btn {
  background: var(--color-white);
  color: var(--color-black);
  border: none;
  padding: 1rem 2rem;
  font-family: var(--font-tech);
  cursor: pointer;
  width: 100%;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: var(--color-chrome);
}

.footer {
  padding: 2rem;
  background: var(--color-black);
  color: var(--color-white);
  border-top: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .arch-content-wrap {
    grid-template-columns: 1fr;
  }
  .arch-col {
    border-right: none;
    border-bottom: var(--border-thin);
  }
  .config-controls {
    flex-direction: column;
    align-items: center;
  }
}
