:root {
  --primary-blue: #007bff;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  --text-main: #ffffff;
  --text-muted: #rgba(255, 255, 255, 0.7);
  --accent-color: #00f2fe;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: #0f172a;
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated Background */
.background-animated {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}

.gradient-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 10s infinite alternate;
}

.sphere-1 {
  width: 400px;
  height: 400px;
  background: #4facfe;
  top: -100px;
  left: -100px;
}

.sphere-2 {
  width: 300px;
  height: 300px;
  background: #00f2fe;
  bottom: 20%;
  right: -50px;
  animation-delay: -5s;
}

.sphere-3 {
  width: 250px;
  height: 250px;
  background: #43e97b;
  top: 40%;
  left: 40%;
  animation-duration: 15s;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(30px, 50px);
  }
}

/* Layout */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.back-link:hover {
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-link {
  color: #fff;
  text-decoration: none;
  padding: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.product-tag {
  background: var(--glass-bg);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  font-size: 0.9rem;
  font-weight: 600;
}

.main-content {
  padding-top: 100px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 80px;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 80vh;
  padding: 0 24px;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 700;
}

.highlight {
  background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 500px;
}

.cta-container {
  display: flex;
  gap: 16px;
}

.btn {
  padding: 12px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary {
  background: linear-gradient(135deg, #007bff 0%, #00d2ff 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.btn-secondary {
  background: var(--glass-bg);
  color: white;
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Glass Card Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.sticky-notes-container {
  position: absolute;
  top: -40px;
  right: -60px;
  width: 200px;
  height: 200px;
  z-index: -1;
}

.sticky-note {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0.9;
}

.note-1 {
  background: #ff7eb3;
  transform: rotate(-10deg) translate(0, 0);
  z-index: 1;
}

.note-2 {
  background: #ffc94d;
  transform: rotate(-5deg) translate(10px, 10px);
  z-index: 2;
}

.note-3 {
  background: #a8ff78;
  transform: rotate(0deg) translate(20px, 20px);
  z-index: 3;
}

.note-4 {
  background: #4facfe;
  transform: rotate(5deg) translate(30px, 30px);
  z-index: 4;
}

.note-5 {
  background: #a29bfe;
  transform: rotate(10deg) translate(40px, 40px);
  z-index: 5;
}

.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 24px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--glass-shadow);
  transform: rotate(-5deg);
  transition: transform 0.5s ease;
}

.hero-visual:hover .glass-card {
  transform: rotate(0deg) scale(1.02);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.status-dot {
  width: 12px;
  height: 12px;
  background: #00ff88;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ff88;
}

.mock-task {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.task-badge {
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  font-weight: 700;
}

.urgent {
  background: rgba(255, 89, 89, 0.3);
  color: #ff5959;
}

.success {
  background: rgba(0, 255, 136, 0.2);
  color: #00ff88;
}

.warning {
  background: rgba(255, 196, 0, 0.2);
  color: #ffc400;
}

.task-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Features */
.features {
  padding: 80px 24px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 64px;
  background: linear-gradient(to bottom, #fff, #aaa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 32px;
  border-radius: 20px;
  transition: all 0.3s;
  flex: 1 1 300px;
  max-width: 350px;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
}

.icon-box {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  text-align: justify;
}

/* Architecture */
.architecture {
  padding: 80px 24px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 32px;
  margin: 40px 24px;
}

.arch-content {
  text-align: center;
}

.arch-desc {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 48px;
  font-size: 1.1rem;
}

.arch-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.arch-item {
  background: var(--glass-bg);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  min-width: 200px;
}

.arch-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-color);
  margin-bottom: 8px;
}

.connection-line {
  width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
}

.connection-line::after {
  content: '';
  position: absolute;
  right: 0;
  top: -4px;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.footer {
  text-align: center;
  padding: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
}

/* Comparison Section */
.comparison {
  padding: 80px 24px;
  position: relative;
}

.comparison-container {
  display: flex;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  align-items: stretch;
}

.comparison-side {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.comparison-side:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-5px);
}

.traditional {
  border-left: 4px solid rgba(255, 255, 255, 0.2);
}

.smart {
  border-left: 4px solid var(--primary-blue);
  box-shadow: 0 0 30px rgba(0, 123, 255, 0.1);
}

.side-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.icon-circle {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.smart .icon-circle {
  background: rgba(0, 123, 255, 0.2);
  color: #fff;
}

.side-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.comparison-list {
  list-style: none;
}

.comparison-list li {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.list-icon {
  font-size: 1.25rem;
  opacity: 0.8;
}

.comparison-list strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
  color: #fff;
}

.comparison-list p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.vs-divider {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: #0f172a;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--accent-color);
  z-index: 10;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 850px) {
  .comparison-container {
    flex-direction: column;
    gap: 60px;
  }

  .vs-divider {
    top: 50%;
    margin-top: -30px;
    /* Offset for spacing */
  }

  .comparison-side {
    padding: 30px;
  }
}

/* Response */
@media (max-width: 968px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 64px;
  }

  .hero-subtitle {
    margin: 0 auto 32px;
  }

  .cta-container {
    justify-content: center;
  }

  .arch-divider {
    display: none;
  }
}