/* =============================================
   UGC BANK Inc. — Global Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Noto+Sans+JP:wght@300;400;500;700&family=Space+Mono:wght@400;700&display=swap');

:root {
  --bg: #060606;
  --bg-2: #0e0e0e;
  --bg-3: #141414;
  --bg-card: #111111;
  --border: #1e1e1e;
  --border-light: #2a2a2a;
  --text: #f0f0f0;
  --text-muted: #666;
  --text-subtle: #999;
  --accent: #F0DC1E;
  --accent-dim: rgba(240, 220, 30, 0.1);
  --accent-dim2: rgba(240, 220, 30, 0.05);
  --white: #ffffff;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --radius: 4px;
  --radius-lg: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- Noise Overlay ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
  backdrop-filter: blur(0px);
}

.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(6, 6, 6, 0.9);
  backdrop-filter: blur(20px);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo .logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-subtle);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: color var(--transition);
  font-family: var(--font-body);
}

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

.nav-cta {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  transition: all var(--transition) !important;
}

.nav-cta:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: all var(--transition);
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--bg);
  z-index: 999;
  padding: 40px;
  flex-direction: column;
  gap: 32px;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  color: var(--text);
  text-decoration: none;
  font-size: 24px;
  font-family: var(--font-display);
  letter-spacing: 2px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  transition: color var(--transition);
}

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

/* =============================================
   SECTION COMMONS
   ============================================= */
section {
  padding: 120px 40px;
}

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

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 80px);
  letter-spacing: 2px;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-subtle);
  max-width: 560px;
  line-height: 1.8;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(125, 249, 170, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-arrow::after {
  content: '→';
  transition: transform var(--transition);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* =============================================
   DIVIDER / GRID LINES
   ============================================= */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  padding: 60px 40px 40px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .brand-name {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-family: var(--font-mono);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  color: var(--text-subtle);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  padding: 160px 40px 80px;
  border-bottom: 1px solid var(--border);
}

.page-hero .container {
  max-width: 1160px;
  margin: 0 auto;
}

.page-hero .section-title {
  font-size: clamp(48px, 7vw, 96px);
}

/* =============================================
   FORMS
   ============================================= */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-family: var(--font-mono);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  background: var(--bg-2);
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.7;
}

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

/* =============================================
   ALERTS
   ============================================= */
.alert {
  padding: 16px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 24px;
}

.alert-success {
  background: rgba(125, 249, 170, 0.1);
  border: 1px solid rgba(125, 249, 170, 0.3);
  color: var(--accent);
}

.alert-error {
  background: rgba(255, 80, 80, 0.1);
  border: 1px solid rgba(255, 80, 80, 0.3);
  color: #ff8080;
}

/* =============================================
   INNER PAGE CONTENT
   ============================================= */
.content-section {
  padding: 80px 40px;
}

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

.content-inner h2 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 1px;
  color: var(--white);
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

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

.content-inner h3 {
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  margin: 28px 0 10px;
}

.content-inner p {
  color: var(--text-subtle);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 16px;
}

.content-inner ul, .content-inner ol {
  color: var(--text-subtle);
  font-size: 15px;
  line-height: 1.9;
  padding-left: 20px;
  margin-bottom: 16px;
}

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

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  section { padding: 80px 20px; }
  .page-hero { padding: 120px 20px 60px; }
  .content-section { padding: 60px 20px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  footer { padding: 60px 20px 32px; }
}

/* =============================================
   UTILITY
   ============================================= */
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}
