:root {
  --primary: #5b4cd6;
  --secondary: #0d9488;
  --accent: #2563eb;
  --bg-primary: #ffffff;
  --bg-secondary: #f5f6fa;
  --bg-card: #ffffff;
  --text-muted: #64748b;
  --text-body: #1e293b;
  --text-heading: #0f172a;
  --gradient-primary: linear-gradient(135deg, #5b4cd6 0%, #2563eb 100%);
  --gradient-accent: linear-gradient(135deg, #0d9488 0%, #2563eb 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.015;
  pointer-events: none;
  z-index: 10;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 7px 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo img {
  height: 70px;
  width: auto;
  border-radius: 8px;
}

nav {
  display: flex;
  gap: 40px;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  position: relative;
}

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

nav a:hover {
  color: var(--text-heading);
}

nav a:hover::after {
  width: 100%;
}

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

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: #334155;
  transition: 0.3s;
}

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

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(91, 76, 214, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.09) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(91, 76, 214, 0.08);
  border: 1px solid rgba(91, 76, 214, 0.2);
  border-radius: 50px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--primary);
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

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

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero h1 span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-stats {
  display: flex;
  gap: 50px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.stat {
  text-align: left;
}

.stat-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(91, 76, 214, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(91, 76, 214, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-body);
  border: 2px solid rgba(0, 0, 0, 0.12);
}

.btn-outline:hover {
  background: rgba(91, 76, 214, 0.04);
  border-color: var(--primary);
  color: var(--primary);
}

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

/* Sections */
section {
  padding: 120px 0;
  position: relative;
}

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

.section-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
}

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

/* Services */
.services {
  background: var(--bg-secondary);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 40px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(91, 76, 214, 0.2);
  box-shadow: 0 20px 40px rgba(91, 76, 214, 0.1);
}

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

.service-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(91, 76, 214, 0.08);
  border-radius: 12px;
  margin-bottom: 24px;
}

.service-icon i {
  font-size: 30px;
  color: var(--primary);
}

.service-card:nth-child(2) .service-icon {
  background: rgba(13, 148, 136, 0.08);
}

.service-card:nth-child(2) .service-icon i {
  color: var(--secondary);
}

.service-card:nth-child(3) .service-icon {
  background: rgba(37, 99, 235, 0.08);
}

.service-card:nth-child(3) .service-icon i {
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--text-heading);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.service-list {
  list-style: none;
}

.service-list li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-list li::before {
  content: '→';
  color: var(--primary);
  font-family: 'JetBrains Mono', monospace;
}

/* Experience */
.experience-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.experience-text h2 {
  font-size: 1.8rem;
  margin-bottom: 24px;
  line-height: 1.3;
}

.experience-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.experience-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.highlight {
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: 12px;
  border-left: 3px solid var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.highlight h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-heading);
}

.highlight p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.experience-visual {
  position: relative;
}

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

.tech-item {
  aspect-ratio: 1;
  background: var(--bg-secondary);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-body);
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.tech-item:hover {
  border-color: var(--primary);
  background: rgba(91, 76, 214, 0.06);
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(91, 76, 214, 0.1);
}

.tech-item svg {
  width: 32px;
  height: 32px;
  opacity: 0.85;
}

.tech-item i {
  font-size: 32px;
  color: var(--primary);
  opacity: 1;
}

