/*
Theme Name: Seven Figure Developer
Theme URI: https://sevenfiguredeveloper.com/
Author: Nage GFX
Author URI: https://sevenfiguredeveloper.com/
Description: Custom landing page theme based on a pre-launch design.
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800&display=swap');

:root {
  --green: #21f06e;
  --white: #fff;
  --grey-bg: #222;
  --input-bg: #464646;
  --border: #21f06e;
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: #000;
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  scroll-behavior: smooth;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  align-items: center;
  justify-content: start;
}
main {
  max-width: 701px;
  width: 95%;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 50px;
  box-sizing: border-box;
}
h1, h2, h3 {
  font-weight: 700;
  margin: 0 0 12px 0;
}
h1 {
  font-size: 2em;
  margin-top: 40px;
  line-height: 1.2;
}
.subtitle {
  font-style: italic;
  color: var(--green);
  font-size: 1.2em;
  margin-bottom: 28px;
  margin-top:5px;
  letter-spacing: 1px;
}
/* ─────────────────────────────────────────────
   QUOTE BLOCK  – anchors “ ” to the first line
   ───────────────────────────────────────────── */
.quote{
  position:relative;
  margin:25px auto 18px;
  padding:0 2.2em;                 /* room for the glyphs */
  font-size:1em;
  line-height:1.45;
  text-align:center;
}

/* ─────────────────────────────────────────
   QUOTE – baseline-aligned & tighter
   ───────────────────────────────────────── */
.quote{
  position:relative;
  margin:25px auto 18px;
  padding:0 0.8em;          /* tighter side space */
  font-size:1em;
  line-height:1.45;
  text-align:center;
}

.quote::before,
.quote::after{
  position:absolute;
  font-size:clamp(1.6rem,6vw,2.4rem);
  line-height:0;
  color:var(--green);
}

/* opening mark – first-line baseline */
.quote::before{
  content:"\201C";
  left:-0.15em;             /* nudge inward */
  top:.25em;
}

/* closing mark – last-line baseline */
.quote::after{
  content:"\201D";
  right:-0.15em;            /* nudge inward */
  bottom:.15em;
}

/* very small phones */
@media(max-width:420px){
  .quote{padding:0 0.6em;}  /* still a bit of side room */
  .quote::before,
  .quote::after{font-size:1.4rem;}
}
.sf-uni {
  color: var(--green);
  font-weight: 700;
}
.step-by-step {
  color: var(--green);
  font-weight: 700;
}
.circle-callout {
  margin: 25px 0 18px 0;
  font-size: 1.08em;
  line-height: 1.4;
}
.circle-callout b {
  color: var(--green);
  font-weight: 700;
}
.logo {
  width: 210px;
  margin: 32px auto 16px auto;
  display: block;
}
/* Email form */
.form-title {
    text-align: center;
    font-weight: 700;
    margin-top: 37px;
    margin-bottom: 29px;
    font-size: 1.01em;
}
.form-title span {
  color: var(--green);
  font-weight: 700;
}
form {
  margin: 0 auto 7px auto;
  width: 100%;
  max-width: 430px;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
input[type="email"] {
  width: 58%;
  padding: 11px 18px;
  border-radius: 24px;
  border: none;
  background: var(--input-bg);
  color: var(--white);
  font-size: 1.04em;
  outline: none;
  font-family: inherit;
  font-weight: 400;
  transition: box-shadow 0.12s;
}
input[type="email"]:focus {
  box-shadow: 0 0 3px 2px var(--green) inset;
}
button,
.button-call {
  font-family: inherit;
  border-radius: 24px;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--white);
  padding: 10px 30px;
  font-size: 1em;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s;
  margin-left: 2px;
}
button:hover,
.button-call:hover {
  background: var(--green);
  color: #222;
}
.form-small {
  color: #ccc;
  font-size: 0.96em;
  line-height: 1.4;
  margin: 0;
}
.form-small b {
  color: var(--white);
  font-weight: 600;
}
/* ─── solid green rule ───────────────────────────── */
.divider,
.footer-divider {
  border-top: 2px solid var(--green);   /*  ← dotted ➜ solid  */
}

/* =====================================
   AGREE-TO-TERMS  –  fluid custom checkbox
   ===================================== */
.custom-checkbox{
  display:flex;
  align-items:flex-start;
  gap:0.75em;          /* space between box and text           */
  cursor:pointer;
  margin:1rem 0;
  font-size:0.9em;     /* you can raise/lower this to scale all */
}

/* hide the native input */
.custom-checkbox input[type="checkbox"]{display:none;}

