/*
 * Levitate Digital - Modern CSS Design System
 * Tagline: Lifting your business beyond gravity
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Rubik:wght@300;400;500;700;900&display=swap');

:root {
  /* Colors */
  --bg-color: #03020c;
  --bg-card: rgba(15, 12, 38, 0.5);
  --border-color: rgba(255, 255, 255, 0.08);
  
  --primary-color: #8a2be2;      /* Neon Purple */
  --primary-glow: rgba(138, 43, 226, 0.4);
  
  --secondary-color: #00f2fe;    /* Neon Cyan */
  --secondary-glow: rgba(0, 242, 254, 0.4);
  
  --accent-color: #ff007f;       /* Neon Pink */
  --accent-glow: rgba(255, 0, 127, 0.4);
  
  --text-primary: #ffffff;
  --text-secondary: #a6adbb;
  --text-muted: #64748b;
  
  /* Font Family */
  --font-hebrew: 'Rubik', sans-serif;
  --font-english: 'Outfit', sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--bg-color);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-hebrew);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background: 
    radial-gradient(circle at 10% 20%, rgba(138, 43, 226, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 242, 254, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(255, 0, 127, 0.05) 0%, transparent 50%),
    var(--bg-color);
  background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Glassmorphism Class */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, #4a00e0 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--primary-glow), 0 0 15px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.1);
}

.btn-secondary:hover {
  background: rgba(0, 242, 254, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--secondary-glow);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-color) 0%, #b30059 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--accent-glow);
}

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

.gradient-text {
  background: linear-gradient(135deg, #fff 30%, var(--secondary-color) 70%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Navigation Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(3, 2, 12, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

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

.logo {
  font-family: var(--font-english);
  font-weight: 800;
  font-size: 1.8rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.5px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--secondary-color);
  animation: pulse 2s infinite;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 1rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* Sections General */
section {
  padding: 8rem 0 4rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  position: relative;
}

/* Grid Backdrop */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center;
  mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 80%);
  z-index: -1;
}

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

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  font-weight: 900;
}

.hero-content p {
  color: var(--text-secondary);
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

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

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Floating Gravitational Sphere */
.floating-sphere {
  width: 450px;
  height: 450px;
  max-width: 90vw;
  max-height: 90vw;
  border-radius: 50%;
  background-image: url('../images/earth.png');
  background-size: cover;
  background-position: center;
  box-shadow: 
    0 0 60px rgba(168, 85, 247, 0.7),
    0 0 120px rgba(6, 182, 212, 0.5);
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.floating-sphere::after {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  animation: spin 20s linear infinite;
}

/* Glass Floating Cards surrounding sphere */
.floating-card {
  position: absolute;
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: cardFloat 5s ease-in-out infinite alternate;
}

.floating-card-1 {
  top: -20px;
  right: -20px;
  animation-delay: 0.5s;
}

.floating-card-2 {
  bottom: -10px;
  left: -40px;
  animation-delay: 1.5s;
}

/* Philosophy Section (Why us?) */
.phil-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.phil-card {
  padding: 3rem 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.phil-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.03), transparent);
  z-index: 0;
}

.phil-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(0, 242, 254, 0.1);
}

