/* --- STYLES.CSS --- */

:root {
  --bg-color: #121212;
  --bg-color-alt: #0a0a0a;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --accent-color: #FFD700;
  --accent-color-darker: #ccac00;
  /* --accent-color-rgb: 255, 215, 0; /* Kept in case needed later */
  --card-bg: #1e1e1e;
  --border-color: #333333;
  --success-color: #28a745;
  --error-color: #dc3545;
  /* --error-color-rgb: 220, 53, 69; /* Kept in case needed later */
  --font-body: 'Inter', sans-serif;
}

/* --- GLOBAL RESET & BASE STYLES --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); background-color: var(--bg-color);
  color: var(--text-primary); line-height: 1.6; overflow-x: hidden;
}
.page-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
h1, h2, h3, h4, p, ul, ol { margin-top: 0; margin-bottom: 1rem; }
/* Generic h1 style, specific hero h1 will be handled by .hero-title */
h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 900; color: var(--accent-color); text-align: center; margin-bottom: 3rem; }
h3 { font-size: clamp(1.3rem, 3.5vw, 1.75rem); font-weight: 700; color: var(--text-primary); margin-bottom: 1.5rem; }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.3rem); font-weight: 700; color: var(--text-primary); margin-bottom: 0.75rem; }
a { color: var(--accent-color); text-decoration: none; }
a:hover { color: var(--accent-color-darker); }
img { max-width: 100%; height: auto; display: block; }

/* --- BUTTONS --- */
.btn {
  display: inline-block; padding: 0.9rem 2rem; font-size: 1rem; font-weight: 700;
  border-radius: 8px; cursor: pointer; text-align: center; text-decoration: none;
  transition: all 0.2s ease; border: 2px solid transparent; letter-spacing: 0.5px;
}
.btn-primary { background-color: var(--accent-color); color: var(--bg-color); border-color: var(--accent-color); }
.btn-primary:hover { background-color: var(--accent-color-darker); border-color: var(--accent-color-darker); transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 15px rgba(255, 215, 0, 0.2); }
.btn-secondary { background-color: transparent; color: var(--text-primary); border-color: var(--text-primary); }
.btn-secondary:hover { background-color: var(--text-primary); color: var(--bg-color); transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 15px rgba(255, 255, 255, 0.1); }
.btn-lg { font-size: 1.15rem; padding: 1rem 2.5rem; }

/* --- HEADER --- */
.site-header-bar { padding: 1rem 0; background-color: var(--bg-color); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--border-color); }
.header-content { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo .logo-icon { color: var(--accent-color); font-size: 2.2rem; }
.logo .logo-text { font-size: 1.6rem; font-weight: 900; color: var(--text-primary); }

/* --- HERO SECTION --- */
.hero-section {
  min-height: 80vh; /* Can be adjusted based on content height */
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 4rem; /* Ensure enough space at the bottom */
  background: linear-gradient(rgba(18, 18, 18, 0.90), rgba(18, 18, 18, 0.98)), url('https://images.unsplash.com/photo-1511875762315-c74357f51259?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
}

.hero-title {
  margin-bottom: 1.5rem; /* Space between title group and subheadline paragraph */
}

.hero-title .headline-main {
  color: var(--text-primary);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 4rem); /* As per instructions */
  line-height: 1.2;
  display: block;
}

.hero-title .headline-sub {
  display: block;
  color: var(--accent-color);
  font-size: clamp(1.3rem, 3vw, 1.8rem); /* As per instructions */
  margin-top: 0.5rem;
  font-weight: 700;
}

.hero-section .subheadline { /* Targeting the <p class="subheadline"> */
  font-size: clamp(1.1rem, 2.5vw, 1.3rem); /* Adjusted for better readability */
  color: var(--text-secondary);
  max-width: 700px; /* Control width */
  margin: 0 auto 2rem auto; /* Center and add bottom margin */
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.5rem; /* Space before small-text */
}

.hero-section .small-text {
  font-size: 0.9rem; /* Slightly larger for better legibility */
  color: var(--text-secondary);
  margin-top: 0; /* Reset margin-top as .hero-ctas has margin-bottom */
}

/* Removed .social-proof-hint from hero as it's not in the new HTML */
/* If you re-add social proof, uncomment and adjust its styles as needed */
/*
.hero-section .social-proof-hint {
  font-size: 0.9rem;
  margin-top: 1.5rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.hero-section .social-proof-hint .fa-solid {
  color: var(--accent-color);
}
*/

/* --- GENERIC CONTENT SECTION --- */
.content-section { padding: 5rem 0; border-bottom: 1px solid var(--border-color); }
.content-section:last-of-type { border-bottom: none; }
.content-section.alt-bg { background-color: var(--bg-color-alt); }
.section-subheading { text-align:center; color: var(--text-secondary); max-width: 700px; margin: -2.5rem auto 3rem auto; font-size: 1.1rem;}

/* --- STYLES FOR FEATURE ROWS (Text + Image section) --- */
.feature-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
}
.feature-row:last-of-type {
    margin-bottom: 0;
}
.feature-text-content,
.feature-image-content {
    flex: 1 1 45%;
    min-width: 280px;
}
.feature-image-content img {
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
@media (min-width: 768px) {
    .feature-row {
        flex-wrap: nowrap;
    }
    .feature-row.feature-row-reversed .feature-image-content {
        order: 1;
    }
    .feature-row.feature-row-reversed .feature-text-content {
        order: 2;
    }
}
.feature-text-content .problem-list-revised,
.feature-text-content .solution-benefits {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}
.feature-text-content .problem-list-revised li,
.feature-text-content .solution-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.5;
}

