/* ==================== */
/* Global Styles        */
/* ==================== */

:root {
  /* Teal & Gold Color Scheme */
  --primary: #0D9488;        /* Teal */
  --primary-dark: #0F766E;   /* Dark Teal */
  --primary-light: #14B8A6;  /* Light Teal */
  --accent: #F59E0B;         /* Gold */
  --accent-dark: #D97706;    /* Dark Gold */
  --accent-light: #FBBF24;   /* Light Gold */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --teal-50: #F0FDFA;
  --teal-100: #CCFBF1;
  --teal-900: #134E4A;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --white: #FFFFFF;
  --black: #000000;

  --border-radius: 8px;
  --border-radius-lg: 12px;
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--gray-900);
  background-color: var(--teal-50);
}

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

/* ==================== */
/* Typography           */
/* ==================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
}

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

/* ==================== */
/* Buttons              */
/* ==================== */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

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

.btn-primary {
  background-color: var(--accent);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 4px 6px rgba(245, 158, 11, 0.2);
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(245, 158, 11, 0.3);
}

.btn-secondary {
  background-color: var(--gray-100);
  color: var(--gray-900);
}

.btn-secondary:hover:not(:disabled) {
  background-color: var(--gray-200);
  color: var(--gray-900);
}

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

.btn-success:hover:not(:disabled) {
  background-color: #059669;
}

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

.btn-danger:hover:not(:disabled) {
  background-color: #DC2626;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
}

.btn-outline:hover:not(:disabled) {
  background-color: var(--accent);
  color: var(--white);
  transform: translateY(-1px);
}

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

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* ==================== */
/* Navigation           */
/* ==================== */

.nav {
  background-color: var(--white);
  border-bottom: 2px solid var(--primary);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.1);
}

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

.nav-brand h1 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* ==================== */
/* Hero Section         */
/* ==================== */

.hero {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
                    radial-gradient(circle at 80% 80%, rgba(251, 191, 36, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.hero-cta {
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* ==================== */
/* Features Section     */
/* ==================== */

.features {
  padding: 5rem 0;
  background-color: var(--white);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  border: 2px solid var(--teal-100);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(13, 148, 136, 0.15);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin: 0;
}

/* ==================== */
/* Pricing Section      */
/* ==================== */

.pricing {
  padding: 5rem 0;
  background-color: var(--teal-50);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background-color: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  position: relative;
}

.pricing-card-featured {
  border-color: var(--accent);
  box-shadow: 0 15px 35px rgba(245, 158, 11, 0.2);
  transform: scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
}

.pricing-header {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.pricing-header h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-amount {
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.currency {
  font-size: 1.5rem;
  color: var(--gray-600);
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-900);
}

.period {
  font-size: 1rem;
  color: var(--gray-600);
  margin-left: 0.25rem;
}

.pricing-features {
  list-style: none;
  padding: 1.5rem 0;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
}

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

.pricing-note {
  text-align: center;
  color: var(--gray-600);
  font-size: 0.875rem;
  margin-top: 2rem;
}

/* ==================== */
/* Comparison Table     */
/* ==================== */

.comparison {
  padding: 5rem 0;
  background-color: var(--white);
}

.comparison-table {
  margin-top: 3rem;
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.comparison-table thead th {
  background-color: var(--gray-100);
  font-weight: 700;
  color: var(--gray-900);
}

.comparison-table th.highlight,
.comparison-table td.highlight {
  background-color: var(--primary);
  color: var(--white);
  font-weight: 600;
}

/* ==================== */
/* CTA Section          */
/* ==================== */

.cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 30% 30%, rgba(251, 191, 36, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 70% 70%, rgba(251, 191, 36, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  opacity: 0.8;
}

/* ==================== */
/* Footer               */
/* ==================== */

.footer {
  padding: 3rem 0;
  background-color: var(--teal-900);
  color: var(--teal-100);
  text-align: center;
}

.footer p {
  margin: 0.5rem 0;
}

/* ==================== */
/* Forms                */
/* ==================== */

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-control:disabled {
  background-color: var(--gray-100);
  cursor: not-allowed;
}

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

.form-error {
  color: var(--error);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-help {
  color: var(--gray-600);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* ==================== */
/* Cards                */
/* ==================== */

.card {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card-header {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.card-body {
  padding: 0;
}

.card-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
  margin-top: 1rem;
}

/* ==================== */
/* Tables               */
/* ==================== */

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.table th {
  font-weight: 600;
  color: var(--gray-700);
  background-color: var(--gray-50);
}

.table tbody tr:hover {
  background-color: var(--gray-50);
}

/* ==================== */
/* Badges               */
/* ==================== */

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 12px;
  text-transform: uppercase;
}

.badge-success {
  background-color: var(--success);
  color: var(--white);
}

.badge-warning {
  background-color: var(--warning);
  color: var(--white);
}

.badge-error {
  background-color: var(--error);
  color: var(--white);
}

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

.badge-gray {
  background-color: var(--gray-400);
  color: var(--white);
}

/* ==================== */
/* Alerts               */
/* ==================== */

.alert {
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}

.alert-success {
  background-color: #D1FAE5;
  color: #065F46;
  border: 1px solid #10B981;
}

.alert-error {
  background-color: #FEE2E2;
  color: #991B1B;
  border: 1px solid #EF4444;
}

.alert-warning {
  background-color: #FEF3C7;
  color: #92400E;
  border: 1px solid #F59E0B;
}

.alert-info {
  background-color: #DBEAFE;
  color: #1E40AF;
  border: 1px solid #3B82F6;
}

/* ==================== */
/* Utilities            */
/* ==================== */

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden { display: none; }

/* ==================== */
/* Responsive           */
/* ==================== */

@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1.25rem; }
  .section-title { font-size: 2rem; }

  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .pricing-card-featured {
    transform: scale(1);
  }

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