/* ============================================================
   DriveDownloader – Light Theme
   Bootstrap 5.3 · Inter Font
   ============================================================ */

/* ---------- Global ---------- */
:root {
  --dd-bg:           #f8fafc;
  --dd-bg-deep:      #f0f4f8;
  --dd-bg-card:      #ffffff;
  --dd-border:       rgba(0, 0, 0, 0.09);
  --dd-text:         #1e293b;
  --dd-muted:        #64748b;
  --dd-blue:         #1a73e8;
  --dd-green:        #34a853;
  --dd-yellow:       #f59e0b;
  --dd-red:          #ea4335;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--dd-bg);
  color: var(--dd-text);
  padding-top: 70px; /* fixed navbar offset */
}

/* ---------- Navbar ---------- */
.dd-navbar {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
  padding: 10px 0;
}
.dd-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.dd-navbar .navbar-brand img {
  height: 34px;
}
.navbar-brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.01em;
}
.dd-navbar .nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 12px !important;
  color: #4b5563 !important;
  transition: color 0.2s;
}
.dd-navbar .nav-link:hover {
  color: #1a73e8 !important;
}
.dd-navbar .navbar-toggler:focus {
  box-shadow: none;
}

/* ---------- Hero ---------- */
.hero-section {
  background: linear-gradient(135deg, #e8f0fe 0%, #f0f8ff 55%, #eaf4ea 100%);
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 70px 0 60px;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 115, 232, 0.18) 0%, transparent 70%);
  animation: blob-pulse 7s ease-in-out infinite;
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 168, 83, 0.14) 0%, transparent 70%);
  animation: blob-pulse 9s ease-in-out infinite reverse;
  pointer-events: none;
}
@keyframes blob-pulse {
  0%, 100% { transform: scale(1);   opacity: 0.8; }
  50%       { transform: scale(1.3); opacity: 0.3; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 115, 232, 0.1);
  border: 1px solid rgba(26, 115, 232, 0.25);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #1a73e8;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: #1e293b;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--dd-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Google brand colours */
.g-blue   { color: #4285f4; }
.g-red    { color: #ea4335; }
.g-yellow { color: #fbbc05; }
.g-green  { color: #34a853; }

/* Google Drive gradient text */
.google-drive-text {
  background: linear-gradient(90deg, #4285f4 0%, #34a853 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.quality-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.quality-badge {
  background: rgba(26, 115, 232, 0.08);
  border: 1px solid rgba(26, 115, 232, 0.2);
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #1a73e8;
}

/* ---------- Download Form Card ---------- */
.download-form-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 36px 32px;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}
.download-form-card .form-label-sm {
  font-size: 12px;
  font-weight: 600;
  color: var(--dd-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.link-input {
  background:    #ffffff !important;
  border:        1px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: 10px !important;
  color:         #1e293b !important;
  font-size:     14px !important;
  padding:       14px 16px !important;
  transition:    border-color 0.25s, box-shadow 0.25s;
}
.link-input:focus {
  border-color: rgba(26, 115, 232, 0.6) !important;
  box-shadow:   0 0 0 3px rgba(26, 115, 232, 0.12) !important;
  background:   #ffffff !important;
  color:        #1e293b !important;
}
.link-input::placeholder {
  color:     #adb5bd;
  font-size: 13px;
}

.step-hint {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(26, 115, 232, 0.12);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: #1a73e8;
  margin-right: 4px;
}

.share-images-row img {
  border-radius: 10px;
  border: 1px solid var(--dd-border);
  width: 100%;
}

/* ---------- Result Card ---------- */
.result-card {
  background: #ffffff;
  border: 1px solid var(--dd-border);
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
}
.result-thumbnail {
  border-radius: 12px;
  border: 1px solid var(--dd-border);
  max-width: 220px;
  width: 100%;
}

/* ---------- Buttons ---------- */
.btn-glow-primary {
  background:    linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
  border:        none;
  border-radius: 10px;
  padding:       10px 24px;
  font-weight:   600;
  font-size:     14px;
  color:         #fff;
  transition:    all 0.3s ease;
  box-shadow:    0 4px 15px rgba(26, 115, 232, 0.25);
}
.btn-glow-primary:hover {
  transform:  translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 115, 232, 0.45);
  color:      #fff;
}

.btn-glow-green {
  background:    linear-gradient(135deg, #34a853 0%, #1e7e34 100%);
  border:        none;
  border-radius: 10px;
  padding:       10px 22px;
  font-weight:   600;
  font-size:     14px;
  color:         #fff;
  box-shadow:    0 4px 15px rgba(52, 168, 83, 0.25);
  transition:    all 0.3s ease;
}
.btn-glow-green:hover {
  transform:  translateY(-2px);
  box-shadow: 0 8px 25px rgba(52, 168, 83, 0.45);
  color:      #fff;
}

/* ---------- Sections ---------- */
.section-dark {
  background: var(--dd-bg);
  padding: 80px 0;
}
.section-darker {
  background: var(--dd-bg-deep);
  padding: 80px 0;
}
.steps-section {
  background: #eef2ff;
  padding: 80px 0;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--dd-text);
}
.section-subtitle {
  color: var(--dd-muted);
  font-size: 1rem;
  margin-bottom: 48px;
}

/* ---------- Feature Cards ---------- */
.feature-card {
  background:    #ffffff;
  border:        1px solid var(--dd-border);
  border-radius: 16px;
  padding:       30px 24px;
  height:        100%;
  transition:    transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform:    translateY(-4px);
  border-color: rgba(26, 115, 232, 0.25);
  box-shadow:   0 16px 44px rgba(0, 0, 0, 0.1);
}
.feature-icon {
  width:         52px;
  height:        52px;
  border-radius: 14px;
  display:       flex;
  align-items:   center;
  justify-content: center;
  font-size:     22px;
  margin-bottom: 18px;
}
.feature-icon.green  { background: rgba(52, 168, 83,  0.12); color: #34a853; }
.feature-icon.blue   { background: rgba(26, 115, 232, 0.12); color: #4285f4; }
.feature-icon.yellow { background: rgba(251, 188, 5,  0.12); color: #d97706; }
.feature-icon.red    { background: rgba(234, 67, 53,  0.12); color: #ea4335; }
.feature-card h5 {
  font-size:   1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dd-text);
}
.feature-card p {
  font-size:   0.875rem;
  color:       var(--dd-muted);
  line-height: 1.65;
  margin: 0;
}

/* ---------- Steps ---------- */
.step-item {
  display:    flex;
  gap:        20px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.step-circle {
  width:          48px;
  height:         48px;
  border-radius:  50%;
  display:        flex;
  align-items:    center;
  justify-content: center;
  font-weight:    700;
  font-size:      17px;
  flex-shrink:    0;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background:    #ffffff;
  border:        1px solid var(--dd-border);
  border-radius: 16px;
  padding:       28px 24px;
  height:        100%;
  box-shadow:    0 2px 12px rgba(0, 0, 0, 0.05);
}
.testimonial-avatar {
  width:        50px;
  height:       50px;
  border-radius: 50%;
  object-fit:   cover;
  border:       2px solid rgba(0, 0, 0, 0.08);
  flex-shrink:  0;
}
.testimonial-stars { color: var(--dd-yellow); font-size: 13px; }
.testimonial-text {
  font-size:   0.93rem;
  color:       #4b5563;
  line-height: 1.75;
  margin:      14px 0 16px;
}
.testimonial-name {
  font-weight: 600;
  font-size:   14px;
  color:       var(--dd-text);
  margin: 0;
}
.testimonial-role {
  font-size: 12px;
  color:     var(--dd-muted);
}

/* ---------- FAQ Accordion ---------- */
.faq-accordion .accordion-item {
  background:    #ffffff;
  border:        1px solid var(--dd-border) !important;
  border-radius: 12px !important;
  margin-bottom: 10px;
  overflow:      hidden;
  box-shadow:    0 1px 6px rgba(0, 0, 0, 0.04);
}
.faq-accordion .accordion-button {
  background:  #ffffff;
  color:       var(--dd-text);
  font-weight: 600;
  font-size:   0.93rem;
  padding:     18px 22px;
  box-shadow:  none;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(26, 115, 232, 0.05);
  color:      #1a73e8;
}
.faq-accordion .accordion-button::after { filter: none; opacity: 0.7; }
.faq-accordion .accordion-body {
  background:  #ffffff;
  color:       var(--dd-muted);
  padding:     4px 22px 20px;
  font-size:   0.875rem;
  line-height: 1.75;
}

/* ---------- Download Progress Page ---------- */
.download-card {
  background:    #ffffff;
  border:        1px solid var(--dd-border);
  border-radius: 18px;
  overflow:      hidden;
  max-width:     600px;
  margin:        0 auto 32px;
  box-shadow:    0 8px 30px rgba(0, 0, 0, 0.08);
}
.download-card .card-header {
  background:  linear-gradient(135deg, #34a853 0%, #1e7e34 100%);
  padding:     16px 24px;
  font-weight: 600;
  color:       #fff;
  border:      none;
}
.download-card .card-body  { padding: 32px; }
.download-card .card-footer {
  background:  #f8fafc;
  border-top:  1px solid var(--dd-border);
  padding:     24px;
}
.progress {
  background:   rgba(0, 0, 0, 0.08);
  border-radius: 50px;
  height:       8px;
}
.progress-bar { border-radius: 50px; }

/* ---------- Footer ---------- */
.dd-footer {
  background:  #1e293b;
  border-top:  1px solid rgba(255, 255, 255, 0.05);
  padding:     52px 0 32px;
}
.footer-logo {
  display:     flex;
  align-items: center;
  font-size:   1.15rem;
  font-weight: 700;
  color:       #f1f5f9;
  margin-bottom: 10px;
}
.footer-desc {
  font-size:  0.875rem;
  color:      #94a3b8;
  max-width:  270px;
  line-height: 1.6;
}
.footer-link {
  color:           #94a3b8;
  text-decoration: none;
  font-size:       0.875rem;
  transition:      color 0.2s;
}
.footer-link:hover { color: #f1f5f9; }
.footer-divider {
  border-color: rgba(255, 255, 255, 0.08);
  margin: 36px 0 22px;
}

/* ---------- Static Pages (Privacy, ToS) ---------- */
.static-page {
  color:         #374151;
  padding-top:   30px;
  padding-bottom: 70px;
  min-height:    60vh;
}
.static-page h1, .static-page h2, .static-page h3 {
  color: var(--dd-text);
}
.static-page a { color: #1a73e8; }
.static-page li { margin-bottom: 6px; }

/* ---------- Utilities ---------- */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
.blink-image { animation: blink 1.5s ease-in-out infinite; }

[id] { scroll-margin-top: 80px; }

/* ---------- Stats Strip ---------- */
.stats-strip {
  background: #ffffff;
  border-top:    1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 28px 0;
}
.stat-item { padding: 8px 0; }
.stat-number {
  font-size:   2rem;
  font-weight: 800;
  color:       #1a73e8;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size:  0.8rem;
  font-weight: 500;
  color:      #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Use-Case Cards ---------- */
.usecase-card {
  background:    #ffffff;
  border:        1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding:       28px 22px;
  height:        100%;
  transition:    transform 0.3s ease, box-shadow 0.3s ease;
}
.usecase-card:hover {
  transform:  translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
}
.usecase-icon {
  width:         50px;
  height:        50px;
  border-radius: 14px;
  display:       flex;
  align-items:   center;
  justify-content: center;
  font-size:     22px;
  margin-bottom: 16px;
}
.usecase-card h5 {
  font-size:   1rem;
  font-weight: 700;
  color:       #1e293b;
  margin-bottom: 10px;
}
.usecase-card p {
  font-size:   0.875rem;
  color:       #64748b;
  line-height: 1.7;
  margin-bottom: 14px;
}
.usecase-tags {
  display:    flex;
  flex-wrap:  wrap;
  gap:        6px;
}
.usecase-tags span {
  background:    rgba(26, 115, 232, 0.07);
  border:        1px solid rgba(26, 115, 232, 0.15);
  border-radius: 4px;
  padding:       2px 10px;
  font-size:     11px;
  font-weight:   600;
  color:         #1a73e8;
}

/* ---------- About Detail Section ---------- */
.about-detail-section {
  background: var(--dd-bg);
  padding:    80px 0;
}
.about-subheading {
  font-size:   1.05rem;
  font-weight: 700;
  color:       #1e293b;
  margin-top:  28px;
  margin-bottom: 8px;
}
.lead-sm {
  font-size: 1.05rem;
  line-height: 1.7;
}
.about-fact-card {
  background:    #ffffff;
  border:        1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding:       28px 24px;
  box-shadow:    0 4px 16px rgba(0, 0, 0, 0.05);
}
.about-fact-list {
  list-style:  none;
  padding:     0;
  margin:      0;
}
.about-fact-list li {
  display:     flex;
  align-items: center;
  font-size:   0.875rem;
  color:       #374151;
  margin-bottom: 8px;
}
.about-fact-list li:last-child { margin-bottom: 0; }
.about-tip-card {
  background:    #f8fafc;
  border:        1px solid rgba(0, 0, 0, 0.07);
  border-left:   4px solid #1a73e8;
  border-radius: 12px;
  padding:       20px;
}
.about-tip-icon {
  width:         38px;
  height:        38px;
  border-radius: 10px;
  background:    rgba(26, 115, 232, 0.1);
  color:         #1a73e8;
  display:       flex;
  align-items:   center;
  justify-content: center;
  font-size:     18px;
  flex-shrink:   0;
}

/* ---------- Supported Formats Bar ---------- */
.supported-formats-bar {
  background:    #ffffff;
  border:        1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding:       18px 24px;
  display:       flex;
  flex-wrap:     wrap;
  align-items:   center;
  gap:           10px;
}
.formats-label {
  font-size:   0.8rem;
  font-weight: 700;
  color:       #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 6px;
}
.format-tag {
  background:    rgba(26, 115, 232, 0.07);
  border:        1px solid rgba(26, 115, 232, 0.18);
  border-radius: 6px;
  padding:       5px 12px;
  font-size:     12px;
  font-weight:   600;
  color:         #1a73e8;
  display:       flex;
  align-items:   center;
  gap:           5px;
}
