/* ================================
   KnowMe Landing Page Styles
   ================================ */

/* CSS Variables */
:root {
  --primary: #6200ee;
  --primary-dark: #4b00b5;
  --primary-light: #9d46ff;
  --secondary: #03dac6;
  --accent: #ff6b6b;
  --background: #0a0a1a;
  --surface: #1a1a2e;
  --surface-light: #252542;
  --text-primary: #ffffff;
  --text-secondary: #b0b0c0;
  --text-muted: #6c6c80;
  --gradient-start: #6200ee;
  --gradient-end: #9d46ff;
  --gradient-accent: linear-gradient(135deg, #6200ee 0%, #9d46ff 50%, #03dac6 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(98, 0, 238, 0.3);
  --border-radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

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

/* Animated Background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--background) 0%, #0f0f2d 50%, var(--background) 100%);
}

.floating-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-accent);
  opacity: 0.05;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -200px;
  animation-delay: 0s;
}

.shape-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -100px;
  animation-delay: -5s;
}

.shape-3 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  animation-delay: -10s;
}

.shape-4 {
  width: 200px;
  height: 200px;
  top: 30%;
  left: 10%;
  animation-delay: -15s;
}

.shape-5 {
  width: 150px;
  height: 150px;
  bottom: 30%;
  right: 10%;
  animation-delay: -8s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(50px, -50px) rotate(90deg); }
  50% { transform: translate(0, -100px) rotate(180deg); }
  75% { transform: translate(-50px, -50px) rotate(270deg); }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(20px);
  padding: 15px 0;
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: var(--gradient-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: var(--shadow-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

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

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--primary);
  padding: 10px 24px !important;
  border-radius: 30px;
  color: var(--text-primary) !important;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.nav-cta::after {
  display: none !important;
}

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

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-primary);
  box-shadow: 0 4px 20px rgba(98, 0, 238, 0.4);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(98, 0, 238, 0.5);
}

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

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

.btn-lg {
  padding: 18px 36px;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 20px 60px;
  position: relative;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(98, 0, 238, 0.2);
  border: 1px solid rgba(98, 0, 238, 0.3);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  color: var(--primary-light);
  margin-bottom: 20px;
}

.hero-badge i {
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

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

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-light);
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Phone Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  position: relative;
}

.phone-frame {
  width: 280px;
  height: 580px;
  background: linear-gradient(145deg, #2a2a4a, #1a1a30);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(98, 0, 238, 0.2);
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 25px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--surface) 0%, var(--background) 100%);
  border-radius: 30px;
  overflow: hidden;
  padding: 50px 15px 20px;
}

/* Mock Feed Animation */
.mock-feed {
  animation: scrollFeed 10s infinite ease-in-out;
}

@keyframes scrollFeed {
  0%, 20% { transform: translateY(0); }
  40%, 60% { transform: translateY(-50px); }
  80%, 100% { transform: translateY(0); }
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.mock-avatar, .mock-avatar-2 {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-accent);
}

.mock-avatar-2 {
  background: linear-gradient(135deg, #ff6b6b, #ffa500);
}

.mock-user-info {
  flex: 1;
}

.mock-name {
  height: 12px;
  width: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  margin-bottom: 5px;
}

.mock-time {
  height: 8px;
  width: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.mock-image {
  height: 180px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  margin-bottom: 15px;
}

.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  100% { left: 100%; }
}

.mock-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.mock-action {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.heart-beat {
  animation: heartBeat 1.5s infinite;
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.2);
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.mock-post-2 {
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mock-text-lines {
  margin-top: 10px;
}

.mock-line {
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  margin-bottom: 8px;
}

.mock-line.short {
  width: 60%;
}

/* Floating Cards */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}

.floating-card i {
  color: var(--primary-light);
}

.card-1 {
  top: 80px;
  left: -60px;
  animation: floatCard 4s infinite ease-in-out;
}

.card-2 {
  top: 200px;
  right: -80px;
  animation: floatCard 4s infinite ease-in-out 1s;
}

.card-3 {
  bottom: 150px;
  left: -40px;
  animation: floatCard 4s infinite ease-in-out 2s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--text-muted);
  border-radius: 15px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--primary-light);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* Animations */
.animate-slide-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s ease forwards;
}

.animate-float {
  animation: floatAnimation 6s ease-in-out infinite;
}

.animate-bounce-in {
  opacity: 0;
  transform: scale(0.8);
  animation: bounceIn 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatAnimation {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.8); }
  50% { transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

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

/* Section Styles */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: rgba(98, 0, 238, 0.2);
  color: var(--primary-light);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(98, 0, 238, 0.3);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: rgba(98, 0, 238, 0.15);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-light);
  transition: var(--transition);
}

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

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

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

/* How It Works */
.how-it-works {
  background: linear-gradient(180deg, var(--surface) 0%, var(--background) 100%);
}

.steps-container {
  max-width: 900px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.step.reverse {
  direction: rtl;
}

.step.reverse > * {
  direction: ltr;
}

.step-number {
  font-size: 5rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
}

.step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.step-content p {
  color: var(--text-secondary);
}

.step-visual .step-icon {
  width: 100px;
  height: 100px;
  background: var(--primary);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  box-shadow: var(--shadow-glow);
}

/* Screenshots */
.screenshots {
  padding: 100px 0;
}

.screenshots-carousel {
  display: flex;
  justify-content: center;
  gap: 30px;
  perspective: 1000px;
}

.screenshot-card {
  width: 250px;
  height: 500px;
  background: var(--surface);
  border-radius: 30px;
  padding: 20px;
  transition: var(--transition);
  transform: scale(0.9) rotateY(-5deg);
  opacity: 0.6;
}

.screenshot-card.active {
  transform: scale(1) rotateY(0);
  opacity: 1;
  box-shadow: var(--shadow-glow);
}

.screenshot-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 1.2rem;
}

.screenshot-placeholder i {
  font-size: 3rem;
}

/* Testimonials */
.testimonials {
  background: var(--surface);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--background);
  border-radius: var(--border-radius);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(98, 0, 238, 0.3);
}

