/* Homepage Styles for sc-score */

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

html,
body {
  margin: 0;
  padding: 0;
}

:root {
  --accent-primary: #000000;
  --accent-light: #ffffff;
  --accent-tan: #c9c7b3;
  --accent-dark-bg: #111111;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent-primary: #c9c7b3;
    --accent-light: #111111;
    --accent-tan: #c9c7b3;
    --accent-dark-bg: #000000;
  }
}

body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #000000;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.35;
  overflow-x: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  grid-auto-flow: dense;
  align-items: stretch;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #000000;
    color: #c9c7b3;
  }
}

header {
  grid-column: 1 / -1;
}

.hero {
  grid-column: 1;
  grid-row: 2;
}

.pocket-section {
  grid-column: 2;
  grid-row: 2;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
  .pocket-section {
    border-left-color: rgba(201, 199, 179, 0.2);
  }
}

.features,
.info-section,
footer {
  grid-column: 1 / -1;
}

a {
  color: inherit;
  text-decoration: none;
}

a:visited {
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
  padding: 0;
}

/* Header Navigation */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  backdrop-filter: blur(10px);
}

@media (prefers-color-scheme: dark) {
  header {
    background: rgba(0, 0, 0, 0.8);
    border-bottom-color: rgba(201, 199, 179, 0.2);
  }
}

.logo {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
}

nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

nav a {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

nav a:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  nav {
    gap: 12px;
  }

  nav a {
    font-size: 9px;
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: clamp(84px, 11vh, 132px) clamp(20px, 5vw, 56px) 56px clamp(20px, 5vw, 56px);
  text-align: left;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #ffffff url("../public/assets/logo.gif") center center no-repeat;
  background-size: clamp(140px, 31vw, 480px) auto;
}

@media (prefers-color-scheme: dark) {
  .hero {
    background: #000000 url("../public/assets/logo.gif") center center no-repeat;
    background-size: clamp(140px, 31vw, 480px) auto;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: min(560px, 100%);
  margin-right: auto;
  text-align: left;
}

.hero h1 {
  font-size: 56px;
  font-weight: 400;
  margin: 0 0 16px 0;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: #000000;
}

.hero .tagline {
  font-size: 18px;
  font-weight: 400;
  color: #000000;
  margin: 0 0 32px 0;
  line-height: 1.5;
}

@media (prefers-color-scheme: dark) {
  .hero h1,
  .hero .tagline {
    color: #c9c7b3;
  }
}

.cta-button {
  display: inline-block;
  padding: 12px 32px;
  background: #000000;
  color: #ffffff !important;
  border: 1px solid #000000;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.cta-button:hover {
  background: #ffffff;
  color: #000000 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-button:visited {
  color: #ffffff !important;
}

@media (prefers-color-scheme: dark) {
  .cta-button {
    background: #c9c7b3;
    color: #000000 !important;
    border-color: #c9c7b3;
  }

  .cta-button:hover {
    background: #000000;
    color: #c9c7b3 !important;
    box-shadow: 0 4px 12px rgba(201, 199, 179, 0.2);
  }

  .cta-button:visited {
    color: #000000 !important;
  }
}

@media (max-width: 768px) {
  body {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-column: 1;
    grid-row: 2;
    min-height: 65vh;
  }

  .pocket-section {
    grid-column: 1;
    grid-row: 3;
    min-height: auto;
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 60px 24px;
  }

  @media (prefers-color-scheme: dark) {
    .pocket-section {
      border-top-color: rgba(201, 199, 179, 0.2);
    }
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 40px 20px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero .tagline {
    font-size: 16px;
  }

  .pocket-section {
    padding: 40px 20px;
  }
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 60px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.feature-card {
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(0, 0, 0, 0.3);
  background: rgba(0, 0, 0, 0.02);
}

@media (prefers-color-scheme: dark) {
  .feature-card {
    border-color: rgba(201, 199, 179, 0.2);
  }

  .feature-card:hover {
    border-color: rgba(201, 199, 179, 0.5);
    background: rgba(201, 199, 179, 0.05);
  }
}

.feature-card h2 {
  margin: 0 0 8px 0;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.feature-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.85;
}

.feature-card a {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.feature-card a:hover {
  opacity: 1;
}

/* Info Section */
.info-section {
  background: rgba(0, 0, 0, 0.02);
  padding: 60px 24px;
}

@media (prefers-color-scheme: dark) {
  .info-section {
    background: rgba(201, 199, 179, 0.03);
  }
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.info-item h3 {
  margin: 0 0 12px 0;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.info-item p {
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
  opacity: 0.85;
}

/* Pocket Transfer Section */
.pocket-section {
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  min-height: 100vh;
  max-width: 100%;
  margin: 0;
}

.pocket-section h2 {
  margin: 0 0 24px 0;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Footer */
footer {
  padding: 40px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
  font-size: 11px;
  opacity: 0.7;
}

@media (prefers-color-scheme: dark) {
  footer {
    border-top-color: rgba(201, 199, 179, 0.2);
  }
}

footer a {
  opacity: inherit;
}

footer a:hover {
  opacity: 1;
}