/* the visual box – size & border in em so it scales */
.custom-checkbox .checkmark{
  width:1.4em;                 /* ≈ 22 px at 16 px root */
  height:1.4em;
  background:#181818;
  border:0.14em solid var(--green);
  border-radius:0.3em;
  position:relative;
  flex:0 0 auto;              /* prevent shrinking in flex */
  transition:background 0.15s,border-color 0.15s;
}

/* green fill when checked */
.custom-checkbox input[type="checkbox"]:checked + .checkmark{
  background:var(--green);
  border-color:var(--green);
}

/* the tick – also in em so it stays centred */
.custom-checkbox .checkmark::after{
  content:'';
  position:absolute;
  left:0.42em;               /* 0.42em ≈ 6-7 px @ base size */
  top:0.18em;
  width:0.28em;
  height:0.56em;
  border:solid #181818;
  border-width:0 0.18em 0.18em 0;
  transform:rotate(45deg);
  opacity:0;                 /* hidden until checked */
}

/* reveal tick when checked */
.custom-checkbox input[type="checkbox"]:checked + .checkmark::after{
  opacity:1;
}

/* —— optional mini-tweak for ultra-small phones (<420 px) —— */
@media(max-width:420px){
  .custom-checkbox .checkmark{
    width:1.2em;
    height:1.2em;
    border-width:0.13em;
  }
  .custom-checkbox .checkmark::after{
    left:0.36em;
    top:0.14em;
    width:0.24em;
    height:0.48em;
    border-width:0 0.16em 0.16em 0;
  }
}
/* Call to action */
.cta-title {
  font-size: 1.45em;
  font-weight: 700;
  margin-bottom: 17px;
  margin-top: 23px;
  letter-spacing: 0;
}
.cta-title span {
  color: var(--green);
}
.button-call {
  display: inline-block;
  margin: 5px 0 15px 0;
}
.ig-link {
  display: block;
  color: var(--white);
  margin-top: 6px;
  font-size: 1.55em;
  text-decoration: none;
}
.ig-link:hover {
  color: var(--green);
}
/* Footer */
footer {
  margin-top: 38px;
  width: 100%;
  text-align: center;
  font-size: 0.98em;
  color: #bbb;
}
.footer-logo {
  display: block;
  width: 150px;
  margin: 0 auto 12px auto;
  filter: brightness(1.8);
}
.footer-divider {
  border-top: 2px dotted var(--green);
  width: 84%;
  margin: 16px auto 16px auto;
}
.footer-links {
  margin-top: 0;
  font-size: 0.96em;
  color: #bbb;
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--green);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.13s;
}
.footer-links a:hover {
  text-decoration: underline;
  color: var(--white);
}
/* Enhanced mobile styles */
@media (max-width: 768px) {
  h1 {
    font-size: 31px;
    line-height: 1.3;
    margin-top: 25px;
  }
  .subtitle {
    font-size: 1.1em;
    margin-bottom: 25px;
  }
  .circle-callout {
    font-size: 1em;
    margin: 20px 0 15px 0;
    padding: 0 10px;
  }
  .form-title {
    font-size: 1.1em;
    margin-top: 30px;
    margin-bottom: 25px;
  }
  .cta-title {
    font-size: 1.2em;
    margin-bottom: 15px;
    margin-top: 20px;
  }
  form { 
    flex-direction: column; 
    gap: 12px;
    margin: 0 auto 15px auto;
  }
  input[type="email"] { 
    width: calc(100% - 20px);
    max-width: 350px;
    padding: 12px 18px;
    font-size: 1em;
    box-sizing: border-box;
  }
  .button-call, button { 
    width: calc(100% - 20px);
    max-width: 350px;
    padding: 12px 30px;
    font-size: 1em;
    box-sizing: border-box;
  }
}

@media (max-width: 600px) {
  main {
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    box-sizing: border-box;
  }
  .logo { 
    width: 70vw; 
    max-width: 230px;
    margin: 25px auto 15px auto;
  }
  .footer-logo { width: 35vw; max-width: 170px; }
  form { 
    flex-direction: column; 
    gap: 12px;
    margin: 0 auto 15px auto;
  }
  input[type="email"] { 
    width: calc(100% - 20px);
    max-width: 350px;
    padding: 12px 18px;
    font-size: 1em;
    box-sizing: border-box;
  }
  .button-call, button { 
    width: calc(100% - 20px);
    max-width: 350px;
    padding: 12px 30px;
    font-size: 1em;
    box-sizing: border-box;
  }
  .footer-links { 
    flex-direction: column; 
    gap: 10px; 
  }
  .divider, .footer-divider { width: 95%; }
  .custom-checkbox {
    margin: 20px auto;
    max-width: 350px;
    gap: 10px;
  }
  .custom-checkbox .form-small {
    font-size: 0.9em;
    line-height: 1.4;
  }
}