.feature-text-content .problem-list-revised li .fa-solid {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-top: 0.1em;
    width: 2rem;
    flex-shrink: 0;
    text-align: center;
}
.feature-text-content .problem-list-revised li div {
    flex-grow: 1;
}
.feature-text-content .problem-list-revised li strong {
    display: block;
    font-size: 1.1em;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}
.feature-text-content .problem-list-revised li em {
    font-size: 0.95em;
    color: var(--text-secondary);
    line-height: 1.5;
}

.feature-text-content .solution-benefits li .fa-solid {
    position: absolute;
    left: 0;
    top: 0.2em;
    font-size: 1.3rem;
    width: 1.8rem;
    text-align: center;
    color: var(--success-color);
}
.feature-text-content .solution-benefits li {
    padding-left: 2.5rem;
}

.feature-text-content h3 {
    margin-bottom: 1rem;
}
.feature-text-content > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
.feature-text-content > p:last-of-type {
    margin-bottom: 0;
}


/* --- REAL USE CASES SECTION --- */
.game-demos-grid { /* Renamed this section's content, but class name kept for now */
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .game-demos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.game-demo-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.game-demo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.game-demo-card .demo-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}
.game-demo-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}
.game-demo-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}
.toolkit-cta { /* CTA below the use case cards */
    text-align: center;
    margin-top: 3rem;
}

/* --- "WHY SHAREDROP CRUSHES THE COMPETITION" SECTION --- */
.playground-section { background-color: var(--bg-color-alt); } /* Class name kept for section ID link */

.value-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.value-card .fa-2x {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.value-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.9em;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* --- HOW IT WORKS / PLATFORM FEATURES --- */
.how-it-works-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; text-align: center; }
.step-card .step-icon { font-size: 3rem; color: var(--accent-color); margin-bottom: 1rem; }
.step-card h4 { color: var(--text-primary); } .step-card p { font-size: 0.95rem; color: var(--text-secondary); }
.platform-features-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.platform-features-list li { background-color: var(--card-bg); padding: 1.5rem; border-radius: 8px; text-align: center; }
.platform-features-list li .fa-solid { font-size: 2rem; color: var(--accent-color); margin-bottom: 0.75rem; }

