/* styles/main.css
   Basic responsive design.
   Colors: #FFFFFF (light). 
   Font: Roboto.
*/

:root {
  --primary: #0066FF;
  --secondary: #FF9900;
  --bg-light: #FFFFFF;
  --text-light: #333333;
  --border-radius: 4px;
}

/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Roboto', sans-serif; color: var(--text-light); background: var(--bg-light); line-height: 1.6; }
header, section, footer { padding: 60px 0; }
section { background: var(--bg-light); }
section:nth-of-type(odd) { background: #f8f9fb; }
.container { width: 90%; max-width: 1200px; margin: auto; }
.header {
  padding: 28px 0;
  background: #fff;
  color: var(--text-light);
  border-bottom: 1px solid #e9ecef;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.logo { font-size: 1.8rem; font-weight: 700; }
.nav ul { list-style: none; display: flex; gap: 20px; }
.nav a { color: var(--text-light); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--primary); }

.hero {
  background: linear-gradient(135deg, #f6f9ff, #fff2e9);
  color: var(--text-light);
  text-align: center;
}
.hero h2 { font-size: 2.2rem; margin-bottom: 0.8rem; }
.hero p { font-size: 1.1rem; margin-bottom: 1.5rem; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 12px 25px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.18);
}
.btn-primary:hover { opacity: 0.9; }
.btn-ghost {
  display: inline-block;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1;
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #dce3ee;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  vertical-align: middle;
}
.btn-ghost i {
  width: 1.1em;
  text-align: center;
  font-size: 0.95em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-ghost .btn-icon {
  width: 1.1em;
  height: 1.1em;
  display: inline-block;
}
.btn-ghost + .btn-ghost { margin-left: 10px; }
.btn-ghost:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: #cbd6e6;
}

.about, .features, .contact { color: var(--text-light); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.feature-item {
  text-align: center;
  padding: 20px;
  border: 1px solid #eef0f3;
  border-radius: var(--border-radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}
.feature-item i { color: var(--primary); margin-bottom: 10px; }
.feature-item h4 { font-weight: 600; margin-bottom: 6px; }
.feature-item p { color: var(--text-light); }
.app-store-badge { display: inline-block; margin-top: 14px; }
.app-store-badge img { height: 44px; width: auto; }

.contact-form { display: flex; flex-direction: column; width: 100%; max-width: 500px; margin: 0 auto; }
.contact-form input, .contact-form textarea { padding: 10px; margin-bottom: 10px; border: 1px solid #ccc; border-radius: var(--border-radius); font-family: inherit; }
.contact-form button { align-self: flex-start; }
.contact-text { margin: 6px 0 18px; color: #555; }
.contact-link { display: inline-flex; align-items: center; }

.footer { background: #f8f9fb; color: var(--text-light); text-align: center; border-top: 1px solid #e9ecef; }

@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
}
