/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #1a1a2e;
  --color-accent: #0d9488;
  --color-text: #1f2937;
  --color-text-light: #6b7280;
  --color-bg: #ffffff;
  --color-bg-alt: #f9fafb;
  --color-border: #e5e7eb;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

/* Container */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.15s ease;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: #2d2d4a;
}

.btn-large {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

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

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  text-decoration: none;
  font-size: 1.375rem;
  font-weight: 600;
}

.logo-text {
  color: var(--color-primary);
}

.logo-dot {
  color: var(--color-accent);
}

.logo-cloud {
  color: var(--color-text-light);
  font-weight: 400;
}

/* Hero */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  background: linear-gradient(to bottom, var(--color-bg-alt), var(--color-bg));
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Features */
.features {
  padding: 4rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature {
  text-align: center;
  padding: 2rem 1.5rem;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  color: var(--color-accent);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

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

/* Compatibility */
.compatibility {
  padding: 4rem 0;
  background: var(--color-bg-alt);
  text-align: center;
}

.compatibility h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.compatibility p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--color-text-light);
}

/* Trust */
.trust {
  padding: 4rem 0;
  text-align: center;
}

.trust h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 2rem;
}

.trust-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-top: 0.25rem;
}

/* Footer */
.footer {
  padding: 3rem 0 2rem;
  background: var(--color-primary);
  color: white;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text,
.footer-brand .logo-cloud {
  color: white;
}

.footer-brand .logo-dot {
  color: var(--color-accent);
}

.footer-support {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-support a {
  color: white;
  text-decoration: none;
}

.footer-support a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9375rem;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Terms Page Specific */
.terms-page {
  padding: 3rem 0;
}

.terms-content {
  max-width: 800px;
  margin: 0 auto;
}

.terms-content h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.terms-content .last-updated {
  color: var(--color-text-light);
  margin-bottom: 2rem;
  font-size: 0.9375rem;
}

.terms-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.terms-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.terms-content p {
  margin-bottom: 1rem;
  color: var(--color-text);
}

.terms-content ul, .terms-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.terms-content li {
  margin-bottom: 0.5rem;
}

.terms-content .disclaimer {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.875rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .trust-stats {
    gap: 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }

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

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}
