/* seemydrive — design system: black / red / white */

:root {
  --black: #0d0d0d;
  --black-soft: #171717;
  --black-card: #1c1c1c;
  --border: #2c2c2c;
  --white: #ffffff;
  --off-white: #f5f5f3;
  --gray: #9a9a9a;
  --gray-light: #cfcfcf;
  --red: #e30613;
  --red-dark: #a80410;
  --red-light: #ff3b47;
  --radius: 10px;
  --radius-lg: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  background: var(--off-white);
  color: var(--black);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--red);
  text-decoration: none;
}
a:hover {
  color: var(--red-dark);
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header / nav ---- */
.site-header {
  background: var(--black);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.brand:hover {
  color: var(--white);
  text-decoration: none;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: block;
}
.brand .accent {
  color: var(--red);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  color: var(--gray-light);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 8px;
}
.nav-links a:hover {
  color: var(--white);
  text-decoration: none;
  background: var(--black-soft);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--red-dark);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}
.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--black-soft);
  color: var(--white);
}
.btn-block {
  width: 100%;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* ---- Hero ---- */
.hero {
  background: radial-gradient(circle at 15% 20%, #1a1a1a 0%, var(--black) 55%);
  color: var(--white);
  padding: 96px 0 88px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 780px;
  margin: 0 auto 20px;
}
.hero h1 .accent {
  color: var(--red);
}
.hero p.lead {
  color: var(--gray-light);
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 36px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Sections ---- */
.section {
  padding: 80px 0;
}
.section-dark {
  background: var(--black);
  color: var(--white);
}
.section-title {
  text-align: center;
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto 48px;
}
.section-dark .section-subtitle {
  color: var(--gray-light);
}

/* ---- Feature grid ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border: 1px solid #e4e2df;
  border-radius: var(--radius-lg);
  padding: 28px;
}
.feature-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--black);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.feature-card p {
  color: #555;
  font-size: 0.95rem;
  margin: 0;
}

/* ---- Pricing ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.price-card {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  position: relative;
}
.price-card.featured {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red);
}
.price-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}
.price-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.price-card .amount {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  margin: 10px 0 2px;
}
.price-card .amount .cur {
  font-size: 1.1rem;
  vertical-align: super;
  color: var(--gray-light);
}
.price-card .per {
  color: var(--gray);
  font-size: 0.85rem;
  margin-bottom: 22px;
}
.price-card .btn {
  width: 100%;
}

/* ---- Cards / forms (auth, dashboard) ---- */
.page-wrap {
  padding: 56px 0;
  min-height: calc(100vh - 72px - 220px);
}
.card {
  background: var(--white);
  border: 1px solid #e4e2df;
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 420px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.card h1 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}
.card .subtitle {
  color: #666;
  margin-bottom: 28px;
  font-size: 0.95rem;
}
.field {
  margin-bottom: 18px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 6px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field input[type="number"] {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #d8d6d2;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font);
}
.field input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.15);
}
.field-error {
  color: var(--red-dark);
  font-size: 0.8rem;
  margin-top: 6px;
  font-weight: 600;
}
.form-footer {
  margin-top: 22px;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

/* ---- Flash messages ---- */
.flash-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.flash-list li {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.flash-error {
  background: #fdecea;
  color: #a80410;
  border: 1px solid #f3c2c2;
}
.flash-success {
  background: #eaf7ec;
  color: #1e7a34;
  border: 1px solid #bfe6c6;
}

/* ---- Simple tables (admin/dashboard) ---- */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid #e4e2df;
  border-radius: var(--radius);
  overflow: hidden;
}
th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid #eeece9;
  font-size: 0.9rem;
}
th {
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
tr:last-child td {
  border-bottom: none;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--black);
  color: var(--gray);
  padding: 40px 0;
  font-size: 0.85rem;
}
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--gray-light);
  font-weight: 600;
  font-size: 0.85rem;
}
.footer-links a:hover {
  color: var(--white);
  text-decoration: none;
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.muted { color: var(--gray); }
