/* Contentify Landing Page - Modern Design Inspired by Hotmart */

:root {
  --primary: #ffffff;
  --secondary: #000000;
  --text: #ffffff;
  --text-dark: #000000;
  --text-muted: #9ca3af;
  --text-muted-dark: #6b7280;
  --background: #0a0a0a;
  --background-alt: #000000;
  --background-light: #f5f5f5;
  --background-card: #1a1a1a;
  --background-card-light: #ffffff;
  --background-elevated: #141414;
  --accent: #ffffff;
  --border: rgba(255, 255, 255, 0.08);
  --border-dark: rgba(0, 0, 0, 0.1);
  --border-hover: rgba(255, 255, 255, 0.15);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5),
    0 2px 4px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5),
    0 4px 6px -2px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5),
    0 10px 10px -5px rgba(0, 0, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

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

.logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}

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

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

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

.btn-nav-login {
  background: var(--primary) !important;
  color: var(--secondary) !important;
  padding: 10px 24px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: opacity 0.2s !important;
}

.btn-nav-login:hover {
  opacity: 0.9 !important;
}

/* Hero Section */
.hero {
  padding: 80px 0 120px;
  background: radial-gradient(
    ellipse at top,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 70%
  );
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 60px;
  align-items: center;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.5;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 48px;
  background: var(--background-card);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.hero-stats:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-xl);
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

.stat-item h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
  line-height: 1;
}

.stat-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 100%;
}

/* Register Form */
.register-form {
  background: var(--background-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
}

.register-form:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.register-form h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}

.form-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 16px;
}

.form-group {
  margin-bottom: 16px;
  position: relative;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  background: var(--background-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

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

.form-group input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08), var(--shadow-md);
  background: var(--background);
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.validation-message {
  display: block;
  text-align: left;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  min-height: 18px;
}

.validation-message.success {
  color: #22c55e;
}

.validation-message.error {
  color: #ef4444;
}

.btn-register {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: var(--secondary);
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-register::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 0, 0, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-register:hover:not(:disabled)::before {
  left: 100%;
}

.btn-register:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.25);
}

.btn-register:active:not(:disabled) {
  transform: translateY(0);
}

.btn-register:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-loading::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  font-size: 14px;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.terms-text {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.terms-text a {
  color: var(--primary);
  text-decoration: underline;
  transition: opacity 0.2s;
}

.terms-text a:hover {
  opacity: 0.8;
}

/* How It Works */
.how-it-works {
  padding: 120px 0;
  text-align: center;
  background: var(--background-alt);
  position: relative;
}

.how-it-works::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.how-it-works::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.how-it-works h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* Features Section */
.features {
  padding: 120px 0;
  background: var(--background-light);
  position: relative;
  border-bottom: 1px solid var(--border-dark);
}

.features h2 {
  text-align: center;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 60px;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

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

.feature-card {
  background: var(--background-card-light);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 36px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--text-dark),
    transparent
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15),
    0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-muted-dark);
  line-height: 1.6;
  font-size: 15px;
}

/* Revenue Section */
.revenue {
  padding: 120px 0;
  background: var(--background);
  position: relative;
  border-bottom: 1px solid var(--border);
}

.revenue h2 {
  text-align: center;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.revenue .section-subtitle {
  text-align: center;
  margin-bottom: 60px;
}

.revenue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.revenue-card {
  background: var(--background-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
  position: relative;
}

.revenue-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-xl);
}

.revenue-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.revenue-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.revenue-card p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 15px;
}

/* Limited Offer */
.limited-offer {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 48px;
  background: var(--background-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.limited-offer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary) 30%,
    var(--primary) 70%,
    transparent
  );
  opacity: 0.5;
}

