/* =========================================================================
   Globalnet Finance — Redesign Stylesheet
   ========================================================================= */

/* -------------------------------------------------------------------------
   CSS Variables
   ------------------------------------------------------------------------- */
:root {
  /* Marine palette from Figma */
  --gn-dark: #1C1C4D;           /* Marine/900 */
  --gn-dark-blue: #3A457E;      /* Marine/800 */
  --gn-mid-blue: #3A457E;       /* Marine/800 */
  --gn-accent-blue: #1D32DF;    /* Marine/700 */
  --gn-light-blue: #4F81F2;     /* Marine/500 */
  --gn-glow-blue: #90CCF2;      /* Marine/400 */
  --gn-cyan: #C0DFF2;           /* Marine/300 */
  --gn-text-white: #F0F7FD;     /* Marine/200 */
  --gn-text-muted: #C0DFF2;     /* Marine/300 — body text on dark */
  --gn-text-dim: #90CCF2;       /* Marine/400 — dimmed text */
  --gn-card-bg: rgba(255, 255, 255, 0.06);
  --gn-card-border: rgba(255, 255, 255, 0.1);
  --gn-glass-bg: rgba(28, 28, 77, 0.7);  /* Marine/900 based */
  --gn-glass-border: rgba(255, 255, 255, 0.10);
  --gn-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --gn-radius: 16px;
  --gn-radius-sm: 10px;
  --gn-radius-lg: 24px;
}

/* -------------------------------------------------------------------------
   Base / Reset overrides
   ------------------------------------------------------------------------- */
body {
  font-family: var(--gn-font) !important;
  background-color: var(--gn-dark) !important;
  color: var(--gn-text-white) !important;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--gn-font) !important;
  color: var(--gn-text-white);
  font-weight: 700;
}

p {
  color: var(--gn-text-muted) !important;
  line-height: 1.7;
}

a {
  color: var(--gn-light-blue);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--gn-cyan);
  text-decoration: none;
}

/* -------------------------------------------------------------------------
   Background Gradient (applies across the whole page)
   ------------------------------------------------------------------------- */
body {
  background: linear-gradient(180deg,
    #0a0e27 0%,
    #0d1540 15%,
    #0a1235 30%,
    #0d1333 50%,
    #0a1235 70%,
    #0d1540 85%,
    #0a0e27 100%
  ) !important;
  position: relative;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

section, footer, header {
  position: relative;
  z-index: 1;
}

/* -------------------------------------------------------------------------
   Masthead / Navigation
   ------------------------------------------------------------------------- */
/* Announcement bar */
#announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: #4F81F2;
  color: #fff;
  text-align: center;
  font-family: var(--gn-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  padding: 14px 0;
}

#masthead {
  background: transparent !important;
  padding: 20px 0;
  transition: background 0.3s, padding 0.3s;
  z-index: 1000;
  max-width: 100vw;
  overflow: hidden;
  top: 40px !important;
}

#masthead.compact {
  background: rgba(10, 14, 39, 0.92) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#masthead .navbar {
  padding: 0;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between;
}

@media (min-width: 992px) {
  #masthead .navbar {
    position: relative;
  }

  #masthead .navbar-collapse {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end;
    flex-grow: 1;
  }

  #masthead .navbar-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 991px) {
  #masthead .navbar-collapse:not(.show) {
    display: none !important;
  }

  #masthead .navbar-collapse.show {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    width: 100%;
  }

  #masthead .navbar-collapse .actions {
    margin-top: 16px !important;
    width: 100%;
    justify-content: flex-start !important;
    flex-direction: row;
  }
}

#masthead .logo {
  display: flex;
  align-items: center;
}

#masthead .logo svg {
  height: 36px;
  width: auto;
}

#masthead .logo {
  gap: 10px;
  text-decoration: none !important;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-family: var(--gn-font);
  font-weight: 700;
  font-size: 18px;
  color: var(--gn-text-white);
  letter-spacing: 0.3px;
}

.logo-sub {
  font-family: var(--gn-font);
  font-weight: 400;
  font-size: 9px;
  color: #8ba3c7;
  letter-spacing: 2.5px;
  text-transform: lowercase;
}

/* Nav pill container */
#masthead .navbar-nav {
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 50px;
  padding: 6px 8px;
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
}

#masthead .navbar-nav .menu-item a {
  color: var(--gn-text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 50px;
  transition: all 0.3s;
  display: block;
  text-decoration: none;
  white-space: nowrap;
}

#masthead .navbar-nav .menu-item a:hover,
#masthead .navbar-nav .menu-item a.active {
  color: var(--gn-text-white);
  background: rgba(255, 255, 255, 0.12);
}

