/* ========================================
   TETRAKORT - NOTION/LINEAR STYLE
   Balanced, Professional, Clean
   ======================================== */

:root {
  /* Soft Dark Theme */
  --bg-primary: #0f0f0f;
  --bg-secondary: #171717;
  --bg-tertiary: #1f1f1f;
  --bg-elevated: #262626;

  /* Accent Colors */
  --accent-purple: #8b5cf6;
  --accent-blue: #3b82f6;
  --accent-pink: #ec4899;

  /* Text */
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;

  /* Border */
  --border-primary: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.15);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Typography */
  --font-sans:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    sans-serif;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Container */
  --container-width: 1200px;
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

html::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  position: relative;
  overflow-x: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* ===== ANIMATED GRID BACKGROUND ===== */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

/* Moving Lines */
.line {
  position: fixed;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(139, 92, 246, 0.4),
    transparent
  );
  pointer-events: none;
  z-index: 0;
}

.line-1 {
  width: 100%;
  top: 20%;
  animation: lineMove1 8s ease-in-out infinite;
}

.line-2 {
  width: 100%;
  top: 50%;
  animation: lineMove2 10s ease-in-out infinite;
}

.line-3 {
  width: 100%;
  top: 75%;
  animation: lineMove3 12s ease-in-out infinite;
}

@keyframes lineMove1 {
  0%,
  100% {
    transform: translateX(-100%);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes lineMove2 {
  0%,
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes lineMove3 {
  0%,
  100% {
    transform: translateX(-100%);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
  }
}

/* Fast Moving Particles */
.particle {
  position: fixed;
  width: 3px;
  height: 3px;
  background: rgba(139, 92, 246, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  box-shadow: 0 0 10px currentColor;
}

.particle:nth-child(1) {
  top: 10%;
  left: 20%;
  animation: particleFly 5s linear infinite;
}
.particle:nth-child(2) {
  top: 25%;
  left: 60%;
  animation: particleFly 6s linear infinite 1s;
  background: rgba(236, 72, 153, 0.6);
}
.particle:nth-child(3) {
  top: 45%;
  left: 30%;
  animation: particleFly 7s linear infinite 2s;
  background: rgba(59, 130, 246, 0.6);
}
.particle:nth-child(4) {
  top: 60%;
  left: 75%;
  animation: particleFly 5.5s linear infinite 1.5s;
}
.particle:nth-child(5) {
  top: 80%;
  left: 40%;
  animation: particleFly 6.5s linear infinite 0.5s;
  background: rgba(236, 72, 153, 0.6);
}
.particle:nth-child(6) {
  top: 15%;
  left: 85%;
  animation: particleFly 7.5s linear infinite 2.5s;
  background: rgba(59, 130, 246, 0.6);
}
.particle:nth-child(7) {
  top: 35%;
  left: 10%;
  animation: particleFly 6s linear infinite 3s;
}
.particle:nth-child(8) {
  top: 55%;
  left: 90%;
  animation: particleFly 5s linear infinite 1s;
  background: rgba(236, 72, 153, 0.6);
}
.particle:nth-child(9) {
  top: 70%;
  left: 55%;
  animation: particleFly 7s linear infinite 2s;
  background: rgba(59, 130, 246, 0.6);
}
.particle:nth-child(10) {
  top: 90%;
  left: 15%;
  animation: particleFly 6.5s linear infinite 0.5s;
}

@keyframes particleFly {
  0% {
    transform: translate(0, 0) scale(0.5);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translate(100vw, -50vh) scale(1.5);
    opacity: 0;
  }
}

/* Cursor Spotlight Effect */
.spotlight {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.2) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  position: relative;
  z-index: 1;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-primary);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
  color: var(--text-primary);
}

.logo-image {
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 20px rgba(236, 72, 153, 0.6))
      drop-shadow(0 0 40px rgba(139, 92, 246, 0.4));
  }
  50% {
    transform: scale(1.03);
    filter: drop-shadow(0 0 28px rgba(236, 72, 153, 0.7))
      drop-shadow(0 0 50px rgba(139, 92, 246, 0.5));
  }
}

