@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables for Premium Design */
:root {
  --primary-color: #E5322D;
  --primary-hover: #C2221E;
  --primary-glow: rgba(229, 50, 45, 0.45);
  --primary-glow-subtle: rgba(229, 50, 45, 0.15);
  
  --dark-bg: #1A1A1A;
  --dark-surface: #242424;
  --dark-border: #333333;
  --dark-text: #F3F4F6;
  
  --light-bg: #FAFAFB;
  --light-surface: #FFFFFF;
  --light-border: #E5E7EB;
  --light-text: #1F2937;
  --light-text-secondary: #4B5563;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px var(--primary-glow-subtle);
  
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--light-bg);
  color: var(--light-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  outline: none;
}

/* Container Utility */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Sticky Header & Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--light-border);
  transition: var(--transition-normal);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  padding: 4px 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: var(--transition-normal);
}

header.scrolled .navbar {
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  color: var(--dark-bg);
  z-index: 1001;
}

.logo span {
  color: var(--primary-color);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background-color: var(--primary-color);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 4px 10px var(--primary-glow);
}

/* Nav Menu & Mega Menu */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--light-text);
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
}

.nav-link svg {
  width: 14px;
  height: 14px;
  transition: var(--transition-fast);
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

/* Mega Menu Styles */
.mega-menu {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: calc(100vw - 48px);
  max-width: 1252px;
  background-color: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--light-border);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal), transform var(--transition-normal);
  z-index: 999;
  max-height: calc(85vh - 80px);
  overflow-y: auto;
  scrollbar-width: thin;
}

header.scrolled .mega-menu {
  top: 70px;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-column h3 {
  font-family: var(--font-heading);
  font-size: 14px;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
  font-weight: 700;
  border-bottom: 1px solid var(--light-border);
  padding-bottom: 6px;
}

.mega-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mega-menu-link {
  font-size: 13.5px;
  color: var(--light-text-secondary);
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.mega-menu-link:hover {
  color: var(--primary-color);
  transform: translateX(4px);
}

/* Call To Action Buttons */
.cta-button {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 24px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--primary-glow);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-normal);
}

.cta-button:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 6px 20px var(--primary-glow);
  transform: translateY(-2px);
}

.cta-button.secondary {
  background-color: transparent;
  color: var(--light-text);
  border: 1px solid var(--light-border);
  box-shadow: none;
}

.cta-button.secondary:hover {
  background-color: var(--light-border);
  transform: translateY(-2px);
}

/* Hamburger & Mobile Nav */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--dark-bg);
  border-radius: 2px;
  transition: var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  background: radial-gradient(circle at 80% 20%, var(--primary-glow-subtle) 0%, transparent 40%), var(--light-bg);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 52px;
  line-height: 1.15;
  color: var(--dark-bg);
  font-weight: 800;
  margin-bottom: 24px;
}

.hero-content h1 span {
  color: var(--primary-color);
}

.hero-content p {
  font-size: 18px;
  color: var(--light-text-secondary);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.trust-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  opacity: 0.85;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--light-text-secondary);
}

.badge svg {
  color: #10B981;
  width: 18px;
  height: 18px;
}

/* Shiny 3D Icons Rotation Section */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
}

.icon-sphere {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(229, 50, 45, 0.08) 70%);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05), inset 0 0 40px rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  animation: float 6s ease-in-out infinite;
}

