/* ===== Mörkt tema (standard) ===== */
:root {
  --red: #E21922;
  --red-glow: rgba(226, 25, 34, 0.4);
  --red-soft: rgba(226, 25, 34, 0.08);
  --red-hover: #c9151d;
  --dark: #0a0a0f;
  --darker: #050508;
  --mid: #6c757d;
  --light-bg: #0f0f18;
  --white: #ffffff;
  --blue: #2B5496;
  --blue-soft: rgba(43, 84, 150, 0.1);
  --light-blue: #7ba2df;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --neon-red: #ff1a2e;
  --neon-blue: #00d4ff;

  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.5);

  --bg-primary: #0a0a0f;
  --bg-secondary: #0f0f18;
  --bg-tertiary: #050508;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-hover-bg: rgba(255, 255, 255, 0.05);
  --input-bg: rgba(255, 255, 255, 0.05);
  --shadow-soft: rgba(0, 0, 0, 0.3);
  --shadow-medium: rgba(0, 0, 0, 0.4);
  --shadow-heavy: rgba(0, 0, 0, 0.6);
  --grid-line: rgba(255, 255, 255, 0.02);

  --why-us-bg: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  --ticker-bg: var(--dark);
  --contact-bg: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

/* ===== Ljust tema ===== */
body.light-mode {
  --red: #E21922;
  --red-glow: rgba(226, 25, 34, 0.25);
  --red-soft: rgba(226, 25, 34, 0.08);
  --red-hover: #c9151d;
  --dark: #0a0a0f;
  --darker: #050508;
  --mid: #6c757d;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --blue: #2B5496;
  --blue-soft: rgba(43, 84, 150, 0.1);
  --light-blue: #7ba2df;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(10, 10, 15, 0.08);
  --neon-red: #ff1a2e;
  --neon-blue: #00d4ff;

  --text-primary: #0a0a0f;
  --text-secondary: rgba(10, 10, 15, 0.65);
  --text-muted: rgba(10, 10, 15, 0.45);

  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #f1f3f5;
  --card-bg: rgba(255, 255, 255, 0.7);
  --card-border: rgba(10, 10, 15, 0.08);
  --card-hover-bg: rgba(255, 255, 255, 0.95);
  --input-bg: rgba(10, 10, 15, 0.04);
  --shadow-soft: rgba(10, 10, 15, 0.06);
  --shadow-medium: rgba(10, 10, 15, 0.1);
  --shadow-heavy: rgba(10, 10, 15, 0.15);
  --grid-line: rgba(10, 10, 15, 0.04);

  --why-us-bg: var(--bg-tertiary);
  --ticker-bg: var(--bg-secondary);
  --contact-bg: var(--bg-tertiary);
}

/* ===== Gemensamma regler ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-secondary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  cursor: none;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* Scroll Progress Bar */
#scrollProgress {
  position: fixed;
  top: 0; left: 0;
  width: 0%; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--neon-blue));
  z-index: 10000;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px var(--red-glow);
}

/* Custom Cursor */
#cursorDot {
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--neon-red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px var(--neon-red), 0 0 30px var(--red-glow);
  transition: width 0.3s, height 0.3s;
}

#cursorRing {
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border: 1.5px solid rgba(226, 25, 34, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s, background-color 0.3s, width 0.3s, height 0.3s;
}

/* Navigation */
.navbar-2027 {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(10, 10, 15, 0.7);
  border-bottom: 1px solid var(--card-border);
  transition: all 0.4s ease;
}

body.light-mode .navbar-2027 {
  background: rgba(255, 255, 255, 0.85);
}

.navbar-2027.scrolled {
  padding: 12px 40px;
  background: rgba(10, 10, 15, 0.95);
}

