:root,
[data-theme="dark"] {
  --bg-primary: #0B1120;
  --bg-secondary: #111827;
  --bg-card: #1a2332;
  --bg-card-hover: #1e293b;
  --border: #1e3a5f;
  --border-light: #2d4a6f;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --accent-glow: rgba(37, 99, 235, 0.4);
  --accent-subtle: rgba(37, 99, 235, 0.1);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #60a5fa;
  --success: #22c55e;
  --warning: #f59e0b;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
  --logo-blend: screen;
  --logo-filter: none;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  --max-width: 1200px;
  --nav-height: 72px;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --border: #e2e8f0;
  --border-light: #cbd5e1;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --accent-glow: rgba(37, 99, 235, 0.2);
  --accent-subtle: rgba(37, 99, 235, 0.06);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-accent: #2563eb;
  --success: #16a34a;
  --warning: #d97706;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
  --logo-blend: normal;
  --logo-filter: drop-shadow(0 2px 8px rgba(37, 99, 235, 0.15));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--text-accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--accent-light);
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

[data-theme="light"] .nav {
  background: rgba(248, 250, 252, 0.85);
}

.nav.scrolled {
  background: rgba(11, 17, 32, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .nav.scrolled {
  background: rgba(248, 250, 252, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

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

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

.nav-logo img {
  height: 40px;
  width: auto;
  border-radius: 6px;
  mix-blend-mode: var(--logo-blend);
  filter: var(--logo-filter);
}

.nav-logo span {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--accent-subtle);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.lang-switch a {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition);
}

.lang-switch a.active {
  background: var(--accent);
  color: white;
}

.lang-switch a:hover:not(.active) {
  color: var(--text-primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--accent);
  color: white !important;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--accent-light);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-1px);
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 1.1rem;
  line-height: 1;
  padding: 0;
}

.theme-toggle:hover {
  border-color: var(--accent);
  background: var(--accent-subtle);
  transform: scale(1.05);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon { display: none; }

[data-theme="dark"] .theme-toggle .icon-sun { display: inline; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: inline; }

.nav-mobile {
  display: none;
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  position: relative;
  z-index: 10001;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.mobile-toggle span + span {
  margin-top: 5px;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 8s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 10s ease-in-out 2s infinite;
}

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

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-subtle);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-accent);
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent-light), #818cf8, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

.hero-logo-wrapper {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-wrapper img {
  width: 320px;
  height: auto;
  filter: drop-shadow(0 0 60px var(--accent-glow));
  animation: float 6s ease-in-out infinite;
  mix-blend-mode: var(--logo-blend);
  border-radius: 12px;
}

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

.hero-logo-ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  animation: rotate-slow 30s linear infinite;
}

.hero-logo-ring::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-glow);
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-light);
  box-shadow: 0 8px 30px var(--accent-glow);
  transform: translateY(-2px);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-subtle);
  color: var(--text-primary);
}

/* ===== SECTIONS ===== */
section {
  padding: 100px 0;
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tag {
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-accent);
  background: var(--accent-subtle);
  border-radius: 50px;
  letter-spacing: 0.02em;
}

/* ===== PORTFOLIO ===== */
.portfolio-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.portfolio-card:hover {
  border-color: var(--border-light);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.portfolio-preview {
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}

.portfolio-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-subtle), transparent);
}

