@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&display=swap');

:root {
  --bg-primary: #faf6e7;
  --bg-dark: #111111;
  --accent-red: rgb(177, 31, 35);
  --text-main: #000000;
  --text-light: #ffffff;
}

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

body {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  background-color: #faf6e7;
  color: var(--text-main);
  line-height: 1.2;
  overflow-x: hidden;
  transition: background-color 0.5s ease;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 60px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #b11f23;
  color: white;
}

.logo img {
  height: 90px;
}

.navbar nav {
  display: flex;
  gap: 30px;
}

.navbar nav a {
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.navbar nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.navbar nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  padding: 180px 60px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-content {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
}

.hero h1 {
  font-size: clamp(80px, 15vw, 250px);
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 5px;
  letter-spacing: -2px;
  text-transform: uppercase;
  text-align: center;
}

.hero-subtext {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: clamp(14px, 2vw, 28px);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-subtext .line {
  flex-grow: 1;
  height: 2px;
  background-color: var(--text-main);
  margin: 0 20px;
}

.hero-desc {
  margin-top: 145px;
  max-width: 450px;
  text-align: left;
  align-self: flex-start;
  position: relative;
  z-index: 20;
}

.hero-desc p {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 30px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.hero-cta {
  background-color: var(--accent-red);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-cta:hover {
  opacity: 0.9;
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.hero-shapes img {
  position: absolute;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

.shape-c { top: 20%; left: 15%; width: clamp(120px, 15vw, 250px); }
.shape-l { bottom: 25%; left: calc(28% + 20px); width: clamp(100px, 12vw, 200px); }
.shape-r { bottom: 20%; right: calc(15% + 20px); width: clamp(140px, 18vw, 280px); }
.shape-t { top: 18%; right: 28%; width: clamp(110px, 14vw, 220px); }

/* IDEA SECTION */
.idea {
  padding: 150px 60px;
  background-color: var(--accent-red);
  color: var(--text-light);
  border-radius: 40px;
  margin: 0 20px;
}

.idea h2 {
  font-size: clamp(60px, 9vw, 130px);
  margin-bottom: 40px;
  letter-spacing: -2px;
  line-height: 1.1;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 15px;
  white-space: nowrap;
}

.inline-logo {
  height: clamp(60px, 9vw, 130px);
  display: inline-block;
  vertical-align: middle;
}

.idea-desc {
  font-size: 22px;
  max-width: 750px;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 60px;
}

.idea-gallery {
  display: flex;
  gap: 20px;
}

.idea-gallery-item {
  flex: 1;
  text-align: center;
}

.idea-gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.idea-gallery-item img:hover {
  transform: scale(1.03);
}

.idea-gallery-item p {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  opacity: 0.9;
}

.idea-statement {
  margin-top: 60px;
  font-size: 22px;
  line-height: 1.6;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
  font-weight: 500;
}

/* HOW SECTION */
.how {
  padding: 150px 60px;
  position: relative;
  overflow: hidden;
}

.how-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.how-shape {
  position: absolute;
  opacity: 0.45;
}

.hs-1 { bottom: -2%;  left: -2%;   width: 180px; animation: floatSlow1 8s ease-in-out infinite; }
.hs-2 { top: -5%;     right: 8%;   width: 160px; animation: floatSlow2 10s ease-in-out infinite; }
.hs-3 { top: 35%;     right: -3%;  width: 100px; animation: floatSlow3 9s ease-in-out infinite; }
.hs-4 { top: -3%;     right: 30%;  width: 130px; animation: floatSlow1 11s ease-in-out infinite; }
.hs-5 { bottom: -3%;  right: -2%;  width: 120px; animation: floatSlow2 7s ease-in-out infinite; }
.hs-6 { top: 50%;     left: 40%;   width: 90px;  animation: floatSlow3 12s ease-in-out infinite; }
.hs-7 { top: 10%;     right: 45%;  width: 110px; animation: floatSlow1 9s ease-in-out infinite; }

@keyframes floatSlow1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(15px, -20px) rotate(5deg); }
}

@keyframes floatSlow2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(-12px, 18px) rotate(-4deg); }
}

@keyframes floatSlow3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(10px, 15px) rotate(3deg); }
}

.how-layout {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.how-image {
  flex: 1;
  position: sticky;
  top: 120px;
}

.how-image img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

.how-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.how-block h4 {
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0;
  color: var(--text-main);
}

.how-block p {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
}

/* ORGANIC / TTT SECTION */
.organic {
  padding: 150px 60px;
  position: relative;
  overflow: hidden;
}

.organic-layout {
  display: flex;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Tic-Tac-Toe Game */
.ttt-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ttt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
  max-width: 450px;
}

.ttt-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 3px solid #222;
  border-bottom: 3px solid #222;
  padding: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.ttt-cell:hover {
  background: rgba(177, 31, 35, 0.05);
}

.ttt-cell:nth-child(3n) { border-right: none; }
.ttt-cell:nth-child(n+7) { border-bottom: none; }

.ttt-cell.taken {
  cursor: default;
}

.ttt-cell .ttt-shape {
  width: 80%;
  height: 80%;
  object-fit: contain;
  animation: popIn 0.3s ease;
}

.ttt-cell .ttt-dot {
  width: 70%;
  aspect-ratio: 1;
  background: #111;
  border-radius: 50%;
  animation: popIn 0.3s ease;
}

@keyframes popIn {
  0%   { transform: scale(0); opacity: 0; }
  80%  { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.ttt-status {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-red);
  text-align: center;
  min-height: 24px;
}

.ttt-reset {
  margin-top: 15px;
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 700;
  background: var(--accent-red);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: opacity 0.3s ease;
}

.ttt-reset:hover {
  opacity: 0.85;
}

.ttt-cell.win-cell {
  background: rgba(177, 31, 35, 0.15);
}

/* Right Panel */
.organic-right {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 500px;
}

.organic-right-content {
  position: relative;
  z-index: 1;
}

.organic-tag {
  display: inline-block;
  background: var(--accent-red);
  color: white;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
}

.organic-right h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-main);
}

