/* Reset and Base Styles */
:root {
  --color-primary: #1aac59;
  --color-dark: #1A1F36;
  --color-success: #1aac59;
  --color-light: #F8FAFC;
  --color-text: #475569;
  --color-white: #FFFFFF;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --glass: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: radial-gradient(circle at top right, #f8fbff, #ffffff);
  color: var(--color-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://www.transparenttextures.com/patterns/cubes.png");
  opacity: 0.03;
  pointer-events: none;
  z-index: -1;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Typography Utility */
.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-success));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 120px 0;
  scroll-margin-top: 100px;
}

/* Header & Nav */
header {
  height: 80px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  background: var(--glass);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
}

header .container {
  max-width: 1400px;
  width: 100%;
  padding: 0 1.5rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--color-dark);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  margin-left: auto;
  margin-right: 3rem;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.lang-link {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s;
  padding: 4px;
}

.lang-link:hover, .lang-link.active {
  color: var(--color-primary);
}

.lang-divider {
  color: #e2e8f0;
  font-weight: 400;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  transition: transform 0.2s, background 0.3s, box-shadow 0.3s;
}

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

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

.btn-primary:hover {
  background-color: #0044d6;
}

.btn-outline {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: var(--color-dark);
}

.btn-outline:hover {
  background-color: #f1f5f9;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 0 80px;
  gap: 4rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* Features Grid */
.features {
  background-color: var(--color-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 70px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

.feature-card {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
}

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

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 82, 255, 0.1);
  color: var(--color-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* Workflow Section */
.workflow-section {
  padding: 120px 0;
  background: #fcfdfe;
}

.workflow-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}

.workflow-eyebrow {
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: block;
}

.workflow-header h2 {
  font-size: 3rem;
  line-height: 1.1;
  color: var(--color-dark);
}

.workflow-card {
  display: flex;
  align-items: stretch;
  background: var(--color-white);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.04);
  margin-bottom: 4rem;
  border: 1px solid #f1f5f9;
}

.workflow-info {
  flex: 1.2;
  padding: 5rem 4rem;
}

.workflow-visual {
  flex: 1;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(#00000008 1.5px, transparent 0);
  background-size: 24px 24px;
}

.workflow-illustration {
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 90%;
  opacity: 0.8;
  pointer-events: none;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* Step Colors */
.step-01 .workflow-visual { background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); }
.step-02 .workflow-visual { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); }
.step-03 .workflow-visual { background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%); }

.step-number {
  font-family: var(--font-main);
  font-weight: 800;
  color: var(--color-primary);
  opacity: 0.3;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  display: block;
}

.workflow-category {
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  display: block;
}

.workflow-info h3 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.workflow-info p {
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.workflow-bullets {
  list-style: none;
  padding: 0;
}

.workflow-bullets li {
  margin-bottom: 1.25rem;
  display: flex;
  gap: 1rem;
  font-weight: 500;
  color: var(--color-dark);
}

.workflow-bullets li strong {
  flex: 0 0 180px;
  display: inline-block;
}

.workflow-bullets li i {
  color: var(--color-primary);
}

/* Visual Block Elements */
.highlight-msg {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 3rem;
  line-height: 1.1;
  z-index: 1;
}

.mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  z-index: 1;
}

.mini-card {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--color-white);
}

.mini-card label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.mini-card span {
  font-weight: 600;
  color: var(--color-dark);
  font-size: 0.95rem;
}

/* Summary Block */
.summary-block {
  margin-top: 60px;
  padding: 3rem;
  background: var(--color-dark);
  color: var(--color-white);
  border-radius: 32px;
  text-align: center;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
  text-align: left;
}

.summary-item h4 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.summary-item p {
  color: #94a3b8;
}

@media (max-width: 1024px) {
  .workflow-card { flex-direction: column; }
  .workflow-info, .workflow-visual { padding: 3rem 2rem; }
  .summary-grid { grid-template-columns: 1fr; }
}

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

/* Pillar Sections */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.pillar-card {
  background: var(--color-white);
  padding: 3rem 2rem;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  border: 1px solid #f1f5f9;
  height: 100%;
}

.pillar-card h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pillar-card ul {
  list-style: none;
  padding: 0;
}

.pillar-card ul li {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.4;
}

.pillar-card ul li i {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

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

/* How It Works */
.how-it-works-steps {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  margin-top: 100px;
}

.step {
  text-align: center;
  flex: 1;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

/* Success Story */
.success-story {
  background: var(--color-dark);
  color: var(--color-white);
  border-radius: 40px;
  padding: 6rem;
  display: flex;
  align-items: center;
  gap: 6rem;
  margin: 40px 0;
}

.story-content blockquote {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.4;
}

.story-image img {
  border-radius: 20px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  margin-top: 80px;
}

.price-card {
  border: 1px solid #e2e8f0;
  padding: 3rem 2rem;
  border-radius: 24px;
  text-align: center;
}

.price-card.popular {
  border: 2px solid var(--color-primary);
  background: #f8fbff;
  position: relative;
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--color-white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  margin: 1.5rem 0;
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text);
}

.price-features {
  margin: 2rem 0;
  text-align: left;
}

.price-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#demo {
  padding: 140px 0;
}

/* Footer */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 4rem;
  margin-bottom: 60px;
}

.footer-logo {
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

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

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

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

  .hero-content p {
    margin: 0 auto 2rem;
  }

  .nav-links {
    display: none;
  }

  .success-story {
    flex-direction: column;
    padding: 2rem;
  }

  .how-it-works-steps {
    flex-direction: column;
  }
}