/* Coredrift - Shared Styles */

:root {
  --primary: #237591;
  --primary-dark: #114e6f;
  --primary-light: #2ea6c4;
  --secondary: #7dd5d4;
  --accent: #cdce88;
  --dark: #0f172a;
  --dark-soft: #1e293b;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --light: #f8fafc;
  --white: #fefefe;
  --gradient-1: linear-gradient(135deg, #114e6f 0%, #2ea6c4 100%);
  --gradient-2: linear-gradient(135deg, #2ea6c4 0%, #7dd5d4 100%);
  --gradient-3: linear-gradient(135deg, #cdce88 0%, #7dd5d4 100%);
}

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

html {
  scroll-behavior: smooth;
}

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

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  background: rgba(254, 254, 254, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

nav.scrolled {
  padding: 0.75rem 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.logo span {
  font-weight: 300;
  opacity: 0.7;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

.nav-cta {
  background: var(--gradient-1);
  color: white !important;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(35, 117, 145, 0.3);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb span {
  color: white;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(46, 166, 196, 0.15) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(125, 213, 212, 0.1) 0%, transparent 70%);
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(5deg); }
  66% { transform: translate(-20px, 20px) rotate(-3deg); }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  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.2); }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.hero h1 .gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page Hero (for detail pages) */
.page-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-1);
  padding-top: 80px;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 40%),
    radial-gradient(circle at 40% 80%, rgba(255,255,255,0.05) 0%, transparent 60%);
}

.page-hero .hero-content {
  color: white;
}

.page-hero h1 {
  color: white;
}

.page-hero h1 .gradient-text {
  background: linear-gradient(135deg, #fff 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  font-size: 1.35rem;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-1);
  color: white;
  box-shadow: 0 10px 40px rgba(35, 117, 145, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(35, 117, 145, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--dark);
  border: 2px solid var(--light);
}

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

.btn-white {
  background: white;
  color: var(--primary);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-label {
  display: inline-block;
  background: linear-gradient(135deg, rgba(35, 117, 145, 0.1), rgba(125, 213, 212, 0.1));
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-header p {
  color: var(--gray);
  font-size: 1.1rem;
}

/* Features Section */
.features {
  padding: 8rem 2rem;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--light);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.feature-icon.teal { background: linear-gradient(135deg, rgba(46, 166, 196, 0.2), rgba(125, 213, 212, 0.2)); }
.feature-icon.blue { background: linear-gradient(135deg, rgba(35, 117, 145, 0.2), rgba(46, 166, 196, 0.2)); }
.feature-icon.green { background: linear-gradient(135deg, rgba(205, 206, 136, 0.3), rgba(125, 213, 212, 0.2)); }
.feature-icon.deep { background: linear-gradient(135deg, rgba(17, 78, 111, 0.2), rgba(35, 117, 145, 0.2)); }
.feature-icon.light { background: linear-gradient(135deg, rgba(125, 213, 212, 0.2), rgba(205, 206, 136, 0.2)); }
.feature-icon.warm { background: linear-gradient(135deg, rgba(205, 206, 136, 0.2), rgba(245, 158, 11, 0.15)); }

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray);
  line-height: 1.7;
}

.feature-card ul {
  list-style: none;
  margin-top: 1rem;
}

.feature-card ul li {
  color: var(--gray);
  line-height: 1.7;
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.feature-card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* Features Learn More Link */
.features-learn-more {
  text-align: center;
  margin-top: 3rem;
}

.learn-more-link {
  display: none;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.learn-more-link.active {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.learn-more-link:hover {
  gap: 0.75rem;
  text-decoration: underline;
}

/* Features Dots */
.features-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.features-dot {
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  border: 2px solid var(--gray-light);
  background: transparent;
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.features-dot:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}

.features-dot.active {
  background: var(--gradient-1);
  border-color: transparent;
  color: white;
}

/* Feature cards carousel */
.features-carousel {
  position: relative;
  min-height: 750px;
}

.features-carousel .features-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
}

.features-carousel .features-grid.active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

/* Parallax Section */
.parallax-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-1);
  z-index: 1;
}

.parallax-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 40%),
    radial-gradient(circle at 40% 80%, rgba(255,255,255,0.05) 0%, transparent 60%);
}

.parallax-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 4rem 2rem;
}

.parallax-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.parallax-text {
  color: white;
}