/* Header action buttons */
#masthead .actions {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 !important;
  margin: 0 !important;
}

#masthead .actions .btn-sm {
  padding: 4px 24px;
  font-size: 14px;
  height: 32px;
  line-height: 24px;
}

@media (max-width: 991px) {
  #masthead .actions {
    margin-top: 16px;
    justify-content: center;
  }
}

/* Hamburger / mobile */
#masthead .navbar-toggler {
  border: none;
  outline: none;
  padding: 8px;
}

#masthead #nav-icon4 span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gn-text-white);
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 2px;
}

@media (max-width: 991px) {
  #masthead .navbar-nav {
    background: rgba(10, 14, 39, 0.95);
    border-radius: var(--gn-radius);
    padding: 16px;
    margin-top: 16px;
    flex-direction: column;
  }

  #masthead .navbar-nav .menu-item a {
    padding: 12px 20px;
  }
}

/* -------------------------------------------------------------------------
   Hero Section
   ------------------------------------------------------------------------- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 0 80px;
  background-size: cover !important;
  background-position: center !important;
  position: relative;
  overflow: hidden;
}

/* Decorative gradient glow */
#hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 10%;
  width: 80%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 30%, rgba(37, 99, 235, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

/* Geometric accent shapes */
#hero::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 5%;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--gn-radius-lg);
  transform: rotate(15deg);
  pointer-events: none;
}

#hero .label {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gn-text-muted) !important;
  margin-bottom: 24px;
}

#hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.375rem) !important;
  font-weight: 700 !important;
  line-height: 1.15;
  margin-bottom: 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(to bottom, #ffffff 0%, #c8d6e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#hero .subtitle {
  font-size: 16px;
  color: var(--gn-text-muted) !important;
  max-width: 500px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

#hero .scroll-arrow {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--gn-text-muted);
  animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* CTA buttons */
.gn-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-gn-primary {
  display: inline-block;
  background: #4F81F2 !important;
  color: #F0F7FD !important;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: var(--gn-font) !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  text-decoration: none !important;
}

.btn-gn-primary:hover {
  background: #3B6FE2 !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(79, 129, 242, 0.35);
  color: #F0F7FD !important;
}

.btn-gn-outline {
  display: inline-block;
  background: #9ECCF2 !important;
  color: #1C1C4D !important;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: var(--gn-font) !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  border: none !important;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  text-decoration: none !important;
}

.btn-gn-outline:hover {
  background: #b8dcf5 !important;
  color: #1C1C4D !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(158, 204, 242, 0.35);
}

/* -------------------------------------------------------------------------
   "Your Money, Your World" Banner Section
   ------------------------------------------------------------------------- */
#your-world {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

#your-world .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, rgba(10, 14, 39, 0.1) 0%, rgba(10, 14, 39, 0.3) 100%);
}

#your-world .glass-card {
  background: var(--gn-glass-bg) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--gn-glass-border) !important;
  border-radius: var(--gn-radius);
  padding: 48px;
  max-width: 600px;
  text-align: center;
}

#your-world .glass-card h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 16px;
  font-weight: 700;
}

#your-world .glass-card p {
  font-size: 14px;
  color: var(--gn-text-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

#your-world .glass-card .disclaimer {
  font-size: 11px;
  color: var(--gn-text-dim);
}

@media (max-width: 767px) {
  #your-world .banner-image {
    height: 100%;
  }
  #your-world .glass-card {
    margin: 0 16px;
    padding: 32px 24px;
  }
}

/* -------------------------------------------------------------------------
   "Globally, smooth, user-friendly" — Account Types
   ------------------------------------------------------------------------- */
#account-types {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: visible;
}

#account-types h2 {
  font-size: clamp(1.375rem, 3vw, 1.5rem);
  font-weight: 700;
  font-style: normal !important;
  margin-bottom: 48px;
  color: var(--gn-text-white);
  position: relative;
  z-index: 1;
  text-decoration: none !important;
  border-bottom: none !important;
}

#account-types h2::after,
#account-types h2::before {
  display: none !important;
}

.account-cards {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.account-card {
  background: #DFEDFA;
  border: 1px solid rgba(79, 129, 242, 0.15);
  border-radius: 16px;
  padding: 48px 32px 40px;
  width: 360px;
  min-height: 420px;
  text-align: center;
  color: #1e293b;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 40px rgba(29, 50, 223, 0.12);
  transition: transform 0.3s, box-shadow 0.3s;
}

.account-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(29, 50, 223, 0.2);
}

