/* --- VARIABLES --- */
:root {
  --color-bg: #ffffff;
  --color-bg-secondary: #f7f8fa;
  --color-text: #111111;
  --color-text-muted: #666666;
  --color-accent: #3a5aff; /* Electric Indigo */
  --color-accent-hover: #2940b8;
  --color-border: #e0e0e0;
  --color-line: rgba(17, 17, 17, 0.1);

  --font-main: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --gap-base: 24px;
  --radius-main: 12px;
  --radius-small: 4px;

  --container-width: 1240px;
  --header-height: 80px;
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

/* --- UTILS --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- BUTTON STYLES --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: var(--color-accent);
  color: white;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-small);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 1); /* Tech hard shadow */
}

.btn i {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translate(2px, -2px);
}

.btn--small {
  padding: 10px 20px;
  font-size: 0.8rem;
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

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

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-text);
}

.header__logo-icon {
  color: var(--color-accent);
  display: flex;
}

.header__nav {
  display: flex;
}

.header__menu {
  display: flex;
  gap: 32px;
}

.header__link {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.header__link::before {
  content: "[";
  opacity: 0;
  margin-right: 4px;
  color: var(--color-accent);
  transition: opacity 0.3s ease;
}

.header__link::after {
  content: "]";
  opacity: 0;
  margin-left: 4px;
  color: var(--color-accent);
  transition: opacity 0.3s ease;
}

.header__link:hover {
  color: var(--color-accent);
}

.header__link:hover::before,
.header__link:hover::after {
  opacity: 1;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__burger {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  padding: 8px;
  border-radius: var(--radius-small);
  cursor: pointer;
  color: var(--color-text);
}

/* --- FOOTER --- */
.footer {
  background-color: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: 80px 0 40px;
  margin-top: auto; /* Push to bottom if content is short */
  position: relative;
}

/* Decorative tech line */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  width: 1px;
  height: 20px;
  background: var(--color-text);
}

.footer__container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

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

.footer__col--brand {
  padding-right: 40px;
  border-right: 1px dashed var(--color-border);
}

.footer__logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.footer__desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer__copy {
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
}

.footer__title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.footer__title::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-accent);
  margin-top: 4px;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  font-size: 0.95rem;
}

.footer__link:hover {
  color: var(--color-accent);
  padding-left: 4px; /* Slight shift */
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--color-text);
}

.footer__icon {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  background: rgba(58, 90, 255, 0.05);
  padding: 8px;
  border-radius: var(--radius-small);
  border-left: 2px solid var(--color-accent);
  margin-top: 10px;
}

/* --- MOBILE ADAPTATION --- */
@media (max-width: 960px) {
  .header__nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--color-bg);
    flex-direction: column;
    padding: 40px 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 1px solid var(--color-border);
  }

  .header__nav.active {
    transform: translateX(0);
  }

  .header__menu {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .header__link {
    font-size: 1.2rem;
  }

  .header__burger {
    display: block;
  }

  .footer__container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .footer__col--brand {
    border-right: none;
    border-bottom: 1px dashed var(--color-border);
    padding-right: 0;
    padding-bottom: 40px;
  }
}

/* --- HERO SECTION --- */
.hero {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto; /* Flexible rows */
  gap: var(--gap-base);
  /* Defining areas for Bento layout */
  grid-template-areas:
    "main visual"
    "main info"
    "feature info";
}

/* Adjusting grid areas logic for better responsive layout */
.hero__grid {
  grid-template-columns: 60% 1fr;
  grid-template-rows: 300px 180px;
  grid-template-areas:
    "main visual"
    "main info-group";
}

/* Let's refine the grid logic to be cleaner for Bento */
.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, minmax(240px, auto));
  gap: 20px;
}

/* Cell Styles (Bento Cards) */
.hero__cell {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-main);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero__cell:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-color: var(--color-accent);
}

/* 1. Main Block (Large Left) */
.hero__cell--main {
  grid-column: 1 / 8;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff; /* White bg for contrast */
}

/* 2. Visual Block (Top Right) */
.hero__cell--visual {
  grid-column: 8 / 13;
  grid-row: 1 / 2;
  padding: 0;
  background: #000; /* Dark bg for canvas */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 3 & 4. Small Blocks (Bottom Right - split) */
/* Actually, let's group them or place them individually */
.hero__cell--info {
  grid-column: 8 / 11;
  grid-row: 2 / 3;
}

.hero__cell--feature {
  grid-column: 11 / 13;
  grid-row: 2 / 3;
}

/* --- HERO CONTENT STYLING --- */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(58, 90, 255, 0.1);
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  border-radius: 20px;
  margin-bottom: 24px;
  font-weight: 500;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(58, 90, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(58, 90, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(58, 90, 255, 0);
  }
}

.hero__title {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.text-accent {
  color: var(--color-accent);
}

.hero__desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 500px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.btn--large {
  padding: 16px 32px;
  font-size: 1rem;
}

.hero__users {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__avatars {
  display: flex;
}

.hero__avatars span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -10px;
}

.hero__avatars span:first-child {
  margin-left: 0;
}

.hero__users-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}

/* Visual Block Internals */
#tech-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__visual-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.hero__stat {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #fff;
  display: flex;
  gap: 8px;
}