/* =========================
   WORDPRESS CONTENT STYLING
   ========================= */

/* General WordPress content area */
.entry-content,
.post-content,
main article {
  color: var(--white);
  line-height: 1.6;
}

/* WordPress headings in content */
.entry-content h1, .post-content h1, article h1 {
  font-size: 2.2em;
  color: var(--white);
  font-weight: 700;
  margin: 30px 0 20px 0;
  line-height: 1.2;
}

.entry-content h2, .post-content h2, article h2 {
  font-size: 1.8em;
  color: var(--green);
  font-weight: 700;
  margin: 25px 0 15px 0;
  line-height: 1.3;
}

.entry-content h3, .post-content h3, article h3 {
  font-size: 1.4em;
  color: var(--white);
  font-weight: 700;
  margin: 20px 0 12px 0;
  line-height: 1.3;
}

.entry-content h4, .post-content h4, article h4 {
  font-size: 1.2em;
  color: var(--green);
  font-weight: 700;
  margin: 18px 0 10px 0;
}

/* WordPress paragraphs */
.entry-content p, .post-content p, article p {
  margin: 0 0 18px 0;
  font-size: 1em;
  line-height: 1.6;
}

/* WordPress links */
.entry-content a, .post-content a, article a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s;
}

.entry-content a:hover, .post-content a:hover, article a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* WordPress lists */
.entry-content ul, .post-content ul, article ul {
  margin: 15px 0 20px 0;
  padding-left: 30px;
  list-style-type: disc;
  list-style-position: outside;
  text-align: left;
}

.entry-content ol, .post-content ol, article ol {
  margin: 15px 0 20px 0;
  padding-left: 30px;
  list-style-type: decimal;
  list-style-position: outside;
  text-align: left;
}

.entry-content li, .post-content li, article li {
  margin-bottom: 12px;
  line-height: 1.6;
  padding-left: 8px;
}

/* Nested lists */
.entry-content ul ul, .post-content ul ul, article ul ul,
.entry-content ol ol, .post-content ol ol, article ol ol {
  margin: 8px 0 8px 0;
  padding-left: 25px;
}

.entry-content ul ul, .post-content ul ul, article ul ul {
  list-style-type: circle;
}

.entry-content ul ul ul, .post-content ul ul ul, article ul ul ul {
  list-style-type: square;
}

/* Custom bullet color for better visibility on dark background */
.entry-content ul li::marker, .post-content ul li::marker, article ul li::marker {
  color: var(--green);
  font-size: 1.1em;
}

.entry-content ol li::marker, .post-content ol li::marker, article ol li::marker {
  color: var(--green);
  font-weight: 600;
}

/* WordPress blockquotes */
.entry-content blockquote, .post-content blockquote, article blockquote {
  border-left: 4px solid var(--green);
  margin: 25px 0;
  padding: 15px 0 15px 25px;
  font-style: italic;
  font-size: 1.1em;
  background: rgba(33, 240, 110, 0.05);
}

/* WordPress images */
.entry-content img, .post-content img, article img {
  max-width: 100%;
  height: auto;
  margin: 15px 0;
  border-radius: 8px;
}

/* WordPress tables */
.entry-content table, .post-content table, article table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #222;
}

.entry-content th, .post-content th, article th,
.entry-content td, .post-content td, article td {
  padding: 12px;
  border: 1px solid #444;
  text-align: left;
}

.entry-content th, .post-content th, article th {
  background: var(--green);
  color: #000;
  font-weight: 700;
}

/* WordPress code */
.entry-content code, .post-content code, article code {
  background: #333;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.9em;
}

.entry-content pre, .post-content pre, article pre {
  background: #222;
  padding: 15px;
  border-radius: 5px;
  overflow-x: auto;
  margin: 20px 0;
  border-left: 4px solid var(--green);
}

/* Post meta styling */
.post-meta {
  color: #bbb;
  font-size: 0.9em;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #333;
}

.post-meta a {
  color: var(--green);
  text-decoration: none;
}

.post-meta a:hover {
  color: var(--white);
}

/* Read more links */
.read-more {
  display: inline-block;
  color: var(--white);
  background: transparent;
  border: 2px solid var(--green);
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 10px;
  transition: all 0.3s;
}

.read-more:hover {
  background: var(--green);
  color: #000;
}

/* Pagination */
.pagination {
  text-align: center;
  margin: 40px 0;
  padding: 20px 0;
  border-top: 2px solid var(--green);
}

.pagination a {
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
  margin: 0 15px;
}

