/* ================================
   Tim Warren Trading — Global Styles
   Palette (Dark Blue + Teal)
   ================================ */
:root{
  /* Colors */
  --bg: #0b1220;            /* deep navy page background */
  --surface: #0f1a2b;       /* cards/section background */
  --header: #0a1322;        /* navbar background */
  --text: #e6edf7;          /* primary text */
  --muted: #a6b3c5;         /* secondary text */
  --border: #1c2a45;        /* borders/dividers */
  --accent: #22d3ee;        /* teal (primary brand) */
  --accent-strong: #0ea5b7; /* teal hover */
  --accent-ink: #062d34;    /* teal on-ink states */
  --shadow: 0 10px 30px rgba(6, 20, 36, 0.35);
}


/* ===== Reset & Base ===== */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0 0 16px; line-height: 1.25; }
p { margin: 0 0 14px; color: var(--text); }
ul { margin: 0 0 14px 22px; }

/* ===== Layout ===== */
.container { max-width: 1050px; margin: 0 auto; padding: 48px 20px; }
section { margin-bottom: 56px; background: transparent; }

/* ===== Navbar (sticky) ===== */
header{
  background: var(--header);
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px; border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.logo{
  font-weight: 800; letter-spacing: .2px; font-size: 1.35rem;
  color: var(--accent);
}
nav ul{
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 22px; flex-wrap: wrap;
}
nav a{ color: #d9e4f5; font-weight: 600; opacity: .9; }
nav a:hover, nav a.active{ color: var(--accent); opacity: 1; }

/* ===== Hero ===== */
.hero{
  text-align: center;
  padding: 96px 20px 72px;
  background: radial-gradient(1200px 500px at 50% -10%, #11203b 0%, transparent 60%),
              linear-gradient(180deg, #0b1426 0%, #0f1e33 100%);
  border-bottom: 1px solid var(--border);
}
.hero h1{
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  color: var(--accent);
  text-shadow: 0 2px 24px rgba(34,211,238,.25);
}
.hero p{
  font-size: clamp(1.05rem, 1.2vw, 1.15rem);
  color: var(--muted);
  max-width: 760px; margin: 18px auto 28px;
}
.cta-buttons a{
  display: inline-block;
  margin: 10px; padding: 12px 22px;
  background: var(--accent);
  color: #062024; /* dark ink on teal */
  border-radius: 10px; font-weight: 800;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.cta-buttons a:hover{
  background: var(--accent-strong);
  transform: translateY(-1px);
}

/* ===== Section styling (About, Content, Services, Support) ===== */
.container h1, .container h2{
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
}
.container{
  background: linear-gradient(180deg, transparent, transparent);
}
.container > * + * { margin-top: 10px; }
ul li { margin-bottom: 8px; color: #d8e5f7; }

/* ===== Forms (Support page) ===== */
form { max-width: 560px; }
input, textarea, button{
  font: inherit; color: var(--text);
}
input, textarea{
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border .15s ease, box-shadow .15s ease, background .15s ease;
}
input::placeholder, textarea::placeholder{ color: #8fa0b8; }
input:focus, textarea:focus{
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34,211,238,.18);
}
button{
  background: var(--accent);
  color: #062024;
  border: 0; border-radius: 10px;
  padding: 12px 18px; font-weight: 800; cursor: pointer;
  box-shadow: var(--shadow);
}
button:hover{ background: var(--accent-strong); }
button:focus-visible{ outline: 3px solid rgba(34,211,238,.35); outline-offset: 2px; }

/* ===== Footer ===== */
footer{
  text-align: center;
  padding: 28px 20px;
  background: var(--header);
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* ===== Responsive tweaks ===== */
@media (max-width: 680px){
  header{ padding: 12px 16px; }
  nav ul{ gap: 14px; }
  .hero{ padding: 78px 16px 64px; }
  .container{ padding: 36px 16px; }
}
/* ===== Video (responsive 16:9) ===== */
.video-section h2{
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  margin-bottom: 16px;
  color: var(--accent);
}
.video-wrapper{
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-wrapper iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* ===== Full Video Section ===== */
.video-full {
  padding: 60px 20px;
  background: var(--surface);C
  text-align: center;
}

.video-full h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  margin-bottom: 20px;
  color: var(--accent);
  font-weight: 600;
}

.video-full .video-wrapper {
  max-width: 900px;   /* wider video container */
  margin: 0 auto;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-full .video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.video-full {
  padding: 80px 20px;      /* more breathing room */
  background: var(--surface);
  text-align: center;
}

.video-full h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 24px;
  color: var(--accent);
  font-weight: 700;
}

.video-full .video-wrapper {
  max-width: 1200px;       /* much wider video container */
  margin: 0 auto;
  position: relative;
  padding-bottom: 56.25%;  /* 16:9 ratio */
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-full .video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* ===== About Section ===== */
.about-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
}

.about-image img {
  width: 300px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.about-content {
  max-width: 700px;
}

.about-content h1 {
  font-size: clamp(2rem, 2.5vw, 2.5rem);
  margin-bottom: 16px;
  color: var(--accent);
}

.about-content h2 {
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--accent);
}

.about-content p, .about-content ul {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.about-content ul {
  padding-left: 20px;
}
.about-image {
  text-align: center;
  margin-bottom: 30px;
}

.about-image img {
  width: 250px;
  border-radius: 50%;
  box-shadow: var(--shadow);
}
/* ===== Testimonials Section ===== */
.testimonials {
  padding: 60px 20px;
  background: var(--surface);
  text-align: center;
}

.testimonials h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  color: var(--accent);
  margin-bottom: 40px;
  font-weight: 600;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card p {
  font-size: 1rem;
  margin-bottom: 15px;
  line-height: 1.5;
}

.testimonial-card span {
  display: block;
  font-weight: bold;
  color: var(--accent);
  font-size: 0.9rem;
}
.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}
.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}
/* ===== Testimonials Section ===== */
.testimonials {
  padding: 60px 20px;
  background: var(--surface);
  text-align: center;
}

.testimonials h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  margin-bottom: 40px;
  color: var(--accent);
  font-weight: 600;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
}

.testimonial-card {
  background: rgba(0, 0, 0, 0.4);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  text-align: center;
}

.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 12px;
  color: var(--text);
}

.testimonial-card span {
  font-weight: bold;
  color: var(--accent);
}
/* ===== Services Section ===== */
.services-section {
  padding: 60px 20px;
  text-align: center;
}

.services-section h1 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 15px;
  color: var(--accent);
}

.services-section p {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: var(--text);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--accent);
}

.service-card p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.service-card .btn {
  display: inline-block;
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.service-card .btn:hover {
  background: var(--primary);
}

/* Coming Soon cards */
.coming-soon {
  position: relative;
  opacity: 0.8;
}

.coming-soon .tag {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  font-size: 0.9rem;
  font-weight: bold;
  background: #ff9800;
  color: #fff;
  border-radius: 20px;
}
.crypto-prices {
  background: var(--surface);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
}
.crypto-prices h2 {
  color: var(--accent);
  margin-bottom: 20px;
}
/* ===== Market Overview ===== */
.market-overview {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 30px 0;
  background: var(--surface);
  border-radius: 10px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.metric {
  flex: 1;
  text-align: center;
}

.metric h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--accent);
}

.metric p {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--text);
}

.metric small {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
}

.fg-gauge {
  background: conic-gradient(
    red 0 33%, 
    orange 33% 66%, 
    green 66% 100%
  );
  border-radius: 50%;
  width: 70px;
  height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fg-value {
  background: var(--bg);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--text);
}
/* ===== Stats Grid ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.stat-card {
  background: var(--surface);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-card h3 {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.stat-card p {
  font-size: 1.4rem;
  font-weight: bold;
}

.stat-card span {
  display: block;
  font-size: 0.9rem;
  margin-top: 4px;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 20px 0 40px;
}

.metric-card {
  background: var(--surface);
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow);
}

.metric-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--accent);
}

.metric-card p {
  font-size: 1.4rem;
  font-weight: bold;
}
/* ===== Stats Grid ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.stat-box {
  background: var(--surface, #0d1b2a); /* matches your dark blue theme */
  border: 1px solid var(--border, #1e293b);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  color: #fff;
  font-size: 1.1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.stat-box div:first-child {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 8px;
}
/* ===== Stats Grid ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.stat-card {
  background: var(--surface, #0d1b2a); /* dark blue background */
  border: 1px solid var(--border, #1e293b);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.stat-card h3 {
  font-size: 1rem;
  color: var(--accent, #0dcaf0); /* teal label */
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-card p {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0;
}

.stat-card span {
  display: block;
  margin-top: 6px;
  font-size: 0.9rem;
}
/* About Page Styles */
.about h2, .about h3 {
  color: var(--accent);   /* teal from your palette */
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
}

.about p {
  color: var(--text);    /* light gray/white from your palette */
  line-height: 1.6;
  margin-bottom: 15px;
}

.about ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.about ul li {
  color: var(--text);
  margin-bottom: 8px;
}

.about ul li strong {
  color: var(--accent);   /* teal for key words */
}
/* ===== About Page Styling ===== */
.about h2, 
.about h3 {
  color: var(--accent);     /* uses the teal accent already defined */
  font-weight: bold;
  margin-top: 25px;
  margin-bottom: 10px;
}

.about p {
  color: var(--text);       /* default text color (white/light gray) */
  line-height: 1.6;
  margin-bottom: 15px;
}

.about ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.about ul li {
  color: var(--text);
  margin-bottom: 10px;
}

.about ul li strong {
  color: var(--accent);     /* highlight keywords in teal */
}