.shiny-card {
  position: absolute;
  width: 100px;
  height: 120px;
  border-radius: var(--border-radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-weight: 800;
  color: white;
  transition: transform var(--transition-normal);
}

.pdf-card {
  background: linear-gradient(135deg, #FF5B56 0%, #E5322D 100%);
  animation: orbit-pdf 12s linear infinite;
  box-shadow: 0 10px 25px rgba(229, 50, 45, 0.35);
}

.jpg-card {
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  animation: orbit-jpg 12s linear infinite;
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.35);
}

.arrow-card {
  background: linear-gradient(135deg, #10B981 0%, #047857 100%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  animation: orbit-arrow 12s linear infinite;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
}

.shiny-card svg {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
}

.shiny-card span {
  font-size: 12px;
  margin-top: 8px;
  letter-spacing: 0.1em;
  font-family: var(--font-heading);
}

/* Animations for orbiting cards */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes orbit-pdf {
  0% { transform: rotate(0deg) translate(140px) rotate(0deg); }
  100% { transform: rotate(360deg) translate(140px) rotate(-360deg); }
}

@keyframes orbit-jpg {
  0% { transform: rotate(120deg) translate(140px) rotate(-120deg); }
  100% { transform: rotate(480deg) translate(140px) rotate(-480deg); }
}

@keyframes orbit-arrow {
  0% { transform: rotate(240deg) translate(140px) rotate(-240deg); }
  100% { transform: rotate(560deg) translate(140px) rotate(-560deg); }
}

/* Section Header */
.section-title-wrap {
  text-align: center;
  margin-bottom: 48px;
}

.section-title-wrap h2 {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  color: var(--dark-bg);
  margin-bottom: 12px;
}

.section-title-wrap h2 span {
  color: var(--primary-color);
}

.section-title-wrap p {
  font-size: 16px;
  color: var(--light-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Popular Tools Section */
.popular-tools {
  padding: 80px 0;
  background-color: var(--light-surface);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tool-card {
  background-color: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--border-radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--primary-color);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition-normal);
}

.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: rgba(229, 50, 45, 0.2);
}

.tool-card:hover::before {
  transform: scaleY(1);
}

.tool-card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary-glow-subtle);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-bottom: 24px;
  transition: var(--transition-normal);
}

.tool-card:hover .tool-card-icon {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.05);
}

.tool-card-icon svg {
  width: 24px;
  height: 24px;
}

.tool-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 12px;
}

.tool-card p {
  font-size: 14px;
  color: var(--light-text-secondary);
  flex-grow: 1;
  margin-bottom: 18px;
}

.tool-card-arrow {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  margin-top: auto;
}

.tool-card-arrow svg {
  width: 16px;
  height: 16px;
  transition: var(--transition-fast);
}

.tool-card:hover .tool-card-arrow svg {
  transform: translateX(4px);
}

/* All Tools Section (With Filter & Search) */
.all-tools-section {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.search-wrapper {
  position: relative;
  flex: 1;
  max-width: 400px;
  min-width: 280px;
}

.search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  background-color: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: 30px;
  font-size: 15px;
  color: var(--light-text);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.search-input:focus {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-glow);
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--light-text-secondary);
  pointer-events: none;
}

.search-icon svg {
  width: 18px;
  height: 18px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-tab {
  background-color: var(--light-surface);
  border: 1px solid var(--light-border);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--light-text-secondary);
  cursor: pointer;
  transition: var(--transition-normal);
}

.filter-tab:hover, .filter-tab.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  box-shadow: 0 4px 10px var(--primary-glow-subtle);
}

/* Category Grid list inside homepage */
.category-block {
  margin-bottom: 48px;
}

.category-block h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-block h2 span {
  width: 8px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 2px;
  display: inline-block;
}

.all-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.all-tools-grid .tool-card {
  padding: 24px 20px;
}

.all-tools-grid .tool-card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
}

.all-tools-grid .tool-card-icon svg {
  width: 20px;
  height: 20px;
}

.all-tools-grid .tool-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.all-tools-grid .tool-card p {
  font-size: 13px;
  margin-bottom: 12px;
}

/* Why Choose Us Section */
.why-choose {
  padding: 80px 0;
  background-color: var(--light-surface);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-card {
  background-color: var(--light-bg);
  border: 1px solid var(--light-border);
  border-radius: var(--border-radius-md);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--light-border);
}

.why-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: white;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin: 0 auto 24px auto;
  font-size: 28px;
  transition: var(--transition-normal);
}

.why-card:hover .why-card-icon {
  background-color: var(--primary-color);
  color: white;
  transform: rotate(360deg);
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.why-card p {
  font-size: 14.5px;
  color: var(--light-text-secondary);
}

/* FAQ Section Styling */
.faq-section {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--border-radius-sm);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 16px;
  color: var(--dark-bg);
}

.faq-question:hover {
  color: var(--primary-color);
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}