.parallax-text .section-label {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.parallax-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.parallax-text p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.parallax-text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.parallax-text li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
}

.parallax-text li::before {
  content: '';
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.parallax-visual {
  display: flex;
  justify-content: center;
}

/* Update Card Demo */
.update-card-demo {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  transform: rotate(-3deg);
  transition: transform 0.5s ease;
}

.update-card-demo:hover {
  transform: rotate(0deg) scale(1.02);
}

.update-card-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 1.25rem 1.5rem;
  color: white;
}

.update-card-header .date {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: 0.25rem;
}

.update-card-header h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

.update-card-body {
  padding: 1.5rem;
}

.update-section {
  margin-bottom: 1.25rem;
}

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

.update-section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.update-section p {
  font-size: 0.9rem;
  color: var(--dark);
  line-height: 1.6;
}

.update-blocker {
  background: rgba(239, 68, 68, 0.1);
  border-left: 3px solid #ef4444;
  padding: 0.5rem 0.75rem;
  border-radius: 0 8px 8px 0;
}

.update-blocker p {
  color: #dc2626;
}

.update-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--light);
  margin-top: 1rem;
}

.update-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.update-avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--gradient-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
}

.update-author span {
  font-size: 0.85rem;
  color: var(--gray);
}

.update-time {
  font-size: 0.8rem;
  color: var(--gray-light);
}

/* Flow Section */
.flow-section {
  padding: 8rem 2rem;
  background: var(--light);
}