.offer-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.limited-offer h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.offer-card {
  padding: 36px 28px;
  background: var(--background-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.offer-card:hover {
  border-color: var(--border-hover);
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.offer-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.offer-percentage {
  font-size: 48px;
  font-weight: 700;
  margin: 16px 0;
  color: var(--primary);
}

.offer-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}

.offer-note {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 24px;
}

/* Info Section */
.info {
  padding: 120px 0;
  background: var(--background-light);
  position: relative;
  border-bottom: 1px solid var(--border-dark);
}

.info h2 {
  text-align: center;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

.info .section-subtitle {
  text-align: center;
  margin-bottom: 60px;
  color: var(--text-muted-dark);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.info-card {
  background: var(--background-card-light);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.info-card:hover {
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15),
    0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

.info-card.half {
  grid-column: span 1;
}

.info-card.full {
  grid-column: 1 / -1;
}

.info-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.info-card ul {
  padding-left: 20px;
  color: var(--text-muted-dark);
  margin: 16px 0;
}

.info-card ul li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.info-card .small {
  font-size: 14px;
  color: var(--text-muted-dark);
  margin-top: 16px;
  opacity: 0.8;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.timeline-item {
  text-align: center;
  padding: 24px;
  background: var(--background-light);
  border-radius: 12px;
  border: 1px solid var(--border-dark);
  transition: all 0.3s ease;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.timeline-item:hover {
  border-color: rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.timeline-day {
  display: block;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.timeline-item span:not(.timeline-day) {
  color: var(--text-muted-dark);
  font-size: 14px;
}

/* Simulator Section */
.simulator {
  padding: 120px 0;
  background: var(--background);
  position: relative;
  border-bottom: 1px solid var(--border);
}

.simulator h2 {
  text-align: center;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.simulator .section-subtitle {
  text-align: center;
  margin-bottom: 60px;
}

.simulator-card {
  background: var(--background-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  box-shadow: var(--shadow-xl);
}

.simulator-inputs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-weight: 600;
  color: var(--primary);
  font-size: 14px;
}

.input-group input,
.input-group select {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--background-elevated);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.input-group input:hover,
.input-group select:hover {
  border-color: var(--border-hover);
}

.input-group select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.input-group input:focus,
.input-group select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08), var(--shadow-md);
  background: var(--background);
}

.simulator-results {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.2s ease;
}

.result-item:hover {
  padding-left: 8px;
}

.result-item.total {
  border-bottom: none;
  border-top: 2px solid var(--primary);
  padding-top: 20px;
  margin-top: 16px;
}

.result-label {
  color: var(--text-muted);
  font-size: 14px;
}

.result-value {
  color: var(--primary);
  font-weight: 600;
  font-size: 16px;
}

.result-item.total .result-label {
  font-weight: 600;
  color: var(--primary);
  font-size: 15px;
}

.result-item.total .result-value {
  font-size: 24px;
}

/* CTA Section */
.cta {
  padding: 120px 0;
  background: var(--background-alt);
  text-align: center;
  position: relative;
  border-top: 1px solid var(--border);
}

.cta-container {
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.5;
}

.btn-primary {
  display: inline-block;
  padding: 16px 48px;
  background: var(--primary);
  color: var(--secondary);
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 0, 0, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.launch-info {
  margin-top: 32px;
  font-size: 15px;
  color: var(--text-muted);
}

.launch-info a {
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.2s;
}

.launch-info a:hover {
  opacity: 0.8;
}

/* Footer */
.footer {
  background: var(--background-alt);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 32px 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 16px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .hero {
    padding: 60px 0 80px;
  }

  .hero-stats {
    flex-direction: column;
    padding: 24px;
  }

  .stat-divider {
    width: 100%;
    height: 1px;
    margin: 20px 0;
  }

  .stat-item {
    padding: 20px 0;
  }

  .features,
  .revenue,
  .info,
  .simulator,
  .cta {
    padding: 60px 0;
  }

  .features-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .simulator-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
  }

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

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

  .limited-offer {
    padding: 32px 24px;
  }

  .register-form {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .stat-item {
    padding: 16px;
  }

  .stat-item h3 {
    font-size: 28px;
  }
}
