:root {
  --text-primary: #0a0f1c;
  --text-secondary: #3a4256;
  --text-tertiary: #6b7280;
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-tertiary: #e2e8f0;
  --accent-blue: #4f46e5;
  --accent-blue-dark: #4338ca;
  --accent-purple: #7c3aed;
  --accent-green: #10b981;
  --shadow-sm: 0 1px 3px 1px rgba(10, 15, 28, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(10, 15, 28, 0.1),
    0 2px 4px -1px rgba(10, 15, 28, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(10, 15, 28, 0.1),
    0 4px 6px -2px rgba(10, 15, 28, 0.05);
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", sans-serif;
  --max-width: 1440px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 48px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 64px;
  }
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-placeholder {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(
    135deg,
    var(--accent-blue),
    var(--accent-blue-dark)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
}

.brand-text {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.logo-text-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.btn-back {
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--bg-tertiary);
}

.btn-back:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

@media (max-width: 768px) {
  .brand-text {
    font-size: 1.125rem;
  }

  .logo-text-sub {
    font-size: 0.65rem;
  }
}

/* Hero Section */
.terms-hero {
  padding: 100px 0 60px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  text-align: center;
}

.terms-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.terms-hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

.last-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.875rem;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .terms-hero {
    padding: 80px 0 40px;
  }

  .terms-hero h1 {
    font-size: 2.25rem;
  }
}

/* Content Section */
.terms-content {
  padding: 80px 0;
  background: white;
}

.terms-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.terms-section {
  margin-bottom: 48px;
}

.terms-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--accent-blue);
  display: inline-block;
}

.terms-section h3 {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 32px 0 16px;
}

.terms-section p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.terms-section ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.terms-section ul li {
  padding: 12px 0 12px 32px;
  position: relative;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.terms-section ul li::before {
  content: "•";
  position: absolute;
  left: 12px;
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 1.5rem;
}

.highlight-box {
  background: var(--bg-secondary);
  border-left: 4px solid var(--accent-blue);
  padding: 24px;
  border-radius: var(--radius-md);
  margin: 24px 0;
}

.highlight-box p {
  margin: 0;
  font-weight: 500;
}

.contact-box {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: white;
  padding: 48px;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-top: 60px;
}

.contact-box h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: white;
}

.contact-box p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: var(--text-primary);
  padding: 60px 0 40px;
  color: white;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 3000;
  transition: 0.3s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(10deg);
}

/* Responsive */
@media (max-width: 768px) {
  .terms-content {
    padding: 60px 0;
  }

  .contact-box {
    padding: 32px 24px;
  }

  .contact-info {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}
