/*
Theme Name: SharesMint Theme
Theme URI: https://sharesmint.com/
Author: OpenAI
Author URI: https://openai.com/
Description: A modern, editable WordPress theme for SharesMint with a clean fintech look, optional landing page template, and full WordPress menu/logo support.
Version: 0.1.3
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sharesmint-theme
Tags: custom-logo, custom-menu, featured-images, one-column, two-columns, block-styles, editor-style
*/

:root {
  --sm-bg: #08131f;
  --sm-bg-soft: #0d1b2b;
  --sm-surface: #102235;
  --sm-surface-2: #152b42;
  --sm-border: rgba(255,255,255,0.1);
  --sm-text: #edf4ff;
  --sm-text-soft: #b9c8dc;
  --sm-heading: #ffffff;
  --sm-accent: #29d4ff;
  --sm-accent-2: #7c5cff;
  --sm-success: #31d0aa;
  --sm-warning: #ffcb57;
  --sm-shadow: 0 16px 45px rgba(0,0,0,.25);
  --sm-radius: 22px;
  --sm-radius-sm: 16px;
  --sm-max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(41,212,255,.15), transparent 34%),
    radial-gradient(circle at top right, rgba(124,92,255,.16), transparent 28%),
    linear-gradient(180deg, #07111a 0%, #0b1624 52%, #0a1520 100%);
  color: var(--sm-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }
a { color: var(--sm-accent); text-decoration: none; }
a:hover { opacity: .92; }

.site-wrap { min-height: 100vh; }
.container {
  width: min(100% - 32px, var(--sm-max));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 9999;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  border-radius: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  backdrop-filter: blur(14px);
  background: rgba(7, 17, 26, 0.72);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
}

.branding {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.branding img {
  max-height: 42px;
  width: auto;
}
.branding-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.site-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.site-title a { color: #fff; }
.site-tagline {
  margin: 0;
  color: var(--sm-text-soft);
  font-size: .9rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--sm-border);
  background: rgba(255,255,255,.03);
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
}

.primary-menu,
.footer-menu {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: wrap;
}
.primary-menu a,
.footer-menu a,
.site-nav .menu a {
  color: var(--sm-text);
  font-weight: 600;
}
.site-nav .menu {
  display: flex;
  align-items: center;
}
.site-nav .menu > ul,
.site-nav .menu ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.button,
.wp-element-button,
input[type="submit"],
button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 13px 20px;
  font-weight: 700;
  line-height: 1.1;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.button:hover,
.wp-element-button:hover,
input[type="submit"]:hover,
button:hover,
.wp-block-button__link:hover {
  transform: translateY(-1px);
}
.button-primary,
.wp-element-button,
.wp-block-button__link,
input[type="submit"] {
  color: #07111a;
  background: linear-gradient(135deg, var(--sm-accent), #8ef0ff);
  box-shadow: 0 10px 30px rgba(41,212,255,.25);
}
.button-secondary {
  color: #fff;
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.16);
}
.button-tertiary {
  color: #fff;
  background: linear-gradient(135deg, rgba(124,92,255,.3), rgba(41,212,255,.18));
  border-color: rgba(255,255,255,.1);
}

.hero {
  padding: 72px 0 54px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 34px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--sm-text-soft);
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 700;
}
.hero h1,
.section-title,
.entry-title {
  color: var(--sm-heading);
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.3rem, 5vw, 4.65rem);
}
.hero p {
  color: var(--sm-text-soft);
  font-size: 1.08rem;
  max-width: 62ch;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 26px 0 14px;
}
.hero-note {
  color: #9db0c7;
  margin: 0;
}