.phil-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(138, 43, 226, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.phil-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.phil-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* WhatsApp Simulator Section */
.simulator-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.sim-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.sim-text p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.sim-features {
  list-style: none;
  margin-bottom: 2.5rem;
}

.sim-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.sim-features li::before {
  content: '✓';
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Interactive Phone Mockup */
.phone-mockup {
  width: 320px;
  height: 640px;
  background: #0b141a; /* WhatsApp Dark Mode Background */
  border: 12px solid #222;
  border-radius: 40px;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.7),
    0 0 30px var(--primary-glow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0 auto;
}

/* Phone notch */
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 25px;
  background: #222;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  z-index: 10;
}

/* WhatsApp Chat Header */
.chat-header {
  background: #075e54;
  color: #fff;
  padding: 2rem 1rem 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.chat-info {
  display: flex;
  flex-direction: column;
}

.chat-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.chat-status {
  font-size: 0.75rem;
  color: #a5d6a7;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.chat-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #4caf50;
  border-radius: 50%;
  display: inline-block;
}

/* WhatsApp Chat Body */
.chat-body {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png'); /* Official whatsapp pattern */
  background-size: cover;
  background-opacity: 0.06;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* Chat Messages */
.message {
  max-width: 80%;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.4;
  position: relative;
}

.message.bot {
  background: #1f2c34;
  color: #e9edef;
  align-self: flex-start;
  border-top-left-radius: 0;
}

.message.user {
  background: #005c4b;
  color: #e9edef;
  align-self: flex-end;
  border-top-right-radius: 0;
}

.msg-time {
  font-size: 0.65rem;
  color: #8696a0;
  text-align: right;
  margin-top: 0.2rem;
  display: block;
}

/* Interactive Option Buttons in Bot Chat */
.chat-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.chat-opt-btn {
  background: #202c33;
  border: 1px solid #374248;
  color: var(--secondary-color);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  text-align: right;
  transition: background 0.2s;
  font-family: var(--font-hebrew);
}

.chat-opt-btn:hover {
  background: #2a3942;
}

/* WhatsApp Chat Footer */
.chat-footer {
  background: #1f2c34;
  padding: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chat-input {
  flex: 1;
  background: #2a3942;
  border: none;
  border-radius: 20px;
  padding: 0.5rem 1rem;
  color: #fff;
  font-size: 0.85rem;
  outline: none;
  font-family: var(--font-hebrew);
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  background: #00a884;
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.chat-send-btn:hover {
  transform: scale(1.05);
}

/* Cost Calculator Section */
.calc-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: flex-start;
}

.calc-options-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calc-group h3 {
  font-size: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.calc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.calc-card {
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.calc-card:hover {
  border-color: rgba(138, 43, 226, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.calc-card.active {
  border-color: var(--secondary-color);
  background: rgba(0, 242, 254, 0.05);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

.calc-card input[type="radio"],
.calc-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}

.calc-card-title {
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.calc-card-price {
  color: var(--secondary-color);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Calculator Result Panel */
.calc-result-panel {
  padding: 3rem 2rem;
  position: sticky;
  top: 100px;
}

.calc-result-panel h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.price-comparison {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px dashed var(--border-color);
}

.price-row.market-price {
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-row.our-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  border-bottom: none;
}

.price-row.our-price span.price-val {
  color: var(--secondary-color);
  font-size: 1.8rem;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.savings-badge {
  background: linear-gradient(135deg, #00b09b, #96c93d);
  color: #fff;
  padding: 0.8rem;
  border-radius: 10px;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(150, 201, 61, 0.2);
  animation: pulse 2s infinite;
}

/* Pricing Grid Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.pricing-card {
  padding: 3.5rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card.featured {
  border-color: var(--primary-color);
  box-shadow: 0 0 30px rgba(138, 43, 226, 0.2);
  transform: translateY(-10px);
}

.pricing-card.featured:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 40px rgba(138, 43, 226, 0.3);
}

.pricing-card:not(.featured):hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.badge-featured {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary-color);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pricing-card-header {
  margin-bottom: 2rem;
  text-align: center;
}

.pricing-card-header h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

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

.pricing-card-price {
  text-align: center;
  margin-bottom: 2.5rem;
}

.price-strike {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  display: block;
  margin-bottom: 0.3rem;
}

.price-actual {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  display: inline-flex;
  align-items: baseline;
}

.price-actual span.currency {
  font-size: 1.5rem;
  font-weight: 600;
  margin-left: 0.2rem;
}

.price-actual span.period {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-right: 0.3rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 3rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.pricing-features li::before {
  content: '✓';
  color: var(--secondary-color);
  font-weight: 900;
}

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

/* Contact Form Section */
.contact-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 1.3rem;
}

.contact-item-text h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-item-text p {
  font-size: 1.1rem;
  color: #fff;
}

/* Sleek Form */
.contact-form {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-input {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1rem;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s;
  font-family: var(--font-hebrew);
}

.form-input:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* Footer styling */
footer {
  padding: 4rem 0;
  border-top: 1px solid var(--border-color);
  background: #020108;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3rem;
}

.footer-desc {
  color: var(--text-secondary);
  margin-top: 1rem;
  max-width: 450px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 3rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--secondary-color);
}

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

/* Animations Keyframes */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes cardFloat {
  0% { transform: translateY(0px) translateX(0px); }
  100% { transform: translateY(-10px) translateX(-5px); }
}

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

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.4); }
  70% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(0, 242, 254, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

/* Scroll Animations Support (Progressive Enhancement) */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal {
      from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }
    
    .scroll-reveal {
      animation: reveal auto linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 30%;
    }
  }
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 1024px) {
  .hero-grid,
  .simulator-container,
  .calc-container,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .pricing-grid,
  .phil-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-visual {
    order: -1;
  }
  
  .calc-result-panel {
    position: static;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  header {
    height: 70px;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background: rgba(3, 2, 12, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 3rem;
    gap: 2rem;
    transition: 0.4s ease;
    border-left: 1px solid var(--border-color);
  }
  
  .nav-links.open {
    right: 0;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .pricing-grid,
  .phil-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

/* Accessibility Widget Styling */
.accessibility-trigger {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px var(--primary-glow);
  transition: transform 0.3s;
}

.accessibility-trigger:hover {
  transform: scale(1.1);
  background: var(--accent-color);
}

.accessibility-panel {
  position: fixed;
  bottom: 80px;
  left: 20px;
  width: 300px;
  z-index: 9999;
  padding: 1.5rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.acc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.acc-header h3 {
  font-size: 1.1rem;
  color: #fff;
}

.acc-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
}

.acc-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.acc-body button {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 0.6rem 0.4rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  font-family: var(--font-hebrew);
  transition: all 0.2s;
  text-align: center;
}

.acc-body button:hover,
.acc-body button.active {
  background: var(--secondary-color);
  color: #03020c;
  border-color: var(--secondary-color);
  font-weight: 600;
}

.acc-body .acc-reset {
  grid-column: span 2;
  background: rgba(255, 0, 127, 0.1);
  border-color: rgba(255, 0, 127, 0.2);
  color: var(--accent-color);
}

.acc-body .acc-reset:hover {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}

/* Accessibility Filters */
body.acc-grayscale {
  filter: grayscale(100%);
}
body.acc-high-contrast {
  filter: contrast(140%) brightness(95%);
}
body.acc-negative-contrast {
  filter: invert(100%) hue-rotate(180deg);
}
body.acc-readable-font {
  font-family: Arial, sans-serif !important;
}
body.acc-highlight-links a {
  outline: 2px dashed var(--secondary-color) !important;
  background-color: rgba(0, 242, 254, 0.15) !important;
  text-decoration: underline !important;
}

/* Modals Styling */
.legal-modal {
  margin: auto;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  width: 90%;
  max-width: 650px;
  padding: 2rem;
  color: var(--text-primary);
  max-height: 80vh;
  overflow-y: auto;
  outline: none;
}

.legal-modal::backdrop {
  background: rgba(3, 2, 12, 0.8);
  backdrop-filter: blur(8px);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.modal-header h3 {
  font-size: 1.4rem;
  color: var(--secondary-color);
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  line-height: 1.7;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.modal-body h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.modal-body ul {
  padding-right: 1.5rem;
  list-style-type: disc;
}

.modal-body li {
  margin-bottom: 0.5rem;
}