.organic-shape-top {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 250px;
  filter: blur(8px);
  opacity: 0.7;
  z-index: 0;
}

.organic-shape-bottom {
  position: absolute;
  bottom: -30px;
  right: 20px;
  width: 200px;
  filter: blur(6px);
  opacity: 0.5;
  z-index: 0;
}

/* VIDEO SECTION */
.video-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 60px;
}

.video-overlay-img {
  max-width: 80%;
  max-height: 80vh;
  object-fit: contain;
}

/* WHY ORGANIC SECTION */
.why-organic {
  padding: 120px 60px;
  text-align: center;
  background-color: #faf6e7;
}

.why-organic-content {
  max-width: 800px;
  margin: 0 auto;
}

.why-organic-label {
  display: block;
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  color: var(--accent-red);
  margin-bottom: 15px;
}

.why-organic h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.15;
  margin-bottom: 40px;
}

.why-organic-cta {
  background-color: var(--accent-red);
  color: white;
  border: none;
  padding: 18px 50px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  text-transform: none;
  letter-spacing: 0.5px;
}

.why-organic-cta:hover {
  opacity: 0.9;
}

.why-organic-body {
  margin-top: 60px;
}

.why-organic-body p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--accent-red);
  font-weight: 500;
}

.why-organic-highlight {
  margin-top: 15px;
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
  color: var(--accent-red);
}

/* TEAM SECTION */
.team {
  padding: 120px 60px;
  text-align: center;
  background-color: #faf6e7;
  position: relative;
  overflow: hidden;
}

.team-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.team-shape {
  position: absolute;
  opacity: 0.45;
}

.ts-1 { bottom: -5%;  left: -3%;   width: 160px; animation: floatSlow2 9s ease-in-out infinite; }
.ts-2 { top: -5%;     right: -3%;  width: 200px; animation: floatSlow1 11s ease-in-out infinite; }
.ts-3 { top: 20%;     left: 5%;    width: 80px;  animation: floatSlow3 8s ease-in-out infinite; }
.ts-4 { bottom: 15%;  right: 8%;   width: 100px; animation: floatSlow2 10s ease-in-out infinite; }
.ts-5 { top: 10%;     right: 25%;  width: 60px;  animation: floatSlow1 7s ease-in-out infinite; }
.ts-6 { bottom: 5%;   left: 20%;   width: 70px;  animation: floatSlow3 12s ease-in-out infinite; }
.ts-7 { top: 40%;     right: 3%;   width: 120px; animation: floatSlow1 9s ease-in-out infinite; }

.team h2,
.team-members {
  position: relative;
  z-index: 1;
}

.team h2 {
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent-red);
  margin-bottom: 80px;
}

.team-members {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.member {
  text-align: center;
}

.member-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background-color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto 25px;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.member:hover .member-photo img {
  filter: grayscale(0%);
}

.member h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 5px;
}

.member p {
  font-size: 15px;
  color: var(--accent-red);
  font-style: italic;
}

/* NEWSLETTER */
.newsletter {
  padding: 150px 60px;
  text-align: center;
}

.newsletter .big {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  margin: 30px auto;
  max-width: 800px;
}

.newsletter-form {
  margin: 60px auto 0;
  display: flex;
  max-width: 600px;
  gap: 10px;
}

.newsletter input {
  padding: 20px 30px;
  flex: 1;
  border: 2px solid var(--text-main);
  border-radius: 50px;
  font-size: 18px;
  background: transparent;
}

.newsletter button {
  padding: 20px 50px;
  border: none;
  background: var(--accent-red);
  color: white;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter button:hover {
  background: #901618;
}

/* FOOTER */
.footer {
  padding: 80px 60px;
  background: var(--bg-dark);
  color: var(--text-light);
}

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

.footer h4 {
  margin-bottom: 20px;
  color: var(--accent-red);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer a {
  display: block;
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.legal {
  display: flex;
  gap: 30px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar {
    padding: 20px;
  }
  .navbar nav {
    display: none; /* Add hamburger menu logic later if needed */
  }
  .hero {
    padding: 120px 20px 40px;
  }
  .hero-lines {
    flex-direction: column;
    gap: 20px;
  }
  .idea, .how, .organic, .team, .newsletter {
    padding: 80px 20px;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}
