/* ================================
   RetroSuit — live-demo Page CSS
   ================================ */

/* --------- Root Variables --------- */
:root {
    --bg-dark: #0e0e12;
    --bg-card: #121212;
    --bg-accent: #1f1f27;
    --primary: #4f8cff;
    --secondary: #00d1b2;
    --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);
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    font-weight: 600;
    margin: 0 0 1.2rem;
    line-height: 1.3;
}

/* Title coloring */
h1, h3 {
    color: var(--text-main);
}
h2 {
    color: var(--primary);
}
  
section {
    padding: 3.5rem 1.75rem;
    max-width: var(--max-width);
    margin: 0 auto var(--gap-section);
}
  
/* ================================
   Hero Section
   ================================ */
.features-hero {
    text-align: center;
    padding: 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: 720px;
    margin: 1.5rem auto 0;
    font-size: 1.1rem;
}
  
/* ================================
   Calendar Box
   ================================ */
.calendar-box {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 480px;
    margin: 2rem auto;
    box-shadow: var(--shadow-light);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.calendar-box input,
.calendar-box select {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 0.6rem;
    border: 1px solid #2a2a32;
    background: var(--bg-accent);
    color: #fff;
    font-size: 1rem;
    transition: border var(--transition);
}
.calendar-box input:focus,
.calendar-box select:focus {
    border-color: var(--primary);
    outline: none;
}
  
/* ================================
   Request Form
   ================================ */
.demo-form {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2.5rem;
    max-width: 600px;
    margin: 2rem auto;
    box-shadow: var(--shadow-light);
}
.demo-form label {
    display: block;
    margin: 1rem 0 0.5rem;
    font-weight: 600;
    color: var(--text-main);
}
.demo-form input,
.demo-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 0.6rem;
    border: 1px solid #2a2a32;
    background: var(--bg-accent);
    color: #fff;
    font-size: 1rem;
    transition: border var(--transition);
}
.demo-form input:focus,
.demo-form textarea:focus {
    border-color: var(--primary);
    outline: none;
}
.demo-form textarea {
    resize: vertical;
    min-height: 100px;
}
.demo-form button {
    margin-top: 2rem;
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    border: none;
    border-radius: 0.6rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}
.demo-form button:hover {
    background: #3b6edc;
    transform: translateY(-2px);
}
  
/* ================================
   Responsive Adjustments
   ================================ */
@media (max-width: 768px) {
    .features-hero h1 { font-size: 2.2rem; }
    .features-hero p { font-size: 1rem; }
    .calendar-box, .demo-form { padding: 1.75rem; }
}

  /* optional: adjust spacing between fields after errors appear */
  .demo-form input,
  .demo-form select,
  .demo-form textarea {
    margin-bottom: 18px !important;
  }