:root {
  --bg-page: #F8FAFC;
  --bg-hero-start: #F0FDFA;
  --bg-hero-end: #F1F5F9;
  --bg-card: #FFFFFF;
  --primary-accent: #0D9488;
  --primary-accent-light: #CCFBF1;
  --text-dark: #1E293B;
  --text-medium: #475569;
  --text-light: #94A3B8;
  --border-color: #E2E8F0;
  --error-bg: #FEF2F2;
  --error-text: #DC2626;
  --warning-bg: #FFFBEB;
  --warning-text: #B45309;
  --success-bg: #ECFDF5;
  --success-text: #065F46;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-page);
  color: var(--text-medium);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navigation */
.navbar {
  background-color: var(--bg-card);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem clamp(0.75rem, 3vw, 1rem);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo {
  height: 32px;
  width: auto;
}

.brand-name {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 0.25rem;
  z-index: 1002;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-slider {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: var(--bg-card);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease-in-out;
  z-index: 1001;
  overflow-y: auto;
}

.nav-slider.active {
  right: 0;
}

.slider-content {
  padding: 1.5rem;
  height: 100%;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.slider-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1002;
}

.slider-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.slider-link {
  display: block;
  padding: 1rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.slider-link:hover, .slider-link.active {
  background-color: var(--primary-accent-light);
  color: var(--primary-accent);
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--bg-hero-start) 0%, var(--bg-hero-end) 100%);
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-text h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-dark);
  line-height: 1.2;
}

.hero-text p {
  font-size: clamp(1rem, 3vw, 1.25rem);
  margin-bottom: 2rem;
  color: var(--text-medium);
}

/* Cards */
.card {
  background-color: var(--bg-card);
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  padding: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.main-card {
  margin-top: 2rem !important;
  position: relative;
  z-index: 10;
}

.centered-form-container {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

/* Form Elements */
.form-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-group label {
  font-weight: 500;
  color: var(--text-dark);
}

.input-group input, .input-group select, .input-group textarea {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.2s;
  background-color: white;
  font-family: inherit;
}

.input-group input:focus, .input-group select:focus, .input-group textarea:focus {
  outline: none;
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.input-help {
  font-size: 0.875rem;
  color: var(--text-light);
}

.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Buttons */
.calculate-button {
  background-color: var(--primary-accent);
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  width: 100%;
  margin: 1rem 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.calculate-button:hover {
  background-color: #0f766e;
  transform: translateY(-2px);
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-accent);
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: #0f766e;
  transform: translateY(-2px);
}

.action-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  background-color: white;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.875rem;
  text-align: center;
}

.action-button:hover {
  border-color: var(--primary-accent);
  color: var(--primary-accent);
}

.action-button.secondary {
  background-color: var(--bg-page);
}

.action-buttons {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  margin: 1rem 0;
}

/* Download Options */
.download-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.download-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  background-color: white;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}

.download-option.active, .download-option:hover {
  border-color: var(--primary-accent);
  color: var(--primary-accent);
  background-color: var(--primary-accent-light);
}

/* Diagram Preview */
.diagram-container {
  background-color: var(--bg-page);
  border-radius: 0.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  min-height: 400px;
  max-height: 600px;
  overflow: auto;
  position: relative;
}

.diagram-preview {
  width: 100%;
  height: 100%;
  position: relative;
  min-height: 350px;
  min-width: 100%;
  overflow: visible;
}

.empty-state {
  text-align: center;
  color: var(--text-light);
  padding: 2rem;
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--border-color);
}

.empty-state p {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.empty-state small {
  font-size: 0.875rem;
}

/* Diagram Elements */
.shape {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 15px;
  font-weight: 500;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  cursor: default;
  transition: all 0.3s;
  z-index: 10;
  background-color: var(--primary-accent);
  color: white;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.3;
  word-wrap: break-word;
  overflow: hidden;
}

.shape.rectangle {
  border-radius: 6px;
}

.shape.circle {
  border-radius: 50%;
  padding: 15px;
}

.shape.rounded {
  border-radius: 12px;
}

.connector {
  position: absolute;
  background-color: #7f8c8d;
  transform-origin: 0 0;
  z-index: 1;
  height: 2px;
}

.connector-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 10px solid #7f8c8d;
}

/* Message Boxes */
.message-box {
  padding: 1rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.message-box i {
  font-size: 1.25rem;
  margin-top: 0.125rem;
}

.message-content {
  flex: 1;
}

.message-content h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.error-box {
  background-color: var(--error-bg);
  color: var(--error-text);
  border-left: 4px solid var(--error-text);
}

.success-box {
  background-color: var(--success-bg);
  color: var(--success-text);
  border-left: 4px solid var(--success-text);
}

/* Privacy Notice */
.privacy-notice {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
  background-color: var(--success-bg);
  border-left: 4px solid var(--success-text);
}

.privacy-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.privacy-text {
  font-size: 0.875rem;
  color: var(--text-medium);
}

/* NEW: Overview Section */
.overview-section {
  padding: 4rem 1rem;
  background-color: var(--bg-page);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.overview-card {
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.overview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.overview-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.overview-icon i {
  font-size: 1.5rem;
  color: var(--primary-accent);
}

.overview-card h3 {
  color: var(--text-dark);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.overview-card p {
  color: var(--text-medium);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* NEW: Use Cases Section */
.use-cases-section {
  padding: 4rem 1rem;
  background: linear-gradient(135deg, var(--bg-hero-start) 0%, var(--bg-hero-end) 100%);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.use-case-card {
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.use-case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.use-case-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.use-case-header i {
  font-size: 2rem;
  color: var(--primary-accent);
}

.use-case-header h3 {
  color: var(--text-dark);
  font-size: 1.3rem;
  font-weight: 600;
}

.problem-solution {
  margin-bottom: 1.5rem;
}

.problem, .solution {
  margin-bottom: 1rem;
}

.problem h4, .solution h4 {
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.problem p, .solution p {
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.5;
}

.pro-tip {
  background: var(--primary-accent-light);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--primary-accent);
}

.pro-tip strong {
  color: var(--primary-accent);
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.benefit-tag {
  background: var(--success-bg);
  color: var(--success-text);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* NEW: How-To Section */
.how-to-section {
  padding: 4rem 1rem;
  background-color: var(--bg-page);
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.step-card {
  display: flex;
  gap: 2rem;
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  color: var(--text-dark);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.step-content p {
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.quick-tip {
  background: var(--warning-bg);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--warning-text);
}

.quick-tip strong {
  color: var(--warning-text);
}

.troubleshooting {
  background: var(--bg-page);
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
}

.troubleshooting h4 {
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.troubleshooting ul {
  color: var(--text-medium);
  padding-left: 1.5rem;
}

.troubleshooting li {
  margin-bottom: 0.25rem;
}

/* NEW: Tips Section */
.tips-section {
  padding: 4rem 1rem;
  background: linear-gradient(135deg, var(--bg-hero-start) 0%, var(--bg-hero-end) 100%);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.tip-card {
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
}

.tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tip-number {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 40px;
  height: 40px;
  background: var(--primary-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.tip-card h3 {
  color: var(--text-dark);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  padding-left: 1.5rem;
}

.tip-card p {
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.tip-example {
  background: var(--primary-accent-light);
  padding: 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  border-left: 4px solid var(--primary-accent);
}

.tip-example strong {
  color: var(--primary-accent);
}

/* NEW: Why Choose Us Section */
.why-choose-section {
  padding: 4rem 1rem;
  background-color: var(--bg-page);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.advantage-card {
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.advantage-icon i {
  font-size: 1.5rem;
  color: var(--primary-accent);
}

.advantage-card h3 {
  color: var(--text-dark);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.advantage-card p {
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.advantage-detail {
  background: var(--bg-page);
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.advantage-detail strong {
  color: var(--primary-accent);
}

/* NEW: Success Stories Section */
.success-stories-section {
  padding: 4rem 1rem;
  background: linear-gradient(135deg, var(--bg-hero-start) 0%, var(--bg-hero-end) 100%);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.story-card {
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.story-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.story-avatar {
  width: 60px;
  height: 60px;
  background: var(--primary-accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-avatar i {
  font-size: 1.5rem;
  color: var(--primary-accent);
}

.story-meta h3 {
  color: var(--text-dark);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.story-meta span {
  color: var(--text-light);
  font-size: 0.9rem;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.before, .after {
  padding: 1rem;
  border-radius: 0.5rem;
}

.before {
  background: var(--error-bg);
  border-left: 4px solid var(--error-text);
}

.after {
  background: var(--success-bg);
  border-left: 4px solid var(--success-text);
}

.before h4, .after h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.before h4 {
  color: var(--error-text);
}

.after h4 {
  color: var(--success-text);
}

.before p, .after p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.results {
  display: flex;
  justify-content: space-around;
  background: var(--bg-page);
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
}

.result-metric {
  text-align: center;
}

.metric-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-accent);
}

.metric-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

/* NEW: Technical Section */
.technical-section {
  padding: 4rem 1rem;
  background-color: var(--bg-page);
}

.technical-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.technical-card {
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.technical-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.technical-card h3 {
  color: var(--text-dark);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.technical-card p {
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.algorithm-details, .quality-metrics, .privacy-features, .performance-stats {
  background: var(--bg-page);
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
}

.algorithm-details h4, .quality-metrics h4, .privacy-features h4, .performance-stats h4 {
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.algorithm-details ul, .quality-metrics ul, .privacy-features ul, .performance-stats ul {
  color: var(--text-medium);
  padding-left: 1.5rem;
}

.algorithm-details li, .quality-metrics li, .privacy-features li, .performance-stats li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.algorithm-details strong, .quality-metrics strong, .privacy-features strong, .performance-stats strong {
  color: var(--primary-accent);
}

/* Features Section */
.features-section {
  padding: 4rem 1rem;
  background: linear-gradient(135deg, var(--bg-hero-start) 0%, var(--bg-hero-end) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon i {
  font-size: 1.5rem;
  color: var(--primary-accent);
}

.feature-card h3 {
  color: var(--text-dark);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-medium);
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  padding: 4rem 1rem;
  background-color: var(--bg-page);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.faq-item {
  background: var(--bg-card);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.faq-item h3 {
  color: var(--primary-accent);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}

.faq-item p {
  color: var(--text-medium);
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.faq-item p:last-child {
  margin-bottom: 0;
}

.faq-item strong {
  color: var(--primary-accent);
}

/* Footer */
.footer {
  background-color: var(--bg-card);
  padding: 2rem 1rem;
  margin-top: 4rem;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1rem 0;
}

.footer-links a {
  color: var(--text-medium);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary-accent);
}

.disclaimer {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-title {
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  margin-bottom: 1.25rem;
  color: var(--text-dark);
  text-align: center;
}

.subsection-title {
  font-size: clamp(1rem, 3vw, 1.1rem);
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.animate-on-load {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom scrollbar styling */
.diagram-container::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.diagram-container::-webkit-scrollbar-track {
  background: var(--bg-page);
  border-radius: 4px;
}

.diagram-container::-webkit-scrollbar-thumb {
  background: var(--text-light);
  border-radius: 4px;
}

.diagram-container::-webkit-scrollbar-thumb:hover {
  background: var(--text-medium);
}

/* Responsive Design */
@media (max-width: 767px) {
  .options-grid {
    grid-template-columns: 1fr;
  }
  
  .action-buttons {
    grid-template-columns: 1fr;
  }
  
  .download-options {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .overview-grid {
    grid-template-columns: 1fr;
  }
  
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
  
  .tips-grid {
    grid-template-columns: 1fr;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .stories-grid {
    grid-template-columns: 1fr;
  }
  
  .step-card {
    flex-direction: column;
    gap: 1rem;
  }
  
  .step-number {
    align-self: flex-start;
  }
  
  .before-after {
    grid-template-columns: 1fr;
  }
  
  .results {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .diagram-container {
    min-height: 300px;
    padding: 1rem;
  }
  
  .diagram-preview {
    min-height: 250px;
  }
  
  .shape {
    font-size: 12px;
    padding: 8px 12px;
  }
  
  .use-case-header {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .story-header {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}