/* ==========================================================================
   Dharunkumar - Full Stack Developer Portfolio
   Components, Modals, Terminal, Simulator & Widgets
   ========================================================================== */

/* ==========================================================================
   Flagship Project Showcase (AgriDirect Farmer Marketplace)
   ========================================================================== */
.flagship-project-card {
  padding: 3rem;
  margin-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 185, 129, 0.3);
  background: linear-gradient(135deg, rgba(18, 24, 38, 0.85), rgba(16, 185, 129, 0.05));
}

.flagship-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.flagship-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.project-tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
}

.tag-primary { background: var(--primary-soft); color: var(--primary-light); }
.tag-python { background: rgba(56, 189, 248, 0.12); color: #38bdf8; }
.tag-js { background: rgba(234, 179, 8, 0.12); color: #eab308; }
.tag-db { background: rgba(168, 85, 247, 0.12); color: #c084fc; }

.flagship-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.flagship-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.takeaway-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.takeaway-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.takeaway-icon {
  font-size: 1.1rem;
  margin-top: 2px;
}

.flagship-features {
  margin-bottom: 1.75rem;
}

.flagship-features h4 {
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.feature-bullets li {
  font-size: 0.92rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-secondary);
}

.feature-bullets li i {
  color: var(--primary);
  margin-top: 3px;
  font-size: 0.85rem;
}

.feature-bullets li strong {
  color: var(--text-primary);
}

.tech-stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.tech-stack-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
}

.tech-stack-item i {
  color: var(--primary-light);
}

.flagship-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Flagship Project Visual Mockup */
.flagship-visual {
  position: relative;
}

.visual-mockup-wrapper {
  background: #080c14;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16, 185, 129, 0.3);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(16, 185, 129, 0.15);
  position: relative;
}

.mockup-header {
  background: #0d1320;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #10b981; }

.mockup-url {
  margin-left: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  flex: 1;
}

.mockup-content {
  padding: 1.25rem;
}

.mockup-hero-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(56, 189, 248, 0.15));
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.mockup-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-light);
  display: block;
  margin-bottom: 0.25rem;
}

.mockup-hero-banner h4 {
  font-size: 0.95rem;
  color: #ffffff;
}

.mockup-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.mockup-item-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mockup-item-img {
  font-size: 1.8rem;
  text-align: center;
  padding: 0.5rem 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-sm);
}

.mockup-item-info h5 {
  font-size: 0.82rem;
  color: var(--text-primary);
}

.mockup-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-light);
  display: flex;
  flex-direction: column;
}

.mockup-price small {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 400;
}