.faq-icon svg {
  width: 20px;
  height: 20px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: var(--light-text-secondary);
  font-size: 14.5px;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-item.active {
  border-color: rgba(229, 50, 45, 0.3);
  box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.faq-item.active .faq-answer {
  padding: 0 24px 24px 24px;
  max-height: 500px; /* Large enough buffer */
}

/* Footer Section styling */
footer {
  background-color: var(--dark-bg);
  color: #9CA3AF;
  padding-top: 80px;
  border-top: 3px solid var(--primary-color);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(180deg, var(--primary-glow-subtle) 0%, transparent 100%);
  pointer-events: none;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.footer-col .logo {
  color: white;
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: #2D2D2D;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.social-icon:hover {
  transform: translateY(-4px) scale(1.1);
}

.social-icon.facebook:hover {
  background-color: #1877F2;
  box-shadow: 0 0 15px rgba(24, 119, 242, 0.6);
}

.social-icon.twitter:hover {
  background-color: #000000;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.social-icon.instagram:hover {
  background-color: #E4405F;
  box-shadow: 0 0 15px rgba(228, 64, 95, 0.6);
}

.social-icon.linkedin:hover {
  background-color: #0A66C2;
  box-shadow: 0 0 15px rgba(10, 102, 194, 0.6);
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-list a {
  font-size: 14.5px;
  color: #9CA3AF;
  display: inline-block;
}

.footer-list a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid #2D2D2D;
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

/* Tool Interface Section (General Wrapper) */
.tool-page-wrapper {
  padding-top: 130px;
  padding-bottom: 80px;
  background-color: var(--light-bg);
}

.tool-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.tool-header h1 {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  color: var(--dark-bg);
  margin-bottom: 16px;
}

.tool-header h1 span {
  color: var(--primary-color);
}

.tool-header p {
  font-size: 16.5px;
  color: var(--light-text-secondary);
}

/* Upload Interface Box */
.tool-interface-card {
  max-width: 800px;
  margin: 0 auto 60px auto;
  background-color: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
}

.upload-zone {
  border: 3px dashed var(--light-border);
  border-radius: var(--border-radius-md);
  padding: 60px 40px;
  text-align: center;
  cursor: pointer;
  background-color: var(--light-bg);
  transition: border-color var(--transition-normal), background-color var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--primary-color);
  background-color: var(--primary-glow-subtle);
}

.upload-icon {
  width: 72px;
  height: 72px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin: 0 auto 20px auto;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
}

.upload-zone:hover .upload-icon {
  transform: translateY(-5px) scale(1.05);
}

.upload-icon svg {
  width: 32px;
  height: 32px;
}

.upload-zone h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 8px;
}

.upload-zone p {
  font-size: 14.5px;
  color: var(--light-text-secondary);
  margin-bottom: 20px;
}

.file-input {
  display: none;
}

/* Options Bar inside Interface Card */
.tool-options-bar {
  margin-top: 32px;
  border-top: 1px solid var(--light-border);
  padding-top: 24px;
  display: none; /* Shown dynamically when file exists */
}

.options-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 16px;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.option-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.option-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--light-text);
}

.option-select, .option-input {
  padding: 12px 16px;
  border: 1px solid var(--light-border);
  border-radius: var(--border-radius-sm);
  background-color: white;
  font-size: 14px;
  color: var(--light-text);
  width: 100%;
}

.option-select:focus, .option-input:focus {
  border-color: var(--primary-color);
}

/* File list container */
.file-list {
  display: none;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background-color: var(--light-bg);
  border: 1px solid var(--light-border);
  border-radius: var(--border-radius-sm);
}

.file-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.file-info svg {
  color: var(--primary-color);
  width: 24px;
  height: 24px;
}

.file-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--dark-bg);
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-size {
  font-size: 12px;
  color: var(--light-text-secondary);
}

.remove-file {
  color: var(--light-text-secondary);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.remove-file:hover {
  color: var(--primary-color);
}

/* Processing & Actions */
.action-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.progress-container {
  display: none;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background-color: var(--light-bg);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 4px;
  transition: width 0.1s linear;
}

.progress-status {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--light-text-secondary);
  font-weight: 500;
}

.download-box {
  display: none;
  text-align: center;
  background-color: rgba(16, 185, 129, 0.05);
  border: 1px dashed #10B981;
  border-radius: var(--border-radius-md);
  padding: 30px;
  margin-bottom: 24px;
}

