/* PlasmaTide Invest – Style.css */

/* RESET & BASE TYPOGRAPHY */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #181C34;
  color: #F5F6F7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #75f3e6;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #10fcb1;
}
ul, ol {
  padding-left: 1.4em;
  margin-bottom: 1em;
}
li + li {
  margin-top: 0.5em;
}
strong {
  color: #e1c57e;
}

/* TYPOGRAPHY HIERARCHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  text-transform: none;
  font-weight: 700;
  color: #F5F6F7;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 24px #0ef9ff52;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 8px;
  color: #B7A170;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  color: #C1F0FA;
  margin-bottom: 24px;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* HERO STYLES */
.hero {
  background: linear-gradient(135deg, #293159 60%, #182a69 100%);
  box-shadow: 0 4px 40px #0b1d3859;
  border-radius: 0 0 40px 40px;
  padding: 64px 0 40px 0;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
}
.hero h1 {
  color: #fff;
  text-shadow: 0 4px 24px #10fcb175;
}

/* NAVIGATION & LOGO */
header {
  background: rgba(24, 28, 52, 0.95);
  box-shadow: 0 2px 20px #161A3266;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 0;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 18px;
  padding: 12px 0;
}
.logo img {
  height: 42px;
  width: auto;
  user-select: none;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1rem;
  color: #F5F6F7;
  transition: color 0.19s;
  position: relative;
  padding: 8px 0;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #10fcb1;
  border-radius: 1px;
  transition: width 0.18s;
  position: absolute;
  bottom: 0;
  left: 0;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 100%;
}
.main-nav a:hover, .main-nav a:focus {
  color: #10fcb1;
}

/* CTA BUTTON */
.cta-button {
  background: linear-gradient(92deg, #10fcb1 15%, #08e7f7 85%);
  color: #141730;
  border: none;
  border-radius: 12px;
  padding: 13px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 14px 0 #10fcb171;
  cursor: pointer;
  outline: none;
  margin-left: 26px;
  transition: background 0.22s, box-shadow 0.22s, color 0.13s;
  text-shadow: 0 1px 0 #d1ffe5a5;
  display: inline-block;
  position: relative;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(92deg, #17ffd2 12%, #5ef3fa 90%);
  box-shadow: 0 4px 18px 0 #10fcb132;
  color: #080e13;
}

/* BURGER MENU (MOBILE) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #10fcb1;
  cursor: pointer;
  margin-left: 24px;
  z-index: 201;
  transition: color 0.19s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #b7a170;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 92vw;
  max-width: 378px;
  height: 100vh;
  background: #181C34;
  box-shadow: -4px 0 30px #181C3480;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.85, 0, 0.15, 1);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #10fcb1;
  padding: 24px 28px 12px 0;
  cursor: pointer;
  transition: color 0.13s;
}
.mobile-menu-close:focus {
  outline: 2px solid #b7a170;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 48px 24px;
}
.mobile-nav a {
  color: #F5F6F7;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 6px;
  border-radius: 6px;
  transition: color 0.17s, background 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #10fcb1;
  background: #23284c;
}

/* Hide main nav & show burger on small screens */
@media (max-width: 1024px) {
  .main-nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none;
  }
}

/* MAIN SECTIONS & SPACING */
section {
  border-radius: 24px;
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(35, 40, 76, 0.86);
  box-shadow: 0 2px 20px 0 #10fcb113;
  position: relative;
  transition: box-shadow 0.18s, background 0.27s;
}

section.hero {
  background: linear-gradient(135deg, #293159 74%, #110430 130%);
  margin-bottom: 60px;
  box-shadow: 0 10px 34px #10fcb111, 0 1px 60px #00eaf255;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  flex: 1 1 260px;
  padding: 28px 24px;
  border-radius: 18px;
  background: #222852;
  box-shadow: 0 2px 20px #0ef9ff0e;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.18s, transform 0.21s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px #10fcb175, 0 1px 24px #8afaff47;
  transform: translateY(-5px) scale(1.01);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section, .content-grid, .card-container {
    flex-direction: column !important;
    gap: 18px;
    align-items: stretch;
  }
  section, .section {
    padding: 32px 8px;
  }
  .footer-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
}

.feature-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 350px;
  background: #1b223b;
  box-shadow: 0 2px 14px 0 #10fcb116;
  border-radius: 16px;
  padding: 28px 20px 20px 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.21s, background 0.18s;
}
.feature-item img {
  width: 48px;
  height: 48px;
}
.feature-item h3 {
  color: #10fcb1;
}
.feature-item p {
  color: #f1ecfa;
}
.feature-item:hover, .feature-item:focus-within {
  background: #212859;
  box-shadow: 0 0 0 2px #56f8be, 0 8px 32px #10fcb132;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 12px;
}
.service-list li {
  display: flex;
  flex-direction: column;
  background: #131831;
  border-left: 4px solid #10fcb1;
  border-radius: 10px;
  padding: 16px 18px 18px 22px;
  margin-bottom: 12px;
  transition: box-shadow 0.13s, border-color 0.17s;
  box-shadow: 0 2px 7px #10fcb10b;
}
.service-list li a {
  color: #B7A170;
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.service-list li:hover {
  box-shadow: 0 4px 16px #10fcb140;
  border-color: #08e7f7;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}
.contact-info-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #f5f6f7;
  font-size: 1.08rem;
}
.contact-info-list img {
  width: 24px;
  height: 24px;
  filter: brightness(1.8);
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #f7fafb;
  color: #181C34;
  border-left: 4px solid #10fcb1;
  border-radius: 16px;
  padding: 24px 32px 22px 26px;
  margin-bottom: 26px;
  box-shadow: 0 2px 20px #10fcb118;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: box-shadow 0.19s, border-color 0.15s;
}
.testimonial-card blockquote {
  font-size: 1.15rem;
  font-style: italic;
  margin-bottom: 8px;
  color: #181C34;
}
.testimonial-card cite {
  color: #293159;
  font-size: 0.99rem;
  opacity: 0.88;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px #10fcb175, 0 0 0 1.5px #10fcb1;
}

/* LISTS, UL, OL */
ul li, ol li {
  margin-bottom: 0.5em;
  color: #D9E8F5;
}
ul li strong, ol li strong {
  color: #B7A170;
}

/* FOOTER */
footer {
  width: 100%;
  background: linear-gradient(135deg, #23294A 80%, #101748 150%);
  color: #F5F6F7;
  padding: 38px 0 0 0;
  margin-top: 60px;
}
.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}
.footer-logo img {
  width: 58px;
  height: auto;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 140px;
}
.footer-menu a {
  color: #C1F0FA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  transition: color 0.22s;
}
.footer-menu a:hover {
  color: #10fcb1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #F5F6F7;
  font-size: 1rem;
}
.footer-title {
  color: #B7A170;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 7px;
}
.footer-contact img {
  display: inline-block;
  width: 18px;
  margin-right: 7px;
  vertical-align: middle;
  filter: brightness(2.5);
}
.footer-meta {
  margin-top: 44px;
  padding-bottom: 26px;
  color: #9bb8cf;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  text-align: center;
}

/* MICRO-INTERACTIONS & TRANSITIONS */
button, .cta-button, a {
  transition: color 0.18s, background 0.18s, box-shadow 0.18s, border-color 0.15s;
}

/* SCROLLBAR FOR DARK MODE */
body {
  scrollbar-color: #10fcb1 #181C34;
  scrollbar-width: thin;
}
body::-webkit-scrollbar {
  width: 10px;
  background: #181C34;
}
body::-webkit-scrollbar-thumb {
  background: #10fcb1;
  border-radius: 3px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.27rem; }
  .container {
    padding: 0 8px;
  }
  section, .section {
    padding: 24px 2px;
    margin-bottom: 30px;
    border-radius: 16px;
  }
  .hero {
    padding: 46px 0 28px 0;
    border-radius: 0 0 24px 24px;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .testimonial-card {
    padding: 17px 10px 18px 14px;
    font-size: 1rem;
  }
  .service-list li {
    padding: 10px 10px 10px 14px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #23294A;
  color: #F5F6F7;
  padding: 20px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -1px 18px #14173080;
  z-index: 5000;
  gap: 18px;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s, opacity 0.22s;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner p {
  font-size: 1rem;
  margin-bottom: 7px;
}
.cookie-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.cookie-btn {
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin: 2px 0;
  transition: background 0.17s, color 0.19s, box-shadow 0.15s;
}
.cookie-btn.accept {
  background: #10fcb1;
  color: #181C34;
  box-shadow: 0 2px 10px #10fcb155;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #12f0b5;
  color: #181C34;
}
.cookie-btn.reject {
  background: #23294A;
  color: #F5F6F7;
  border: 1px solid #10fcb1;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #1b223b;
  color: #10fcb1;
}
.cookie-btn.settings {
  background: none;
  color: #C1F0FA;
  border: 1px solid #10fcb1;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #10fcb1;
  color: #141730;
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(24,28,52,0.68);
  z-index: 5015;
  justify-content: center;
  align-items: center;
}
.cookie-modal-backdrop.open {
  display: flex;
}
.cookie-modal {
  background: #23294A;
  color: #f5f6f7;
  padding: 34px 28px 22px 28px;
  border-radius: 18px;
  box-shadow: 0 8px 44px #10fcb15a, 0 1px 80px #23294A40;
  max-width: 400px;
  width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: fadeInModal 0.35s cubic-bezier(.45,.87,.56,1);
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  font-size: 1.18rem;
  color: #10fcb1;
}
.cookie-modal .cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 10px;
}
.cookie-modal .category-label {
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-switch {
  accent-color: #10fcb1;
  width: 22px;
  height: 22px;
}
.cookie-modal .cookie-category .always-on {
  color: #b7a170;
  font-size: 0.98rem;
  margin-left: 4px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #10fcb1;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal .close-cookie-modal:hover {
  color: #B7A170;
}

/* Z-INDEX SAFETY FOR OVERLAYS & MENUS */
.mobile-menu, .cookie-banner, .cookie-modal-backdrop, .cookie-modal {
  z-index: 5000;
}

/* SCROLL LOCK FOR BODIES WITH MODALS OPEN */
body.modal-open {
  overflow: hidden;
}

/* ACCESSIBILITY: FOCUS STATES */
a:focus, button:focus, .cta-button:focus, .cookie-btn:focus {
  outline: 2px solid #b7a170;
  outline-offset: 2px;
}

/* VISUAL EFFECTS: NEON LINES */
hr, .line {
  border: none;
  height: 2px;
  border-radius: 1px;
  background: #10fcb1;
  box-shadow: 0 0 8px #10fcb1aa;
  margin: 36px 0;
}

/* SECTION GAP ENFORCEMENT */
section + section {
  margin-top: 36px;
}

/* Ensure no overflow for cards and sections on all screens */
.card, .section, section, .content-wrapper, .testimonial-card, .feature-item, .service-list li {
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Hide scroll on mobile menu open */
body.menu-open {
  overflow: hidden;
}