body.light-mode .navbar-2027.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px var(--shadow-soft);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-logo-icon {
  width: 40px; height: 40px;
  background: var(--red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.nav-logo-icon::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  border: 2px solid white;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.nav-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.nav-logo-text span { color: var(--red); }

.nav-menu {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  letter-spacing: 0.02em;
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--text-primary);
  background: var(--card-bg);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 6px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-menu a:hover::after, .nav-menu a.active::after {
  width: 20px;
}

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  box-shadow: 0 0 20px rgba(226, 25, 34, 0.3);
}

.nav-cta:hover {
  background: var(--red-hover) !important;
  box-shadow: 0 0 30px rgba(226, 25, 34, 0.5);
  transform: translateY(-2px);
}

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

/* Theme toggle button */
.theme-toggle {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: 10px;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s;
}

.theme-toggle:hover {
  color: var(--text-primary);
  background: var(--card-bg);
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 10001;
}

.mobile-toggle span {
  width: 25px; height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

.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 Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 40px 80px;
  background: var(--bg-primary);
}

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

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(226, 25, 34, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(43, 84, 150, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
}

body.light-mode .hero-bg::before {
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(226, 25, 34, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(43, 84, 150, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(0, 212, 255, 0.04) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

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

.particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--red);
  border-radius: 50%;
  opacity: 0.6;
  animation: floatParticle 8s ease-in-out infinite;
}

body.light-mode .particle { width: 3px; height: 3px; opacity: 0.5; }

@keyframes floatParticle {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.6; }
  50% { transform: translateY(-30px) translateX(20px); opacity: 0.2; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
}

.hero-badge .pulse {
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--red) 0%, #ff6b6b 50%, var(--neon-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 90%;
  margin-bottom: 40px;
  line-height: 1.7;
}

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

.btn-2027 {
  padding: 16px 32px;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary-2027 {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 0 30px rgba(226, 25, 34, 0.3);
}

.btn-primary-2027::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary-2027:hover::before { transform: translateX(100%); }

.btn-primary-2027:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(226, 25, 34, 0.5);
  color: var(--white);
}

.btn-secondary-2027 {
  background: var(--card-bg);
  color: var(--text-primary);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
}

.btn-secondary-2027:hover {
  background: var(--card-hover-bg);
  border-color: rgba(226, 25, 34, 0.3);
  transform: translateY(-3px);
  color: var(--text-primary);
}

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

.hero-stat {
  position: relative;
}

.hero-stat::after {
  content: '';
  position: absolute;
  right: -20px; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 40px;
  background: var(--card-border);
}

.hero-stat:last-child::after { display: none; }

.hero-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.hero-stat-num .stat-num { color: var(--red); }

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

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

.hero-img-container {
  position: relative;
  width: 100%;
  max-width: 550px;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: 0 40px 80px var(--shadow-medium);
}

.hero-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-img-container:hover img { transform: scale(1.05); }

.hero-img-glow {
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--red), var(--neon-blue), var(--red));
  background-size: 200% 200%;
  animation: glowRotate 4s linear infinite;
  z-index: -1;
  opacity: 0.6;
  filter: blur(20px);
}

body.light-mode .hero-img-glow { opacity: 0.4; }

@keyframes glowRotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.floating-card {
  position: absolute;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 6s ease-in-out infinite;
  z-index: 3;
  box-shadow: 0 10px 30px var(--shadow-soft);
}

.floating-card-1 { top: 10%; left: -10%; animation-delay: 0s; }
.floating-card-2 { bottom: 15%; right: -10%; animation-delay: 2s; }
.floating-card-3 { bottom: 5%; left: 5%; animation-delay: 4s; }

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