.logo-icon {
  font-size: 1.5rem;
}

.logo-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-text {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.logo-tagline {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-actions {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

/* ===== BUTTONS ===== */
.btn-text {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: var(--space-sm) var(--space-md);
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-text::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.btn-text:hover::before {
  width: 300px;
  height: 300px;
}

.btn-text:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple) 0%, #a78bfa 100%);
  color: white;
  border: none;
  font-family: var(--font-sans);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.7s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(139, 92, 246, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-primary);
  font-family: var(--font-sans);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.btn-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.1),
    rgba(236, 72, 153, 0.1)
  );
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-secondary:hover::before {
  opacity: 1;
}

.btn-secondary:hover {
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
}

/* ===== HERO ===== */
.hero {
  padding-top: calc(4rem + var(--space-4xl));
  padding-bottom: var(--space-4xl);
  text-align: center;
}

.hero-content {
  max-width: 48rem;
  margin: 0 auto;
}

.hero-badges {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.badge {
  padding: var(--space-xs) var(--space-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.badge-success {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.2);
  color: #86efac;
}

.badge-info {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}

.badge-warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: var(--space-xl);
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

.btn-hero {
  padding: var(--space-md) var(--space-2xl);
  font-size: 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-2xl);
  max-width: 40rem;
  margin: 0 auto;
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--border-primary);
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  display: block;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* ===== SECTIONS ===== */
.features,
.value-prop,
.pricing,
.cta {
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== FEATURES ===== */
.features {
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.feature-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all 0.2s;
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-card.highlight {
  border-color: rgba(139, 92, 246, 0.3);
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.05),
    rgba(236, 72, 153, 0.05)
  );
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: var(--space-lg);
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.9375rem;
  margin: 0;
}

.feature-badge {
  display: inline-block;
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: var(--space-md);
}

/* ===== VALUE PROP ===== */
.value-prop {
  background: var(--bg-primary);
}

.value-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-3xl);
  align-items: center;
}

.value-tag {
  display: inline-block;
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-purple);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.value-text h2 {
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 600;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.01em;
}

.lead {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.check-list {
  list-style: none;
  margin-bottom: var(--space-2xl);
}

.check-list li {
  padding: var(--space-md) 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.btn-large {
  padding: var(--space-md) var(--space-2xl);
  font-size: 1rem;
  background: var(--accent-purple);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-large:hover {
  background: #7c3aed;
  transform: translateY(-1px);
}

.visual-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.visual-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-primary);
}

.visual-icon {
  font-size: 1.5rem;
}

.visual-title {
  font-weight: 600;
  font-size: 1rem;
}

.visual-content {
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.visual-item {
  background: var(--bg-primary);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.visual-badge {
  background: var(--accent-purple);
  color: white;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
}

/* ===== PRICING ===== */
.pricing {
  background: var(--bg-secondary);
}

.pricing-toggle {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-bottom: var(--space-3xl);
  background: var(--bg-primary);
  padding: var(--space-xs);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-primary);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.toggle-btn {
  padding: var(--space-sm) var(--space-xl);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s;
}

.toggle-btn.active {
  background: var(--accent-purple);
  color: white;
}

.discount {
  background: var(--accent-purple);
  color: white;
  padding: 2px var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.6875rem;
  margin-left: var(--space-xs);
  font-weight: 700;
}

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  max-width: 56rem;
  margin: 0 auto;
  justify-content: center;
}

.pricing-two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

/* Center single pricing card */
.pricing-card {
  width: 28rem;
  max-width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all 0.2s;
  position: relative;
}

.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border-color: rgba(139, 92, 246, 0.5);
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.05),
    rgba(236, 72, 153, 0.05)
  );
}

.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-purple);
  color: white;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-header {
  margin-bottom: var(--space-xl);
}

.pricing-header h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.pricing-header p {
  color: var(--text-tertiary);
  font-size: 0.9375rem;
}

