/* ===================================
   Beijing Zhuosheng HR - Main Styles
   Modern Corporate Website
   =================================== */

/* CSS Variables */
:root {
  --primary: #0066CC;
  --primary-dark: #004C99;
  --primary-light: #3399FF;
  --secondary: #1A1A1A;
  --accent: #FF6B00;
  --text-dark: #1A1A1A;
  --text-light: #FFFFFF;
  --text-gray: #666666;
  --bg-light: #F5F5F5;
  --bg-white: #FFFFFF;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 10px 40px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--bg-white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  transition: var(--transition);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

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

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

.logo span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  gap: 2.5rem;
}

.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-gray);
  position: relative;
  padding: 0.5rem 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

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

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--secondary);
  border-radius: 3px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1628 0%, #1a365d 50%, #0066CC 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255,107,0,0.15) 0%, transparent 40%);
  animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(2%, -2%) rotate(1deg); }
  66% { transform: translate(-1%, 1%) rotate(-1deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255,255,255,0.2);
  animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero h1 span {
  background: linear-gradient(135deg, #FF6B00 0%, #FFB347 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-light);
  box-shadow: 0 4px 20px rgba(0,102,204,0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,102,204,0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #FF8C00 100%);
  color: var(--text-light);
  box-shadow: 0 4px 20px rgba(255,107,0,0.4);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255,107,0,0.5);
}

/* Section Styles */
.section {
  padding: 120px 0;
  position: relative;
}

.section-light {
  background: var(--bg-light);
}

.section-dark {
  background: var(--secondary);
  color: var(--text-light);
}

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

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

.section-header p {
  color: var(--text-gray);
  font-size: 1.125rem;
}

.section-dark .section-header p {
  color: rgba(255,255,255,0.7);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}

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

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(0,102,204,0.1) 0%, rgba(255,107,0,0.1) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-icon svg {
  width: 35px;
  height: 35px;
  color: var(--primary);
}

.feature-card h4 {
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-gray);
  line-height: 1.7;
}

/* Services Section */
.services-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
  group: true;
}

.service-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-item:hover img {
  transform: scale(1.1);
}

.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: var(--text-light);
}

.service-overlay h4 {
  margin-bottom: 0.5rem;
  transform: translateY(0);
  transition: var(--transition);
}

.service-item:hover .service-overlay h4 {
  transform: translateY(-10px);
}

.service-overlay p {
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  font-size: 0.9rem;
}

.service-item:hover .service-overlay p {
  opacity: 0.9;
  transform: translateY(0);
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  top: -250px;
  right: -100px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
  color: var(--text-light);
}

.stat-item h3 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.stat-item p {
  font-size: 1rem;
  opacity: 0.9;
}

/* App Download Section */
.app-section {
  background: var(--secondary);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.app-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,107,0,0.2) 0%, transparent 70%);
  top: -200px;
  left: -200px;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

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

.app-info h2 {
  margin-bottom: 1.5rem;
}

.app-info p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.app-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  color: var(--text-light);
  transition: var(--transition);
}

.store-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

.store-btn svg {
  width: 30px;
  height: 30px;
}

.store-btn span {
  text-align: left;
}

.store-btn small {
  display: block;
  font-size: 0.75rem;
  opacity: 0.8;
}

.store-btn strong {
  font-size: 1rem;
}

.app-preview {
  position: relative;
}

.app-preview::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,107,0,0.3) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

