/* ============================================================
   KnowYourGujarat — Submit an Idea Stylesheet (submit-idea.css)
   Design Language: Minimal, Editorial, Civic, Trustworthy, Calm
   Color System: Deep Navy (#0B2854), Pale Blue (#F5F9FE),
                 Soft Blue (#BDD7F5), Saffron Orange (#F47A20)
   Responsive: Fluid Desktop (up to 1320px) & Mobile-First
   ============================================================ */

:root {
  --idea-navy: #0B2854;
  --idea-navy-dark: #071D3E;
  --idea-navy-hover: #12376E;
  --idea-pale-blue: #F5F9FE;
  --idea-pale-blue-card: #FFFFFF;
  --idea-border: #E1ECF8;
  --idea-border-light: #EDF3FA;
  --idea-border-focus: #3B82F6;
  --idea-linework: #BDD7F5;
  --idea-linework-soft: #DDEAFC;
  --idea-text-primary: #0B2854;
  --idea-text-secondary: #4A6282;
  --idea-text-muted: #6F89AD;
  --idea-orange: #F47A20;
  --idea-green: #1FA463;
  --idea-font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --idea-font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --idea-font-script: 'Caveat', cursive, serif;
  --idea-max-w: 1280px;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body.idea-page-body {
  background-color: #FFFFFF;
  color: var(--idea-text-primary);
  font-family: var(--idea-font-sans);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

/* ── Container ── */
.idea-container {
  width: 100%;
  max-width: var(--idea-max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4.5vw, 64px);
}

/* Accent dot */
.idea-dot {
  color: var(--idea-orange);
  font-weight: 700;
}

/* Common Eyebrow */
.idea-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--idea-text-muted);
  margin-bottom: 18px;
}

.idea-eyebrow-line {
  display: inline-block;
  width: 42px;
  height: 1px;
  background-color: var(--idea-linework);
}

/* Common Buttons */
.idea-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--idea-navy);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 13px 28px;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid var(--idea-navy);
  cursor: pointer;
  transition: all 0.22s ease-out;
  user-select: none;
}

.idea-btn-primary:hover {
  background-color: var(--idea-navy-hover);
  border-color: var(--idea-navy-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.idea-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #FFFFFF;
  color: var(--idea-navy);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid var(--idea-border);
  cursor: pointer;
  transition: all 0.22s ease-out;
}

.idea-btn-secondary:hover {
  background-color: var(--idea-pale-blue);
  border-color: var(--idea-linework);
  color: var(--idea-navy-dark);
}

/* ══════════════════════════════════════════════════════════════
   1. HERO SECTION
   ══════════════════════════════════════════════════════════════ */
.idea-hero {
  position: relative;
  padding: clamp(36px, 5vw, 65px) 0 clamp(50px, 7vw, 85px);
  background-color: #FFFFFF;
}

.idea-hero__top-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--idea-text-muted);
  margin-bottom: 32px;
}

.idea-hero__top-meta-line {
  display: inline-block;
  width: 50px;
  height: 1px;
  background-color: var(--idea-linework);
}

.idea-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}

.idea-hero__content {
  max-width: 560px;
}

.idea-hero__heading {
  font-family: var(--idea-font-serif);
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.04;
  font-weight: 600;
  color: var(--idea-navy);
  margin: 0 0 24px 0;
  letter-spacing: -0.025em;
}

.idea-hero__description {
  font-size: clamp(16px, 1.25vw, 17.5px);
  line-height: 1.68;
  color: var(--idea-text-secondary);
  margin: 0 0 32px 0;
}

.idea-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.idea-hero__trust {
  font-size: 13.5px;
  color: var(--idea-text-muted);
  letter-spacing: 0.01em;
}

/* Hero Art Container */
.idea-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.idea-hero__svg-stage {
  width: 100%;
  max-width: 540px;
  height: auto;
  display: block;
}

/* Decorative script in hero */
.idea-hero__script {
  position: absolute;
  top: -10px;
  right: -20px;
  font-family: var(--idea-font-script);
  font-size: clamp(23px, 2.2vw, 29px);
  line-height: 1.15;
  color: var(--idea-text-muted);
  transform: rotate(-9deg);
  user-select: none;
  pointer-events: none;
  text-align: left;
}