.pricing-price {
  margin-bottom: var(--space-xl);
}

.price {
  font-size: 3rem;
  font-weight: 600;
  color: var(--text-primary);
}

.period {
  font-size: 1rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-xl);
}

.pricing-features li {
  padding: var(--space-md) 0;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-primary);
  font-size: 0.9375rem;
}

.pricing-features li:last-child {
  border: none;
}

.btn-pricing {
  width: 100%;
  background: var(--accent-purple);
  color: white;
  border: none;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-pricing:hover {
  background: #7c3aed;
  transform: translateY(-1px);
}

.btn-pricing.featured {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
}

.pricing-note {
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.875rem;
  margin-top: var(--space-xl);
}

/* ===== CTA ===== */
.cta {
  background: var(--bg-primary);
}

.cta-content {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
  padding: var(--space-3xl);
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl);
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.cta p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
}

.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta {
  padding: var(--space-md) var(--space-2xl);
  font-size: 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cta-secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-primary);
}

.btn-cta-secondary:hover {
  border-color: var(--border-hover);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-primary);
  padding: var(--space-3xl) 0 var(--space-xl);
  margin-top: var(--space-4xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.footer-logo img {
  display: block;
}

.footer-logo .logo-text {
  font-size: 1.125rem;
  font-weight: 600;
}

.footer-col p {
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.footer-col a {
  display: block;
  color: var(--text-tertiary);
  text-decoration: none;
  margin-bottom: var(--space-sm);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-primary);
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

/* ===== MODALS ===== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.modal-box {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  max-width: 360px;
  width: 90%;
  padding: 0.5rem 0.65rem;
  z-index: 1;
  box-shadow: var(--shadow-lg);
}

.modal-large {
  max-width: 1000px;
}

.modal-close-btn {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-primary);
  color: var(--text-secondary);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.modal-header {
  text-align: center;
  margin-bottom: 0.35rem;
}

.modal-header h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.modal-header p {
  color: var(--text-tertiary);
  font-size: 0.7rem;
}

/* ===== FORMS ===== */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.form-group label {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.7rem;
}

.form-group input {
  padding: 0.4rem 0.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.75rem;
  transition: all 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-purple);
  background: var(--bg-elevated);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  margin-top: 0.15rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.65rem;
}

.checkbox-label input[type="checkbox"] {
  width: 12px;
  height: 12px;
  cursor: pointer;
  flex-shrink: 0;
}

.link {
  color: var(--accent-purple);
  text-decoration: none;
  font-weight: 500;
}

.link:hover {
  text-decoration: underline;
}

.btn-modal {
  width: 100%;
  background: var(--accent-purple);
  color: white;
  border: none;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 0.2rem;
}

.btn-modal:hover {
  background: #7c3aed;
  transform: translateY(-1px);
}

.form-footer {
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.65rem;
  margin-top: 0.25rem;
}

/* ===== PAYMENT ===== */
.payment-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-2xl);
}

.payment-section {
  margin-bottom: var(--space-xl);
}

.payment-section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.payment-method {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}

.payment-method input {
  display: none;
}

.payment-method.active {
  border-color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.05);
}

.method-icon {
  font-size: 1.5rem;
}

.bank-info {
  background: var(--bg-primary);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-primary);
}

