/* landing.css - Premium SaaS Identity for Exmora */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --bg-base: #0B0F1A;
  --bg-surface: rgba(255, 255, 255, 0.05);
  --bg-surface-hover: rgba(255, 255, 255, 0.08);

  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-strong: rgba(255, 255, 255, 0.15);

  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-gradient: linear-gradient(90deg, #2563EB, #60A5FA);
  --accent-glow: rgba(37, 99, 235, 0.35);
  --accent-glow-strong: rgba(37, 99, 235, 0.6);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --nav-height: 72px;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family:
    "Inter",
    -apple-system,
    sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Effects */
.bg-noise {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}
.glow-1 {
  top: -20%;
  left: 0;
  width: 60vw;
  height: 60vw;
  background: rgba(37, 99, 235, 0.15);
}
.glow-2 {
  top: 30%;
  right: -20%;
  width: 50vw;
  height: 50vw;
  background: rgba(96, 165, 250, 0.1);
}
.glow-3 {
  bottom: -20%;
  left: 20%;
  width: 70vw;
  height: 50vw;
  background: rgba(37, 99, 235, 0.08);
}

.app-container {
  position: relative;
  z-index: 1;
}

/* Glass Panels */
.glass-panel {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.glass-element {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
}

/* Typography & Utilities */
.text-center {
  text-align: center;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 60px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: var(--radius-sm);
}
.btn-primary {
  background: #2563EB;
  color: white;
  padding: 10px 20px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
  transition: all 0.3s ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  background: #1D4ED8;
  filter: brightness(1.1);
}
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
}
.btn-lg {
  padding: 12px 28px;
  font-size: 1rem;
  border-radius: 12px;
}
.btn-xl {
  padding: 16px 36px;
  font-size: 1.1rem;
  border-radius: 14px;
  background: #2563EB;
  color: white;
  transition: all 0.3s ease;
}
.btn-xl:hover {
  background: #1D4ED8;
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.4);
  filter: brightness(1.1);
}

/* Navigation */
.glass-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  z-index: 100;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}
.glass-nav.scrolled {
  background: rgba(3, 7, 18, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-box {
  width: 32px;
  height: 32px;
  background: var(--accent-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.logo-box i {
  width: 18px;
  height: 18px;
}
.brand-text {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--text-primary);
}
.nav-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Hero Section */
.hero-section {
  display: flex;
  padding: 180px 40px 120px;
  min-height: 100vh;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
  gap: 60px;
}
.hero-content {
  flex: 1;
  max-width: 580px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #60A5FA;
  margin-bottom: 24px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: #60A5FA;
  border-radius: 50%;
  box-shadow: 0 0 10px #60A5FA;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.hero-title span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
}

/* Hero Visual - Chat Mockup */
.hero-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}
.glow-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle at 60% 40%, rgba(37, 99, 235, 0.15), transparent);
  filter: blur(40px);
  z-index: -1;
}

.chat-mockup-wrapper {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: rotateY(-5deg) rotateX(5deg);
  transform-style: preserve-3d;
  box-shadow: 0 0 60px rgba(37, 99, 235, 0.35);
  animation: floatMockup 8s ease-in-out infinite alternate;
}
@keyframes floatMockup {
  0% {
    transform: translateY(0px) rotateY(-5deg) rotateX(5deg);
  }
  100% {
    transform: translateY(-20px) rotateY(-2deg) rotateX(8deg);
  }
}

.mockup-header {
  display: flex;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-glass);
}
.window-controls {
  display: flex;
  gap: 6px;
}
.window-controls span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.window-controls span:nth-child(1) {
  background: #ff5f56;
}
.window-controls span:nth-child(2) {
  background: #ffbd2e;
}
.window-controls span:nth-child(3) {
  background: #27c93f;
}
.mockup-title {
  margin: 0 auto;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: inherit;
}

.chat-area {
  padding: 24px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.message {
  display: flex;
  gap: 12px;
}
.user-message {
  justify-content: flex-end;
}
.user-message p {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 12px 16px;
  border-radius: 16px 16px 0 16px;
  font-size: 0.9rem;
}
.ai-message {
  align-items: flex-start;
}
.ai-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.2),
    rgba(96, 165, 250, 0.2)
  );
  color: #60A5FA;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-avatar i {
  width: 16px;
  height: 16px;
}
.typing-container {
  background: transparent;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-primary);
  max-width: 90%;
}
.typing-text {
  display: inline;
}
.typing-cursor {
  display: inline-block;
  width: 6px;
  height: 16px;
  background: #2563EB;
  vertical-align: middle;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

.chat-input-area {
  padding: 16px 24px 24px;
}
.input-box {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-glass-strong);
  height: 48px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.input-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--text-primary);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.input-icon i {
  width: 16px;
  height: 16px;
}