.idea-hero__script-line {
  display: block;
  width: 55px;
  height: 1px;
  background-color: var(--idea-linework);
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════════
   2. WHY SHARE YOUR IDEAS SECTION
   ══════════════════════════════════════════════════════════════ */
.idea-why-section {
  position: relative;
  background-color: var(--idea-pale-blue);
  padding: clamp(65px, 8vw, 95px) 0;
  border-top: 1px solid var(--idea-border);
  border-bottom: 1px solid var(--idea-border);
}

.idea-section-header {
  margin-bottom: clamp(36px, 5vw, 52px);
}

.idea-section-heading {
  font-family: var(--idea-font-serif);
  font-size: clamp(32px, 3.8vw, 46px);
  line-height: 1.12;
  font-weight: 600;
  color: var(--idea-navy);
  margin: 0;
  letter-spacing: -0.02em;
}

.idea-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.idea-why__col {
  padding: 0 clamp(16px, 2.2vw, 32px);
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.idea-why__col:first-child {
  padding-left: 0;
}

.idea-why__col:last-child {
  padding-right: 0;
}

/* Subtle hairline divider between columns */
.idea-why__col:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 0;
  height: 80%;
  width: 1px;
  background-color: var(--idea-border);
}

.idea-why__icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #EAF2FB;
  border: 1px solid var(--idea-linework);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--idea-navy);
  margin-bottom: 20px;
  transition: transform 0.25s ease-out;
}

.idea-why__col:hover .idea-why__icon-wrap {
  transform: translateY(-2px);
  background-color: #DEECFA;
}

.idea-why__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--idea-navy);
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
}

.idea-why__desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--idea-text-secondary);
  margin: 0;
  max-width: 240px;
}

/* ══════════════════════════════════════════════════════════════
   3. HOW IT WORKS SECTION
   ══════════════════════════════════════════════════════════════ */
.idea-how-section {
  position: relative;
  padding: clamp(70px, 8vw, 105px) 0;
  background-color: #FFFFFF;
}

.idea-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 36px);
  margin-top: clamp(36px, 5vw, 56px);
}

/* Horizontal connecting line behind step badges */
.idea-timeline__track {
  position: absolute;
  top: 18px;
  left: calc(12.5% - 10px);
  right: calc(12.5% - 10px);
  height: 1px;
  background-color: var(--idea-linework);
  z-index: 1;
}

.idea-timeline__step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.idea-timeline__badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  background-color: #FFFFFF;
  border: 1.5px solid var(--idea-linework);
  color: var(--idea-navy);
  margin-bottom: 22px;
  transition: all 0.22s ease-out;
}

.idea-timeline__step.is-active .idea-timeline__badge {
  background-color: var(--idea-navy);
  color: #FFFFFF;
  border-color: var(--idea-navy);
}

.idea-timeline__icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--idea-pale-blue);
  border: 1px solid var(--idea-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--idea-navy);
  margin-bottom: 18px;
  transition: transform 0.22s ease-out;
}

.idea-timeline__step:hover .idea-timeline__icon-circle {
  transform: translateY(-2px);
  background-color: #EAF2FB;
}

.idea-timeline__title {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--idea-navy);
  margin: 0 0 8px 0;
}

.idea-timeline__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--idea-text-secondary);
  margin: 0;
  max-width: 220px;
}

/* ══════════════════════════════════════════════════════════════
   4. SUBMIT YOUR IDEA FORM SECTION
   ══════════════════════════════════════════════════════════════ */
.idea-form-section {
  position: relative;
  background-color: var(--idea-pale-blue);
  padding: clamp(70px, 8vw, 110px) 0;
  border-top: 1px solid var(--idea-border);
  border-bottom: 1px solid var(--idea-border);
}

.idea-form-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: flex-start;
}

/* Left Editorial Introduction */
.idea-form-intro {
  position: sticky;
  top: 90px;
}

.idea-form-intro__desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--idea-text-secondary);
  margin: 16px 0 36px 0;
}

.idea-form-quote {
  position: relative;
  padding-left: 20px;
  border-left: 2px solid var(--idea-linework);
  margin-top: 40px;
}