.account-card .icon-circle {
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.account-card .icon-circle img {
  width: 78px;
  height: 78px;
}

.account-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #3366CC !important;
  margin-bottom: 16px;
}

.account-card .tags {
  font-size: 13px;
  color: #3366CC !important;
  margin-bottom: 16px;
  line-height: 1.6;
}

.account-card p {
  font-size: 14px;
  color: #3366CC !important;
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.account-card .card-link {
  font-size: 14px;
  font-weight: 700;
  color: #3366CC !important;
  text-decoration: underline !important;
  margin-top: auto;
}

.account-card .card-link:hover {
  color: #2855B3 !important;
  text-decoration: underline;
}

/* -------------------------------------------------------------------------
   "Everything You Need" — Feature rows
   ------------------------------------------------------------------------- */
#features {
  padding: 80px 0;
}

#features > .container > h2 {
  text-align: center;
  font-size: clamp(1.375rem, 3vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 60px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 120px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reversed {
  flex-direction: row-reverse;
}

.feature-image {
  flex: 0 0 45%;
  max-width: 45%;
}

.feature-image .glass-frame {
  background: none !important;
  border: none !important;
  border-radius: 0;
  padding: 0;
  box-shadow: none !important;
}

.feature-image .glass-frame img {
  width: 100%;
  border-radius: var(--gn-radius);
  display: block;
}

.feature-content {
  flex: 1;
}

.feature-content .divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0.2), transparent);
  margin-bottom: 20px;
}

.feature-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gn-text-white) !important;
  margin-bottom: 16px;
}

.feature-content p {
  font-size: 16px;
  color: var(--gn-text-muted);
  line-height: 1.7;
  max-width: 450px;
}

@media (max-width: 767px) {
  .feature-row,
  .feature-row.reversed {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 200px;
  }

  .feature-image {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* -------------------------------------------------------------------------
   Currency / Regional Coverage Tables
   ------------------------------------------------------------------------- */
#currencies {
  padding: 60px 0 80px;
  text-align: center;
}

.currency-section {
  margin-bottom: 40px;
}

.currency-section h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--gn-text-muted);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.currency-table {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--gn-radius);
  padding: 0;
  display: inline-block;
  max-width: 700px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

.currency-table img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 575px) {
  .currency-table {
    padding: 0;
  }
}

/* -------------------------------------------------------------------------
   CTA Banner Section
   ------------------------------------------------------------------------- */
#cta-section {
  padding: 80px 0;
  text-align: center;
}

#cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 32px;
  line-height: 1.3;
}

#cta-section .disclaimer {
  font-size: 11px;
  color: var(--gn-text-muted);
  max-width: 500px;
  margin: 24px auto 0;
  line-height: 1.6;
}

/* -------------------------------------------------------------------------
   "Tailor-made Solutions" Section
   ------------------------------------------------------------------------- */
#tailor-made {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* bg-image no longer used — background-image on section instead */

#tailor-made .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, rgba(10, 14, 39, 0.2) 0%, rgba(10, 14, 39, 0.5) 100%);
}

#tailor-made .glass-card {
  background: var(--gn-glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--gn-glass-border);
  border-radius: var(--gn-radius);
  padding: 48px;
  max-width: 480px;
  text-align: center;
}

#tailor-made .glass-card h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

#tailor-made .glass-card p {
  font-size: 14px;
  color: var(--gn-text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

@media (max-width: 767px) {
  #tailor-made .bg-image {
    height: 100%;
  }
  #tailor-made .glass-card {
    margin: 0 16px;
    padding: 32px 24px;
  }
}

/* -------------------------------------------------------------------------
   Contact Us Section
   ------------------------------------------------------------------------- */
#contact-us {
  padding: 80px 0;
  background-image: url('../images/contact-bg.jpg') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

#contact-us .contact-header {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 48px;
  justify-content: flex-start;
}

#contact-us .contact-photo {
  width: auto;
  height: 280px;
  border-radius: 12px !important;
  object-fit: contain;
  border: none !important;
  box-shadow: none !important;
  background: none !important;
  padding: 0 !important;
  flex-shrink: 0;
}

#contact-us .contact-header-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

#contact-us .contact-header-text p {
  font-size: 14px;
  color: var(--gn-text-muted);
  margin-bottom: 4px;
  line-height: 1.6;
}

#contact-us .contact-header-text .disclaimer {
  font-size: 11px;
  color: var(--gn-text-dim);
  font-style: italic;
}

/* Contact form styling */
#contact-us .wpcf7 {
  max-width: 100%;
  margin: 0;
}

#contact-us .form-row {
  display: flex;
  gap: 24px;
  margin-bottom: 0;
}

