/* WhetWare - Company Landing Page */

/* ============================================
   Variables
   ============================================ */
:root {
  --color-bg: #0a1628;
  --color-bg-secondary: #142238;
  --color-bg-tertiary: #1e3a5f;
  --color-cyan: #00d4ff;
  --color-cyan-dark: #00a3c7;
  --color-purple: #7c3aed;
  --color-purple-light: #9f67f5;
  --color-gold: #f59e0b;
  --color-gold-light: #fbbf24;
  --color-text: #ffffff;
  --color-text-secondary: #e2e8f0;
  --color-text-muted: #94a3b8;
  --color-text-dim: #64748b;
  --color-border: #334155;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
}

a {
  color: var(--color-cyan);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-cyan-dark);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-img {
  border-radius: 6px;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.header-contact {
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--color-text-muted);
  background: none;
  padding: 0.4rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.header-contact:hover {
  color: var(--color-cyan);
  border-color: var(--color-cyan);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: 7rem 0 1.5rem;
}

.hero-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.hero-center {
  text-align: center;
  flex: 0 1 560px;
}

.hero-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.85;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   Section Titles
   ============================================ */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ============================================
   Products
   ============================================ */
.products {
  padding: 1.5rem 0 3rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  border-color: var(--color-bg-tertiary);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.product-icon svg {
  width: 24px;
  height: 24px;
}

.product-icon-cyan {
  background: rgba(0, 212, 255, 0.1);
  color: var(--color-cyan);
}

.product-icon-purple {
  background: rgba(124, 58, 237, 0.12);
  color: var(--color-purple-light);
}

.product-icon-gold {
  background: rgba(245, 158, 11, 0.12);
  color: var(--color-gold);
}

.product-icon-green {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
}

.product-name {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.badge-coming {
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-gold-light);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-live {
  background: rgba(0, 212, 255, 0.15);
  color: #00d4ff;
  border: 1px solid rgba(0, 212, 255, 0.25);
}

/* ============================================
   About
   ============================================ */
.about {
  padding: 3rem 0;
  background: var(--color-bg-secondary);
}

.about-text {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
}

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

.footer-copy {
  color: var(--color-text-dim);
  font-size: 0.85rem;
}

.footer-link {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

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

/* ============================================
   Contact Modal
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.modal-close:hover {
  color: var(--color-text);
}

.modal-desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-dim);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
}

.form-submit {
  width: 100%;
  padding: 0.7rem;
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 600;
  color: var(--color-bg);
  background: var(--color-cyan);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: var(--color-cyan-dark);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .hero {
    padding: 6rem 0 2rem;
  }

  .hero-logo {
    display: none;
  }

  .hero-center {
    flex: 1;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
