/* ========================================
   PDF Converter Pro — Corporate Website
   ======================================== */

/* --- Reset & Variables --- */
:root {
  --white: #ffffff;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --gray-950: #0B0F1A;
  --violet-400: #A78BFA;
  --violet-500: #8B5CF6;
  --violet-600: #7C3AED;
  --fuchsia-500: #D946EF;
  --cyan-400: #22D3EE;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: var(--white);
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* --- Navigation --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; transition: all .35s ease;
}
.nav.scrolled {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 1px 0 var(--gray-200);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; color: var(--gray-900);
  text-decoration: none;
}
.nav-logo-icon {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--violet-400), var(--violet-600));
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-icon--sm { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  text-decoration: none; color: var(--gray-500); font-weight: 500; font-size: 14px;
  transition: color .2s;
}
.nav-links a:hover { color: var(--gray-900); }
.nav-cta {
  background: var(--gray-900) !important; color: var(--white) !important;
  padding: 9px 22px !important; border-radius: var(--radius-full) !important;
  font-weight: 600 !important; font-size: 13px !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--violet-600) !important; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--gray-800); border-radius: 2px; transition: all .3s; }
.nav-toggle.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.nav-toggle.active span:nth-child(2){opacity:0}
.nav-toggle.active span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}
.mobile-menu {
  display: none; flex-direction: column; padding: 12px 24px 24px; gap: 12px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(20px);
}
.mobile-menu a { text-decoration: none; color: var(--gray-800); font-weight: 500; font-size: 15px; padding: 8px 0; }
.mobile-menu.open { display: flex; }
@media(max-width:768px){ .nav-links{display:none} .nav-toggle{display:flex} }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px; text-decoration: none;
  border-radius: var(--radius-full); border: none; cursor: pointer;
  font-family: inherit; transition: all .25s;
}
.btn--lg { padding: 14px 28px; font-size: 15px; }
.btn--primary {
  background: var(--gray-900); color: var(--white);
}
.btn--primary:hover { background: var(--violet-600); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(124,58,237,.25); }
.btn--outline {
  background: transparent; color: var(--gray-900);
  border: 1.5px solid var(--gray-300);
}
.btn--outline:hover { border-color: var(--gray-900); }
.btn--white { background: var(--white); color: var(--gray-900); }
.btn--white:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,255,255,.25); }
.btn--ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* --- Hero --- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center; overflow: hidden;
  background: var(--gray-950);
  padding: 120px 0 80px;
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(100px); opacity: .5;
  pointer-events: none;
}
.hero-glow--1 {
  width: 600px; height: 600px; top: -15%; right: -10%;
  background: radial-gradient(circle, rgba(139,92,246,.4), transparent 70%);
}
.hero-glow--2 {
  width: 500px; height: 500px; bottom: -10%; left: -5%;
  background: radial-gradient(circle, rgba(6,182,212,.25), transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black, transparent);
}
.hero-content { position: relative; z-index: 1; }
.pill {
  display: inline-block; padding: 7px 18px;
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-full);
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.04); backdrop-filter: blur(10px);
  margin-bottom: 28px; letter-spacing: .2px;
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 60px); font-weight: 800; line-height: 1.1;
  color: var(--white); margin-bottom: 20px; letter-spacing: -.03em;
}
.gradient-text {
  background: linear-gradient(135deg, var(--violet-400), var(--fuchsia-500), var(--cyan-400));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 17px; color: rgba(255,255,255,.55); max-width: 520px;
  margin: 0 auto 36px; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-buttons .btn--primary { background: var(--white); color: var(--gray-900); }
.hero-buttons .btn--primary:hover { background: var(--violet-400); color: var(--white); }
.hero-buttons .btn--outline { color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.2); }
.hero-buttons .btn--outline:hover { border-color: rgba(255,255,255,.5); color: var(--white); }

.hero-metrics {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; margin-top: 56px;
}
.metric { display: flex; flex-direction: column; align-items: center; }
.metric strong { font-size: 26px; font-weight: 800; color: var(--white); }
.metric span { font-size: 12px; color: rgba(255,255,255,.4); font-weight: 500; margin-top: 2px; text-transform: uppercase; letter-spacing: .5px; }
.metric-sep { width: 1px; height: 36px; background: rgba(255,255,255,.1); }

/* --- Sections --- */
.section { padding: 100px 0; }
.section--light { background: var(--white); }
.section--dark { background: var(--gray-950); }
.section--accent {
  background: linear-gradient(160deg, var(--gray-950) 0%, #1a1040 100%);
}
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(28px, 3.5vw, 40px); font-weight: 800;
  letter-spacing: -.02em; margin-bottom: 12px; color: var(--gray-900);
}
.section-head p { font-size: 16px; color: var(--gray-500); max-width: 460px; margin: 0 auto; }
.section-head--light h2 { color: var(--white); }
.section-head--light p { color: rgba(255,255,255,.5); }
.label {
  display: inline-block; padding: 5px 14px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px;
  color: var(--violet-600); background: rgba(167,139,250,.08);
  margin-bottom: 16px;
}
.label--dark { color: var(--violet-400); background: rgba(167,139,250,.12); }

