/* === BRAND TOKENS === */
:root {
  --bg:          #F5F5F5;
  --bg-dark:     #111111;
  --surface:     #FFFFFF;
  --surface-dark:#1A1A1A;
  --accent:      #C0392B;
  --accent-glow: rgba(192, 57, 43, 0.15);
  --text:        #111111;
  --text-muted:  #666666;
  --text-light:  #F5F5F5;
  --border:      #E0E0E0;
  --border-dark: rgba(255,255,255,0.1);
  --font:        'Inter', system-ui, sans-serif;
  --radius:      10px;
  --max:         1140px;
  --shadow:      0 4px 24px rgba(0,0,0,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: var(--radius);
  font-weight: 600; font-size: 0.9rem; cursor: pointer;
  border: none; transition: all 0.2s; text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #a93226; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text-light); border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-dark { background: var(--text); color: var(--text-light); }
.btn-dark:hover { background: #333; transform: translateY(-1px); }

/* === NAV === */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 0;
  background: rgba(17,17,17,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-size: 1rem; font-weight: 700; letter-spacing: 0.05em;
  color: var(--text-light); text-transform: uppercase;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-size: 0.875rem; color: rgba(255,255,255,0.7); transition: color 0.2s; }
.nav-links a:hover { color: #fff; }

.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  background: none; border: none; cursor: pointer; padding: 0;
  font-size: 0.875rem; color: rgba(255,255,255,0.7);
  font-family: var(--font); transition: color 0.2s;
}
.nav-dropdown-btn:hover { color: #fff; }
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 0.75rem); left: 0;
  background: rgba(20,20,20,0.95); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 8px;
  min-width: 180px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 0.65rem 1rem;
  font-size: 0.875rem; color: rgba(255,255,255,0.7);
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.06); color: #fff; }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--bg-dark);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('assets/images/hero.png');
  background-size: cover; background-position: center;
  opacity: 0.35;
}
.hero-content {
  position: relative; z-index: 1;
  padding: 8rem 0 5rem;
  max-width: 640px;
}
.hero-eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700; line-height: 1.15;
  color: var(--text-light); margin-bottom: 1.25rem;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem; max-width: 520px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* === APPS SECTION === */
.apps { padding: 6rem 0; background: var(--bg); }
.section-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700; color: var(--text);
  margin-bottom: 1rem;
}
.section-intro { font-size: 1rem; color: var(--text-muted); max-width: 560px; margin-bottom: 3rem; }

.apps-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.app-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.app-card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.app-icon {
  width: 64px; height: 64px; border-radius: 14px;
  object-fit: cover; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.app-card-header h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.2rem; }
.app-card-header p { font-size: 0.8rem; color: var(--text-muted); }
.app-card-body { flex: 1; margin-bottom: 1.5rem; }
.app-card-body p { font-size: 0.925rem; color: var(--text-muted); margin-bottom: 1rem; }
.app-card-body ul {
  list-style: none; display: flex; flex-direction: column; gap: 0.4rem;
}
.app-card-body li {
  font-size: 0.875rem; color: var(--text);
  display: flex; align-items: center; gap: 0.6rem;
}
.app-card-body li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
.app-card-footer { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--text); color: var(--text-light);
  padding: 0.5rem 1rem; border-radius: 8px;
  font-size: 0.8rem; font-weight: 600;
  transition: background 0.2s;
}
.store-badge:hover { background: #333; }
.store-badge svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.app-card-link {
  font-size: 0.875rem; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: 0.3rem;
  margin-top: auto; padding-top: 0.75rem;
  transition: gap 0.2s;
}
.app-card-link:hover { gap: 0.5rem; }

/* === STUDIO === */
.studio { padding: 6rem 0; background: var(--bg-dark); }
.studio .section-title { color: var(--text-light); }
.studio .section-intro { color: rgba(255,255,255,0.5); }
.studio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-top: 3rem; }
.studio-points { display: flex; flex-direction: column; gap: 1.5rem; }
.studio-point h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-light); margin-bottom: 0.3rem; }
.studio-point p { font-size: 0.875rem; color: rgba(255,255,255,0.5); }
.studio-form {
  background: var(--surface-dark);
  border: 1px solid var(--border-dark);
  border-radius: 16px; padding: 2rem;
}
.studio-form h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-light); margin-bottom: 0.5rem; }
.studio-form p { font-size: 0.875rem; color: rgba(255,255,255,0.5); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.6); margin-bottom: 0.4rem; }
.form-group input,
.form-group textarea {
  width: 100%; padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dark);
  border-radius: 8px; font-size: 0.9rem;
  font-family: var(--font); color: var(--text-light);
  transition: border-color 0.2s; resize: vertical;
}
.form-group textarea { min-height: 100px; }
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-privacy { font-size: 0.75rem; color: rgba(255,255,255,0.3); margin-top: 0.75rem; text-align: center; }
.form-success { text-align: center; padding: 2rem 0; }
.form-success .success-icon {
  width: 3rem; height: 3rem; background: var(--accent); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 700; margin: 0 auto 1rem;
}
.form-success h3 { color: var(--text-light); margin-bottom: 0.5rem; }
.form-success p { font-size: 0.875rem; color: rgba(255,255,255,0.5); }
.form-error {
  background: rgba(192,57,43,0.15); color: #e74c3c;
  border-radius: 8px; padding: 0.75rem 1rem;
  font-size: 0.875rem; margin-bottom: 1rem; display: none;
}

/* === FOOTER === */
footer {
  background: #0A0A0A;
  border-top: 1px solid var(--border-dark);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo { font-size: 0.875rem; font-weight: 700; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.05em; }
.footer-logo span { color: var(--accent); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.2); width: 100%; text-align: center; margin-top: 1rem; }

/* === COOKIE BANNER === */
#cookie-banner {
  position: fixed; bottom: 1.25rem; right: 1.25rem;
  z-index: 999;
  background: rgba(240, 235, 227, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 10px;
  border: 1px solid rgba(200,184,154,0.3);
  padding: 1rem 1.25rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  max-width: 280px; width: calc(100% - 2.5rem);
}
#cookie-banner p {
  font-size: 0.775rem; color: #555; margin: 0; line-height: 1.5;
}
.cookie-actions { display: flex; gap: 0.5rem; }
.cookie-btn {
  flex: 1; padding: 0.45rem 0.75rem; border-radius: 6px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; cursor: pointer;
  white-space: nowrap; transition: all 0.2s;
}
.cookie-btn-outline {
  background: transparent; border: 1.5px solid #C8B89A; color: #8B7355;
}
.cookie-btn-outline:hover { background: rgba(200,184,154,0.15); }
.cookie-btn-filled {
  background: #C8B89A; border: 1.5px solid #C8B89A; color: #fff;
}
.cookie-btn-filled:hover { background: #B5A589; border-color: #B5A589; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-content { padding: 7rem 0 4rem; }
  .apps-grid { grid-template-columns: 1fr; }
  .studio-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