.pagination a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* WordPress content mobile styles */
@media (max-width: 768px) {
  .entry-content h1, .post-content h1, article h1 {
    font-size: 1.8em;
    margin: 25px 0 15px 0;
  }
  
  .entry-content h2, .post-content h2, article h2 {
    font-size: 1.5em;
    margin: 20px 0 12px 0;
  }
  
  .entry-content h3, .post-content h3, article h3 {
    font-size: 1.3em;
    margin: 18px 0 10px 0;
  }
  
  .entry-content ul, .post-content ul, article ul,
  .entry-content ol, .post-content ol, article ol {
    margin-left: 20px;
  }
  
  .entry-content blockquote, .post-content blockquote, article blockquote {
    margin: 20px 10px;
    padding: 10px 0 10px 20px;
    font-size: 1em;
  }
  
  .entry-content table, .post-content table, article table {
    font-size: 0.9em;
  }
  
  .entry-content th, .post-content th, article th,
  .entry-content td, .post-content td, article td {
    padding: 8px;
  }
  
  .read-more {
    padding: 10px 25px;
    font-size: 0.95em;
  }
}

/* =========================
   GUTENBERG BLOCK STYLING
   ========================= */

/* Gutenberg List Blocks */
.wp-block-list {
  margin: 15px 0 20px 0;
  padding-left: 30px;
  list-style-position: outside;
  text-align: left;
}

.wp-block-list li {
  margin-bottom: 12px;
  line-height: 1.6;
  padding-left: 8px;
  color: var(--white);
}

.wp-block-list ul {
  list-style-type: disc;
}

.wp-block-list ol {
  list-style-type: decimal;
}

/* Nested Gutenberg lists */
.wp-block-list .wp-block-list {
  margin: 8px 0 8px 0;
  padding-left: 25px;
}

.wp-block-list ul ul {
  list-style-type: circle;
}

.wp-block-list ul ul ul {
  list-style-type: square;
}

/* Gutenberg list markers */
.wp-block-list li::marker {
  color: var(--green);
  font-size: 1.1em;
}

.wp-block-list ol li::marker {
  color: var(--green);
  font-weight: 600;
}

/* Gutenberg paragraph blocks */
.wp-block-paragraph {
  margin: 0 0 18px 0;
  line-height: 1.6;
  color: var(--white);
}

/* Gutenberg heading blocks */
.wp-block-heading {
  color: var(--white);
  font-weight: 700;
  margin: 25px 0 15px 0;
  line-height: 1.3;
}

/* Gutenberg quote blocks */
.wp-block-quote {
  border-left: 4px solid var(--green);
  margin: 25px 0;
  padding: 15px 0 15px 25px;
  background: rgba(33, 240, 110, 0.05);
}

.wp-block-quote p {
  font-style: italic;
  font-size: 1.1em;
  color: var(--white);
  margin: 0;
}

.wp-block-quote cite {
  color: var(--green);
  font-style: normal;
  font-size: 0.9em;
  margin-top: 10px;
  display: block;
}

/* Gutenberg code blocks */
.wp-block-code {
  background: #222;
  padding: 15px;
  border-radius: 5px;
  border-left: 4px solid var(--green);
  margin: 20px 0;
}

.wp-block-code code {
  color: var(--white);
  font-family: monospace;
  font-size: 0.9em;
  background: none;
  padding: 0;
}

/* Gutenberg preformatted blocks */
.wp-block-preformatted {
  background: #222;
  padding: 15px;
  border-radius: 5px;
  border-left: 4px solid var(--green);
  margin: 20px 0;
  color: var(--white);
  font-family: monospace;
  white-space: pre-wrap;
  overflow-x: auto;
}

/* Mobile responsive Gutenberg blocks */
@media (max-width: 768px) {
  .wp-block-list {
    padding-left: 25px;
  }
  
  .wp-block-list .wp-block-list {
    padding-left: 20px;
  }
  
  .wp-block-list li {
    margin-bottom: 10px;
    padding-left: 5px;
  }
  
  .wp-block-quote {
    margin: 20px 10px;
    padding: 10px 0 10px 20px;
  }
  
  .wp-block-quote p {
    font-size: 1em;
  }
  
  .wp-block-code,
  .wp-block-preformatted {
    padding: 12px;
    margin: 15px 0;
    font-size: 0.85em;
  }
}

/* Enhanced mobile list styles */
@media (max-width: 600px) {
  .entry-content ul, .post-content ul, article ul,
  .entry-content ol, .post-content ol, article ol,
  .wp-block-list {
    padding-left: 20px;
  }
  
  .entry-content ul ul, .post-content ul ul, article ul ul,
  .entry-content ol ol, .post-content ol ol, article ol ol,
  .wp-block-list .wp-block-list {
    padding-left: 15px;
  }
  
  .entry-content li, .post-content li, article li,
  .wp-block-list li {
    margin-bottom: 10px;
    padding-left: 3px;
    font-size: 0.95em;
  }
}