/* ========================================
   HeyGiorgos — Brand Landing Page
   ======================================== */

/* --- Custom Properties --- */
:root {
  --plum: #2d1b3d;
  --plum-dark: #1e1029;
  --plum-light: #4a2e66;
  --lavender: #a18cd1;
  --lavender-light: #c4b5e3;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-400: #9ca3af;
  --gray-600: #6b7280;
  --gray-800: #374151;
  --text: #1f2937;
  --radius-pill: 50px;
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* --- Dark Mode --- */
[data-theme="dark"] {
  --plum: #b794f4;
  --plum-dark: #9b72e8;
  --plum-light: #d4c4fc;
  --lavender: #c4b5e3;
  --lavender-light: #e0d8f5;
  --white: #111118;
  --gray-100: #1a1a26;
  --gray-200: #282836;
  --gray-400: #8b8b9e;
  --gray-600: #b8b8c8;
  --gray-800: #e0e0e8;
  --text: #ececf0;
  --btn-text: #111118;
}

[data-theme="dark"] .btn-primary {
  color: var(--btn-text);
}

[data-theme="dark"] .btn-primary:hover {
  box-shadow: 0 4px 14px rgba(183, 148, 244, 0.4);
}

[data-theme="dark"] input[type="email"]:focus {
  box-shadow: 0 0 0 4px rgba(196, 181, 227, 0.25);
}

[data-theme="dark"] .btn-primary:focus-visible {
  outline-color: var(--lavender);
}

[data-theme="dark"] .tagline {
  color: #b0a5c8;
}

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

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

body {
  font-family: var(--font-family);
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Theme Toggle --- */
.theme-toggle {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 100;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s ease;
}

.theme-toggle:hover {
  border-color: var(--lavender);
  color: var(--lavender);
  transform: scale(1.08);
}

.theme-toggle:active {
  transform: scale(0.94);
}

.theme-toggle:focus-visible {
  outline: 3px solid var(--lavender);
  outline-offset: 2px;
}

/* --- Typography --- */
h1, h2, h3 {
  line-height: 1.2;
  font-weight: 700;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background-color: var(--plum);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--plum-dark);
  box-shadow: 0 4px 14px rgba(45, 27, 61, 0.3);
}

.btn-primary:focus-visible {
  outline: 3px solid var(--lavender);
  outline-offset: 2px;
}

/* --- Inputs --- */
input[type="email"] {
  font-family: var(--font-family);
  font-size: 1rem;
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-pill);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: var(--white);
  color: var(--text);
  min-width: 0;
}

input[type="email"]::placeholder {
  color: var(--gray-400);
}

input[type="email"]:focus {
  border-color: var(--lavender);
  box-shadow: 0 0 0 4px rgba(161, 140, 209, 0.2);
}

/* ======================
   Hero Section
   ====================== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
  padding: 2rem;
  text-align: center;
}

.hero-content {
  max-width: 640px;
}

.brand-name {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  color: var(--plum);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.tagline {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--lavender);
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.domain-hint {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-top: 1rem;
}

/* ======================
   Three-Word Strip
   ====================== */
.strip {
  padding: 3rem 2rem;
  text-align: center;
  background-color: var(--gray-100);
}

.strip-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--gray-800);
}

.strip-item i {
  color: var(--lavender);
  font-size: 1.25rem;
}

.strip-dot {
  color: var(--gray-400);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
}

/* ======================
   Notify Section
   ====================== */
.notify {
  padding: 5rem 2rem;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.notify-heading {
  font-size: 1.5rem;
  color: var(--plum);
  margin-bottom: 1.5rem;
}

.notify-form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.notify-form input[type="email"] {
  flex: 1;
  max-width: 320px;
}

.notify-message {
  color: var(--lavender);
  font-weight: 600;
  margin-bottom: 0.75rem;
  transition: opacity 0.3s ease;
}

.notify-message.hidden {
  display: none;
}

.notify-fine-print {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ======================
   Footer
   ====================== */
.footer {
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-copy {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.footer-link {
  font-size: 0.9rem;
  color: var(--lavender);
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--plum);
}

.footer-tag {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ======================
   Responsive — Mobile < 640px
   ====================== */
@media (max-width: 639px) {
  .hero {
    min-height: 80vh;
    padding: 1.5rem;
  }

  .strip {
    padding: 2rem 1.5rem;
  }

  .strip-items {
    flex-direction: column;
    gap: 0.5rem;
  }

  .strip-dot {
    display: none;
  }

  .notify {
    padding: 3rem 1.5rem;
  }

  .notify-form {
    flex-direction: column;
    align-items: center;
  }

  .notify-form input[type="email"] {
    max-width: 100%;
    width: 100%;
  }

  .notify-form .btn {
    width: 100%;
  }
}