.stars {
  color: #ffc107;
  margin-bottom: 15px;
}

.testimonial-content p {
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 3px;
}

.author-info span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Download CTA */
.download-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.download-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.download-cta .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  position: relative;
}

.cta-content {
  max-width: 600px;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.cta-buttons .btn-primary {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.cta-buttons .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.coming-soon {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.7;
  font-size: 0.95rem;
}

.coming-soon i {
  font-size: 1.5rem;
}

.download-info {
  display: flex;
  gap: 32px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.cta-visual {
  display: flex;
  justify-content: center;
}

.download-phone {
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code {
  text-align: center;
}

.qr-code i {
  font-size: 4rem;
  display: block;
  margin-bottom: 10px;
}

.qr-code span {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Footer */
.footer {
  background: var(--background);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 16px;
}

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

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

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-column ul a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--background);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu ul {
  text-align: center;
}

.mobile-menu ul li {
  margin-bottom: 30px;
}

.mobile-menu ul a {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Terms Modal */
.terms-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.terms-modal.active {
  opacity: 1;
  visibility: visible;
}

.terms-modal-content {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.4s ease;
}

.terms-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terms-header h2 {
  font-size: 1.8rem;
  margin: 0;
}

.close-modal {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: var(--transition);
}

.close-modal:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.terms-body {
  padding: 30px;
  overflow-y: auto;
  flex: 1;
}

.terms-body::-webkit-scrollbar {
  width: 8px;
}

.terms-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.terms-body::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.encryption-notice {
  background: rgba(3, 218, 198, 0.1);
  border: 1px solid rgba(3, 218, 198, 0.3);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.encryption-notice i {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-top: 4px;
}

.encryption-notice p {
  margin: 0;
  color: var(--text-primary);
  line-height: 1.6;
}

.terms-content h3 {
  font-size: 1.2rem;
  margin: 24px 0 12px;
  color: var(--primary-light);
}

.terms-content ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.terms-content li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.6;
}

.terms-links {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

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

.terms-links a:hover {
  color: var(--secondary);
}

.terms-footer {
  padding: 24px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  cursor: pointer;
  user-select: none;
}

.terms-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--primary);
}

.terms-checkbox span {
  color: var(--text-secondary);
  line-height: 1.5;
}

.terms-buttons {
  display: flex;
  gap: 12px;
}

.terms-buttons .btn {
  flex: 1;
}

.terms-buttons .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.terms-buttons .btn:disabled:hover {
  transform: none;
  box-shadow: none;
}

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

  .hero-description {
    max-width: 100%;
    margin: 0 auto 32px;
  }

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

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

  .hero-visual {
    order: -1;
    margin-bottom: 40px;
  }

  .floating-card {
    display: none;
  }

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

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

  .download-cta .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .download-info {
    justify-content: center;
  }

  .cta-visual {
    display: none;
  }

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

  .footer-brand p {
    max-width: 100%;
  }

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

  .footer-links {
    text-align: left;
  }
}

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

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

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

  .section-title {
    font-size: 2rem;
  }

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

  .step {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .step.reverse {
    direction: ltr;
  }

  .step-number {
    font-size: 3rem;
  }

  .step-visual {
    order: -1;
  }

  .screenshots-carousel {
    flex-direction: column;
    align-items: center;
  }

  .screenshot-card {
    transform: scale(1);
    opacity: 1;
  }

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

  .hero-stats {
    flex-wrap: wrap;
    gap: 30px;
  }

  .download-info {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

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

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .phone-frame {
    width: 240px;
    height: 500px;
  }
}