.floating-card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.floating-card-icon.red { background: rgba(226, 25, 34, 0.2); color: var(--red); }
.floating-card-icon.blue { background: rgba(0, 212, 255, 0.2); color: var(--neon-blue); }
.floating-card-icon.green { background: rgba(16, 185, 129, 0.2); color: #10b981; }

.floating-card-text { font-size: 0.8rem; font-weight: 600; color: var(--text-primary); }
.floating-card-sub { font-size: 0.7rem; color: var(--text-muted); }

/* Section Styles */
.section-2027 {
  padding: 120px 40px;
  position: relative;
}

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

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.section-eyebrow::before, .section-eyebrow::after {
  content: '';
  width: 30px; height: 1px;
  background: var(--red);
  opacity: 0.5;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

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

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card-2027 {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px 30px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.service-card-2027::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--neon-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

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

.service-card-2027:hover {
  transform: translateY(-8px);
  border-color: rgba(226, 25, 34, 0.3);
  box-shadow: 0 30px 60px var(--shadow-medium);
  background: var(--card-hover-bg);
}

.service-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(226, 25, 34, 0.15), rgba(226, 25, 34, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--red);
  margin-bottom: 24px;
  transition: all 0.4s ease;
}

.service-card-2027:hover .service-icon {
  transform: scale(1.1) rotate(-5deg);
  background: linear-gradient(135deg, var(--red), #ff6b6b);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(226, 25, 34, 0.3);
}

.service-card-2027 h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

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

.service-link {
  color: var(--red);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.service-link:hover { gap: 14px; color: var(--red-hover); }

/* Why Us Section */
.why-us {
  background: var(--why-us-bg);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 80px;
}

.why-card {
  text-align: center;
  padding: 40px 30px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(226, 25, 34, 0.3);
  background: var(--card-hover-bg);
  box-shadow: 0 20px 40px var(--shadow-soft);
}

.why-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(226, 25, 34, 0.2), rgba(226, 25, 34, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--red);
  transition: all 0.4s ease;
}

.why-card:hover .why-icon {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(226, 25, 34, 0.3);
}

.why-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  padding: 40px 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.stat-card:hover {
  border-color: rgba(226, 25, 34, 0.3);
  transform: translateY(-5px);
  background: var(--card-hover-bg);
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number .stat-num { color: var(--red); }

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

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.project-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(226, 25, 34, 0.3);
  box-shadow: 0 30px 60px var(--shadow-medium);
  background: var(--card-hover-bg);
}

.project-image {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-image img { transform: scale(1.1); }

.project-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.8) 100%);
}

.project-tag {
  position: absolute;
  top: 20px; left: 20px;
  padding: 6px 14px;
  background: rgba(226, 25, 34, 0.9);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  z-index: 2;
}

.project-content {
  padding: 30px;
}

.project-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.project-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.project-link {
  color: var(--red);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.project-link:hover { gap: 14px; color: var(--red-hover); }

/* Ticker */
.ticker-section {
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  background: var(--ticker-bg);
  overflow: hidden;
  padding: 20px 0;
}

.ticker-track {
  width: 100%;
  overflow: hidden;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: tickerScroll 50s linear infinite;
}

.ticker-content span {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.ticker-content i { color: var(--red); font-size: 0.7rem; }

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-section:hover .ticker-content { animation-play-state: paused; }

/* Contact Section */
.contact-section {
  background: var(--contact-bg);
}

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

.contact-info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

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

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(226, 25, 34, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail-text { font-size: 0.85rem; color: var(--text-muted); }
.contact-detail-value { font-size: 1rem; color: var(--text-primary); font-weight: 600; margin-top: 4px; }
.contact-detail-value a { color: var(--text-primary); text-decoration: none; transition: color 0.3s; }
.contact-detail-value a:hover { color: var(--red); }

.contact-form-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px var(--shadow-soft);
}

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

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

.form-control-2027 {
  width: 100%;
  padding: 14px 18px;
  background: var(--input-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

.form-control-2027:focus {
  outline: none;
  border-color: var(--red);
  background: var(--card-hover-bg);
  box-shadow: 0 0 0 3px rgba(226, 25, 34, 0.15);
}

.form-control-2027::placeholder { color: var(--text-muted); }

textarea.form-control-2027 {
  min-height: 140px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(226, 25, 34, 0.4);
}

#formStatus {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  display: none;
}

#formStatus.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

#formStatus.error {
  display: block;
  background: rgba(226, 25, 34, 0.15);
  color: var(--red);
  border: 1px solid rgba(226, 25, 34, 0.3);
}

/* Footer */
.footer-2027 {
  background: var(--bg-primary);
  border-top: 1px solid var(--card-border);
  padding: 60px 40px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto 40px;
}

.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-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

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

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

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

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-3px);
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-img-container { max-width: 400px; margin: 0 auto; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section-2027 { padding: 80px 20px; }
  .hero { padding: 100px 20px 60px; }
  .navbar-2027 { padding: 16px 20px; }
  
  .mobile-toggle { display: flex; }
  
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: rgba(5, 5, 8, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 30px 30px;
    transition: right 0.4s ease;
    border-left: 1px solid var(--card-border);
    gap: 4px;
  }
  
  body.light-mode .nav-menu {
    background: var(--bg-primary);
  }
  
  .nav-menu.open { right: 0; }
  
  .nav-menu a {
    font-size: 1rem;
  }
  
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .stats-row { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .floating-card { display: none; }
  
  body { cursor: auto; }
  #cursorDot, #cursorRing { display: none; }
}

/* Smooth scroll offset for fixed nav */
section[id] {
  scroll-margin-top: 80px;
}