/* ============================================
   Tag Master Landing Page - Styles
   ============================================ */

:root {
  --google-blue: #4285F4;
  --google-red: #EA4335;
  --google-yellow: #FBBC04;
  --google-green: #34A853;
  --dark: #1a1a1a;
  --dark-light: #2a2a2a;
  --gray: #666;
  --gray-light: #999;
  --white: #ffffff;
  --off-white: #f8f9fa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  color: var(--dark);
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.logo-text {
  color: var(--dark);
}

.highlight {
  color: var(--google-blue);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--gray);
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 15px;
}

.nav-link:hover {
  color: var(--google-blue);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f0fe 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(66, 133, 244, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.3; }
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(66, 133, 244, 0.3);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--google-blue);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease;
}

.ring-emoji {
  font-size: 18px;
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--dark);
  animation: fadeInUp 0.6s ease 0.1s backwards;
}

.gradient-text {
  background: linear-gradient(135deg, var(--google-blue) 0%, var(--google-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 20px;
  color: var(--gray);
  margin-bottom: 32px;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease 0.3s backwards;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--google-blue);
  color: white;
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.btn-primary:hover {
  background: #1a73e8;
  box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: white;
  color: var(--dark);
  border: 2px solid #e0e0e0;
}

.btn-secondary:hover {
  border-color: var(--google-blue);
  color: var(--google-blue);
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 36px;
  font-size: 18px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  animation: fadeInUp 0.6s ease 0.4s backwards;
}

.stat {
  text-align: left;
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--google-blue);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--gray);
}

.hero-image {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  max-width: 600px;
  animation: fadeInRight 0.8s ease 0.5s backwards;
}

.browser-mockup {
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.browser-header {
  background: #f0f0f0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #ddd;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.browser-title {
  font-size: 13px;
  color: var(--gray);
  font-weight: 500;
}

.browser-content {
  background: #1e1e1e;
  padding: 20px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px) translateY(-50%);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(-50%);
  }
}

/* ============================================
   Features Section
   ============================================ */

.features {
  padding: 100px 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark);
}

.section-description {
  font-size: 18px;
  color: var(--gray);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.feature-card {
  padding: 32px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--google-blue);
  box-shadow: 0 8px 24px rgba(66, 133, 244, 0.15);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: white;
}

.feature-icon.blue { background: var(--google-blue); }
.feature-icon.green { background: var(--google-green); }
.feature-icon.red { background: var(--google-red); }
.feature-icon.yellow { background: var(--google-yellow); }
.feature-icon.purple { background: #9334e9; }
.feature-icon.orange { background: #f97316; }

.feature-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.feature-description {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 8px;
}

/* ============================================
   How It Works Section
   ============================================ */

.how-it-works {
  padding: 100px 0;
  background: var(--off-white);
}

.steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  text-align: center;
}

.step-number {
  width: 64px;
  height: 64px;
  background: var(--google-blue);
  color: white;
  font-size: 28px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.step-description {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
}

.step-arrow {
  font-size: 32px;
  color: var(--gray-light);
  font-weight: 300;
}

/* ============================================
   CTA Section
   ============================================ */

.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--google-blue) 0%, #1a73e8 100%);
  color: white;
  text-align: center;
}

.cta-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-description {
  font-size: 20px;
  margin-bottom: 32px;
  opacity: 0.9;
}

.cta .btn-primary {
  background: white;
  color: var(--google-blue);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta .btn-primary:hover {
  background: var(--off-white);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.cta-note {
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.8;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  padding: 48px 0 24px;
  background: var(--dark);
  color: white;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 32px;
  height: 32px;
}

.footer-text {
  font-size: 18px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-link {
  color: var(--gray-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-light);
  font-size: 14px;
}

.footer-bottom a {
  color: var(--google-blue);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .hero-image {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-top: 60px;
    transform: none;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-description {
    font-size: 18px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .section-title {
    font-size: 32px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}