/* --- USE CASES SECTION --- */
.use-cases-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}
@media (min-width: 576px) {
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .use-cases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.use-case-card { background-color: var(--card-bg); padding: 1.5rem; border-radius: 8px; border-left: 4px solid var(--accent-color); }
.use-case-card .fa-solid { font-size: 1.8rem; color: var(--accent-color); margin-bottom: 0.75rem; }
.use-case-card p { font-size: 0.9rem; color: var(--text-secondary); }

/* --- PRICING SECTION --- */
.pricing-toggle { text-align: center; margin-bottom: 2.5rem; }
.toggle-switch { display: inline-flex; background-color: var(--card-bg); border-radius: 30px; padding: 0.3rem; border: 1px solid var(--border-color); }
.toggle-switch button { background: none; border: none; color: var(--text-secondary); padding: 0.6rem 1.8rem; border-radius: 25px; cursor: pointer; font-weight: 700; transition: background-color 0.3s ease, color 0.3s ease; }
.toggle-switch button.active { background-color: var(--accent-color); color: var(--bg-color); }
.pricing-table { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.pricing-plan { background-color: var(--card-bg); padding: 2.5rem 2rem; border-radius: 10px; border: 1px solid var(--border-color); display: flex; flex-direction: column; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.pricing-plan:hover { transform: translateY(-5px); }
.pricing-plan.highlight { border-color: var(--accent-color); box-shadow: 0 0 25px rgba(255, 215, 0, 0.1); transform: scale(1.03) translateY(-5px); }
.pricing-plan h3 { color: var(--accent-color); font-size: 1.6rem; margin-bottom: 0.5rem; }
.plan-price { font-size: 2.8rem; font-weight: 900; color: var(--text-primary); margin-bottom: 0.25rem; }
.plan-price .term { font-size: 1rem; font-weight: 400; color: var(--text-secondary); }
.plan-features { list-style: none; padding: 0; margin: 1.5rem 0; text-align: left; flex-grow: 1; }
.plan-features li { margin-bottom: 0.85rem; color: var(--text-secondary); font-size: 0.95rem; display: flex; align-items: flex-start; }
.plan-features li .fa-check { color: var(--success-color); margin-right: 0.75rem; margin-top: 0.2em; font-size: 0.9em;}
.plan-features li .fa-times { color: var(--error-color); margin-right: 0.75rem; margin-top: 0.2em; font-size: 0.9em;}
.pricing-plan .btn { margin-top: auto; width: 100%; }

/* --- FAQ SECTION --- */
.faq-item { background-color: var(--card-bg); margin-bottom: 1rem; border-radius: 8px; border: 1px solid var(--border-color); }
.faq-question { padding: 1.25rem 1.5rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--text-primary); }
.faq-question .fa-chevron-down { transition: transform 0.3s ease; }
.faq-answer { padding: 0 1.5rem 0 1.5rem; color: var(--text-secondary); font-size: 0.95rem; max-height: 0; overflow: hidden; transition: all 0.4s ease-out; }
.faq-item.active .faq-answer { max-height: 400px; padding-top: 0.5rem; padding-bottom: 1.25rem; }
.faq-item.active .faq-question .fa-chevron-down { transform: rotate(180deg); }

/* --- FINAL CTA SECTION --- */
.final-cta-section { text-align: center; padding: 5rem 0 3rem 0; background-color: var(--bg-color-alt); }
.final-cta-section h2 { margin-bottom: 1.5rem; }
.final-cta-section p { color: var(--text-secondary); max-width: 600px; margin: 0 auto 2rem auto; }

/* --- FOOTER --- */
.site-footer { text-align: center; padding: 3rem 1rem; color: var(--text-secondary); font-size: 0.9rem; }

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 992px) {
    .pricing-plan.highlight { transform: scale(1.01) translateY(-3px); }
}

@media (max-width: 768px) {
  .page-wrapper { padding: 0 1rem; }
  h1 { font-size: clamp(2rem, 6vw, 3rem); } /* General h1 fallback */
  .hero-title .headline-main { font-size: clamp(2.2rem, 5.5vw, 3.5rem); } /* Adjusted hero main headline */
  .hero-title .headline-sub { font-size: clamp(1.2rem, 2.8vw, 1.6rem); } /* Adjusted hero sub headline */

  h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); margin-bottom: 2rem; }
  .content-section { padding: 3rem 0; }
  .hero-section {
    min-height: auto; /* Allow hero to shrink if content is less */
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .feature-row { gap: 2rem; }
  .pricing-plan.highlight { transform: scale(1); }
  .pricing-table { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; gap: 1rem; align-items: center;}
  .hero-ctas .btn { width: 80%; max-width: 300px;}
}

@media (max-width: 480px) {
  .toggle-switch button { padding: 0.5rem 1.2rem; font-size: 0.9rem; }
  .plan-price { font-size: 2.2rem; }
  .hero-title .headline-main { font-size: clamp(1.8rem, 5vw, 2.8rem); }
  .hero-title .headline-sub { font-size: clamp(1rem, 2.5vw, 1.4rem); }
  .hero-section .subheadline { font-size: 1rem; }
}