:root {
  /* Colors - Modern Deep Indigo Theme */
  --primary: hsl(220, 90%, 56%);
  --primary-hover: hsl(220, 90%, 50%);
  --secondary: hsl(260, 60%, 60%);
  --accent: hsl(190, 80%, 50%);
  
  --bg: hsl(220, 20%, 98%);
  --surface: hsl(0, 0%, 100%);
  --text: hsl(220, 25%, 15%);
  --text-light: hsl(220, 15%, 45%);
  --border: hsla(220, 20%, 80%, 0.4);
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 50px -12px rgba(0, 0, 0, 0.25);
  
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  --header-height: 80px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: hsl(220, 30%, 6%);
    --surface: hsl(220, 25%, 12%);
    --text: hsl(220, 20%, 95%);
    --text-light: hsl(220, 10%, 75%);
    --border: hsla(220, 20%, 30%, 0.3);
    
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Base Aesthetics */
h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Glassmorphism Navigation */
nav {
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

nav.scrolled {
  height: 70px;
  box-shadow: var(--shadow-sm);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover img {
  transform: rotate(-5deg) scale(1.1);
}

.logo span {
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--border);
  padding: 4px;
  border-radius: 100px;
}

.lang-switch a {
  text-decoration: none;
  color: var(--text-light);
  padding: 4px 12px;
  border-radius: 100px;
  transition: all 0.2s ease;
}

.lang-switch a.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.lang-switch a:not(.active):hover {
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 100px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.4);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
  padding: calc(var(--header-height) + 80px) 0 100px;
  position: relative;
  overflow: hidden;
}

/* Background Mesh Gradient - Visual Excellence Rule */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, hsla(220, 90%, 56%, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  z-index: -1;
  animation: float 20s infinite alternate ease-in-out;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, hsla(260, 60%, 60%, 0.1) 0%, transparent 70%);
  filter: blur(100px);
  z-index: -1;
  animation: float-reverse 15s infinite alternate ease-in-out;
}

@keyframes float {
  from { transform: translate(0, 0); }
  to { transform: translate(-10%, 10%); }
}

@keyframes float-reverse {
  from { transform: translate(0, 0); }
  to { transform: translate(10%, -10%); }
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin-bottom: 64px;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 0.95;
  margin-bottom: 24px;
  background: linear-gradient(to bottom right, var(--text) 50%, var(--text-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 8px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.badge-trial {
  background: rgba(var(--primary), 0.1);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 8px 20px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.badge-trial:hover {
  transform: translateY(-2px) scale(1.02);
}

.badge-icon {
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px;
  border-radius: 4px;
}

.hero .tagline {
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
}

.hero p {
  font-size: 1.35rem;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-image {
  perspective: 2000px;
  width: 100%;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transform: rotateX(5deg) scale(0.95);
}

.hero-image:hover img {
  transform: rotateX(0deg) scale(1);
}

/* Features Table/Grid */
.features {
  padding: 120px 0;
  position: relative;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 80px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--surface);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card .icon-box {
  width: 48px;
  height: 48px;
  background: var(--bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.feature-card:hover .icon-box {
  background: var(--primary);
  color: white;
}

.feature-card h3 {
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.feature-card p {
  color: var(--text-light);
  font-size: 1rem;
}

/* Screenshot Section - Visual Excellence */
.screenshots-section {
  background: var(--surface);
  border-radius: var(--radius-xl);
  margin: 60px 0;
  padding: 80px 40px;
  box-shadow: var(--shadow-sm);
}

.screenshot-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
}

.screenshot-card img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.screenshot-card:hover img {
  transform: scale(1.03);
}

.screenshot-card p {
  padding: 20px;
  font-weight: 600;
  text-align: center;
}

/* Pricing Card - Premium */
.pricing {
  padding: 120px 0;
  position: relative;
}

.pricing-card {
  max-width: 500px;
  margin: 0 auto;
  padding: 64px 48px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.pricing-card::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, hsla(220, 90%, 56%, 0.1) 0%, transparent 70%);
  z-index: -1;
}

.price-box {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 32px 0;
}

.price {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
}

.currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
}

.trial-badge {
  display: inline-block;
  padding: 6px 16px;
  background: hsla(220, 90%, 56%, 0.1);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.pricing-card ul li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-card ul li:last-child {
  border-bottom: none;
}

.pricing-card ul li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
}

/* Footer */
footer {
  padding: 100px 0 60px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  color: var(--text-light);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  color: var(--text);
  font-weight: 800;
  opacity: 0.8;
}

.footer-logo img {
  width: 28px;
  border-radius: 6px;
}

/* Animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 968px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  .hero-badges {
    flex-direction: column;
  }
  .pricing-card {
    padding: 40px 24px;
  }
}
