/* ============================================
   SUPPORT PAGE DESIGN SYSTEM
   Matching main portfolio aesthetics
   ============================================ */

/* === COLOR SYSTEM === */
:root {
  /* Dark Theme */
  --bg-primary: #0a0e1a;
  --bg-secondary: #141b2d;
  --bg-tertiary: #1a2332;
  --bg-overlay: rgba(20, 27, 45, 0.92);

  --text-primary: #f0f4f9;
  --text-secondary: #b8c5d6;
  --text-muted: #7a8a9e;
  --text-inverse: #0a0e1a;

  --accent-primary: #6366f1;
  --accent-secondary: #8b5cf6;
  --accent-tertiary: #f59e0b;
  --accent-success: #10b981;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.18);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.18);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.28);
  --shadow-accent: 0 8px 32px rgba(99, 102, 241, 0.24);

  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --gradient-hero: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.15), transparent 50%),
                   radial-gradient(ellipse at bottom right, rgba(139, 92, 246, 0.12), transparent 60%);
}

body.light-theme {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-overlay: rgba(255, 255, 255, 0.95);

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --accent-primary: #4f46e5;
  --accent-secondary: #7c3aed;
  --accent-tertiary: #f59e0b;
  --accent-success: #059669;

  --border-subtle: rgba(15, 23, 42, 0.06);
  --border-medium: rgba(15, 23, 42, 0.10);
  --border-strong: rgba(15, 23, 42, 0.16);

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 48px rgba(15, 23, 42, 0.12);
  --shadow-accent: 0 8px 32px rgba(79, 70, 229, 0.16);

  --gradient-hero: radial-gradient(ellipse at top, rgba(79, 70, 229, 0.08), transparent 50%),
                   radial-gradient(ellipse at bottom right, rgba(124, 58, 237, 0.06), transparent 60%);
}

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-size: 17px;
  line-height: 1.85;
  font-weight: 400;
  min-height: 100vh;
  transition: background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.3;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  margin-top: 48px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border-medium);
  line-height: 1.35;
}

h3 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 20px;
  color: var(--accent-primary);
  line-height: 1.45;
}

h4 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 16px;
  line-height: 1.5;
}

p {
  margin-bottom: 24px;
  color: var(--text-secondary);
  line-height: 1.9;
  max-width: 75ch;
}

strong {
  color: var(--text-primary);
  font-weight: 600;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-secondary);
}

address {
  font-style: normal;
  line-height: 2;
  color: var(--text-secondary);
}

/* === CONTAINER === */
.container {
  width: min(1280px, 92%);
  margin: 0 auto;
  padding: 32px 16px;
}

/* === NAVIGATION === */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-overlay);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  padding: 20px 0;
  margin: -32px -16px 48px;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  justify-content: center;
  margin-bottom: 16px;
}

nav ul li a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 10px 18px;
  border-radius: 12px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

nav ul li a:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid var(--border-medium);
  background: var(--bg-secondary);
  color: var(--text-primary);
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 auto;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-md);
}

/* === HEADER === */
header {
  text-align: center;
  padding: 60px 0;
  background: var(--gradient-hero);
  margin: -32px -16px 64px;
  border-radius: 0 0 40px 40px;
}

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

.profile-image {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 32px;
  border: 4px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Text size controls */
header nav[aria-label="Text size controls"] {
  position: static;
  background: transparent;
  border: none;
  backdrop-filter: none;
  padding: 0;
  margin: 24px 0 0;
}

header nav button {
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-medium);
  background: var(--bg-secondary);
  color: var(--text-primary);
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  transition: all 0.3s ease;
}

header nav button:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent-primary);
}

/* === MAIN CONTENT === */
.content {
  max-width: 1120px;
  margin: 0 auto;
}

.section {
  margin-bottom: 96px;
}

/* === PHILOSOPHY SECTION === */
.philosophy {
  background: var(--bg-secondary);
  border-radius: 28px;
  padding: 48px 56px;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.philosophy h2 {
  color: var(--text-primary) !important;
  margin-top: 0 !important;
  margin-bottom: 24px;
}

.philosophy p {
  margin: 0 auto;
  line-height: 2;
  max-width: 900px;
  font-size: 18px;
  color: var(--text-secondary);
}

/* === PAYMENT SECTIONS === */
.payment-section {
  scroll-margin-top: 100px;
}

.payment-methods {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-top: 32px;
  align-items: stretch;
}

.payment-card {
  background: var(--bg-secondary);
  border-radius: 24px;
  padding: 44px 40px;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.payment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.payment-card h3 {
  margin-top: 0;
}

.payment-card p {
  max-width: 100%;
}

/* === CORRESPONDENT BANKS STYLING === */
.payment-card > div {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  margin: 20px 0;
  transition: all 0.3s ease;
}

.payment-card > div:hover {
  background: var(--bg-primary);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.payment-card > div h4 {
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.payment-card > div address {
  margin: 0;
}

/* === BANK INFO ALERT === */
.bank-info {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.08)) !important;
  border-left: 4px solid var(--accent-tertiary) !important;
  border-radius: 16px;
  padding: 28px 32px !important;
  margin-bottom: 40px !important;
}

.bank-info p {
  color: var(--text-primary);
  line-height: 2;
  max-width: 100%;
}

.bank-info strong {
  color: var(--accent-tertiary);
}

/* === TABLES === */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  background: var(--bg-tertiary);
  border-radius: 16px;
  overflow: hidden;
}

thead {
  background: var(--bg-primary);
}

th {
  padding: 18px 20px;
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-medium);
  font-size: 15px;
}

