/*
Theme Name: Hawaii AI Apps
Theme URI: https://hawaiiaiapps.com
Author: Hawaii AI Apps
Description: A clean, modern splash page theme for AI apps — inspired by Gemini.
Version: 1.0
*/

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

:root {
  --bg:        #0a0a0f;
  --bg2:       #111118;
  --bg3:       #16161f;
  --border:    rgba(255,255,255,.08);
  --text:      #e8e8f0;
  --muted:     #8888a8;
  --grad:      linear-gradient(135deg, #4f8ef7 0%, #a259ff 50%, #f97bd0 100%);
  --grad2:     linear-gradient(135deg, #4f8ef7 0%, #a259ff 100%);
  --glow:      0 0 60px rgba(162,89,255,.18);
  --radius:    16px;
  --font:      'Google Sans', 'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Utility ── */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(10,10,15,.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.nav-logo .logo-icon {
  width: 32px; height: 32px;
  background: var(--grad);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .9rem;
  color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.07); }
.nav-cta {
  padding: 9px 22px !important;
  background: var(--grad) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-size: .88rem !important;
  transition: opacity .2s !important;
}
.nav-cta:hover { opacity: .85; background: var(--grad) !important; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(162,89,255,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border: 1px solid rgba(162,89,255,.4);
  border-radius: 999px;
  font-size: .82rem;
  color: #c89fff;
  margin-bottom: 32px;
  background: rgba(162,89,255,.08);
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #a259ff;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: .4; }
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 24px;
  max-width: 820px;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.22rem);
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 44px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-primary {
  padding: 14px 32px;
  background: var(--grad);
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
  box-shadow: 0 4px 24px rgba(162,89,255,.35);
}
.btn-primary:hover { opacity: .88; transform: translateY(-1px); }
.btn-secondary {
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background .2s, transform .2s;
  background: rgba(255,255,255,.04);
}
.btn-secondary:hover { background: rgba(255,255,255,.09); transform: translateY(-1px); }

/* ── Section shared ── */
.section {
  padding: 96px 0;
}
.section-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #a259ff;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* ── Apps Grid ── */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.app-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.app-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity .3s;
}
.app-card:hover {
  border-color: rgba(162,89,255,.4);
  transform: translateY(-4px);
  box-shadow: var(--glow);
}
.app-card:hover::before { opacity: 1; }
.app-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  border: 1px solid var(--border);
}
.app-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.app-card p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.app-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: gap .2s;
}
.app-link:hover { gap: 10px; }

/* ── Features ── */
.features-bg { background: var(--bg2); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-item {
  background: var(--bg2);
  padding: 36px 30px;
  transition: background .2s;
}
.feature-item:hover { background: var(--bg3); }
.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.feature-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-item p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── About / Info Strip ── */
.info-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.info-visual {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.info-visual .circle {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--grad);
  opacity: .15;
  filter: blur(40px);
}
.info-visual .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(162,89,255,.25);
}
.info-visual .ring-1 { width: 160px; height: 160px; }
.info-visual .ring-2 { width: 240px; height: 240px; animation: spin 20s linear infinite; }
.info-visual .ring-3 { width: 320px; height: 320px; animation: spin 35s linear infinite reverse; }
@keyframes spin {
  to { transform: rotate(360deg); }
}
.info-text .section-sub { margin-bottom: 32px; }
.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  color: var(--muted);
}
.info-list li::before {
  content: '✦';
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── CTA Banner ── */
.cta-banner {
  margin: 0 auto 96px;
  max-width: 860px;
  background: linear-gradient(135deg, rgba(79,142,247,.12), rgba(162,89,255,.18), rgba(249,123,208,.1));
  border: 1px solid rgba(162,89,255,.3);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 14px;
}
.cta-banner p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 36px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: .88rem;
  color: var(--muted);
  transition: color .2s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  font-size: .82rem;
  color: var(--muted);
  width: 100%;
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .info-strip { grid-template-columns: 1fr; }
  .info-visual { min-height: 200px; }
  .cta-banner { padding: 44px 28px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