.portfolio-browser {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  background: var(--bg-primary);
  border-radius: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.portfolio-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.portfolio-browser-dots {
  display: flex;
  gap: 6px;
}

.portfolio-browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.portfolio-browser-dots span:nth-child(1) { background: #ef4444; }
.portfolio-browser-dots span:nth-child(2) { background: #f59e0b; }
.portfolio-browser-dots span:nth-child(3) { background: #22c55e; }

.portfolio-browser-url {
  flex: 1;
  padding: 6px 12px;
  background: var(--bg-primary);
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.portfolio-browser-body {
  padding: 24px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portfolio-browser-body .skeleton {
  height: 12px;
  background: var(--bg-card);
  border-radius: 4px;
}

.portfolio-browser-body .skeleton:first-child { width: 60%; height: 20px; }
.portfolio-browser-body .skeleton:nth-child(2) { width: 90%; }
.portfolio-browser-body .skeleton:nth-child(3) { width: 75%; }
.portfolio-browser-body .skeleton:nth-child(4) { width: 40%; height: 32px; background: var(--accent-subtle); border-radius: 6px; margin-top: 8px; }

.portfolio-info {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.portfolio-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--warning);
  margin-bottom: 16px;
}

.portfolio-status .dot {
  width: 6px;
  height: 6px;
  background: var(--warning);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

.portfolio-info h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.portfolio-info p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.portfolio-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== ABOUT TEASER ===== */
.about-teaser {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 24px;
}

.about-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-light);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  opacity: 0.5;
}

.cta-box h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
}

.cta-box p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 32px;
  position: relative;
}

.cta-box .hero-actions {
  justify-content: center;
  position: relative;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
  background: var(--bg-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

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

.footer-col ul a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  gap: 16px;
}

.footer-legal-info {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.footer-legal-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal-links a:hover {
  color: var(--text-secondary);
}

/* ===== SERVICES PAGE ===== */
.page-hero {
  padding: calc(var(--nav-height) + 60px) 0 60px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

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

.service-detail {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-of-type {
  border-bottom: none;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.service-detail-grid.reverse {
  direction: rtl;
}

.service-detail-grid.reverse > * {
  direction: ltr;
}

.service-detail h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-detail p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

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

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.service-list li::before {
  content: '→';
  color: var(--accent-light);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===== ABOUT PAGE ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: all var(--transition);
}

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

.value-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

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

.company-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.company-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}

.info-value {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}

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

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition);
}

.contact-card:hover {
  border-color: var(--border-light);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

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

/* ===== LIGHT MODE OVERRIDES ===== */
[data-theme="light"] .hero-bg::before {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
}

[data-theme="light"] .hero-bg::after {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
}

[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
}

[data-theme="light"] .hero-logo-ring {
  border-color: var(--border);
}

[data-theme="light"] .service-card {
  box-shadow: var(--shadow-card);
}

[data-theme="light"] .service-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .portfolio-card {
  box-shadow: var(--shadow-card);
}

[data-theme="light"] .portfolio-browser {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .cta-box {
  box-shadow: var(--shadow-card);
}

[data-theme="light"] .cta-box::before {
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.08), transparent 70%);
}

[data-theme="light"] .value-card {
  box-shadow: var(--shadow-card);
}

[data-theme="light"] .company-info {
  box-shadow: var(--shadow-card);
}

[data-theme="light"] .contact-form {
  box-shadow: var(--shadow-card);
}

[data-theme="light"] .contact-card {
  box-shadow: var(--shadow-card);
}

[data-theme="light"] .stat-item {
  box-shadow: var(--shadow-card);
}

[data-theme="light"] .hero h1 .gradient-text {
  background: linear-gradient(135deg, #1d4ed8, #6366f1, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
}

[data-theme="light"] .mobile-toggle span {
  background: var(--text-secondary);
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 20px 0;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

[data-theme="light"] .cookie-banner {
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.08);
}

.cookie-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cookie-text a {
  color: var(--text-accent);
  text-decoration: underline;
}

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

.cookie-btn {
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.cookie-btn-accept {
  background: var(--accent);
  color: white;
}

.cookie-btn-accept:hover {
  background: var(--accent-light);
}

.cookie-btn-decline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.cookie-btn-decline:hover {
  border-color: var(--text-muted);
  color: var(--text-primary);
}

/* ===== FORM FEEDBACK ===== */
.form-message {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--success);
}

.form-message.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.btn-loading {
  opacity: 0.7;
  pointer-events: none;
}

/* ===== COOKIE POLICY PAGE ===== */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 48px 0 16px;
}

.policy-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 32px 0 12px;
}

.policy-content p,
.policy-content li {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.policy-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
}

.policy-table th,
.policy-table td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--border);
}

.policy-table th {
  background: var(--bg-card);
  font-weight: 600;
  color: var(--text-primary);
}

.policy-table td {
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-btn {
    flex: 1;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content { max-width: 100%; }
  .hero-description { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-logo-wrapper { width: 280px; height: 280px; }
  .hero-logo-wrapper img { width: 220px; }

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

  .portfolio-card { grid-template-columns: 1fr; }
  .portfolio-preview { min-height: 220px; padding: 40px; }
  .portfolio-info { padding: 32px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }

  .service-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-detail-grid.reverse { direction: ltr; }

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

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

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--bg-primary);
    z-index: 10000;
  }

  .nav-links, .nav-cta, .nav-right .lang-switch {
    display: none;
  }

  .nav-right .theme-toggle {
    order: -1;
  }

  .nav-right {
    gap: 8px;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-mobile {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    padding: 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
  }

  [data-theme="light"] .nav-mobile {
    background: #f8fafc;
  }

  .nav-mobile.open {
    transform: translateX(0);
  }

  .nav-mobile a {
    display: block;
    padding: 16px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
  }

  .nav-mobile a:hover, .nav-mobile a.active {
    color: var(--text-primary);
    background: var(--accent-subtle);
  }

  .nav-mobile .mobile-lang {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--border);
  }

  .nav-mobile .mobile-lang a {
    flex: 1;
    text-align: center;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
  }

  .nav-mobile .mobile-lang a.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
  }

  section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }

  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero-logo-wrapper { width: 200px; height: 200px; }
  .hero-logo-wrapper img { width: 160px; }
  .hero h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  .hero-description { font-size: 1rem; }
  .hero-badge { font-size: 0.75rem; }

  .page-hero { padding: calc(var(--nav-height) + 40px) 0 40px; }
  .page-hero h1 { font-size: 1.75rem; }
  .page-hero p { font-size: 1rem; }

  .service-card { padding: 28px; }
  .service-card h3 { font-size: 1.15rem; }
  .service-icon { width: 48px; height: 48px; font-size: 1.25rem; margin-bottom: 16px; }

  .service-detail { padding: 50px 0; }
  .service-detail h2 { font-size: 1.4rem; }

  .portfolio-preview { min-height: 180px; padding: 24px; }
  .portfolio-info { padding: 24px; }
  .portfolio-info h3 { font-size: 1.35rem; }

  .about-content h2 { font-size: 1.5rem; }
  .about-content p { font-size: 0.95rem; margin-bottom: 24px; }
  .stat-value { font-size: 1.5rem; }
  .stat-item { padding: 16px; }

  .values-grid { grid-template-columns: 1fr; }
  .value-card { padding: 24px; }

  .company-info { padding: 24px; }
  .company-info-grid { grid-template-columns: 1fr; }

  .contact-form { padding: 24px; }
  .contact-card { padding: 20px; }
  .contact-card-icon { width: 40px; height: 40px; font-size: 1.1rem; }

  .cta-box { padding: 40px 20px; }
  .cta-box h2 { font-size: 1.5rem; }
  .cta-box p { font-size: 0.95rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand p { max-width: 100%; }
  .footer-legal {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .footer-legal-info { font-size: 0.75rem; }

  .about-stats { grid-template-columns: 1fr 1fr; }

  .btn { padding: 12px 24px; font-size: 0.9rem; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .section-header h2 { font-size: 1.5rem; }
  .section-header p { font-size: 0.95rem; }

  .policy-content h2 { font-size: 1.25rem; margin-top: 32px; }
  .policy-content h3 { font-size: 1rem; }

  .cookie-text { font-size: 0.8rem; }
  .cookie-text strong { font-size: 0.85rem; }
  .cookie-btn { padding: 10px 20px; font-size: 0.8rem; }
}

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

  .hero { padding: 90px 0 48px; }
  .hero h1 { font-size: 1.5rem; margin-bottom: 16px; }
  .hero-description { font-size: 0.9rem; margin-bottom: 28px; }
  .hero-logo-wrapper { width: 160px; height: 160px; }
  .hero-logo-wrapper img { width: 120px; }

  .page-hero h1 { font-size: 1.4rem; }

  .service-card { padding: 20px; }
  .service-card h3 { font-size: 1.05rem; }
  .service-card p { font-size: 0.85rem; }

  .portfolio-info h3 { font-size: 1.15rem; }
  .portfolio-info p { font-size: 0.9rem; }

  .contact-form { padding: 20px; }

  .cta-box { padding: 32px 16px; border-radius: 12px; }
  .cta-box h2 { font-size: 1.25rem; }

  .about-stats { gap: 12px; }
  .stat-item { padding: 12px; }
  .stat-value { font-size: 1.25rem; }
  .stat-label { font-size: 0.7rem; }

  .value-card { padding: 20px; }

  .footer-col h4 { font-size: 0.8rem; }

  .nav-logo img { height: 32px; }
  .nav-logo span { font-size: 1rem; }

  .section-header h2 { font-size: 1.3rem; }
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
  z-index: 900;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* ===== FLOATING CONTACT BUTTON ===== */
.float-contact {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.float-btn-phone {
  background: var(--accent);
}

.float-btn-whatsapp {
  background: #25d366;
}

.float-btn span {
  font-size: 1.1rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .float-contact {
    bottom: 16px;
    left: 16px;
    gap: 10px;
  }

  .float-btn {
    padding: 10px 14px;
    font-size: 0.8rem;
  }

  .float-btn-label {
    display: none;
  }

  .float-btn {
    padding: 12px;
    border-radius: 50%;
  }

  .scroll-top {
    bottom: 16px;
    right: 16px;
  }
}