.mockup-cart-summary {
  background: #111827;
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-summary-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.mockup-cart-btn {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
}

.floating-impact-badge {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background: #0f172a;
  border: 1px solid var(--primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.floating-impact-badge i {
  font-size: 1.5rem;
}

.impact-val {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  display: block;
}

.impact-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Secondary Projects Grid */
.secondary-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.project-card {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}

.project-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.project-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.project-card-category {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-card-title {
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
}

.project-card-description {
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}

.project-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.project-card-tags span {
  font-size: 0.78rem;
  padding: 0.3rem 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   Developer CLI Terminal Widget
   ========================================================================== */
.terminal-container {
  max-width: 950px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 35px rgba(0, 0, 0, 0.5);
  background: #070a12;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-topbar {
  background: #0d121f;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-actions-left {
  display: flex;
  gap: 7px;
}

.term-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  cursor: pointer;
}
.term-close { background: #ef4444; }
.term-minimize { background: #f59e0b; }
.term-maximize { background: #10b981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-term-clear {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: all var(--transition-fast);
}

.btn-term-clear:hover {
  color: var(--text-primary);
  border-color: var(--primary);
}

.terminal-body {
  padding: 1.75rem;
  min-height: 420px;
  max-height: 520px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.6;
}

.term-ascii {
  font-size: 0.6rem;
  line-height: 1.1;
  color: var(--primary-light);
  margin-bottom: 1rem;
  overflow-x: auto;
}

.term-welcome-msg {
  color: #cbd5e1;
  margin-bottom: 1.25rem;
}

.term-cmd-highlight {
  color: #38bdf8;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.12);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.term-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.term-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.term-chip:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--primary);
  color: var(--primary-light);
}

.term-input-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.term-prompt {
  font-weight: 700;
  white-space: nowrap;
}

.term-user { color: var(--primary-light); }
.term-host { color: #38bdf8; }
.term-dir { color: #f59e0b; }

.term-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  outline: none;
}

.term-output-block {
  margin-bottom: 1rem;
}

.term-cmd-echo {
  color: #e2e8f0;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.term-cmd-result {
  color: #94a3b8;
}

.term-result-title {
  color: var(--primary-light);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.term-success { color: #10b981; }
.term-error { color: #ef4444; }
.term-warning { color: #f59e0b; }
.term-accent { color: #38bdf8; }

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 0, 0, 0.7);
  width: 100%;
  max-width: 700px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: scale(0.92);
  transition: transform var(--transition-normal);
  overflow: hidden;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-header {
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.modal-title-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.modal-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.modal-title-group h3 {
  font-size: 1.25rem;
  margin-bottom: 0.15rem;
}

.modal-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  line-height: 1;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
}

/* Recruiter Pitch Modal */
.pitch-modal-card {
  max-width: 780px;
}

.pitch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.pitch-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
}

.pitch-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.pitch-text h4 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.pitch-text p {
  font-size: 0.82rem;
  line-height: 1.5;
}

.pitch-actions-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.candidate-quick-contact {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-align: center;
}

.pitch-btn-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Resume PDF Modal */
.resume-modal-card {
  max-width: 900px;
  height: 85vh;
}

.modal-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.resume-modal-body {
  padding: 0;
  height: 100%;
  display: flex;
}

.resume-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #ffffff;
}

/* Recruiter Share Modal */
.share-modal-card {
  max-width: 600px;
}

.share-snippet-box {
  background: #0a0d14;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.snippet-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.snippet-content {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #cbd5e1;
  background: #04070e;
  padding: 1rem;
  border-radius: var(--radius-sm);
  white-space: pre-line;
  line-height: 1.6;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }

.share-social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.social-share-btn {
  padding: 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.share-whatsapp { background: rgba(37, 211, 102, 0.15); color: #25d366; border-color: rgba(37, 211, 102, 0.3); }
.share-whatsapp:hover { background: #25d366; color: #ffffff; }

.share-linkedin { background: rgba(10, 102, 194, 0.15); color: #0a66c2; border-color: rgba(10, 102, 194, 0.3); }
.share-linkedin:hover { background: #0a66c2; color: #ffffff; }

.share-email { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border-color: rgba(56, 189, 248, 0.3); }
.share-email:hover { background: #38bdf8; color: #ffffff; }

/* Live Agri Demo Simulator Modal */
.demo-modal-card {
  max-width: 860px;
}

.demo-agri-icon {
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary);
}

.demo-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #090e18;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 1rem;
}

.role-selector {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.role-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.role-btn {
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.role-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.demo-cart-status {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-light);
}

.demo-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.demo-prod-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.demo-prod-icon {
  font-size: 2.2rem;
  text-align: center;
  padding: 0.5rem 0;
}

.demo-prod-title {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.demo-prod-origin {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.demo-prod-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.demo-prod-price {
  font-weight: 800;
  color: var(--primary-light);
  font-size: 0.95rem;
}

.demo-add-btn {
  background: var(--primary-soft);
  color: var(--primary-light);
  border: 1px solid var(--primary);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.demo-add-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Farmer Upload Form */
.farmer-portal-box {
  background: #090e18;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(16, 185, 129, 0.3);
  margin-bottom: 1.5rem;
}

.farmer-portal-box h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.farmer-portal-box p {
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.farmer-add-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.farmer-add-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Demo Cart Box */
.demo-cart-box {
  background: #090e18;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
}

.cart-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cart-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.4rem 0;
}

.empty-cart-msg {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0.5rem 0;
}

.hidden {
  display: none !important;
}

/* Project Details Modal */
.detail-modal-card {
  max-width: 720px;
}

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  pointer-events: auto;
  animation: slideInToast 0.3s ease forwards;
}

.toast.toast-success { border-left-color: #10b981; }
.toast.toast-error { border-left-color: #ef4444; }
.toast.toast-info { border-left-color: #38bdf8; }

@keyframes slideInToast {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==========================================================================
   Animations
   ========================================================================== */
.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
  animation: slideUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Overrides */
@media (max-width: 900px) {
  .flagship-grid {
    grid-template-columns: 1fr;
  }

  .pitch-grid {
    grid-template-columns: 1fr;
  }

  .secondary-projects-grid {
    grid-template-columns: 1fr;
  }

  .demo-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .share-social-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .demo-products-grid {
    grid-template-columns: 1fr;
  }

  .farmer-add-form .form-row {
    grid-template-columns: 1fr;
  }

  .demo-controls-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
