/* Dame Un Bite Inc. - SMS Compliance Website Styles */

:root {
  --color-primary: #E53935;
  --color-primary-dark: #C62828;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8F9FA;
  --color-border: #E0E0E0;
  --color-success: #43A047;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
  font-size: 1.2rem;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--color-text-light);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--color-primary);
}

/* Hero Section */
.hero {
  padding: 60px 0;
  background: var(--color-bg);
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--color-primary);
}

.hero p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}

/* SMS Disclosure Block */
.sms-disclosure {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 32px 0;
}

.sms-disclosure h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.sms-disclosure ul {
  list-style: none;
  margin-bottom: 16px;
}

.sms-disclosure li {
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--color-text-light);
  padding-left: 20px;
  position: relative;
}

.sms-disclosure li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

.sms-disclosure .links {
  font-size: 0.9rem;
}

.sms-disclosure .links a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Section Styles */
.section {
  padding: 60px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.section h2 span {
  color: var(--color-primary);
}

.section .subtitle {
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: 40px;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(229, 57, 53, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.step {
  text-align: center;
  padding: 24px;
}

.step-number {
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.step h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* Forms */
.form-container {
  max-width: 500px;
  margin: 0 auto;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-text);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

.form-group input.error {
  border-color: var(--color-primary);
}

.form-group .error-message {
  font-size: 0.85rem;
  color: var(--color-primary);
  margin-top: 6px;
}

.checkbox-group {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--color-primary);
}

.checkbox-group label {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text-light);
}

.checkbox-group label a {
  color: var(--color-primary);
}

.form-submit {
  width: 100%;
  margin-top: 24px;
}

/* Success Message */
.success-message {
  text-align: center;
  padding: 40px 24px;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--color-success);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

.success-message h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text);
}

.success-message p {
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.success-message .highlight {
  font-weight: 600;
  color: var(--color-primary);
}

.hidden {
  display: none !important;
}

/* Alert Banner */
.alert-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  animation: slideDown 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.alert-banner.alert-error {
  background: linear-gradient(135deg, #FFF5F5 0%, #FED7D7 100%);
  border: 1px solid #FC8181;
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.15);
}

.alert-banner .alert-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.alert-banner.alert-error .alert-icon {
  color: var(--color-primary);
}

.alert-banner .alert-content {
  flex: 1;
}

.alert-banner .alert-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #C53030;
  margin-bottom: 2px;
}

.alert-banner .alert-message {
  font-size: 0.9rem;
  color: #742A2A;
  line-height: 1.4;
}

.alert-banner .alert-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: #C53030;
  cursor: pointer;
  padding: 4px;
  font-size: 1.2rem;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.alert-banner .alert-close:hover {
  opacity: 1;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
  20%, 40%, 60%, 80% { transform: translateX(4px); }
}

.alert-banner.shake {
  animation: shake 0.5s ease-in-out;
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.legal-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal-content .effective-date {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--color-text);
}

.legal-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--color-text-light);
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
  color: var(--color-text-light);
}

.legal-content a {
  color: var(--color-primary);
}

.legal-content .highlight-box {
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-primary);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.legal-content .highlight-box p {
  margin-bottom: 0;
  font-weight: 500;
  color: var(--color-text);
}

/* Footer */
.footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 40px 0;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.footer-brand {
  max-width: 400px;
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-text-light);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--color-text-light);
  font-style: italic;
  background: rgba(229, 57, 53, 0.05);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .header .container {
    justify-content: center;
  }

  .nav {
    width: 100%;
    justify-content: center;
    gap: 16px;
  }

  .hero {
    padding: 40px 0;
    text-align: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section {
    padding: 40px 0;
  }

  .section h2 {
    font-size: 1.5rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: 24px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