.bank-info p {
  margin-bottom: var(--space-md);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.info-note {
  background: rgba(59, 130, 246, 0.1);
  color: #93c5fd;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-top: var(--space-lg);
  font-size: 0.875rem;
}

.order-summary {
  background: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: sticky;
  top: var(--space-xl);
}

.order-summary h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-md);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.summary-divider {
  height: 1px;
  background: var(--border-primary);
  margin: var(--space-lg) 0;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.secure-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: var(--space-md);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  /* NAVIGATION MOBILE */
  .nav-menu {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
  }

  /* HERO SECTION MOBILE */
  .hero-title {
    font-size: 2rem !important;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.95rem !important;
    line-height: 1.5;
  }

  /* HERO STATS - 2 COLUMNS ON MOBILE */
  .hero-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem;
  }

  .stat {
    padding: 1rem;
  }

  .stat-number {
    font-size: 1.75rem !important;
  }

  .stat-label {
    font-size: 0.75rem !important;
  }

  /* BUTTONS TOUCH-FRIENDLY */
  .btn-hero {
    min-height: 48px;
    font-size: 1rem;
    padding: 1rem 2rem;
  }

  .container {
    padding: 0 var(--space-lg);
  }

  .nav-actions {
    gap: var(--space-sm);
  }

  .btn-text {
    padding: var(--space-sm);
    font-size: 0.875rem;
  }

  .hero {
    padding-top: calc(4rem + var(--space-2xl));
    padding-bottom: var(--space-2xl);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .payment-container {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .payment-methods {
    grid-template-columns: 1fr;
  }
}

/* ===== TERMS MODAL ===== */
.terms-modal {
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
}

.terms-content {
  padding: var(--space-md) 0;
}

.terms-section {
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-primary);
}

.terms-section:last-of-type {
  border-bottom: none;
}

.terms-section h3 {
  color: var(--accent-purple);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.terms-section p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.terms-section ul {
  list-style: none;
  padding-left: 0;
}

.terms-section ul li {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: var(--space-sm);
  padding-left: var(--space-lg);
  position: relative;
}

.terms-section ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent-purple);
  font-weight: bold;
}

.terms-section ul li strong {
  color: var(--text-primary);
  font-weight: 600;
}

.terms-footer {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 2px solid var(--accent-purple);
  background: rgba(139, 92, 246, 0.05);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
}

.terms-footer p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.terms-footer strong {
  color: var(--accent-purple);
}

/* =====================================================
   PROFILE DROPDOWN MENU STYLES
   ===================================================== */

.profile-dropdown {
  position: relative;
}

.profile-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.profile-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
}

.profile-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: white;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.profile-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-arrow {
  font-size: 0.6rem;
  opacity: 0.6;
  transition: transform 0.3s ease;
}

.profile-btn:hover .dropdown-arrow {
  opacity: 1;
}

/* Profile Menu Dropdown */
.profile-menu {
  position: absolute;
  top: calc(100% + var(--space-sm));
  right: 0;
  width: 320px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(139, 92, 246, 0.1);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.profile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Profile Header in Dropdown */
.profile-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
}

.profile-avatar-large {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  color: white;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
  flex-shrink: 0;
}

.profile-info {
  flex: 1;
  min-width: 0;
}

.profile-fullname {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-email {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Divider */
.profile-divider {
  height: 1px;
  background: var(--border-primary);
  margin: 0 var(--space-md);
}

/* Profile Details */
.profile-details {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.profile-detail-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.profile-detail-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.detail-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.detail-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Package Badge */
.package-badge {
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  animation: badgePulse 3s ease-in-out infinite;
}

.package-badge.ortaokul {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.2),
    rgba(37, 99, 235, 0.2)
  );
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.package-badge.lise {
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.2),
    rgba(219, 39, 119, 0.2)
  );
  color: #fbcfe8;
  border: 1px solid rgba(236, 72, 153, 0.3);
}

@keyframes badgePulse {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
  }
  50% {
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
  }
}

/* Profile Actions */
.profile-actions {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.profile-action-btn {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
}

.profile-action-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.profile-action-btn.logout-btn {
  color: #ef4444;
}

.profile-action-btn.logout-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
}

.action-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

/* Derse Git Button - Premium Style */
.btn-lesson {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: linear-gradient(
    135deg,
    var(--accent-purple) 0%,
    #a78bfa 50%,
    var(--accent-pink) 100%
  );
  background-size: 200% 200%;
  box-shadow:
    0 4px 15px rgba(139, 92, 246, 0.4),
    0 0 30px rgba(139, 92, 246, 0.2);
  animation: gradientShift 5s ease infinite;
  position: relative;
  overflow: hidden;
}

.btn-lesson::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.7s;
}

