/* ================================
   INSTAINTEL TOOL STYLES
   ================================ */

/* Base Layout Overrides */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero-section {
  display: block;
  grid-template-columns: none;
  gap: 0;
  padding: 70px 0 54px;
  background:
    radial-gradient(circle at 18% 10%, rgba(244, 189, 98, 0.18), transparent 32%),
    linear-gradient(135deg, #0d2c33 0%, #071c20 58%, #051417 100%);
  border-bottom: 1px solid rgba(34, 199, 184, 0.2);
  margin-bottom: 0;
}

.hero-content {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 390px;
  gap: 38px;
  align-items: center;
  text-align: left;
}

.hero-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  color: #071c20;
  background: linear-gradient(135deg, #f7dd97 0%, #22c7b8 100%);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-section h1 {
  max-width: 720px;
  margin: 18px 0 18px;
  color: #ffffff;
  font-size: clamp(2.45rem, 5vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: 0;
  text-align: left;
  background: none;
  -webkit-text-fill-color: #ffffff;
}

.hero-description {
  font-size: 1.06rem;
  line-height: 1.75;
  color: #c3e8e4;
  max-width: 670px;
  margin: 0 0 14px;
}

.hero-description + .hero-description {
  color: #e7fbf8;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.hero-button:hover,
.hero-button:focus {
  transform: translateY(-2px);
}

.hero-button.primary {
  color: #071c20;
  background: #22c7b8;
}

.hero-button.secondary {
  color: #e7fbf8;
  border: 1px solid rgba(195, 232, 228, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.hero-panel {
  padding: 24px;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(195, 232, 228, 0.18);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.hero-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.hero-panel-top span {
  color: #c3e8e4;
  font-weight: 800;
}

.hero-panel-top strong {
  color: #f7dd97;
  font-size: 2.35rem;
}

.hero-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-panel-grid div {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(7, 28, 32, 0.74);
  border: 1px solid rgba(195, 232, 228, 0.12);
}

.hero-panel-grid strong {
  color: #ffffff;
  font-size: 1.7rem;
}

.hero-panel-grid span {
  color: #8cb7b3;
  line-height: 1.35;
}

.hero-progress {
  margin-top: 18px;
}

.hero-progress span {
  display: block;
  color: #c3e8e4;
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.hero-progress div {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(195, 232, 228, 0.14);
}

.hero-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c7b8, #f4bd62);
}

/* Sections */
.section {
  padding: 60px 0;
}

.section h2 {
  text-align: center;
  color: #22c7b8;
  margin-bottom: 30px;
  font-size: 2rem;
}

.section .subtitle {
  text-align: center;
  color: #c3e8e4;
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px;
}

/* Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.feature-card {
  background: rgba(34, 199, 184, 0.1);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card h3 {
  color: #22c7b8;
  margin-top: 0;
  margin-bottom: 15px;
}

.insta-story,
.insta-faq {
  text-align: left;
}

.insta-story h2,
.insta-faq h2 {
  text-align: left;
}

/* Placeholder Sections */
.placeholder-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 30px;
  margin: 30px 0;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.stat-card {
  background: rgba(34, 199, 184, 0.1);
  border-radius: 8px;
  padding: 20px;
}

.stat-card h4 {
  color: #22c7b8;
  margin: 0 0 10px 0;
  font-size: 1rem;
}

.stat-card .stat-value {
  font-size: 2rem;
  font-weight: bold;
  color: #e7fbf8;
}

.breakdown {
  text-align: left;
  max-width: 600px;
  margin: 30px auto 0;
}

.breakdown ul {
  list-style: none;
  padding: 0;
}

.breakdown li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(195, 232, 228, 0.2);
  display: flex;
  justify-content: space-between;
}

.breakdown li strong {
  color: #22c7b8;
}

/* Dashboard Preview */
.dashboard-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.visualization-placeholder {
  flex: 1;
  min-width: 300px;
  background: rgba(34, 199, 184, 0.1);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
}

.stats-overview {
  flex: 1;
  min-width: 300px;
}

.progress-bar {
  margin: 25px 0;
}

.progress {
  height: 10px;
  background: rgba(34, 199, 184, 0.2);
  border-radius: 5px;
  overflow: hidden;
}

.progress div {
  height: 100%;
  background: #22c7b8;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 15px;
  margin-top: 25px;
}

.profile-card {
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1/1;
}

/* Pricing Comparison */
.pricing-comparison {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pricing-card {
  flex: 1;
  min-width: 300px;
  padding: 30px;
  border-radius: 8px;
  background: rgba(34, 199, 184, 0.1);
  text-align: center;
}

.pricing-card.featured {
  position: relative;

  background:
    linear-gradient(
      135deg,
      rgba(244, 189, 98, 0.12),
      rgba(34, 199, 184, 0.14)
    );

  border: 1px solid rgba(244, 189, 98, 0.28);

  box-shadow:
    0 0 25px rgba(244, 189, 98, 0.08),
    0 0 60px rgba(34, 199, 184, 0.05);

  transform: translateY(-4px);

  overflow: hidden;
}

.pricing-card.featured h3 {
  color: #f7dd97;
}

.pricing-card h3 {
  color: #22c7b8;
  margin-top: 0;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
  margin: 20px 0;
}

.pricing-card li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(195, 232, 228, 0.2);
}

.pricing-card li:last-child {
  border-bottom: none;
}

.premium-note {
  margin-top: 20px;
  font-style: italic;
  color: #c3e8e4;
}

/* Premium Visual Dashboard */
.premium-dashboard {
  background:
    linear-gradient(135deg, rgba(13, 44, 51, 0.95), rgba(7, 28, 32, 0.98)),
    radial-gradient(circle at top right, rgba(244, 189, 98, 0.18), transparent 36%);
  border: 1px solid rgba(34, 199, 184, 0.26);
  border-radius: 12px;
  padding: 28px;
  margin: 30px 0;
  text-align: left;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.premium-dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 124px;
  gap: 24px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(195, 232, 228, 0.16);
}

.premium-dashboard-hero h3 {
  margin: 8px 0 10px;
  color: #e7fbf8;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.1;
}

.premium-dashboard-hero p {
  max-width: 720px;
  margin: 0;
  color: #c3e8e4;
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: #071c20;
  background: linear-gradient(135deg, #f7dd97, #22c7b8);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.score-ring {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  background:
    radial-gradient(circle at center, #0d2c33 55%, transparent 56%),
    conic-gradient(#f4bd62 0 58%, rgba(195, 232, 228, 0.18) 58% 100%);
  border: 1px solid rgba(244, 189, 98, 0.35);
}

.score-ring span {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 800;
}

.score-ring small {
  color: #f7dd97;
  font-weight: 700;
}

.intel-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.intel-stat {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(195, 232, 228, 0.14);
  border-radius: 8px;
}

.intel-stat.accent {
  background: rgba(34, 199, 184, 0.12);
  border-color: rgba(34, 199, 184, 0.32);
}

.intel-stat.warning {
  background: rgba(244, 189, 98, 0.12);
  border-color: rgba(244, 189, 98, 0.3);
}

.intel-stat-number {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.intel-stat-label {
  color: #c3e8e4;
  font-size: 0.92rem;
  line-height: 1.35;
}

.intel-graph {
  padding: 22px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(195, 232, 228, 0.14);
  border-radius: 8px;
}

.intel-graph-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.intel-graph h4 {
  margin: 0;
  color: #e7fbf8;
  font-size: 1.05rem;
}

.intel-graph-header span {
  color: #f7dd97;
  font-weight: 800;
}

.intel-graph-bar {
  height: 16px;
  overflow: hidden;
  background: rgba(195, 232, 228, 0.14);
  border-radius: 999px;
}

.intel-graph-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c7b8, #f4bd62);
  border-radius: inherit;
}

.intel-lists {
  display: grid;
  gap: 14px;
}

.intel-lists details {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(195, 232, 228, 0.14);
  border-radius: 8px;
  overflow: hidden;
}

.intel-lists summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  color: #e7fbf8;
  font-weight: 800;
}

.intel-lists summary::-webkit-details-marker {
  display: none;
}

.intel-lists summary strong {
  min-width: 44px;
  padding: 6px 12px;
  text-align: center;
  color: #071c20;
  background: #22c7b8;
  border-radius: 999px;
}

.intel-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  padding: 0 18px 18px;
}

.intel-profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 82px;
  padding: 12px;
  color: #e7fbf8;
  text-decoration: none;
  background: rgba(7, 28, 32, 0.78);
  border: 1px solid rgba(195, 232, 228, 0.13);
  border-radius: 8px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.intel-profile-card:hover,
.intel-profile-card:focus {
  transform: translateY(-3px);
  border-color: rgba(34, 199, 184, 0.65);
  background: rgba(13, 44, 51, 0.98);
}

.intel-profile-card img {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  background: #0d2c33;
  border: 2px solid rgba(34, 199, 184, 0.34);
}

.intel-profile-card span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.intel-profile-card b,
.intel-profile-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.intel-profile-card b {
  color: #ffffff;
  font-size: 0.96rem;
}

.intel-profile-card small {
  color: #8cb7b3;
  font-size: 0.86rem;
}

.metrics-info {
  margin-top: 24px;
  padding: 24px;
  background: rgba(34, 199, 184, 0.07);
  border: 1px solid rgba(34, 199, 184, 0.2);
  border-radius: 8px;
}

.metrics-info h3 {
  margin: 0 0 18px;
  color: #e7fbf8;
  font-size: 1.35rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.metrics-grid article {
  padding: 16px;
  background: rgba(7, 28, 32, 0.62);
  border: 1px solid rgba(195, 232, 228, 0.12);
  border-radius: 8px;
}

.metrics-grid h4 {
  margin: 0 0 8px;
  color: #22c7b8;
}

.metrics-grid p {
  margin: 0;
  color: #c3e8e4;
  line-height: 1.6;
  font-size: 0.94rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 48px 0 34px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-section h1 {
    font-size: 3rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-button {
    width: 100%;
  }

  .hero-panel {
    padding: 18px;
  }

  .hero-panel-grid {
    grid-template-columns: 1fr;
  }
  
  .dashboard-preview {
    flex-direction: column;
  }
  
  .pricing-comparison {
    flex-direction: column;
  }
  
  .features {
    grid-template-columns: 1fr;
  }

  .premium-dashboard {
    padding: 18px;
  }

  .premium-dashboard-hero {
    grid-template-columns: 1fr;
  }

  .score-ring {
    width: 108px;
    height: 108px;
  }

  .intel-graph-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .intel-profile-grid {
    grid-template-columns: 1fr;
    padding: 0 12px 12px;
  }
}
.pricing-card.featured::before {
  content: "";

  position: absolute;

  top: 0;
  left: 18%;

  width: 64%;
  height: 2px;

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(244, 189, 98, 0.95),
      transparent
    );
}

.pricing-card.featured .premium-note {
  color: #f7dd97;
}