#contact-us .form-group {
  flex: 1;
  margin-bottom: 20px;
}

#contact-us .form-group.full-width {
  width: 100%;
}

#contact-us label,
#contact-us .wpcf7-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--gn-text-muted);
  margin-bottom: 6px;
}

#contact-us input[type="text"],
#contact-us input[type="email"],
#contact-us textarea,
#contact-us .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance) {
  width: 100%;
  background: #F8F8F8 !important;
  border: 1px solid #1D32DF !important;
  border-radius: 4px !important;
  padding: 14px 16px !important;
  color: #1C1C4D !important;
  font-size: 14px !important;
  font-family: var(--gn-font) !important;
  transition: border-color 0.3s;
  outline: none;
}

#contact-us input[type="text"]:focus,
#contact-us input[type="email"]:focus,
#contact-us textarea:focus,
#contact-us .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance):focus {
  border-color: #4F81F2 !important;
  background: #fff !important;
}

#contact-us input::placeholder,
#contact-us textarea::placeholder {
  color: #94a3b8 !important;
}

#contact-us textarea {
  min-height: 120px;
  resize: vertical;
}

#contact-us .privacy-check {
  font-size: 12px;
  color: var(--gn-text-dim);
  margin: 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

#contact-us .privacy-check a {
  color: var(--gn-light-blue);
  text-decoration: underline;
}

/* Checkbox — strip ALL wrapper styling */
#contact-us span.wpcf7-form-control.wpcf7-acceptance,
#contact-us .wpcf7-form-control-wrap .wpcf7-acceptance,
#contact-us .wpcf7-acceptance,
#contact-us .wpcf7-acceptance span,
#contact-us .wpcf7-acceptance .wpcf7-list-item,
#contact-us .wpcf7-acceptance .wpcf7-list-item label {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-width: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  width: auto !important;
}

#contact-us .wpcf7-acceptance label {
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  font-size: 12px !important;
  color: var(--gn-text-muted) !important;
  cursor: pointer;
}

#contact-us .wpcf7-acceptance input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  background: #F8F8F8 !important;
  border: 1px solid #1D32DF !important;
  border-radius: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
  flex-shrink: 0;
}

#contact-us .wpcf7-acceptance input[type="checkbox"]:checked {
  background: #F8F8F8 !important;
  border: 1px solid #1D32DF !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") !important;
  background-size: 12px !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

#contact-us .wpcf7-list-item-label {
  font-size: 12px !important;
  color: var(--gn-text-muted) !important;
  line-height: 1.5;
}

#contact-us .wpcf7-list-item-label a {
  color: var(--gn-light-blue) !important;
  text-decoration: underline;
}

/* Hide all CF7 error messages */
#contact-us .wpcf7-response-output,
#contact-us .screen-reader-response,
.wpcf7 .screen-reader-response {
  display: none !important;
}

/* Style field validation messages as red pills */
#contact-us .wpcf7-not-valid-tip {
  display: inline-block !important;
  background: #e74c3c !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  padding: 4px 16px !important;
  border-radius: 50px !important;
  margin-top: 8px !important;
  border: none !important;
}

/* Red border on invalid fields */
#contact-us .wpcf7-not-valid {
  border-color: #e74c3c !important;
}

/* Acceptance checkbox spacing above submit */
#contact-us .wpcf7-acceptance {
  margin-bottom: 10px !important;
}

#contact-us input[type="submit"],
#contact-us .wpcf7-submit {
  background: #9ECCF2 !important;
  color: #1C1C4D !important;
  padding: 12px 32px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  font-family: var(--gn-font) !important;
  border: none !important;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--gn-font) !important;
}

#contact-us input[type="submit"]:hover,
#contact-us .wpcf7-submit:hover {
  background: #b8dcf5 !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(158, 204, 242, 0.35);
}

@media (max-width: 575px) {
  #contact-us .form-row {
    flex-direction: column;
    gap: 0;
  }

  #contact-us .contact-header {
    flex-direction: column;
    text-align: center;
  }
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
footer {
  padding: 60px 0 40px !important;
  background: linear-gradient(to bottom, transparent, rgba(10, 14, 39, 0.95)) !important;
  background-image: none !important;
  text-align: center;
}

footer .logo-footer {
  margin-bottom: 24px;
}

footer .logo-footer a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}

footer .logo-footer svg {
  height: 32px;
  width: auto;
}

footer .logo-footer .logo-name {
  font-size: 18px;
}

footer .logo-footer .logo-sub {
  font-size: 9px;
}

footer .navbar.list-inline {
  display: flex !important;
  justify-content: center;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex-wrap: nowrap;
}

