/* ========================================
   DICCELO - Marketing Website
   ======================================== */

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

:root {
  --accent: #E53E3E;
  --accent-dark: #C53030;
  --accent-light: #FEB2B2;
  --surface: #F7F7F7;
  --border: #E2E2E2;
  --text-primary: #1A1A1A;
  --text-secondary: #6B6B6B;
  --bg-primary: #FFFFFF;
  --bg-dark: #0D0D0D;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- Animated Blob Background --- */
.blob-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.06;
  will-change: transform;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: #FF2020;
  top: -10%;
  left: -5%;
  animation: blobFloat1 12s ease-in-out infinite;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: #FF4444;
  top: 20%;
  right: -10%;
  animation: blobFloat2 15s ease-in-out infinite;
}

.blob-3 {
  width: 350px;
  height: 350px;
  background: #FF1A1A;
  bottom: 30%;
  left: 10%;
  animation: blobFloat3 11s ease-in-out infinite;
}

.blob-4 {
  width: 300px;
  height: 300px;
  background: #FF5555;
  bottom: -5%;
  right: 20%;
  animation: blobFloat4 14s ease-in-out infinite;
}

.blob-5 {
  width: 250px;
  height: 250px;
  background: #FF3333;
  top: 50%;
  left: 50%;
  animation: blobFloat5 13s ease-in-out infinite;
}

@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, 50px) scale(1.1); }
  66% { transform: translate(-40px, 80px) scale(0.95); }
}

@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, 40px) scale(1.05); }
  66% { transform: translate(30px, -50px) scale(1.1); }
}

@keyframes blobFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -60px) scale(1.08); }
  66% { transform: translate(-70px, 30px) scale(0.92); }
}

@keyframes blobFloat4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, -30px) scale(1.1); }
  66% { transform: translate(60px, 20px) scale(0.95); }
}

@keyframes blobFloat5 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(70px, -40px) scale(1.05); }
  66% { transform: translate(-50px, 60px) scale(1.1); }
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 24px;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 226, 226, 0.5);
  padding: 12px 24px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: all 0.2s !important;
}

