/* ==========================================================================
   Syndicate Official Website Stylesheet
   Theme: Green, Black, and White (Branded Minimalism - Dark Version)
   ========================================================================== */

:root {
  --bg-main: #0B0C0E;
  --bg-card: #121418;
  --bg-nested: #171A21;
  --border-color: #202329;
  --border-focus: #2D333F;
  --text-main: #F8FAFC;
  --text-heading: #FFFFFF;
  --text-muted: #CBD5E1;
  --color-green: #059669;
  --color-green-hover: #047857;
  --color-green-light: #10B981;
  --color-green-glow: rgba(5, 150, 105, 0.15);
  
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', var(--font-sans);
}

/* Reset & Base Rules */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--text-heading);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Layout Utilities */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

/* Glass Header Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background-color: rgba(11, 12, 14, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
}

header .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-heading);
}

.logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border-focus);
}

.logo span {
  color: var(--color-green);
}

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

nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

nav a:hover {
  color: var(--text-heading);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--color-green);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}

.btn-primary:hover {
  background-color: var(--color-green-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-focus);
}

.btn-secondary:hover {
  background-color: var(--bg-card);
  border-color: var(--text-muted);
}

.btn-large {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 12px;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding-top: 160px;
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, var(--color-green-glow) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}

.badge-tag {
  display: inline-block;
  padding: 6px 14px;
  background-color: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.25);
  color: var(--color-green-light);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 68px;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-title span.highlight {
  color: var(--color-green-light);
  text-shadow: 0 0 35px rgba(16, 185, 129, 0.45);
  white-space: nowrap;
}

.hero-subtitle {
  font-size: 20px;
  max-width: 650px;
  margin: 0 auto 40px auto;
  color: #CBD5E1;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Feature Section */
.section-title-wrapper {
  margin-bottom: 60px;
}

.section-title {
  font-size: 36px;
  margin-bottom: 12px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--color-green-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(5, 150, 105, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-green-light);
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.5;
}

/* Interactive Calculator Widget */
.calc-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.input-label-row label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.input-value {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
}

/* Range Slider Custom Styling */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--bg-nested);
  border-radius: 3px;
  outline: none;
  border: 1px solid var(--border-color);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-green-light);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
  transition: transform 0.1s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.mode-selector {
  display: flex;
  background-color: var(--bg-nested);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 4px;
}

.mode-btn {
  flex: 1;
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mode-btn.active {
  background-color: var(--bg-card);
  color: var(--text-heading);
  border: 1px solid var(--border-color);
}

.calc-results {
  background-color: var(--bg-nested);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-results h4 {
  font-size: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.partner-payout-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.partner-payout-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.partner-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.partner-name {
  font-weight: 600;
}

.partner-share-info {
  color: var(--text-muted);
}

.partner-bar-track {
  height: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.partner-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.partner-bar-fill.stocks {
  background-color: var(--text-heading);
}

.partner-bar-fill.profit {
  background-color: var(--color-green-light);
}

.partner-total-payout {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}

.partner-total-payout span.payout-green {
  color: var(--color-green-light);
}

/* Call To Action Section */
.cta-section {
  position: relative;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-green-glow) 0%, transparent 65%);
  filter: blur(50px);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: 40px;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 16px;
  margin-bottom: 32px;
}

/* Contact Section */
.contact-section {
  background-color: var(--bg-nested);
  border-top: 1px solid var(--border-color);
}

.contact-card {
  max-width: 980px;
  padding: 48px;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(5, 150, 105, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.contact-card .section-title {
  margin: 18px 0 12px;
  font-size: 32px;
}

.contact-card p {
  max-width: 600px;
}

.contact-button {
  flex-shrink: 0;
  white-space: nowrap;
}

/* Footer Section */
footer {
  background-color: var(--bg-main);
  padding: 48px 0;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text-heading);
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a:hover {
  color: var(--text-heading);
}

/* Responsive Rules */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .calc-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 24px;
  }
  
  .hero-title {
    font-size: 42px;
  }

  .contact-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  
  header nav {
    display: none; /* simple burger placeholder or hide for mobile web client minimalism */
  }
  
  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .contact-card {
    padding: 30px 24px;
  }

  .contact-card .section-title {
    font-size: 26px;
  }

  .contact-button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}