td {
  padding: 18px 20px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  line-height: 1.8;
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:hover {
  background: var(--bg-secondary);
}

/* === BANK ADDRESS === */
.bank-address {
  background: var(--bg-tertiary);
  padding: 24px 28px;
  border-radius: 16px;
  margin-top: 20px;
  line-height: 2;
  color: var(--text-secondary);
}

/* === ORDERED LISTS === */
ol {
  padding-left: 28px;
  margin: 32px 0;
  background: var(--bg-tertiary);
  border-radius: 16px;
  padding: 28px 28px 28px 56px;
  border: 1px solid var(--border-subtle);
}

ol li {
  margin-bottom: 16px;
  color: var(--text-secondary);
  line-height: 1.9;
  padding-left: 8px;
}

ol li:last-child {
  margin-bottom: 0;
}

/* Transfer Instructions Full Width Section */
.transfer-instructions {
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: 24px;
  padding: 44px 40px;
  margin-top: 40px;
  box-shadow: var(--shadow-sm);
}

.transfer-instructions h3 {
  margin-top: 0;
  text-align: center;
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border-medium);
}

.transfer-instructions ol {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.transfer-instructions p {
  max-width: 800px;
  margin: 32px auto 0;
  padding: 20px 28px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.06));
  border-left: 3px solid var(--accent-success);
  border-radius: 12px;
  text-align: center;
}

/* === MOBILE BANKING === */
.mobile-banking-card {
  background: var(--bg-secondary);
  border-radius: 28px;
  padding: 56px 48px;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-md);
  text-align: center;
  margin-top: 32px;
}

.mobile-banking-card h3 {
  margin-top: 0;
}

.mobile-banking-card p {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.mobile-banking-number {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  color: var(--accent-success);
  padding: 28px;
  background: var(--bg-tertiary);
  border-radius: 20px;
  margin: 28px 0;
  letter-spacing: 0.03em;
}

/* === CONTACT SECTION === */
.contact-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 40px;
}

.contact-item {
  background: var(--bg-secondary);
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-primary);
}

.contact-item h3 {
  font-size: 16px;
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.contact-item p {
  margin: 0;
  font-size: 15px;
  max-width: 100%;
}

.contact-item a {
  font-weight: 600;
  font-size: 16px;
}

/* === THANK YOU SECTION === */
.thank-you {
  background: linear-gradient(135deg,
    rgba(99, 102, 241, 0.12),
    rgba(139, 92, 246, 0.08));
  border: 1px solid var(--border-medium);
  border-radius: 28px;
  padding: 56px 48px;
  margin-top: 72px;
  box-shadow: var(--shadow-md);
}

.thank-you h3 {
  font-size: clamp(24px, 4vw, 32px);
  text-align: center;
  margin: 0 auto 40px;
  color: var(--text-primary);
  line-height: 1.4;
}

.thank-you p {
  margin-bottom: 28px;
  line-height: 2;
  max-width: 100%;
}

.thank-you p:last-child {
  margin-bottom: 0;
}

/* === FOOTER === */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-medium);
  border-radius: 28px 28px 0 0;
  margin-top: 96px;
  padding: 48px 40px;
  text-align: center;
}

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

.footer-content > p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 15px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.footer-links a {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s ease;
}

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

.footer-links .separator {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 14px;
  font-style: italic;
  margin-top: 24px;
  margin-bottom: 0 !important;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  body {
    font-size: 16px;
    line-height: 1.85;
  }

  .container {
    width: 94%;
    padding: 24px 16px;
  }

  header {
    padding: 40px 16px;
    margin: -24px -16px 48px;
  }

  nav {
    margin: -24px -16px 32px;
    padding: 16px;
  }

  .profile-image {
    width: 120px;
    height: 120px;
  }

  .payment-methods {
    grid-template-columns: 1fr;
  }

  .philosophy {
    padding: 36px 28px;
  }

  .philosophy p {
    font-size: 16px;
  }

  .payment-card,
  .mobile-banking-card,
  .thank-you {
    padding: 40px 28px;
  }

  h2 {
    margin-top: 36px;
    margin-bottom: 24px;
  }

  h3 {
    margin-top: 24px;
    margin-bottom: 16px;
  }

  p {
    margin-bottom: 20px;
  }

  table {
    font-size: 14px;
  }

  th, td {
    padding: 14px 16px;
  }

  ol {
    padding: 24px 24px 24px 48px;
  }

  ol li {
    margin-bottom: 14px;
  }

  .payment-card > div {
    padding: 20px;
    margin: 16px 0;
  }

  .transfer-instructions {
    padding: 32px 24px;
    margin-top: 32px;
  }

  .transfer-instructions h3 {
    margin-bottom: 24px;
    padding-bottom: 16px;
  }

  .transfer-instructions p {
    padding: 16px 20px;
    margin-top: 24px;
  }

  .footer {
    margin-top: 72px;
    padding: 40px 24px;
  }

  .footer-links {
    gap: 12px;
  }

  .footer-links a {
    font-size: 14px;
  }
}

/* === ANIMATIONS === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