.flow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.flow-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.team-member-card {
  background: white;
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.team-member-card:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.member-avatar {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
}

.team-member-card:nth-child(1) .member-avatar { background: var(--gradient-1); }
.team-member-card:nth-child(2) .member-avatar { background: var(--gradient-2); }
.team-member-card:nth-child(3) .member-avatar { background: var(--gradient-3); }

.member-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.member-info p {
  font-size: 0.85rem;
  color: var(--gray);
}

.member-status {
  margin-left: auto;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.member-status.submitted {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.member-status.pending {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.member-status.lead {
  background: rgba(35, 117, 145, 0.1);
  color: var(--primary);
}

.flow-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.flow-text p {
  color: var(--gray);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.flow-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.flow-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.flow-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(35, 117, 145, 0.1), rgba(125, 213, 212, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-feature-text h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.flow-feature-text p {
  font-size: 0.9rem;
  color: var(--gray);
  margin: 0;
}

/* Self-Hosted Section */
.selfhosted {
  padding: 8rem 2rem;
  background: var(--dark);
  color: white;
  position: relative;
  overflow: hidden;
}

.selfhosted::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(35, 117, 145, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(125, 213, 212, 0.1) 0%, transparent 40%);
}

.selfhosted .container {
  position: relative;
  z-index: 10;
}

.selfhosted .section-header {
  color: white;
}

.selfhosted .section-header h2 {
  color: white;
}

.selfhosted .section-header p {
  color: var(--gray-light);
}

.selfhosted-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.selfhosted-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.selfhosted-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
}

.selfhosted-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.selfhosted-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.selfhosted-card p {
  color: var(--gray-light);
  line-height: 1.7;
}

/* Workflow Section */
.workflow-section {
  padding: 8rem 2rem;
  background: white;
}

.workflow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.workflow-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.workflow-text p {
  color: var(--gray);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.workflow-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.step-content p {
  font-size: 0.9rem;
  color: var(--gray);
  margin: 0;
}

.workflow-visual {
  position: relative;
}

/* Report Preview */
.report-preview {
  background: var(--light);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
}

.report-preview::before {
  content: 'DAILY REPORT';
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--gradient-1);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.report-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
}

.report-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray);
  font-size: 0.9rem;
}

.report-summary {
  display: flex;
  gap: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 16px;
  margin-bottom: 1.5rem;
}

.summary-stat {
  flex: 1;
  text-align: center;
}

.summary-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
}

.summary-value.highlight {
  color: var(--primary);
}

.summary-label {
  font-size: 0.8rem;
  color: var(--gray);
}

.report-entries {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.report-entry {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: white;
  border-radius: 12px;
}

.entry-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: white;
}

.report-entry:nth-child(1) .entry-avatar { background: var(--gradient-1); }
.report-entry:nth-child(2) .entry-avatar { background: var(--gradient-2); }
.report-entry:nth-child(3) .entry-avatar { background: var(--gradient-3); }

.entry-name {
  flex: 1;
  font-size: 0.9rem;
  color: var(--dark);
}

.entry-status {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 50px;
}

.entry-status.done {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.entry-status.missing {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* Tech Section */
.tech-section {
  padding: 6rem 2rem;
  background: var(--light);
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.tech-badge {
  background: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--dark);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.tech-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
  padding: 8rem 2rem;
  background: var(--gradient-1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
  margin: 0 auto;
  color: white;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 250px;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  outline: none;
}

.newsletter-form input[type="email"]:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form input[type="submit"] {
  padding: 1rem 2rem;
  background: white;
  color: var(--primary);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.newsletter-form label {
  display: none;
}

.powered-by {
  font-size: 0.75rem;
  opacity: 0.6;
  margin-top: 0.5rem;
}

.powered-by a {
  color: white;
  text-decoration: none;
}

.powered-by a:hover {
  text-decoration: underline;
}

/* Newsletter form states */
.newsletter-form.loading input[type="submit"] {
  opacity: 0.7;
  cursor: wait;
}

.newsletter-message {
  margin-top: 1rem;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-size: 0.95rem;
  animation: fadeIn 0.3s ease;
}

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

.newsletter-message.success {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.newsletter-message.error {
  background: rgba(239, 68, 68, 0.3);
  color: white;
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-brand p {
  color: var(--gray-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-column h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: var(--gray-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: var(--gray);
  font-size: 0.85rem;
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  max-width: 360px;
  background: var(--dark);
  color: white;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  font-size: 0.85rem;
  line-height: 1.5;
  display: none;
}

.cookie-banner.show {
  display: block;
  animation: slideUp 0.3s ease;
}

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

.cookie-banner p {
  margin-bottom: 0.75rem;
  color: var(--gray-light);
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-btn.accept {
  background: var(--primary);
  color: white;
}

.cookie-btn.accept:hover {
  background: var(--primary-dark);
}

.cookie-btn.reject {
  background: transparent;
  color: var(--gray-light);
  border: 1px solid var(--gray);
}

.cookie-btn.reject:hover {
  border-color: var(--gray-light);
  color: white;
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  min-height: 280px;
  display: grid;
}

.hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Hero Dots */
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-light);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot:hover {
  background: var(--primary-light);
}

.hero-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* Comparison Cards */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.comparison-card {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.comparison-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.comparison-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.comparison-card.primary::before {
  background: var(--gradient-1);
}

.comparison-card.secondary::before {
  background: var(--gradient-2);
}

.comparison-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.comparison-card .subtitle {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.comparison-card ul {
  list-style: none;
}

.comparison-card ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--gray);
}

.comparison-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 600;
}

/* Timeline (horizontal) */
.timeline-horizontal {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  padding: 2rem 0;
  margin: 2rem 0;
}

.timeline-horizontal::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-1);
}

.timeline-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

.timeline-step .step-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.25rem;
  position: relative;
  z-index: 10;
}

.timeline-step h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.timeline-step p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.5;
}

/* Board Demo */
.board-demo {
  background: var(--light);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.board-demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.board-demo-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
}

.board-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.board-column {
  background: white;
  border-radius: 12px;
  padding: 1rem;
  min-height: 200px;
}

.board-column-header {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.board-ticket {
  background: var(--light);
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  color: var(--dark);
  border-left: 3px solid var(--primary);
  transition: all 0.2s ease;
}

.board-ticket:hover {
  transform: translateX(3px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.board-ticket.accent {
  border-left-color: var(--accent);
}

.board-ticket.secondary {
  border-left-color: var(--secondary);
}

/* Notification Grid */
.notification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.notification-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.notification-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.notification-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(35, 117, 145, 0.1), rgba(125, 213, 212, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.notification-card h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.notification-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 968px) {
  .parallax-grid,
  .flow-grid,
  .workflow-grid,
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .parallax-visual {
    order: -1;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    display: none;
  }

  .timeline-horizontal {
    flex-direction: column;
    gap: 2rem;
  }

  .timeline-horizontal::before {
    display: none;
  }

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

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

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

  .report-summary {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-carousel {
    min-height: 320px;
  }

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

  .comparison-grid {
    gap: 1.5rem;
  }
}

/* Animations on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 480px) {
  .cookie-banner {
    left: 0.5rem;
    right: 0.5rem;
    max-width: none;
  }
}