.tech-item:nth-child(2) i { color: var(--text-heading); }
.tech-item:nth-child(3) i { color: var(--accent); }
.tech-item:nth-child(4) i { color: #e44d26; }
.tech-item:nth-child(5) i { color: var(--secondary); }
.tech-item:nth-child(6) i { color: var(--accent); }
.tech-item:nth-child(7) i { color: #f59e0b; }
.tech-item:nth-child(8) i { color: var(--secondary); }
.tech-item:nth-child(9) i { color: var(--primary); }
.tech-item:nth-child(10) i { color: #e44d26; }
.tech-item:nth-child(11) i { color: var(--accent); }

/* Clients */
.clients {
  background: var(--bg-secondary);
}

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

.client-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.client-card:hover {
  border-color: rgba(91, 76, 214, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(91, 76, 214, 0.08);
}

.client-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 16px;
  background: rgba(91, 76, 214, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-icon i {
  font-size: 24px;
  color: var(--primary);
}

.client-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-heading);
}

.client-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Contact */
.contact {
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(91, 76, 214, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  position: relative;
  z-index: 2;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-method-icon {
  width: 50px;
  height: 50px;
  background: rgba(91, 76, 214, 0.06);
  border: 1px solid rgba(91, 76, 214, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-method-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--primary);
}

.contact-method-text span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-method-text a {
  color: var(--text-heading);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-method-text a:hover {
  color: var(--primary);
}

.contact-form {
  background: var(--bg-secondary);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  color: var(--text-heading);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91, 76, 214, 0.1);
}

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

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

.form-message {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.form-message p {
  margin: 0;
}

.form-message-success {
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.2);
  color: #0d7366;
}

.form-message-error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.2);
  color: #dc2626;
}

/* Footer */
footer {
  padding: 40px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--bg-secondary);
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

/* Responsive */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .experience-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .experience-visual {
    order: -1;
  }

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

  .contact-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 768px) {
  nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 0 20px;
    gap: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease, gap 0.35s ease;
    pointer-events: none;
  }

  nav.active {
    max-height: 300px;
    opacity: 1;
    padding: 20px;
    gap: 20px;
    pointer-events: auto;
  }

  .menu-toggle {
    display: flex;
  }

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

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

  .experience-highlights {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .clients-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
  }

  footer .container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  section {
    padding: 80px 0;
  }
}

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

  .stat-number {
    font-size: 2rem;
  }

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

  .contact-form {
    padding: 24px;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid rgba(91, 76, 214, 0.2);
  padding: 20px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.08);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cookie-text h4 {
  font-size: 1.1rem;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.cookie-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.5;
}

.cookie-link {
  font-size: 0.85rem;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.cookie-link:hover {
  color: var(--secondary);
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: inherit;
}

.cookie-btn-accept {
  background: var(--gradient-primary);
  color: #ffffff;
}

.cookie-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(91, 76, 214, 0.3);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--text-body);
  border: 2px solid rgba(0, 0, 0, 0.12);
}

.cookie-btn-reject:hover {
  background: rgba(91, 76, 214, 0.04);
  border-color: var(--primary);
  color: var(--primary);
}

.cookie-btn-config {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.cookie-btn-config:hover {
  color: var(--text-heading);
  border-color: rgba(0, 0, 0, 0.25);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.cookie-modal.visible {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-content {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.cookie-modal.visible .cookie-modal-content {
  transform: scale(1);
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cookie-modal-header h3 {
  font-size: 1.2rem;
  color: var(--text-heading);
}

.cookie-modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
}

.cookie-modal-close:hover {
  color: var(--text-heading);
}

.cookie-modal-body {
  padding: 24px;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cookie-option:last-child {
  border-bottom: none;
}

.cookie-option-info h4 {
  font-size: 0.95rem;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.cookie-option-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Toggle Switch */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  border-radius: 28px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: var(--text-muted);
  transition: 0.3s;
  border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
  background: var(--gradient-primary);
}

.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(22px);
  background-color: #ffffff;
}

.cookie-slider.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-switch input:disabled + .cookie-slider {
  background: var(--secondary);
}

.cookie-switch input:disabled + .cookie-slider:before {
  background-color: #ffffff;
  transform: translateX(22px);
}

.cookie-modal-footer {
  padding: 16px 24px 24px;
}

.cookie-modal-footer .cookie-btn {
  width: 100%;
}

/* Cookie Settings Button */
.cookie-settings-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(91, 76, 214, 0.2);
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.cookie-settings-btn.visible {
  opacity: 1;
  visibility: visible;
}

.cookie-settings-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.1);
}

/* Cookie Banner Responsive */
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    min-width: 120px;
  }

  .cookie-option {
    flex-direction: column;
    gap: 12px;
  }

  .cookie-switch {
    align-self: flex-end;
  }
}

/* Submit button loading state */
.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-primary:disabled:hover {
  transform: none;
  box-shadow: 0 4px 20px rgba(91, 76, 214, 0.3);
}

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

.spin {
  animation: spin 1s linear infinite;
}