.phone-mockup {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
  background: var(--secondary);
  border-radius: 40px;
  padding: 15px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.phone-screen {
  background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 28px;
  aspect-ratio: 9/19;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.phone-screen svg {
  width: 60%;
  height: 60%;
  opacity: 0.5;
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.news-card {
  background: var(--bg-white);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.news-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.news-content {
  padding: 1.5rem;
}

.news-date {
  color: var(--text-gray);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.news-content h4 {
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.news-card:hover .news-content h4 {
  color: var(--primary);
}

.news-content p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 1rem;
}

.news-link svg {
  width: 18px;
  height: 18px;
  transition: var(--transition);
}

.news-card:hover .news-link svg {
  transform: translateX(5px);
}

/* Culture Section */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  text-align: center;
  padding: 2.5rem;
  background: var(--bg-white);
  border-radius: 20px;
  transition: var(--transition);
  border: 2px solid transparent;
}

.value-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.value-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.value-card:hover .value-icon {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(0,102,204,0.3);
}

.value-icon svg {
  width: 45px;
  height: 45px;
  color: var(--text-light);
}

.value-card h4 {
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--text-gray);
  line-height: 1.7;
}

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

.team-member {
  text-align: center;
}

.team-photo {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--bg-light);
  transition: var(--transition);
}

.team-member:hover .team-photo {
  border-color: var(--primary);
  transform: scale(1.05);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h4 {
  margin-bottom: 0.25rem;
}

.team-member p {
  color: var(--primary);
  font-weight: 600;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info {
  background: var(--secondary);
  color: var(--text-light);
  padding: 3rem;
  border-radius: 20px;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-item svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.contact-item h5 {
  margin-bottom: 0.25rem;
}

.contact-item p {
  opacity: 0.8;
  font-size: 0.95rem;
}

.contact-form {
  background: var(--bg-light);
  padding: 3rem;
  border-radius: 20px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0,102,204,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* Footer */
.footer {
  background: var(--secondary);
  color: var(--text-light);
  padding: 80px 0 30px;
}

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

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

.footer-brand p {
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

.footer-col h5 {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

.footer-col ul li a {
  opacity: 0.8;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--primary);
}

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

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.9rem;
}

.legal-links {
  display: flex;
  gap: 2rem;
}

.legal-links a {
  font-size: 0.9rem;
  opacity: 0.7;
  transition: var(--transition);
}

.legal-links a:hover {
  opacity: 1;
  color: var(--primary);
}

/* Privacy & Terms Pages */
.legal-page {
  padding-top: 120px;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: 1rem;
}

.legal-content .last-updated {
  color: var(--text-gray);
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--bg-light);
}

.legal-section {
  margin-bottom: 3rem;
}

.legal-section h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.legal-section h3 {
  font-size: 1.35rem;
  margin: 2rem 0 1rem;
}

.legal-section p {
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--text-gray);
}

.legal-section ul {
  margin: 1rem 0 1.5rem 1.5rem;
}

.legal-section ul li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
  color: var(--text-gray);
  position: relative;
  padding-left: 1.5rem;
}

.legal-section ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Ad Platform Cards */
.ad-platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.ad-platform-card {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.ad-platform-card h4 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.ad-platform-card p {
  font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--secondary);
  color: var(--text-light);
  padding: 1.5rem 5%;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  z-index: 9999;
  box-shadow: 0 -5px 30px rgba(0,0,0,0.2);
}

.cookie-banner.show {
  display: flex;
}

.cookie-banner p {
  flex: 1;
  font-size: 0.9rem;
  opacity: 0.9;
}

.cookie-banner a {
  color: var(--primary-light);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.active {
  opacity: 1;
  transform: scale(1);
}

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

  .app-buttons {
    justify-content: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    padding: 100px 2rem 2rem;
    gap: 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }

  .nav.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }

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

  .hero-buttons {
    flex-direction: column;
  }

  .section {
    padding: 80px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

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

  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 4%;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .stat-item h3 {
    font-size: 2.5rem;
  }

  .app-buttons {
    flex-direction: column;
  }

  .store-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Page Transitions */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  z-index: 10000;
  transform: scaleY(0);
  transform-origin: bottom;
}

.page-transition.active {
  animation: pageIn 0.6s ease-out forwards;
}

@keyframes pageIn {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: top; }
}

/* Loading Spinner */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--bg-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}
