/* Tāmēt.lv Landing Page Styles */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #0891b2;
  --accent: #f59e0b;
  --dark: #1e293b;
  --gray: #64748b;
  --light: #f8fafc;
  --white: #ffffff;
  --success: #10b981;
  --danger: #ef4444;
  --gradient: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
}

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

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p { color: var(--gray); }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover { color: var(--primary-dark); }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  color: var(--white);
}

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

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

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

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

.logo svg {
  width: 36px;
  height: 36px;
}

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

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

.nav-links a {
  color: var(--dark);
  font-weight: 500;
  transition: color 0.2s;
}

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

.lang-switch {
  display: flex;
  gap: 0.5rem;
  padding: 0.25rem;
  background: var(--light);
  border-radius: 0.375rem;
}

.lang-switch a {
  padding: 0.375rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray);
}

.lang-switch a.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all 0.3s;
}

/* Hero Section */
.hero {
  padding: 8rem 0 5rem;
  background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
  overflow: hidden;
}

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

.hero-content {
  max-width: 560px;
}

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

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

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--gray);
}

.hero-cta {
  display: flex;
  gap: 1rem;
}

.hero-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

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

.section-header h2 {
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-header p {
  font-size: 1.125rem;
}

/* How It Works */
.how-it-works {
  padding: 6rem 0;
  background: var(--light);
}

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

.steps-3 {
  grid-template-columns: repeat(3, 1fr);
}

.step {
  text-align: center;
  position: relative;
}

.step::after {
  content: '';
  position: absolute;
  top: 35px;
  right: -1rem;
  width: calc(100% - 70px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
}

.step:last-child::after { display: none; }

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

.step h3 {
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.step p {
  font-size: 0.9375rem;
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  background: var(--gradient);
  text-align: center;
  color: var(--white);
}

.cta h2 {
  color: var(--white);
  margin-bottom: 2rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.cta .btn-primary:hover {
  background: var(--light);
  transform: translateY(-2px);
}

/* Audience Section */
.audience {
  padding: 6rem 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.audience-card {
  padding: 2.5rem;
  border-radius: 1rem;
  border: 2px solid;
}

.audience-card h3 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

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

.audience-card li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--dark);
}

.audience-card li::before {
  position: absolute;
  left: 0;
  font-weight: 700;
}

.audience-yes {
  border-color: var(--success);
  background: rgba(16, 185, 129, 0.03);
}

.audience-yes h3 {
  color: var(--success);
}

.audience-yes li::before {
  content: '\2713';
  color: var(--success);
}

.audience-no {
  border-color: var(--gray);
  background: rgba(100, 116, 139, 0.03);
}

.audience-no h3 {
  color: var(--gray);
}

.audience-no li::before {
  content: '\2717';
  color: var(--gray);
}

/* Comparison Section */
.comparison {
  padding: 6rem 0;
  background: var(--light);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.comparison-card {
  padding: 2.5rem;
  border-radius: 1rem;
  border: 2px solid;
}

.comparison-card h3 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

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

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

.comparison-card li::before {
  position: absolute;
  left: 0;
  font-weight: 700;
}

.comparison-without {
  border-color: var(--danger);
  background: rgba(239, 68, 68, 0.03);
}

.comparison-without h3 {
  color: var(--danger);
}

.comparison-without li::before {
  content: '\2717';
  color: var(--danger);
}

.comparison-with {
  border-color: var(--success);
  background: rgba(16, 185, 129, 0.03);
}

.comparison-with h3 {
  color: var(--success);
}

.comparison-with li::before {
  content: '\2713';
  color: var(--success);
}

/* Features (What you get) */
.features {
  padding: 6rem 0;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0.75rem;
  transition: all 0.2s;
}

.feature-item:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.feature-item svg {
  color: var(--success);
  flex-shrink: 0;
}

.feature-item span {
  font-weight: 500;
  color: var(--dark);
}

/* Pricing */
.pricing {
  padding: 6rem 0;
  background: var(--light);
}

.pricing-single {
  max-width: 420px;
  margin: 0 auto;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--gradient);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 1rem;
  margin-bottom: 0.5rem;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.pricing-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2.5rem;
  border: 2px solid transparent;
  text-align: center;
  transition: all 0.3s;
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin: 1rem 0;
}

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

.pricing-features {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--gray);
}

.pricing-features li svg {
  color: var(--success);
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
}

.pricing-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--gray);
}

/* FAQ */
.faq {
  padding: 6rem 0;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-item summary {
  padding: 1.25rem 0;
  font-weight: 600;
  font-size: 1.0625rem;
  cursor: pointer;
  color: var(--dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gray);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--gray);
}

/* Footer */
.footer {
  padding: 3rem 0 2rem;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
}

.footer-simple {
  text-align: center;
  margin-bottom: 2rem;
}

.footer-simple .logo {
  color: var(--white);
  justify-content: center;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9375rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: var(--white);
}

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

  .hero-content {
    max-width: 100%;
  }

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

  .hero-image {
    display: none;
  }

  .steps-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .step::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding: 7rem 0 3rem;
  }

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

  .steps,
  .steps-3 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .audience-grid,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