.idea-form-quote__text {
  font-family: var(--idea-font-script);
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.25;
  color: #3867A4;
  margin: 0 0 8px 0;
  letter-spacing: -0.01em;
}

.idea-form-quote__line {
  display: block;
  width: 44px;
  height: 1.5px;
  background-color: var(--idea-linework);
  margin-top: 6px;
}

/* Right Form Card Surface */
.idea-form-card {
  background-color: #FFFFFF;
  border: 1px solid var(--idea-border);
  border-radius: 12px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 4px 20px rgba(11, 40, 84, 0.03);
}

.idea-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.idea-form__group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
}

.idea-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.idea-form__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--idea-navy);
  letter-spacing: 0.01em;
}

.idea-form__req {
  color: var(--idea-orange);
  font-weight: 700;
  margin-left: 2px;
}

.idea-form__input,
.idea-form__select,
.idea-form__textarea {
  width: 100%;
  font-family: var(--idea-font-sans);
  font-size: 15px;
  color: var(--idea-navy);
  background-color: #FFFFFF;
  border: 1px solid #D5E3F5;
  border-radius: 6px;
  padding: 12px 14px;
  outline: none;
  transition: all 0.2s ease-out;
}

.idea-form__input::placeholder,
.idea-form__textarea::placeholder {
  color: #9AB4D5;
  font-weight: 400;
}

.idea-form__input:focus,
.idea-form__select:focus,
.idea-form__textarea:focus {
  border-color: var(--idea-border-focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.idea-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230B2854' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.idea-form__textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.55;
}

/* File Upload Box */
.idea-form__file-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #D5E3F5;
  border-radius: 6px;
  padding: 8px 12px;
  background-color: #FFFFFF;
}

.idea-form__file-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--idea-navy);
  background-color: #F0F6FD;
  border: 1px solid #D2E3F7;
  padding: 7px 14px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.18s ease;
  user-select: none;
}

.idea-form__file-btn:hover {
  background-color: #E2EFFC;
}

.idea-form__file-hint {
  font-size: 12px;
  color: var(--idea-text-muted);
  white-space: nowrap;
}

.idea-form__file-name {
  font-size: 12.5px;
  color: var(--idea-navy);
  display: none;
  align-items: center;
  gap: 6px;
}

/* Checkbox */
.idea-form__check-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
  cursor: pointer;
}

.idea-form__checkbox {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--idea-navy);
  cursor: pointer;
}

.idea-form__check-label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--idea-text-secondary);
  cursor: pointer;
}

/* Submit Button & State */
.idea-form__submit-btn {
  width: 100%;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  margin-top: 6px;
}

.idea-form__privacy {
  text-align: center;
  font-size: 12px;
  color: var(--idea-text-muted);
  margin: 2px 0 0 0;
}

/* Error message */
.idea-form__error {
  display: none;
  font-size: 12px;
  color: #DC2626;
  margin-top: 4px;
}

.idea-form__group.has-error .idea-form__input,
.idea-form__group.has-error .idea-form__select,
.idea-form__group.has-error .idea-form__textarea {
  border-color: #DC2626;
}

.idea-form__group.has-error .idea-form__error {
  display: block;
}

/* Form Success State Surface */
.idea-form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.idea-form-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #E8F7EE;
  border: 1px solid #B8E4C7;
  color: var(--idea-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.idea-form-success__heading {
  font-family: var(--idea-font-serif);
  font-size: 32px;
  color: var(--idea-navy);
  margin: 0 0 10px 0;
}

.idea-form-success__desc {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--idea-text-secondary);
  max-width: 440px;
  margin: 0 auto 28px auto;
}

.idea-form-success__ref {
  font-family: monospace;
  font-size: 13px;
  background-color: var(--idea-pale-blue);
  border: 1px dashed var(--idea-linework);
  padding: 6px 14px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 28px;
  color: var(--idea-navy);
}

/* ══════════════════════════════════════════════════════════════
   5. FREQUENTLY ASKED QUESTIONS SECTION
   ══════════════════════════════════════════════════════════════ */
.idea-faq-section {
  position: relative;
  padding: clamp(65px, 8vw, 95px) 0;
  background-color: #FFFFFF;
}

.idea-faq__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(28px, 4vw, 44px);
}

