/* ================================
   RetroSuit — retrosuit-demo Page CSS
   ================================ */

/* --------- Root Variables --------- */
:root {
    --bg-dark: #0e0e12;
    --bg-card: #121212;
    --bg-accent: #1f1f27;
    --primary: #4f8cff; /* Blue accent */
    --text-main: #ffffff;
    --text-soft: #e0e0e0;
    --radius: 14px;
    --shadow: 0 8px 24px rgba(0,0,0,0.4);
    --shadow-light: 0 4px 14px rgba(0,0,0,0.3);
    --max-width: 1200px;
    --transition: 0.25s ease;
    --gap-section: 2rem;
    --font-base: "Poppins", sans-serif;
}

/* --------- Base Styles --------- */
body {
    font-family: var(--font-base);
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1,h2,h3,h4 {
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 1rem;
}

/* Make section titles blue */
h2 {
    color: var(--primary);
}

h1, h3, h4 {
    color: var(--text-main);
}

section {
    padding: 3rem 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}


/* ================================
   Hero Section
   ================================ */
.features-hero {
    text-align: center;
    padding: 5rem 1.5rem 3rem;
    background: linear-gradient(180deg, #4f8cff14, transparent 80%);
    border-radius: 40px;
}

.features-hero h1 { font-size: 2.75rem; }
.features-hero p {
    max-width: 680px;
    margin: 1.5rem auto 0;
    font-size: 1.125rem;
    color: var(--text-soft);
}

/* ================================
   Learn Section
   ================================ */
.learn-section {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    margin-bottom: var(--gap-section);
    box-shadow: var(--shadow-light);
}

.learn-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.learn-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-soft);
    margin-bottom: 1.5rem;
}

.placeholder-box {
    background: var(--bg-accent);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    font-size: 1rem;
    color: #ccc;
    box-shadow: var(--shadow-light);
}

/* ================================
   CTA Section (Glowing Buttons)
   ================================ */
.cta {
    text-align: center;
    padding: 3rem 1.5rem;
    margin-top: 3rem;
    background: linear-gradient(0deg, #4f8cff14, transparent 80%);
    border-radius: var(--radius);
    box-shadow: var(--shadow-light);
}

.cta .btn,
.cta .btn-ghost {
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
    margin: 0.5rem;
    border-radius: 10px;
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
    color: #fff;
}

/* Solid Button */
.cta .btn {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 12px rgba(79,140,255,0.6), 0 0 24px rgba(79,140,255,0.3);
}
.cta .btn:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 0 16px rgba(79,140,255,0.8), 0 0 32px rgba(79,140,255,0.45);
}

/* Ghost Button */
.cta .btn-ghost {
    border: 1px solid rgba(255,255,255,0.15);
    background: transparent;
    color: rgba(255,255,255,0.9);
    box-shadow: 0 0 10px rgba(255,255,255,0.05);
}
.cta .btn-ghost:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-1px);
    color: #fff;
    box-shadow: 0 0 14px rgba(255,255,255,0.15), 0 0 24px rgba(255,255,255,0.1);
}

/* Improve spacing for CTA text */
.cta h2 {
    margin-bottom: 2rem; /* adds breathing space */
    font-size: 2rem;
    color: var(--primary);
}

.cta a {
    margin: 0.75rem 0.75rem; /* space between the two buttons */
}


/* ================================
   Responsive Adjustments
   ================================ */
@media (max-width: 900px) {
    .features-hero h1 { font-size: 2.25rem; }
    .features-hero p { font-size: 1rem; }
    .learn-content h2 { font-size: 1.5rem; }
}

@media (max-width: 768px) {
    .learn-section {
        padding: 2rem 1rem;
    }
}


/* Highlight Cards */
.pos-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.highlight-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.05);
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

/* Icon Area */
.icon-area {
    width: 55px;
    height: 55px;
    margin: 0 auto 1rem;
    border-radius: 14px;
    background: var(--bg-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem; /* Make emoji size consistent */
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}

/* Icon Variants (add SVGs later) */
.fast-icon        { background-image: url('/public/icons/fast.svg'); }
.staff-icon       { background-image: url('/public/icons/team.svg'); }
.reports-icon     { background-image: url('/public/icons/analytics.svg'); }
.cloud-icon       { background-image: url('/public/icons/cloud.svg'); }
.secure-icon      { background-image: url('/public/icons/shield.svg'); }
.support-icon     { background-image: url('/public/icons/headset.svg'); }

.icon-area {
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: center;
}

.coming-soon {
    position: relative;
    opacity: 0.75;
}

.coming-soon .coming-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--primary);
    color: #fff;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    border-radius: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
