/* trial.css — AquaSplashOS free trial landing page styles */

:root {
  --ocean: #0077b6;
  --ocean-light: #90e0ef;
  --ocean-dark: #03045e;
  --sand: #f4e3c1;
  --sand-dark: #d4a96a;
  --white: #ffffff;
  --text: #1a1a2e;
  --text-light: #555;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: linear-gradient(160deg, #f0f9ff 0%, #e8f4f8 100%);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-nav {
  background: var(--ocean-dark);
  color: var(--white);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}
.nav-inner nav a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-inner nav a:hover, .nav-inner nav a.active { color: var(--white); }

.trial-page {
  flex: 1;
  padding: 3rem 1.5rem;
}
.trial-container {
  max-width: 640px;
  margin: 0 auto;
}

.trial-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}
.trial-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ocean-dark);
  margin-bottom: 0.75rem;
}
.trial-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.trust-badge {
  background: var(--white);
  border: 2px solid var(--ocean-light);
  color: var(--ocean-dark);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}

.trial-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.form-section {
  margin-bottom: 2rem;
}
.section-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ocean);
  margin-bottom: 1rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}

/* Fields */
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: 0.88rem; font-weight: 500; color: var(--text); }
.field input, .field select {
  padding: 0.7rem 1rem;
  border: 2px solid #e0e8f0;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--ocean);
}

/* Submit */
.btn-submit {
  width: 100%;
  padding: 1rem;
  background: var(--ocean);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn-submit:hover { background: #005f8a; }
.btn-submit:active { transform: scale(0.99); }
.btn-submit:disabled { background: #aaa; cursor: not-allowed; }

.form-note {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Success message */
.success-message {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 3rem 2rem;
  text-align: center;
}
.success-icon {
  width: 64px;
  height: 64px;
  background: #d4edda;
  color: #155724;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}
.success-message h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--ocean-dark);
  margin-bottom: 0.75rem;
}
.success-message p { color: var(--text-light); }

/* Footer */
.site-footer {
  background: var(--ocean-dark);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
}
.site-footer a { color: rgba(255,255,255,0.8); text-decoration: none; }
.site-footer a:hover { color: var(--white); }

@media (max-width: 540px) {
  .field-row { grid-template-columns: 1fr; }
}