.btn-lesson:hover::before {
  left: 100%;
}

.btn-lesson:hover {
  box-shadow:
    0 6px 25px rgba(139, 92, 246, 0.6),
    0 0 50px rgba(139, 92, 246, 0.3);
  transform: translateY(-3px);
}

.btn-icon {
  font-size: 1.125rem;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Responsive Design */
@media (max-width: 640px) {
  .profile-menu {
    width: calc(100vw - 2rem);
    right: -1rem;
  }

  .profile-name {
    display: none;
  }

  .btn-lesson span:not(.btn-icon) {
    display: none;
  }
}

/* =====================================================
   SETTINGS MODAL STYLES
   ===================================================== */

.settings-content {
  padding: var(--space-lg);
}

.settings-section {
  margin-bottom: var(--space-xl);
}

.settings-section:last-child {
  margin-bottom: 0;
}

.settings-section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.settings-item {
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}

.settings-item-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.settings-item-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.settings-item-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.settings-divider {
  height: 1px;
  background: var(--border-primary);
  margin: var(--space-lg) 0;
}

.settings-action-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  margin-bottom: var(--space-sm);
}

.settings-action-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.action-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.action-content {
  flex: 1;
}

.action-title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.action-desc {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.action-arrow {
  font-size: 1.5rem;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

/* Form Grid for Profile Edit */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   WELCOME DASHBOARD STYLES FOR LOGGED-IN USERS
   ===================================================== */

.welcome-dashboard {
  padding: calc(4rem + var(--space-4xl)) 0 var(--space-4xl);
  min-height: 100vh;
}

.welcome-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  box-shadow: var(--shadow-lg);
}

.welcome-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.welcome-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.welcome-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

.welcome-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
}

.welcome-stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  transition: all 0.3s ease;
}

.welcome-stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-icon-large {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.stat-content-large {
  flex: 1;
}

.stat-label-large {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-value-large {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.welcome-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

.welcome-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--border-primary);
}

.welcome-feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.feature-icon-small {
  width: 48px;
  height: 48px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-text-small {
  flex: 1;
}

.feature-title-small {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--text-primary);
}

.feature-desc-small {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

@media (max-width: 768px) {
  .welcome-card {
    padding: var(--space-2xl) var(--space-lg);
  }

  .welcome-stats {
    grid-template-columns: 1fr;
  }

  .welcome-features {
    grid-template-columns: 1fr;
  }
}

/* ===== PROFILE DROPDOWN PANEL ===== */
.profile-dropdown {
  position: relative;
}

.profile-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-sans);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.profile-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.1),
    rgba(236, 72, 153, 0.1)
  );
  opacity: 0;
  transition: opacity 0.3s;
}

.profile-btn:hover::before {
  opacity: 1;
}

.profile-btn:hover {
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
}

.profile-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.8125rem;
  color: white;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
  position: relative;
  z-index: 1;
}

.profile-name {
  font-weight: 500;
  font-size: 0.9375rem;
  position: relative;
  z-index: 1;
}

.dropdown-arrow {
  font-size: 0.625rem;
  opacity: 0.6;
  transition: transform 0.3s;
  position: relative;
  z-index: 1;
}

.profile-btn:hover .dropdown-arrow {
  opacity: 1;
}

.profile-dropdown:has(.profile-menu.active) .dropdown-arrow {
  transform: rotate(180deg);
}

/* Profile Menu Dropdown */
.profile-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-xl);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(139, 92, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  overflow: hidden;
}

.profile-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.05) 0%,
    rgba(236, 72, 153, 0.05) 50%,
    rgba(59, 130, 246, 0.05) 100%
  );
  pointer-events: none;
}

.profile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Profile Header */
.profile-header {
  padding: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.1) 0%,
    rgba(236, 72, 153, 0.1) 100%
  );
  position: relative;
}

.profile-avatar-large {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  box-shadow:
    0 0 30px rgba(139, 92, 246, 0.5),
    0 4px 15px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  border: 3px solid rgba(255, 255, 255, 0.1);
}