/* Info & Feature Blocks */
.hero__icon-box {
  width: 48px;
  height: 48px;
  background: #fff;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 16px;
  color: var(--color-accent);
}

.hero__subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero__text-small {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Tech Decoration Corners */
.tech-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-text);
  opacity: 0.2;
}

.tech-corner--tl {
  top: 16px;
  left: 16px;
  border-right: none;
  border-bottom: none;
}

.tech-corner--br {
  bottom: 16px;
  right: 16px;
  border-left: none;
  border-top: none;
}

/* --- RESPONSIVE HERO --- */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .hero__cell--main {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }

  .hero__cell--visual {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    height: 300px;
  }

  .hero__cell--info {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }

  .hero__cell--feature {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }
}

@media (max-width: 600px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__cell--main,
  .hero__cell--visual,
  .hero__cell--info,
  .hero__cell--feature {
    grid-column: 1 / 2;
    grid-row: auto;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- SECTIONS COMMON --- */
.section-header {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-accent);
  letter-spacing: 0.1em;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

/* --- TICKER ANIMATION --- */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--color-text);
  color: white;
  padding: 12px 0;
  margin-bottom: 60px;
  white-space: nowrap;
  border-top: 1px solid var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
}

.ticker {
  display: inline-block;
  animation: ticker 20s linear infinite;
}

.ticker__item {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  margin-right: 40px;
  opacity: 0.9;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  } /* Assumes items are duplicated enough */
}

/* --- ABOUT GRID --- */
.about {
  padding-bottom: 80px;
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-base);
  grid-auto-rows: minmax(250px, auto);
}

.about__cell {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-main);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.about__cell:hover {
  border-color: var(--color-text);
  background: #fff;
  box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.05);
}

/* Specific Cells */
.about__cell--mission {
  grid-column: 1 / 3; /* Spans 2 columns */
  background: #fff;
  border: 1px solid var(--color-text); /* Stronger border for emphasis */
}

.about__lead {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text);
}

.highlight {
  background: linear-gradient(120deg, transparent 0%, transparent 100%);
  background-repeat: no-repeat;
  background-size: 100% 40%;
  background-position: 0 90%;
  transition: background-size 0.3s ease;
  border-bottom: 2px solid var(--color-accent);
}

.about__cell:hover .highlight {
  background-color: rgba(58, 90, 255, 0.1);
}

.about__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: #000;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
}

.link-arrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.link-arrow:hover {
  color: var(--color-accent);
  gap: 12px; /* Expanding effect */
}

.about__icon {
  width: 40px;
  height: 40px;
  background: var(--color-accent);
  color: white;
  border-radius: 50%; /* Circle for contrast in square grid */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.about__stat {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: 10px;
}

.about__subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.about__desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* --- RESPONSIVE ABOUT --- */
@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__cell--mission {
    grid-column: 1 / 2;
  }
}

/* --- FEATURES SECTION --- */
.features {
  padding-bottom: 100px;
}

.features__interface {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0; /* No gap, connected borders */
  border: 1px solid var(--color-border);
  border-radius: var(--radius-main);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* Sidebar Tabs */
.features__sidebar {
  background: var(--color-bg-secondary);
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.features__tab {
  width: 100%;
  text-align: left;
  padding: 24px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  color: var(--color-text-muted);
  position: relative;
}

.features__tab:last-child {
  border-bottom: none;
}

.features__tab:hover {
  background: rgba(0, 0, 0, 0.02);
  color: var(--color-text);
}

.features__tab.active {
  background: #fff;
  color: var(--color-accent);
  font-weight: 700;
}

/* Active indicator line */
.features__tab.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-accent);
}

.tab-num {
  margin-right: 12px;
  opacity: 0.5;
}

.tab-icon {
  width: 20px;
  height: 20px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.features__tab.active .tab-icon {
  opacity: 1;
  transform: translateX(0);
}

/* Display Area */
.features__display {
  padding: 40px 60px;
  background: #fff;
  min-height: 400px;
  position: relative;
  /* Tech Background Grid */
  background-image: linear-gradient(var(--color-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-line) 1px, transparent 1px);
  background-size: 40px 40px;
}

.features__content {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.features__content.active {
  display: block;
}

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

.features__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--color-text);
  padding-bottom: 16px;
}

.features__heading {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}

.status-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--color-accent);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
}

.features__desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 90%;
}

