:root {
  --primary: #FF8500;
  --primary-dark: #e67700;
  --secondary: #1a1a2e;
  --accent: #6c63ff;
  --text-dark: #1a1a2e;
  --text-light: #6b7280;
  --white: #ffffff;
  --bg-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navigation */
.navbar-modern {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 15px 0;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.navbar-modern .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-modern .logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

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

/* Page Header */
.page-header {
  background: var(--bg-gradient);
  padding: 140px 20px 80px;
  text-align: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.page-header h1 .highlight {
  background: linear-gradient(90deg, var(--primary), #ff6b35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Content Section */
.content-section {
  padding: 80px 20px;
  background: var(--white);
  flex: 1;
}

.content-section.alt {
  background: #f8fafc;
}

/* Cards */
.card-modern {
  background: var(--white);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--card-shadow);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Forms */
.form-modern {
  max-width: 600px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-control-modern {
  width: 100%;
  padding: 15px 20px;
  font-size: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  background: var(--white);
  transition: all 0.3s ease;
}

.form-control-modern:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(255, 133, 0, 0.2);
}

textarea.form-control-modern {
  min-height: 150px;
  resize: vertical;
}

/* Buttons */
.btn-primary-modern {
  display: inline-block;
  padding: 15px 35px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.btn-primary-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 133, 0, 0.4);
}

.btn-secondary-modern {
  display: inline-block;
  padding: 15px 35px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

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

/* Footer */
.footer-modern {
  background: var(--secondary);
  padding: 60px 20px 30px;
  color: var(--white);
}

.footer-modern .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Alert Messages */
.alert-modern {
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #16a34a;
}

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

.alert-info {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #2563eb;
}

/* Result Box */
.result-box {
  background: linear-gradient(135deg, var(--secondary), #16213e);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  margin-top: 30px;
}

.result-box h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.result-link {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  border-radius: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.result-link input {
  flex: 1;
  min-width: 200px;
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  background: var(--white);
  font-size: 1rem;
  color: var(--text-dark);
}

.result-link .copy-btn {
  padding: 10px 25px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.result-link .copy-btn:hover {
  background: var(--primary-dark);
}

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

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 40px 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}

.legal-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 25px 0 10px;
}

.legal-content p {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
  color: var(--text-light);
  margin-bottom: 15px;
  padding-left: 25px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* Stats Display */
.stats-display {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  padding: 40px 0;
}

.stat-box {
  text-align: center;
}

.stat-box .number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-box .label {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--secondary);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .page-header {
    padding: 120px 20px 60px;
  }

  .content-section {
    padding: 60px 20px;
  }

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

  .stats-display {
    gap: 30px;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}