.idea-faq__item {
  background-color: #FFFFFF;
  border: 1px solid var(--idea-border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.22s ease-out;
}

.idea-faq__item:hover {
  border-color: var(--idea-linework);
  box-shadow: 0 4px 14px rgba(11, 40, 84, 0.04);
}

.idea-faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--idea-font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--idea-navy);
  cursor: pointer;
  outline: none;
}

.idea-faq__trigger:focus-visible {
  box-shadow: inset 0 0 0 2px var(--idea-border-focus);
}

.idea-faq__toggle-icon {
  font-size: 18px;
  font-weight: 400;
  color: var(--idea-navy);
  line-height: 1;
  transition: transform 0.2s ease;
  user-select: none;
  flex-shrink: 0;
}

.idea-faq__item.is-open .idea-faq__toggle-icon {
  transform: rotate(45deg);
}

.idea-faq__content {
  display: none;
  padding: 0 20px 20px 20px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--idea-text-secondary);
}

.idea-faq__item.is-open .idea-faq__content {
  display: block;
}

/* ══════════════════════════════════════════════════════════════
   6. FINAL CTA SECTION (WITH BLUEPRINT ARTWORK)
   ══════════════════════════════════════════════════════════════ */
.idea-cta-section {
  position: relative;
  padding: clamp(80px, 9vw, 110px) 0 clamp(110px, 14vw, 175px);
  text-align: center;
  background: linear-gradient(180deg, #F5F9FE 0%, #EBF4FD 100%);
  border-top: 1px solid var(--idea-border);
  overflow: hidden;
  width: 100%;
}

.idea-cta__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.idea-cta__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--idea-text-muted);
  margin-bottom: 14px;
}

.idea-cta__heading {
  font-family: var(--idea-font-serif);
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.1;
  font-weight: 600;
  color: var(--idea-navy);
  margin: 0 0 28px 0;
  letter-spacing: -0.02em;
}

/* CTA Decorative Script */
.idea-cta__script {
  position: absolute;
  top: -20px;
  right: -80px;
  font-family: var(--idea-font-script);
  font-size: clamp(23px, 2.3vw, 29px);
  line-height: 1.15;
  color: #5580B5;
  transform: rotate(-9deg);
  text-align: left;
  user-select: none;
  pointer-events: none;
}

.idea-cta__script-line {
  display: block;
  width: 60px;
  height: 1px;
  background-color: var(--idea-linework);
  margin-top: 4px;
}

/* Bottom Vector Blueprint Artwork */
.idea-cta__backdrop {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: clamp(120px, 16vw, 190px);
  z-index: 1;
  pointer-events: none;
  user-select: none;
  opacity: 0.75;
}

.idea-cta__backdrop svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: bottom center;
}

/* ══════════════════════════════════════════════════════════════
   7. RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .idea-hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .idea-hero__content {
    max-width: 100%;
    text-align: center;
  }
  .idea-hero__actions {
    justify-content: center;
  }
  .idea-hero__top-meta {
    justify-content: center;
  }
  .idea-hero__visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .idea-why__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 0;
  }
  .idea-why__col:nth-child(2)::after {
    display: none;
  }
  .idea-why__col:first-child,
  .idea-why__col:nth-child(3) {
    padding-left: 0;
  }
  .idea-why__col:nth-child(2),
  .idea-why__col:last-child {
    padding-right: 0;
  }

  .idea-form-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .idea-form-intro {
    position: static;
    max-width: 600px;
  }

  .idea-faq__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .idea-timeline {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 32px;
  }
  .idea-timeline__track {
    display: none;
  }
  .idea-timeline__step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 18px;
  }
  .idea-timeline__badge {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .idea-timeline__icon-circle {
    display: none;
  }
  .idea-timeline__desc {
    max-width: 100%;
  }

  .idea-form__row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .idea-cta__script {
    display: none;
  }
}

@media (max-width: 480px) {
  .idea-why__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .idea-why__col::after {
    display: none !important;
  }
  .idea-why__col {
    padding: 0 !important;
  }
  .idea-hero__actions .idea-btn-primary,
  .idea-hero__actions .idea-btn-secondary {
    width: 100%;
  }
  .idea-form-card {
    padding: 20px 16px;
  }
  .idea-form__file-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
