/* ================================
   RetroSuit — retrowalker-demo Page CSS
   ================================ */

/* --------- Root Variables --------- */
:root {
    --bg-dark: #0e0e12;
    --bg-card: #121212;
    --bg-accent: #1f1f27;
    --primary: #4f8cff;
    --secondary: #00d1b2; /* slight green-blue accent for hardware vibe */
    --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.7; /* slightly looser */
    margin: 0;
    padding: 0;
}

h1,h2,h3,h4 {
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 1.25rem; /* extra margin */
    color: var(--text-main);
}

p {
    margin: 0 0 1.5rem; /* consistent bottom margin for paragraphs */
}

section {
    padding: 3.5rem 1.75rem; /* more breathing room */
    max-width: var(--max-width);
    margin: 0 auto var(--gap-section);
}

/* ================================
   Hero Section
   ================================ */
.features-hero {
    text-align: center;
    padding: 5.5rem 1.5rem 4rem;
    background: linear-gradient(180deg, #4f8cff14, transparent 80%);
    border-radius: 40px;
    margin-bottom: var(--gap-section);
}

.features-hero h1 { font-size: 2.85rem; }
.features-hero p {
    max-width: 700px;
    margin: 2rem auto 0;
    font-size: 1.125rem;
    color: var(--text-soft);
}

/* ================================
   Learn Section
   ================================ */
.learn-section {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 3.5rem 2.25rem;
    margin-bottom: var(--gap-section);
    box-shadow: var(--shadow-light);
}

.learn-content h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.learn-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-soft);
    margin-bottom: 1.75rem;
}

.learn-content ul {
    list-style: none;
    padding-left: 0;
    margin: 2rem 0;
}

.learn-content ul li {
    margin-bottom: 1.25rem;
    padding: 1.25rem;
    border-left: 4px solid var(--secondary);
    background: var(--bg-accent);
    border-radius: 6px;
    box-shadow: var(--shadow-light);
    color: var(--text-soft);
}

/* Demo Placeholder */
.placeholder-box {
    background: var(--bg-accent);
    border-radius: var(--radius);
    padding: 2.25rem;
    text-align: center;
    font-size: 1.05rem;
    color: #bcbcbc;
    box-shadow: var(--shadow-light);
    margin-top: 2rem;
}

/* ================================
   CTA Section
   ================================ */
.cta {
    text-align: center;
    padding: 3.5rem 2rem;
    margin-top: 3.5rem;
    background: linear-gradient(0deg, #4f8cff14, transparent 80%);
    border-radius: var(--radius);
    box-shadow: var(--shadow-light);
}

.cta h2 {
    margin-bottom: 2rem;
    font-size: 1.85rem;
}

.cta .btn,
.cta .btn-ghost {
    font-size: 1rem;
    padding: 0.85rem 1.5rem;
    margin: 0.75rem;
    border-radius: 10px;
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
    color: #fff;
    cursor: pointer;
}

/* 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);
}

/* ================================
   Responsive Adjustments
   ================================ */
@media (max-width: 900px) {
    .features-hero h1 { font-size: 2.4rem; }
    .features-hero p { font-size: 1rem; }
    .learn-content h2 { font-size: 1.55rem; }
}

@media (max-width: 768px) {
    .learn-section {
        padding: 2.25rem 1.25rem;
    }
    .learn-content ul li {
        font-size: 0.95rem;
        padding: 1rem;
    }
}

.demo-box {
    background: var(--bg-card);
    padding: 1.2rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
    text-align: center;
  }
  .demo-box input {
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--primary);
    margin-right: 0.5rem;
    width: 60%;
    max-width: 250px;
  }
  .demo-box button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
  }
  .demo-box button:hover {
    background: #366cd9;
  }
  #print-status {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: var(--secondary);
  }

  /* ========== RetroWalker Demo Highlight ========== */
.learn-section {
    background: var(--bg-dark, #0e0e12);
    color: #fff;
    padding: 4rem 2rem;
    text-align: left;
  }
  
  .learn-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary, #4f8cff);
  }
  
  .learn-section p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #d1d1d6;
  }
  
  /* Demo Box Styling */
  .demo-box {
    background: var(--bg-card, #14141a);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    max-width: 500px;
    margin: 0 auto;
  }
  
  .demo-box label {
    display: block;
    font-weight: 600;
    margin: 1rem 0 0.5rem;
    color: #e4e4e7;
  }
  
  .demo-box input,
  .demo-box textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: 0.6rem;
    border: 1px solid #2a2a32;
    background: #1e1e26;
    color: #fff;
    font-size: 0.95rem;
  }
  
  .demo-box input:focus,
  .demo-box textarea:focus {
    border-color: var(--primary, #4f8cff);
    outline: none;
  }
  
  .demo-box button {
    margin-top: 1.5rem;
    width: 100%;
    padding: 0.9rem;
    background: var(--primary, #4f8cff);
    border: none;
    border-radius: 0.6rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .demo-box button:hover {
    background: #3b6edc;
  }
  
  #print-status {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--secondary, #00d1b2);
    font-style: italic;
  }
  