/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #1e293b;
  background: #f8fafc;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container-small {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: 20px;
}

.logo-icon {
  font-size: 24px;
}

.pro-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: white;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: bold;
}

.btn-pro {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-pro:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

/* Hero */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
  position: relative;
}

.badge {
  display: inline-block;
  background: #dbeafe;
  color: #1e40af;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.badge.gold {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 20px;
  color: #64748b;
  margin-bottom: 30px;
}

.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: white;
  padding: 15px 40px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(245, 158, 11, 0.4);
}

/* Ad Placeholder */
.ad-placeholder {
  background: #f1f5f9;
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  color: #94a3b8;
  font-weight: 600;
  font-size: 14px;
  margin: 40px 0;
}

/* Tools Grid */
.tools-section {
  padding: 60px 0;
}

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

.tool-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  border: 1px solid #e2e8f0;
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.tool-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.tool-icon.blue {
  background: #dbeafe;
}

.tool-icon.green {
  background: #d1fae5;
}

.tool-icon.purple {
  background: #e9d5ff;
}

.tool-icon.yellow {
  background: #fef3c7;
}

.tool-icon.red {
  background: #fecdd3;
}

.tool-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #1e293b;
}

.tool-card p {
  color: #64748b;
  margin-bottom: 15px;
}

.tool-link {
  color: #3b82f6;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

/* PRO Banner */
.pro-banner {
  padding: 60px 0;
}

.pro-banner-content {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 24px;
  padding: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  color: white;
}

.pro-banner h2 {
  font-size: 32px;
  margin: 15px 0 10px;
}

.pro-banner p {
  color: #cbd5e1;
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: white;
  padding: 15px 40px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 18px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
  white-space: nowrap;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(245, 158, 11, 0.4);
}

/* Page Header */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #64748b;
  margin-bottom: 30px;
  transition: color 0.3s;
}

.back-link:hover {
  color: #3b82f6;
}

.back-link.light {
  color: #cbd5e1;
}

.back-link.light:hover {
  color: white;
}

.page-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin-bottom: 20px;
}

.page-header h1 {
  font-size: 40px;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 18px;
  color: #64748b;
}

/* Calculator Card */
.calculator-card {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  color: #334155;
  font-size: 14px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Tabs */
.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.tab {
  padding: 12px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: white;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.tab:hover {
  border-color: #cbd5e1;
}

.tab.active {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

/* Buttons */
.btn-calc {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-calc.blue {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.btn-calc.green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.btn-calc.purple {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.btn-calc.yellow {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.btn-calc.red {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.btn-calc:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Result Card */
.result-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

/* PRO Card */
.pro-card {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  padding: 30px;
  border-radius: 16px;
  color: white;
  margin-bottom: 30px;
}

.pro-features {
  list-style: none;
  margin: 20px 0;
}

.pro-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pro-features li:last-child {
  border-bottom: none;
}

/* PRO Page */
.pro-page {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
}

.pro-page header {
  background: rgba(30, 41, 59, 0.8);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pro-hero {
  text-align: center;
  padding: 60px 20px;
}

.pro-pricing {
  background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
  border: 2px solid #f59e0b;
  border-radius: 20px;
  padding: 50px;
  margin-bottom: 40px;
}

.price {
  font-size: 60px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
}

.price-label {
  text-align: center;
  color: #cbd5e1;
  margin-bottom: 40px;
}

.pro-features-list {
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-icon {
  font-size: 28px;
}

.feature-item strong {
  display: block;
  margin-bottom: 5px;
}

.feature-item p {
  color: #cbd5e1;
  font-size: 14px;
}

.paypal-container {
  background: white;
  padding: 30px;
  border-radius: 16px;
}

.paypal-label {
  text-align: center;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 20px;
}

.trust-badges {
  text-align: center;
  color: #94a3b8;
  font-size: 14px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Privacy Content */
.privacy-content {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.privacy-content h2 {
  font-size: 24px;
  margin: 30px 0 15px;
  color: #1e293b;
}

.privacy-content h2:first-child {
  margin-top: 0;
}

.privacy-content p {
  color: #64748b;
  margin-bottom: 20px;
  line-height: 1.8;
}

.privacy-content a {
  color: #3b82f6;
  text-decoration: underline;
}

/* Footer */
footer {
  background: #1e293b;
  color: white;
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 15px;
}

footer h4 {
  margin-bottom: 15px;
  font-size: 16px;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  color: #cbd5e1;
  transition: color 0.3s;
}

footer ul li a:hover {
  color: white;
}

footer p {
  color: #94a3b8;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom a {
  color: #94a3b8;
  transition: color 0.3s;
}

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

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 36px;
  }

  .page-header h1 {
    font-size: 32px;
  }

  .hero {
    padding: 60px 20px;
  }

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

  .pro-banner-content {
    padding: 30px;
    text-align: center;
    justify-content: center;
  }

  .pro-banner h2 {
    font-size: 24px;
  }

  .calculator-card {
    padding: 25px;
  }

  .pro-pricing {
    padding: 30px 20px;
  }

  .price {
    font-size: 48px;
  }

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

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

  .btn-pro span:nth-child(2) {
    display: none;
  }
}