.dashboard-card,
.surface,
.card,
.tier-card,
.promo-card,
.post-card,
.widget,
.wp-block-group.is-style-sm-surface {
  background: linear-gradient(180deg, rgba(18,34,53,.88), rgba(10,24,39,.95));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow);
}
.dashboard-card {
  padding: 22px;
}
.dashboard-stack {
  display: grid;
  gap: 18px;
}
.dashboard-mini {
  padding: 18px;
  border-radius: var(--sm-radius-sm);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
}
.dashboard-mini h3,
.card h3,
.tier-card h3,
.promo-card h3,
.widget-title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.1rem;
}
.dashboard-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--sm-text-soft);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.dashboard-line:last-child { border-bottom: 0; }
.dashboard-pill,
.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
  color: #fff;
  background: rgba(49,208,170,.18);
  border: 1px solid rgba(49,208,170,.28);
}
.badge-purple {
  background: rgba(124,92,255,.18);
  border-color: rgba(124,92,255,.3);
}
.badge-blue {
  background: rgba(41,212,255,.18);
  border-color: rgba(41,212,255,.3);
}

.section {
  padding: 28px 0 30px;
}
.section-header {
  max-width: 760px;
  margin-bottom: 24px;
}
.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 3vw, 3rem);
}
.section-copy {
  margin: 0;
  color: var(--sm-text-soft);
}

.grid-3,
.grid-2,
.feature-grid,
.tier-grid,
.promo-grid,
.stats-grid,
.posts-grid {
  display: grid;
  gap: 18px;
}
.grid-3,
.feature-grid,
.stats-grid,
.posts-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-2,
.tier-grid,
.promo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card,
.tier-card,
.promo-card,
.post-card {
  padding: 24px;
}
.card p,
.tier-card p,
.promo-card p,
.post-card p,
.entry-content,
.entry-content p,
.entry-summary {
  color: var(--sm-text-soft);
}
.card ul,
.tier-card ul,
.promo-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--sm-text-soft);
}
.card li,
.tier-card li,
.promo-card li { margin-bottom: 8px; }

.metric {
  padding: 18px 20px;
}
.metric-value {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.metric-label {
  color: var(--sm-text-soft);
  font-weight: 700;
}

.workflow-step {
  position: relative;
  padding-left: 70px;
}
.workflow-step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #07111a;
  background: linear-gradient(135deg, var(--sm-accent), #9ff3ff);
}

.comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.comparison .card ul { list-style: none; padding: 0; }
.comparison .card li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.comparison .card li:last-child { border-bottom: 0; }

.cta-band {
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.cta-band p { margin: 0; color: var(--sm-text-soft); }

.site-content {
  padding: 32px 0 56px;
}
.entry-header { margin-bottom: 18px; }
.entry-title { font-size: clamp(2rem, 4vw, 3.4rem); margin: 0; }
.entry-meta { color: var(--sm-text-soft); font-size: .95rem; }
.entry-content { max-width: 820px; }
.entry-content h2,
.entry-content h3,
.entry-content h4,
.comments-title { color: #fff; }
.entry-content a { color: var(--sm-accent); }
.entry-content blockquote {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--sm-accent);
  background: rgba(255,255,255,.04);
  border-radius: 14px;
}
.entry-content code,
.entry-content pre {
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
}
.entry-content pre { padding: 16px; overflow: auto; }

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="password"],
textarea,
select {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  color: #fff;
  padding: 13px 14px;
}
label { display: block; margin-bottom: 8px; font-weight: 700; color: #fff; }

.site-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(7,17,26,.76);
  padding: 30px 0 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-copy {
  color: var(--sm-text-soft);
  font-size: .95rem;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .feature-grid,
  .tier-grid,
  .promo-grid,
  .comparison,
  .stats-grid,
  .posts-grid {
    grid-template-columns: 1fr;
  }
  .site-header-inner {
    min-height: 72px;
  }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px 20px;
    background: rgba(8, 19, 31, 0.97);
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .site-nav.open { display: flex; }
  .site-nav .menu,
  .site-nav .menu > ul,
  .site-nav .menu ul {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}




/* MachoThemes credit styling override */
.sharesmint-machothemes-credit,
.sharesmint-machothemes-credit *,
a.sharesmint-machothemes-credit-link {
  color: #000 !important;
  fill: #000 !important;
  text-shadow: none !important;
}