.profile-info {
  flex: 1;
  min-width: 0;
}

.profile-fullname {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-primary);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-email {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(139, 92, 246, 0.3),
    transparent
  );
  margin: 0 var(--space-md);
}

/* Profile Details */
.profile-details {
  padding: var(--space-sm) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.profile-detail-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-sm);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  transition: all 0.2s;
}

.profile-detail-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(2px);
}

.detail-icon {
  font-size: 1rem;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  flex: 1;
}

/* Package Badge */
.package-badge {
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
}

.package-badge.ortaokul {
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.2),
    rgba(167, 139, 250, 0.2)
  );
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.package-badge.lise {
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.2),
    rgba(244, 114, 182, 0.2)
  );
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.3);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.2);
}

/* Profile Actions */
.profile-actions {
  padding: var(--space-sm) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.profile-action-btn {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-sans);
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-weight: 500;
  width: 100%;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.profile-action-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.1),
    rgba(236, 72, 153, 0.1)
  );
  opacity: 0;
  transition: opacity 0.3s;
}

.profile-action-btn:hover::before {
  opacity: 1;
}

.profile-action-btn:hover {
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.action-icon {
  font-size: 1rem;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.logout-btn {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.logout-btn::before {
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.15),
    rgba(220, 38, 38, 0.15)
  );
}

.logout-btn:hover {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

/* Button for lesson with icon */
.btn-lesson {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.btn-icon {
  font-size: 1.125rem;
}

/* Responsive */
@media (max-width: 768px) {
  .profile-menu {
    width: 240px;
  }

  .profile-name {
    display: none;
  }
}

/* ===== MODAL STYLES ===== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.3s ease;
}

.modal.active {
  display: flex;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.modal-content {
  position: relative;
  z-index: 2001;
  background: var(--bg-secondary);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-xl);
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(139, 92, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.05) 0%,
    rgba(236, 72, 153, 0.05) 100%
  );
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-primary);
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  transform: rotate(90deg);
}

/* Form Styles within Modal */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: 0 var(--space-xl);
  margin-bottom: var(--space-md);
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input {
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  transition: all 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-purple);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.modal-footer {
  padding: var(--space-lg) var(--space-xl);
  border-top: 1px solid var(--border-primary);
  display: flex;
  gap: var(--space-md);
  justify-content: flex-end;
}

/* Settings Modal Specific Styles */
.settings-content {
  padding: var(--space-lg) var(--space-xl);
}

.settings-section {
  margin-bottom: var(--space-lg);
}

.settings-section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.settings-item {
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}

.settings-item-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.settings-item-label {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.settings-item-value {
  font-size: 0.9375rem;
  color: var(--text-primary);
  font-weight: 500;
}

.settings-action-btn {
  width: 100%;
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  transition: all 0.2s;
  margin-bottom: var(--space-sm);
  font-family: var(--font-sans);
  color: var(--text-primary);
}

.settings-action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateX(4px);
}

.action-content {
  flex: 1;
}

.action-title {
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.action-desc {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.action-arrow {
  font-size: 1.5rem;
  color: var(--text-tertiary);
}

.settings-divider {
  height: 1px;
  background: var(--border-primary);
  margin: var(--space-lg) 0;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .modal-content {
    max-width: 95vw;
  }
}

/* =============================================
   LANDING PAGE RESPONSIVE DESIGN
   Mobile, Tablet, Smart Board Optimization
   ============================================= */

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid var(--border-primary);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 8px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 101;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  border-color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.1);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== MOBILE: 320px - 480px ===== */
@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .container {
    padding: 0 var(--space-md);
  }

  /* Navigation Mobile */
  .navbar {
    padding: var(--space-sm) 0;
  }

  .nav-content {
    height: auto;
    padding: var(--space-sm) 0;
  }

  .logo {
    flex: 1;
  }

  .logo-image {
    height: 60px !important;
  }

  .logo-content {
    display: none; /* Hide text logo on small mobile */
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-actions {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-primary);
    border-left: 1px solid var(--border-primary);
    flex-direction: column;
    padding: 80px var(--space-xl) var(--space-xl);
    gap: var(--space-lg);
    transition: right 0.3s ease;
    z-index: 100;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
  }

  .nav-actions.active {
    right: 0;
  }

  .nav-actions button {
    width: 100%;
    justify-content: center;
    padding: var(--space-md);
    font-size: 1rem;
  }

  /* Hero Mobile */
  .hero {
    padding-top: calc(60px + var(--space-2xl));
    padding-bottom: var(--space-2xl);
  }

  .hero-badges {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

  .badge {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.75rem;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: var(--space-md);
  }

  .hero-subtitle {
    font-size: 0.9375rem;
    margin-bottom: var(--space-lg);
  }

  .hero-cta {
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
  }

  .hero-cta button {
    width: 100%;
    padding: var(--space-md);
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .stat-number {
    font-size: 1.75rem;
  }

  /* Features Mobile */
  .features,
  .value-prop,
  .pricing,
  .cta {
    padding: var(--space-2xl) 0;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.9375rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .feature-card {
    padding: var(--space-lg);
  }

  /* Value Prop Mobile */
  .value-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .value-text h2 {
    font-size: 1.5rem;
  }

  .lead {
    font-size: 0.9375rem;
  }

  .check-list li {
    font-size: 0.875rem;
    padding: var(--space-sm) 0;
  }

  /* Pricing Mobile */
  .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-lg);
  }

  .pricing-card {
    margin-bottom: var(--space-md);
  }

  .pricing-toggle {
    width: 100%;
    flex-direction: row;
  }

  .toggle-btn {
    flex: 1;
    padding: var(--space-sm);
    font-size: 0.875rem;
  }

  /* Modal Mobile */
  .modal-box {
    width: 95vw;
    max-width: 95vw;
    max-height: 90vh;
    margin: var(--space-md);
    padding: var(--space-lg);
  }

  .modal-header h2 {
    font-size: 1.5rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-group {
    margin-bottom: var(--space-md);
  }

  /* Footer Mobile */
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-col {
    text-align: center;
  }
}

/* ===== MOBILE LANDSCAPE: 481px - 767px ===== */
@media (min-width: 481px) and (max-width: 767px) {
  .logo-content {
    display: flex; /* Show text logo on larger mobile */
  }

  .logo-image {
    height: 80px !important;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== TABLET PORTRAIT: 768px - 1024px ===== */
@media (min-width: 768px) and (max-width: 1024px) {
  body {
    font-size: 15px;
  }

  .container {
    padding: 0 var(--space-lg);
  }

  .logo-image {
    height: 90px !important;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== DESKTOP: 1025px - 1365px ===== */
@media (min-width: 1025px) and (max-width: 1365px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== LARGE DESKTOP: 1366px - 1919px ===== */
@media (min-width: 1366px) and (max-width: 1919px) {
  .container {
    max-width: 1280px;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== SMART BOARD & ULTRA WIDE: 1920px+ ===== */
@media (min-width: 1920px) {
  body {
    font-size: 20px;
  }

  .container {
    max-width: 1600px;
    padding: 0 var(--space-3xl);
  }

  .nav-content {
    height: 5rem;
  }

  .logo-image {
    height: 140px !important;
  }

  .logo-text {
    font-size: 1.5rem;
  }

  .logo-tagline {
    font-size: 0.875rem;
  }

  .btn-text,
  .btn-primary {
    font-size: 1.125rem;
    padding: var(--space-md) var(--space-xl);
    min-height: 56px;
  }

  .hero {
    padding-top: calc(5rem + var(--space-4xl));
  }

  .hero-title {
    font-size: 4.5rem;
  }

  .hero-subtitle {
    font-size: 1.375rem;
  }

  .badge {
    font-size: 1rem;
    padding: var(--space-sm) var(--space-lg);
  }

  .hero-cta button {
    font-size: 1.25rem;
    padding: var(--space-lg) var(--space-3xl);
    min-height: 60px;
  }

  .stat-number {
    font-size: 3rem;
  }

  .stat-label {
    font-size: 1.125rem;
  }

  .section-header h2 {
    font-size: 3.5rem;
  }

  .section-subtitle {
    font-size: 1.25rem;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
  }

  .feature-card {
    padding: var(--space-3xl);
  }

  .feature-icon {
    font-size: 3rem;
  }

  .feature-card h3 {
    font-size: 1.5rem;
  }

  .feature-card p {
    font-size: 1.125rem;
  }

  .pricing-card {
    padding: var(--space-3xl);
  }

  .pricing-header h3 {
    font-size: 2rem;
  }

  .price {
    font-size: 4rem;
  }

  .pricing-features li {
    font-size: 1.125rem;
    padding: var(--space-md) 0;
  }

  .modal-box {
    padding: var(--space-3xl);
  }

  .modal-header h2 {
    font-size: 2.5rem;
  }
}

/* ===== TOUCH DEVICE OPTIMIZATIONS ===== */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects, use active states */
  .btn-text:hover::before,
  .btn-primary:hover::before,
  .btn-secondary:hover::before {
    display: none;
  }

  .btn-text:active {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0.98);
  }

  .btn-primary:active {
    transform: scale(0.98);
  }

  .feature-card:hover {
    transform: none;
  }

  .feature-card:active {
    transform: scale(0.99);
  }

  .pricing-card:hover {
    transform: none;
  }

  .pricing-card:active {
    transform: scale(0.99);
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .line,
  .particle,
  .spotlight {
    display: none;
  }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
  :root {
    --border-primary: rgba(255, 255, 255, 0.3);
    --border-hover: rgba(255, 255, 255, 0.5);
  }

  .btn-text,
  .btn-primary,
  .btn-secondary {
    border: 2px solid currentColor;
  }
}

/* Hide footer and visual card sections */
.footer {
  display: none !important;
}

.visual-card {
  display: none !important;
}

/* ===== TELEGRAM MODAL STYLES ===== */
.telegram-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-md) 0;
}

.telegram-qr-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.telegram-qr-large img {
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-primary);
  padding: var(--space-sm);
  background: white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.telegram-qr-large img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.5);
  border-color: rgba(139, 92, 246, 0.5);
}

.telegram-qr-large p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin: 0;
  text-align: center;
}

.telegram-or {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  padding: 0 var(--space-lg);
}

.telegram-or::before,
.telegram-or::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--border-primary);
}

.telegram-or::before {
  right: 100%;
  margin-right: var(--space-sm);
}

.telegram-or::after {
  left: 100%;
  margin-left: var(--space-sm);
}

.telegram-link-modal {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: linear-gradient(135deg, #0088cc, #00a8e8);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 12px rgba(0, 136, 204, 0.3);
  position: relative;
  overflow: hidden;
}

.telegram-link-modal::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s;
}

.telegram-link-modal:hover::before {
  left: 100%;
}

.telegram-link-modal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 136, 204, 0.5);
}

.telegram-link-modal .telegram-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  animation: telegramPulse 2s ease-in-out infinite;
}

@keyframes telegramPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Responsive Design for Modal */
@media (max-width: 768px) {
  .telegram-qr-large img {
    max-width: 200px;
  }

  .telegram-link-modal {
    font-size: 0.875rem;
    padding: var(--space-xs) var(--space-md);
  }

  .telegram-link-modal .telegram-icon {
    width: 20px;
    height: 20px;
  }
}

/* ===== CONTACT BUTTON SPECIAL STYLING ===== */
.btn-cta-contact {
  background: linear-gradient(135deg, #0088cc, #00a8e8) !important;
  color: white !important;
  box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-cta-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s;
}

.btn-cta-contact:hover::before {
  left: 100%;
}

.btn-cta-contact:hover {
  box-shadow: 0 8px 30px rgba(0, 136, 204, 0.6) !important;
  transform: translateY(-3px);
}