/* Demo section */
.demo-section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.section-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.demo-card {
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: left;
  transition: all 0.4s ease;
  overflow: hidden;
}
.demo-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glass-strong);
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.25);
}
.demo-card-inner {
  height: 200px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  border: 1px solid var(--border-glass);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.demo-card-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.demo-card-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Mockup Specifics inside Demo Card */
.upload-zone {
  border: 1px dashed var(--border-glass-strong);
  border-radius: var(--radius-md);
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
}
.upload-icon {
  color: var(--text-secondary);
  width: 20px;
  height: 20px;
  margin-bottom: 8px;
}
.upload-text {
  font-size: 0.8rem;
  font-weight: 500;
}
.upload-subtext {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.file-preview {
  margin-top: 12px;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.file-preview i {
  color: #2563EB;
  width: 16px;
  height: 16px;
}
.file-details {
  flex: 1;
  overflow: hidden;
}
.file-name {
  font-size: 0.75rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.file-size {
  font-size: 0.65rem;
  color: var(--text-muted);
}
.file-status i {
  color: #27c93f;
  width: 14px;
  height: 14px;
}

.chat-preview {
  justify-content: space-between;
}
.tiny-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.t-msg {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  max-width: 85%;
}
.t-user {
  background: rgba(255, 255, 255, 0.05);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}
.t-ai {
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}
.t-input {
  padding: 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: left;
}

.quiz-preview {
  justify-content: flex-start;
}
.q-header {
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #2563EB;
}
.q-question {
  font-size: 0.85rem;
  margin-bottom: 12px;
  line-height: 1.4;
}
.q-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.q-opt {
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.q-opt.correct {
  border-color: #2563EB;
  background: rgba(37, 99, 235, 0.1);
}
.q-opt.correct i {
  color: #2563EB;
}

/* Workflow */
.workflow-section {
  padding: 100px 40px;
  max-width: 1000px;
  margin: 0 auto;
}
.workflow-steps {
  display: flex;
  margin-top: 60px;
  align-items: flex-start;
  position: relative;
}
.step-card {
  flex: 1;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: transform 0.4s;
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass-strong);
}
.step-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.step-icon-wrapper i {
  width: 24px;
  height: 24px;
  color: #e2e8f0;
}
.step-number {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #2563EB;
  font-weight: 600;
  margin-bottom: 8px;
}
.step-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.workflow-connector {
  flex: 0 0 40px;
  height: 200px;
  position: relative;
}
.connector-line {
  position: absolute;
  top: 55px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(37, 99, 235, 0.3),
    transparent
  );
}

/* Features section */
.features-section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feat-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}
.feat-card.hover-glow:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.25);
}
.feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.1) 0%,
    rgba(96, 165, 250, 0.1) 100%
  );
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60A5FA;
  margin-bottom: 24px;
}
.feat-icon i {
  width: 24px;
  height: 24px;
}
.feat-card h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.feat-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Stats */
.stats-section {
  padding: 60px 40px;
  max-width: 1000px;
  margin: 0 auto;
}
.stats-container {
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border-glass-strong);
}

/* CTA */
.cta-section {
  padding: 100px 40px;
  max-width: 900px;
  margin: 0 auto 100px;
}
.cta-inner {
  position: relative;
  text-align: center;
}
.cta-glow-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(37, 99, 235, 0.2) 0%,
    transparent 70%
  );
  filter: blur(30px);
  z-index: 0;
}
.cta-content {
  position: relative;
  z-index: 1;
  padding: 60px;
  border-radius: 32px;
  border: 1px solid rgba(37, 99, 235, 0.3);
  background: rgba(15, 23, 42, 0.6);
}
.cta-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.cta-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* Footer */
.minimal-footer {
  border-top: 1px solid var(--border-glass);
  padding: 60px 80px 40px;
  background: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(24px);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto 40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.1rem;
}
.footer-brand i {
  width: 20px;
  height: 20px;
  color: #2563EB;
}
.footer-links {
  display: flex;
  gap: 32px;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: var(--text-primary);
}
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid var(--border-glass);
  padding-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.portfolio-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}
.portfolio-link:hover {
  color: #60A5FA;
  text-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
}

/* Animations Trigger Class */
.in-view {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

@media (max-width: 1024px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding-top: 140px;
  }
  .hero-content {
    align-items: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .demo-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflow-steps {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .workflow-connector {
    display: none;
  }
  .stats-container {
    flex-direction: column;
    gap: 40px;
  }
  .stat-divider {
    width: 60px;
    height: 1px;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .hero-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
  }
  .hero-title {
    font-size: 2.25rem;
    line-height: 1;
    margin-bottom: 16px;
  }
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  .btn-lg {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .cta-title {
    font-size: 1.8rem;
  }
  .cta-content {
    padding: 32px 16px;
  }
  .glass-nav {
    padding: 0 20px;
  }
  .footer-top {
    flex-direction: column;
    gap: 24px;
  }
}