.download-box h3 {
  color: #047857;
  font-family: var(--font-heading);
  margin-bottom: 12px;
  font-size: 18px;
}

.download-box p {
  font-size: 14px;
  color: var(--light-text-secondary);
  margin-bottom: 20px;
}

/* SEO Content Styling for Tool Pages */
.tool-seo-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
  background-color: var(--light-surface);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
}

.seo-section {
  margin-bottom: 40px;
}

.seo-section:last-child {
  margin-bottom: 0;
}

.seo-section h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 18px;
  border-left: 4px solid var(--primary-color);
  padding-left: 14px;
}

.seo-section h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-bg);
  margin: 24px 0 12px 0;
}

.seo-section p {
  font-size: 15.5px;
  color: var(--light-text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.seo-section ul, .seo-section ol {
  padding-left: 24px;
  margin-bottom: 20px;
  color: var(--light-text-secondary);
  font-size: 15.5px;
}

.seo-section li {
  margin-bottom: 8px;
}

/* Steps graphic layout */
.how-it-works-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.step-card {
  background-color: var(--light-bg);
  padding: 24px;
  border-radius: var(--border-radius-sm);
  text-align: center;
  border: 1px solid var(--light-border);
}

.step-num {
  width: 36px;
  height: 36px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin: 0 auto 16px auto;
}

.step-card h4 {
  font-family: var(--font-heading);
  margin-bottom: 8px;
  font-weight: 700;
}

.step-card p {
  font-size: 13.5px;
  margin-bottom: 0;
}

/* General Pages templates styles (About, Contact, Legal) */
.general-page-wrapper {
  padding-top: 140px;
  padding-bottom: 80px;
  background-color: var(--light-bg);
}

.general-card {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 50px;
}

.general-card h1 {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  color: var(--dark-bg);
  margin-bottom: 20px;
  text-align: center;
}

.general-card h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-bg);
  margin-top: 36px;
  margin-bottom: 16px;
}

.general-card p {
  font-size: 16px;
  color: var(--light-text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

/* Contact Form Grid styling */
.contact-form-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  margin-top: 40px;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.info-icon {
  width: 44px;
  height: 44px;
  background-color: var(--primary-glow-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
}

.info-icon svg {
  width: 20px;
  height: 20px;
}

.info-text h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--dark-bg);
}

.info-text p {
  font-size: 14.5px;
  margin-bottom: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
}

.form-input, .form-textarea {
  padding: 12px 16px;
  border: 1px solid var(--light-border);
  border-radius: var(--border-radius-sm);
  background-color: var(--light-bg);
  font-size: 14.5px;
  transition: var(--transition-normal);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--primary-color);
  background-color: white;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Toast Message Alerts */
.toast {
  position: fixed;
  bottom: 24px;
  right: -320px;
  background-color: var(--dark-bg);
  color: white;
  padding: 16px 24px;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2000;
}

.toast.show {
  right: 24px;
}

.toast.success {
  border-left: 4px solid #10B981;
}

.toast.error {
  border-left: 4px solid var(--primary-color);
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: 44px;
  }
  .tools-grid, .all-tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .navbar {
    height: 70px;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  
  /* Mobile Menu Side Drawer */
  .mobile-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background-color: white;
    box-shadow: var(--shadow-lg);
    z-index: 998;
    padding: 30px 24px;
    overflow-y: auto;
    transition: left var(--transition-normal);
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .mobile-menu.active {
    left: 0;
  }
  
  .mobile-nav-link {
    font-weight: 600;
    font-size: 16px;
    color: var(--light-text);
    padding: 10px 0;
    border-bottom: 1px solid var(--light-border);
    display: block;
  }
  
  .mobile-nav-link:hover {
    color: var(--primary-color);
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content p {
    margin: 0 auto 30px auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .trust-badges {
    justify-content: center;
  }
  
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .tools-grid, .all-tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .how-it-works-steps {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .tools-grid, .all-tools-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 34px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .tool-header h1 {
    font-size: 30px;
  }
  .general-card {
    padding: 24px;
  }
  .general-card h1 {
    font-size: 30px;
  }
}