.tech-list {
  margin-bottom: 40px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

.tech-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.marker {
  color: var(--color-accent);
  font-weight: 700;
}

.pattern-grid {
  width: 100%;
  height: 100px;
  background: repeating-linear-gradient(
    45deg,
    var(--color-border),
    var(--color-border) 10px,
    #fff 10px,
    #fff 20px
  );
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
}

/* --- RESPONSIVE FEATURES --- */
@media (max-width: 900px) {
  .features__interface {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .features__sidebar {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .features__tab {
    padding: 16px;
    white-space: nowrap;
    border-bottom: none;
    border-right: 1px solid var(--color-border);
  }

  .features__tab.active::before {
    width: 100%;
    height: 4px;
    top: auto;
    bottom: 0;
    left: 0;
  }

  .features__display {
    padding: 30px 20px;
  }

  .features__heading {
    font-size: 1.5rem;
  }
}

/* --- REVIEWS SECTION --- */
.reviews {
  padding-bottom: 100px;
  background-color: var(--color-bg);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--gap-base);
  margin-bottom: 40px;
}

/* Log Card Style */
.log-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small); /* Sharper corners for tech look */
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

/* Tech Hover Effect */
.log-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
  box-shadow: 4px 4px 0px var(--color-accent);
}

.log-card__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--color-border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.log-card__body {
  flex-grow: 1;
  margin-bottom: 24px;
}

.log-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text);
  font-style: italic;
}

.log-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--color-bg-secondary);
}

.log-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 4px; /* Square avatar for tech vibe */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text);
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 0.85rem;
  font-weight: 700;
}

.user-loc {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
}

.log-status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.status-success {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Reviews Bottom CTA */
.reviews__cta {
  text-align: center;
  border-top: 1px solid var(--color-border);
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.reviews__cta p {
  font-size: 1.1rem;
  font-weight: 500;
}

/* --- CONTACT SECTION --- */
.contact {
  padding: 80px 0;
  background-color: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact__desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.contact__features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
}

.contact__feature-item i {
  color: var(--color-accent);
  width: 20px;
}

/* Form Wrapper */
.contact__form-wrapper {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-main);
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

/* Inputs */
.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  width: 18px;
  height: 18px;
  transition: color 0.3s ease;
}

.form-input {
  width: 100%;
  padding: 14px 16px 14px 44px; /* Space for icon */
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--color-bg-secondary);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(58, 90, 255, 0.1);
}

.form-input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
  color: var(--color-accent);
}

/* Error Messages */
.error-msg {
  display: none;
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 6px;
  font-family: var(--font-mono);
}

.form-group.error .form-input {
  border-color: #ef4444;
}

.form-group.error .error-msg,
.captcha-box.error .error-msg {
  display: block;
}

/* Custom Checkbox */
.checkbox-group {
  margin-bottom: 24px;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  height: 20px;
  width: 20px;
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.custom-checkbox:hover input ~ .checkmark {
  border-color: var(--color-text);
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-text {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.checkbox-text a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Fake Captcha */
.captcha-box {
  background: #f9f9f9;
  border: 1px solid #d1d5db;
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 24px;
  width: fit-content;
  min-width: 250px;
}

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

.captcha-checkbox {
  align-items: center;
  gap: 12px;
}

.captcha-mark {
  width: 24px;
  height: 24px;
  border-radius: 2px;
}

.captcha-mark:after {
  left: 8px;
  top: 4px;
  width: 6px;
  height: 12px;
  border-width: 0 3px 3px 0;
}

.captcha-text {
  font-size: 0.9rem;
  color: #333;
  font-weight: 500;
}

.captcha-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.6rem;
  color: #9ca3af;
}

.captcha-logo i {
  width: 16px;
  height: 16px;
  margin-bottom: 2px;
}

/* Full Width Button */
.btn--full {
  width: 100%;
  justify-content: center;
  padding: 16px;
}

/* Success Message */
.success-message {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  animation: fadeIn 0.5s ease;
}

.success-message.active {
  display: flex;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.success-icon i {
  width: 32px;
  height: 32px;
}

.success-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.success-desc {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

/* --- RESPONSIVE CONTACT --- */
@media (max-width: 900px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

/* --- COOKIE POPUP --- */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  padding: 16px 20px;
  border-radius: var(--radius-main);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 2000;
  display: none; /* Hidden by default, shown via JS */
  align-items: center;
  gap: 20px;
  max-width: 400px;
  animation: slideUp 0.5s ease;
}

.cookie-popup.show {
  display: flex;
}

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

.cookie-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-icon {
  color: var(--color-accent);
}

.cookie-text {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--color-text);
}

.cookie-text a {
  color: var(--color-accent);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .cookie-popup {
    left: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-popup .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- POLICY PAGES STYLES (privacy.html etc.) --- */
/* Structure: <main><section class="pages">... */

.pages {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  min-height: 80vh;
}

.pages .container {
  max-width: 800px; /* Readability focus */
  background: #fff;
  padding: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-main);
}

.pages h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--color-text);
  text-transform: uppercase;
}

.pages h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pages h2::before {
  content: "//";
  color: var(--color-accent);
}

.pages p {
  margin-bottom: 16px;
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

.pages ul {
  margin-bottom: 24px;
  padding-left: 20px;
  border-left: 1px solid var(--color-border);
}

.pages li {
  margin-bottom: 12px;
  padding-left: 12px;
  position: relative;
  line-height: 1.6;
}

.pages li::before {
  content: "-";
  position: absolute;
  left: -4px;
  color: var(--color-accent);
  font-weight: 700;
}

.pages a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pages strong {
  color: var(--color-text);
  font-weight: 600;
}