.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* --- Sections --- */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(229, 62, 62, 0.08);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease both;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(48px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-line {
  display: block;
  animation: fadeInUp 0.6s ease both;
}

.hero-line:nth-child(1) { animation-delay: 0.1s; }
.hero-line:nth-child(2) { animation-delay: 0.2s; }
.hero-line:nth-child(3) { animation-delay: 0.3s; }

.hero-line.accent {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 440px;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease 0.5s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(229, 62, 62, 0.3);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(229, 62, 62, 0.4);
}

.btn-ghost {
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: fadeInUp 0.6s ease 0.6s both;
}

.stat-value {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* --- Hero Phone --- */
.hero-phone {
  flex-shrink: 0;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.phone-frame {
  width: 280px;
  height: 580px;
  background: var(--bg-dark);
  border-radius: 40px;
  padding: 12px;
  position: relative;
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.15),
    0 20px 60px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-notch {
  width: 120px;
  height: 28px;
  background: var(--bg-dark);
  border-radius: 0 0 20px 20px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #04040F;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

.phone-app {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.phone-header {
  position: absolute;
  top: 40px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.9);
}

.phone-orb-bg {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-orb {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, #FF6060, #E53E3E, #CC1010);
  border-radius: 50%;
  animation: orbPulse 3s ease-in-out infinite;
  box-shadow: 0 0 60px rgba(229, 62, 62, 0.4);
}

.phone-orb-ring {
  position: absolute;
  width: 140px;
  height: 140px;
  border: 2px solid rgba(229, 62, 62, 0.3);
  border-radius: 50%;
  animation: orbRing 3s ease-in-out infinite;
}

@keyframes orbPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 60px rgba(229, 62, 62, 0.4); }
  50% { transform: scale(1.08); box-shadow: 0 0 80px rgba(229, 62, 62, 0.6); }
}

@keyframes orbRing {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.2; }
}

.phone-mic-btn {
  margin-top: 32px;
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(229, 62, 62, 0.4);
}

.phone-tagline {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
}

/* --- Features --- */
.features {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border-color: rgba(229, 62, 62, 0.2);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(229, 62, 62, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* --- How It Works --- */
.how-it-works {
  padding: 120px 0;
  background: var(--surface);
  position: relative;
  z-index: 1;
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.step {
  text-align: center;
  flex: 1;
  max-width: 280px;
}

.step-number {
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
}

.step-phone {
  margin-bottom: 24px;
}

.step-phone-inner {
  width: 180px;
  height: 220px;
  background: var(--bg-dark);
  border-radius: 24px;
  padding: 8px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.step-screen {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.step-screen-record {
  background: #04040F;
  position: relative;
}

.step-orb-pulse {
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, #FF6060, #E53E3E);
  border-radius: 50%;
  animation: orbPulse 3s ease-in-out infinite;
  margin-bottom: 12px;
  box-shadow: 0 0 30px rgba(229, 62, 62, 0.4);
}

.step-timer {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
}

.step-screen-format {
  background: #fff;
  padding: 16px 12px;
  flex-wrap: wrap;
  gap: 6px;
}

.format-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 50px;
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.format-chip.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.step-screen-result {
  background: #fff;
  padding: 20px 16px;
  align-items: flex-start;
  gap: 6px;
}

.result-line {
  height: 6px;
  background: var(--surface);
  border-radius: 3px;
}

.w60 { width: 60%; }
.w75 { width: 75%; }
.w80 { width: 80%; }
.w85 { width: 85%; }
.w90 { width: 90%; }
.w100 { width: 100%; }

.result-gap {
  height: 8px;
}

.result-btn {
  margin-top: auto;
  width: 100%;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 8px;
  border-radius: 8px;
}

.step-arrow {
  flex-shrink: 0;
  opacity: 0.4;
  margin-top: -60px;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Formats --- */
.formats {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.format-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.format-tab {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: none;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.format-tab:hover {
  border-color: var(--text-secondary);
}

.format-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.format-display {
  max-width: 640px;
  margin: 0 auto;
}

.format-before, .format-after {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}

.format-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.format-text-before {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
}

.format-arrow-down {
  display: flex;
  justify-content: center;
  padding: 16px 0;
  animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.format-result {
  min-height: 180px;
}

.format-result-content {
  animation: fadeIn 0.3s ease;
}

.format-result-content p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.format-result-content p:last-child {
  margin-bottom: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Download CTA --- */
.download {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.download-card {
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.download-blob-1 {
  width: 400px;
  height: 400px;
  background: #E53E3E;
  opacity: 0.15;
  top: -20%;
  left: -10%;
  animation: blobFloat1 12s ease-in-out infinite;
}

.download-blob-2 {
  width: 300px;
  height: 300px;
  background: #FF4444;
  opacity: 0.1;
  bottom: -15%;
  right: -5%;
  animation: blobFloat2 15s ease-in-out infinite;
}

.download-content {
  position: relative;
  z-index: 1;
}

.download-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.download-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--bg-dark);
  padding: 14px 28px;
  border-radius: 14px;
  transition: all 0.25s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.store-text {
  text-align: left;
}

.store-label {
  display: block;
  font-size: 10px;
  color: var(--text-secondary);
  line-height: 1.2;
}

.store-name {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

/* --- Footer --- */
.footer {
  padding: 60px 24px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 4px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-primary);
}

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

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 60px;
    padding-top: 140px;
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    flex-direction: column;
    gap: 40px;
  }

  .step-arrow {
    transform: rotate(90deg);
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    justify-content: center;
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    width: 240px;
    height: 500px;
  }

  .format-tabs {
    flex-wrap: wrap;
  }

  .format-before, .format-after {
    padding: 20px 24px;
  }

  .download-card {
    padding: 60px 24px;
  }

  .store-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}