footer .navbar.list-inline .menu-item a {
  color: #fff !important;
  font-size: 13px;
  font-weight: 500;
  transition: opacity 0.3s;
  text-decoration: none;
}

footer .navbar.list-inline .menu-item a:hover {
  opacity: 0.7;
}

footer .legal-text {
  max-width: 800px;
  margin: 0 auto 16px;
  font-size: 11px;
  color: var(--gn-text-dim);
  line-height: 1.7;
}

footer .legal-text strong {
  color: var(--gn-text-muted);
  font-weight: 600;
}

footer .copyright {
  font-size: 12px;
  color: var(--gn-text-dim);
  margin-top: 24px;
}

footer .wrapper {
  background: none !important;
  max-width: 900px !important;
  margin: 0 auto;
}

footer .navbar.list-inline .menu-item {
  white-space: nowrap;
}

@media (max-width: 767px) {
  footer .navbar.list-inline {
    flex-direction: column !important;
    flex-wrap: wrap !important;
    gap: 16px;
    align-items: center;
  }
}

/* -------------------------------------------------------------------------
   BG2 wrapper — shared background for account-types through CTA
   ------------------------------------------------------------------------- */
.bg2-wrapper {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* -------------------------------------------------------------------------
   Legal pages — plain content styling
   ------------------------------------------------------------------------- */
section.main {
  padding: 120px 0 80px;
}

section.main h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--gn-text-white);
}

section.main h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 12px;
  color: var(--gn-text-white);
}

section.main p {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: var(--gn-text-muted) !important;
  line-height: 1.8;
  margin-bottom: 12px;
}

section.main a {
  color: var(--gn-light-blue) !important;
  text-decoration: underline;
}

section.main ul {
  color: var(--gn-text-muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 24px;
}

section.main li {
  margin-bottom: 4px;
  color: var(--gn-text-muted) !important;
}

section.main strong {
  color: var(--gn-text-white) !important;
  font-weight: 700;
}

section.main h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--gn-text-white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* -------------------------------------------------------------------------
   Fee Table Modal
   ------------------------------------------------------------------------- */
.gn-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gn-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 14, 39, 0.8);
  backdrop-filter: blur(8px);
}

.gn-modal-content {
  position: relative;
  background: var(--gn-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 48px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.gn-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--gn-text-muted);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.gn-modal-close:hover {
  color: var(--gn-text-white);
}

.gn-modal-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.gn-modal-content p {
  font-size: 14px;
  margin-bottom: 16px;
}

.gn-modal-content p:last-of-type {
  margin-bottom: 0;
}

.gn-modal-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

@media (max-width: 480px) {
  .gn-modal-content {
    padding: 32px 24px;
  }
  .gn-modal-buttons {
    flex-direction: column;
  }
}

/* -------------------------------------------------------------------------
   Scroll to top
   ------------------------------------------------------------------------- */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: #1c1c4db3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
}

.scroll-to-top.--is-visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top svg {
  width: 18px;
  height: auto;
}

.scroll-to-top svg path {
  stroke: #fff !important;
}

.scroll-to-top:hover {
  background: #1c1c4d;
  transform: translateY(-2px);
}

/* -------------------------------------------------------------------------
   Utility: geometric decorative shapes
   ------------------------------------------------------------------------- */
.gn-geo-shape {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--gn-radius-lg);
  pointer-events: none;
}

/* -------------------------------------------------------------------------
   Animations
   ------------------------------------------------------------------------- */
/* Hide elements before animation triggers */
[data-animation] {
  opacity: 0;
}

/* Animation keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp50 {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* When animated class is added by IntersectionObserver */
[data-animation].animated {
  animation-duration: 0.6s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-animation].animated.fadeIn {
  animation-name: fadeIn;
}

[data-animation].animated.fadeInUp,
.animate-in.animated {
  animation-name: fadeInUp;
}

[data-animation].animated.slideInUp50 {
  animation-name: slideInUp50;
}

.animate-in {
  opacity: 0;
  transform: translateY(30px);
}

/* -------------------------------------------------------------------------
   Responsive adjustments
   ------------------------------------------------------------------------- */
@media (max-width: 767px) {
  #hero {
    padding: 120px 20px 60px;
  }

  #hero h1 {
    font-size: 2rem;
  }

  #account-types {
    padding: 60px 0;
  }

  .account-card {
    width: 100%;
    max-width: 340px;
  }

  #features {
    padding: 60px 0;
  }

  #features > .container > h2 {
    margin-bottom: 40px;
  }

  .feature-row {
    margin-bottom: 60px;
  }
}