/* --- Cards (Features) --- */
.cards { display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media(max-width:1024px){ .cards--3{grid-template-columns:repeat(2,1fr)} }
@media(max-width:640px){ .cards--3{grid-template-columns:1fr} }

.card {
  padding: 32px; border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200); background: var(--white);
  transition: all .3s;
}
.card:hover {
  border-color: var(--gray-300);
  box-shadow: 0 12px 40px rgba(0,0,0,.06);
  transform: translateY(-3px);
}
.card-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--c); background: var(--cbg);
}
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--gray-900); }
.card p { font-size: 14px; color: var(--gray-500); line-height: 1.65; }

/* --- Tools (dark section) --- */
.tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media(max-width:640px){ .tools-grid{grid-template-columns:1fr} }
.tool {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px; border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.03);
  transition: all .3s;
}
.tool:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.tool-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
  background: var(--c); box-shadow: 0 0 12px var(--c);
}
.tool strong { font-size: 15px; font-weight: 600; color: var(--white); display: block; }
.tool span { font-size: 13px; color: rgba(255,255,255,.4); margin-top: 2px; display: block; }

/* --- Chips (Extras) --- */
.chips {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-full);
  border: 1px solid var(--gray-200); background: var(--gray-50);
  font-size: 14px; font-weight: 600; color: var(--gray-700);
  transition: all .2s;
}
.chip:hover { border-color: var(--violet-400); background: rgba(167,139,250,.06); }
.chip span { font-size: 18px; }

/* --- Pricing --- */
.pricing-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-bottom: 48px;
}
@media(max-width:768px){ .pricing-row{grid-template-columns:1fr; max-width:340px; margin:0 auto 48px} }
.price-card {
  text-align: center; padding: 40px 28px; border-radius: var(--radius-2xl);
  border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04);
  transition: all .3s;
}
.price-card:hover { border-color: rgba(255,255,255,.15); transform: translateY(-3px); }
.price-card--pop {
  border-color: var(--violet-500); position: relative;
  background: rgba(139,92,246,.08);
  box-shadow: 0 0 60px rgba(139,92,246,.15);
}
.pop-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--violet-500), var(--fuchsia-500));
  color: var(--white); padding: 5px 18px; border-radius: var(--radius-full);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
}
.price-amount { font-size: 52px; font-weight: 900; color: var(--white); line-height: 1; }
.price-unit { font-size: 14px; color: rgba(255,255,255,.4); font-weight: 500; margin-bottom: 20px; text-transform: uppercase; letter-spacing: .5px; }
.price-tag { font-size: 24px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.price-per { font-size: 13px; color: rgba(255,255,255,.35); }

.usage-table {
  max-width: 560px; margin: 0 auto;
  padding: 28px; border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03);
}
.usage-table h3 {
  font-size: 15px; font-weight: 700; color: var(--white);
  text-align: center; margin-bottom: 16px;
}
.usage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.usage-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 14px; color: rgba(255,255,255,.5);
}
.usage-row:nth-last-child(-n+2) { border-bottom: none; }
.usage-row strong {
  color: var(--violet-400); font-weight: 700; font-size: 14px;
}

/* --- CTA Box --- */
.cta-box {
  text-align: center; padding: 72px 40px; border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, var(--gray-950), #1a1040);
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; top: -40%; right: -20%;
  width: 500px; height: 500px; border-radius: 50%; opacity: .3;
  background: radial-gradient(circle, var(--violet-500), transparent 70%);
  pointer-events: none;
}
.cta-box h2 {
  font-size: clamp(26px, 4vw, 36px); font-weight: 800; color: var(--white);
  margin-bottom: 12px; position: relative;
}
.cta-box p {
  font-size: 16px; color: rgba(255,255,255,.55); margin-bottom: 32px; position: relative;
}
.cta-box .hero-buttons { position: relative; }

/* --- Footer --- */
.footer {
  padding: 36px 0; border-top: 1px solid var(--gray-200);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
}
.footer-left .nav-logo { font-size: 15px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  text-decoration: none; color: var(--gray-500); font-size: 13px;
  font-weight: 500; transition: color .2s;
}
.footer-links a:hover { color: var(--gray-900); }
.footer-right { font-size: 13px; color: var(--gray-400); }

@media(max-width:768px){
  .footer-inner { flex-direction: column; text-align: center; }
}
