/*
Theme Name: Portal Kerajaan
Theme URI: https://portalkerajaan.com
Author: Portal Kerajaan
Author URI: https://portalkerajaan.com
Description: Portal Kerajaan - Pakar Pembangunan Portal Kerajaan Mematuhi SPLaSK dan Standard Jabatan Digital Negara.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: portal-kerajaan
Tags: government, portal, splask, jdn, malaysian-government
*/

/* ===== CSS Variables - New Color Palette ===== */
/*
Color Palette:
- #141414 - Very dark/black (text, dark backgrounds)
- #001450 - Dark navy blue (secondary dark)
- #ffffff - White (backgrounds, text on dark)
- #1450dc - Royal blue (primary)
- #2864f0 - Bright blue (primary light)
- #00143c - Very dark navy (darkest)
*/
:root {
  --primary: #1450dc;
  --primary-dark: #001450;
  --primary-light: #2864f0;
  --secondary: #00143c;
  --accent: #2864f0;
  --accent-light: #e8efff;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #141414;
  --gray-900: #00143c;

  --white: #ffffff;
  --black: #141414;
  --navy: #001450;

  --font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;

  --shadow-sm: 0 1px 2px 0 rgb(0 20 80 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 20 80 / 0.1), 0 1px 2px -1px rgb(0 20 80 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 20 80 / 0.1),
    0 2px 4px -2px rgb(0 20 80 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 20 80 / 0.1),
    0 4px 6px -4px rgb(0 20 80 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 20 80 / 0.1),
    0 8px 10px -6px rgb(0 20 80 / 0.1);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--primary);
  color: white;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ===== Container ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ===== Gradient Text ===== */
.gradient-text {
  background: linear-gradient(135deg, #1450dc 0%, #2864f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent-text {
  background: linear-gradient(135deg, #2864f0, #1450dc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
}

.btn svg {
  transition: transform 0.3s ease;
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  background: linear-gradient(135deg, #1450dc 0%, #2864f0 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(20, 80, 220, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(20, 80, 220, 0.4);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-white {
  background: var(--white);
  color: var(--primary-dark);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-full {
  width: 100%;
}

/* ===== Government Banner ===== */
.gov-banner {
  background-color: var(--gray-100);
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--gray-200);
}

.gov-banner-content {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.flag-icon {
  display: flex;
  align-items: center;
}

.gov-text {
  color: var(--gray-700);
  font-weight: 500;
}

.gov-link {
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.gov-link:hover {
  color: var(--primary-dark);
}

/* ===== Header ===== */
.header {
  background: var(--white);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 3px rgba(0, 20, 80, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #1450dc 0%, #001450 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
}

.logo-text {
  color: var(--gray-800);
}

.logo-text strong {
  font-weight: 800;
}

.logo-img {
  height: 40px;
  width: auto;
}

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

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

.nav-link {
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius);
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
  background: var(--gray-100);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: linear-gradient(90deg, #1450dc, #2864f0);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}

.hamburger {
  width: 20px;
  height: 2px;
  background: var(--gray-700);
  position: relative;
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--gray-700);
  left: 0;
  transition: var(--transition);
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  bottom: -6px;
}

@media (max-width: 1024px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
  }

  .nav.active {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    padding: 12px 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .header-actions {
    display: none;
  }
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f1f5f9 30%,
    #e2e8f0 70%,
    #cbd5e1 100%
  );
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(0, 20, 80, 0.08);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  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.2);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 32px;
}

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

.btn-secondary {
  background: var(--white);
  color: var(--gray-800);
  border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
  background: var(--gray-100);
  border-color: var(--gray-300);
  transform: translateY(-2px);
}

/* Stacked Cards in Hero */
.cards-stack {
  position: relative;
  height: 480px;
  width: 100%;
}

.stack-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 15px 40px rgba(0, 20, 80, 0.1);
  width: 220px;
  transition: var(--transition);
}

.stack-card:hover {
  transform: translateY(-8px) rotate(0deg) !important;
  box-shadow: 0 25px 50px rgba(0, 20, 80, 0.18);
  z-index: 10 !important;
}

/* Left column - 3 cards */
.stack-card:nth-child(1) {
  top: 0;
  left: 0;
  z-index: 3;
  transform: rotate(-4deg);
}

.stack-card:nth-child(2) {
  top: 120px;
  left: 30px;
  z-index: 2;
  transform: rotate(2deg);
}

.stack-card:nth-child(3) {
  top: 240px;
  left: 0;
  z-index: 1;
  transform: rotate(-2deg);
}

/* Right column - 3 cards */
.stack-card:nth-child(4) {
  top: 40px;
  left: 200px;
  z-index: 3;
  transform: rotate(3deg);
}

.stack-card:nth-child(5) {
  top: 160px;
  left: 230px;
  z-index: 2;
  transform: rotate(-3deg);
}

.stack-card:nth-child(6) {
  top: 280px;
  left: 200px;
  z-index: 1;
  transform: rotate(2deg);
}

.stack-card .card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.stack-card .card-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #1450dc 0%, #001450 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.stack-card .card-icon svg {
  width: 18px;
  height: 18px;
}

.stack-card h4 {
  font-size: 0.85rem;
  color: var(--gray-900);
  font-weight: 700;
}

.stack-card p {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .cards-stack {
    height: 520px;
    max-width: 450px;
    margin: 0 auto;
  }

  .stack-card {
    width: 200px;
  }

  .stack-card:nth-child(1) {
    top: 0;
    left: 20px;
  }
  .stack-card:nth-child(2) {
    top: 100px;
    left: 50px;
  }
  .stack-card:nth-child(3) {
    top: 200px;
    left: 20px;
  }
  .stack-card:nth-child(4) {
    top: 40px;
    left: 180px;
  }
  .stack-card:nth-child(5) {
    top: 140px;
    left: 210px;
  }
  .stack-card:nth-child(6) {
    top: 240px;
    left: 180px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0 80px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cards-stack {
    height: 340px;
    max-width: 360px;
  }

  .stack-card {
    width: 150px;
    padding: 14px;
  }

  .stack-card:nth-child(1) {
    top: 0;
    left: 10px;
  }
  .stack-card:nth-child(2) {
    top: 70px;
    left: 25px;
  }
  .stack-card:nth-child(3) {
    top: 140px;
    left: 10px;
  }
  .stack-card:nth-child(4) {
    top: 20px;
    left: 150px;
  }
  .stack-card:nth-child(5) {
    top: 90px;
    left: 165px;
  }
  .stack-card:nth-child(6) {
    top: 160px;
    left: 150px;
  }

  .stack-card .card-icon {
    width: 30px;
    height: 30px;
  }

  .stack-card .card-icon svg {
    width: 14px;
    height: 14px;
  }

  .stack-card h4 {
    font-size: 0.75rem;
  }

  .stack-card p {
    font-size: 0.7rem;
  }
}

/* ===== Client Logo Carousel ===== */
.client-carousel {
  background: var(--white);
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}

.carousel-label {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.carousel-wrapper {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 3%,
    black 97%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 3%,
    black 97%,
    transparent
  );
}

.carousel-track {
  display: flex;
  gap: 60px;
  animation: scroll 30s linear infinite;
  width: max-content;
}

.carousel-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.carousel-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-logo img {
  max-width: 140px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: var(--transition);
}

.carousel-logo img:hover {
  opacity: 1;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .carousel-track {
    gap: 40px;
  }

  .carousel-logo img {
    max-width: 100px;
    max-height: 45px;
  }
}

/* ===== Section Styles ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: linear-gradient(
    135deg,
    rgba(20, 80, 220, 0.1) 0%,
    rgba(0, 20, 80, 0.1) 100%
  );
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
}

.section-label.light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

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

.section-header.light {
  color: var(--white);
}

.section-header.light .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header.light .section-title {
  color: var(--white);
}

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

/* ===== About Section ===== */
.about-section {
  padding: 100px 0;
  background: var(--white);
}

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

.about-text {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.feature-item {
  display: flex;
  gap: 16px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    rgba(20, 80, 220, 0.1) 0%,
    rgba(0, 20, 80, 0.1) 100%
  );
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  stroke: var(--primary);
}

.feature-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.feature-content p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Checklist Card */
.about-visual {
  position: relative;
}

.checklist-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-xl);
}

.checklist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}

.checklist-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gray-900);
}

.checklist-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(20, 80, 220, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
}

.checklist-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--gray-50);
  border-radius: var(--radius);
  transition: var(--transition);
}

.checklist-item:hover {
  background: var(--gray-100);
  transform: translateX(5px);
}

.check-icon {
  width: 28px;
  height: 28px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-icon svg {
  stroke: var(--white);
}

.checklist-item span:last-child {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-800);
}

/* Stats Card */
.stats-card {
  background: linear-gradient(135deg, #001450 0%, #00143c 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(20, 80, 220, 0.2);
  position: relative;
  overflow: hidden;
}

.stats-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2864f0, #1450dc);
}

.stats-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(40, 100, 240, 0.15);
}

.stats-card-title {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
}

.stats-card-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: linear-gradient(
    135deg,
    rgba(40, 100, 240, 0.2),
    rgba(20, 80, 220, 0.2)
  );
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: #fefeff;
}

.stats-card-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #2864f0;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* Stats Banner */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
}

.stat-item {
  text-align: center;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-item:hover {
  background: rgba(40, 100, 240, 0.1);
  transform: translateY(-4px);
}

.stat-item-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff, #6893f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  min-width: 2.5ch;
  text-align: right;
}

.stat-plus {
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, #2864f0, #1450dc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  line-height: 1.3;
  margin-top: 8px;
}

@media (max-width: 600px) {
  .stats-card {
    padding: 24px;
  }

  .stats-banner {
    gap: 16px;
  }

  .stat-item {
    padding: 12px;
  }

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

  .stat-plus {
    font-size: 1.5rem;
  }
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-visual {
    order: -1;
  }
}

/* ===== Timeline Section - Roadmap Style (Light Theme) ===== */
.timeline-section {
  padding: 100px 0;
  background: var(--gray-50);
}

.roadmap {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.roadmap-item {
  display: flex;
  gap: 30px;
  position: relative;
}

.roadmap-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-top: 6px;
}

.roadmap-dot {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #1450dc 0%, #001450 100%);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(20, 80, 220, 0.4);
  z-index: 2;
}

.roadmap-connector {
  width: 2px;
  flex: 1;
  background: linear-gradient(180deg, #1450dc, var(--gray-300));
  margin-top: 10px;
  min-height: 100%;
}

.roadmap-item:last-child .roadmap-connector {
  display: none;
}

.roadmap-content {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.roadmap-content:hover {
  box-shadow: var(--shadow-xl);
  transform: translateX(8px);
  border-color: rgba(20, 80, 220, 0.3);
}

.roadmap-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.roadmap-content h4 span {
  font-size: 0.75rem;
  padding: 4px 12px;
  background: linear-gradient(
    135deg,
    rgba(20, 80, 220, 0.1),
    rgba(0, 20, 80, 0.1)
  );
  color: var(--primary);
  border-radius: var(--radius-full);
  font-weight: 600;
}

.roadmap-content p {
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

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

.roadmap-tags span {
  padding: 6px 14px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
}

.roadmap-tags span:hover {
  background: linear-gradient(
    135deg,
    rgba(20, 80, 220, 0.1),
    rgba(0, 20, 80, 0.1)
  );
  border-color: rgba(20, 80, 220, 0.3);
  color: var(--primary);
}

@media (max-width: 768px) {
  .roadmap-item {
    gap: 20px;
  }

  .roadmap-content {
    padding: 20px;
    margin-bottom: 20px;
  }

  .roadmap-content h4 {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .roadmap-dot {
    width: 16px;
    height: 16px;
  }
}

/* ===== Featured Project Section ===== */
.featured-project {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  overflow-x: hidden;
}

.project-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}

.project-preview {
  position: relative;
}

/* Screenshot Slider - Stacked Cards */
.screenshot-slider {
  position: relative;
  padding: 0 60px;
  overflow: visible;
}

.slider-cards {
  position: relative;
  height: auto;
  perspective: 1000px;
  margin-bottom: 60px;
}

.slider-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.slider-card:nth-child(1) {
  z-index: 4;
}
.slider-card:nth-child(2) {
  z-index: 3;
}
.slider-card:nth-child(3) {
  z-index: 2;
}
.slider-card:nth-child(4) {
  z-index: 1;
}

/* Active card (front) */
.slider-card.active {
  position: relative;
  transform: translateY(0) scale(1);
  opacity: 1;
  z-index: 10;
}

/* Stacked cards behind */
.slider-card.stack-1 {
  transform: translateY(20px) translateX(20px) scale(0.95);
  opacity: 0.8;
  z-index: 9;
}

.slider-card.stack-2 {
  transform: translateY(40px) translateX(40px) scale(0.9);
  opacity: 0.6;
  z-index: 8;
}

.slider-card.stack-3 {
  transform: translateY(60px) translateX(60px) scale(0.85);
  opacity: 0.4;
  z-index: 7;
}

/* Hidden cards */
.slider-card.hidden {
  transform: translateY(80px) translateX(80px) scale(0.8);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.slide-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(
    to top,
    rgba(0, 20, 80, 0.9),
    rgba(0, 20, 80, 0.6),
    transparent
  );
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(20, 80, 220, 0.3);
  z-index: 20;
}

.slider-btn.prev {
  left: -24px;
}

.slider-btn.next {
  right: -24px;
}

.slider-btn:hover {
  background: linear-gradient(135deg, #1450dc, #001450);
  border-color: transparent;
  transform: translateY(-50%) scale(1.15);
}

.slider-btn:hover svg {
  stroke: var(--white);
}

.slider-btn svg {
  stroke: var(--primary);
  transition: stroke 0.3s ease;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--gray-300);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot:hover {
  background: var(--gray-400);
}

.slider-dot.active {
  background: linear-gradient(135deg, #1450dc, #001450);
  width: 28px;
  border-radius: 10px;
}

.project-browser {
  background: var(--gray-800);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

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

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

.browser-dots span:nth-child(1) {
  background: #ff5f57;
}

.browser-dots span:nth-child(2) {
  background: #febc2e;
}

.browser-dots span:nth-child(3) {
  background: #28c840;
}

.browser-url {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  flex: 1;
  max-width: 300px;
}

.browser-url svg {
  stroke: #28c840;
  flex-shrink: 0;
}

.browser-url span {
  font-size: 0.85rem;
  color: var(--gray-300);
  font-family: monospace;
}

.project-screenshot {
  position: relative;
  background: var(--gray-100);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-top: none;
}

.project-screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.project-preview:hover .project-screenshot-img {
  transform: scale(1.02);
}

.project-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-x: hidden;
}

.project-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.1),
    rgba(16, 185, 129, 0.1)
  );
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #10b981;
  width: fit-content;
}

.badge-icon {
  display: flex;
  align-items: center;
}

.badge-icon svg {
  stroke: #10b981;
}

.project-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
}

.project-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  font-weight: 500;
  margin-top: -12px;
}

.project-description {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
}

.project-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.feature-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
}

.feature-tag svg {
  stroke: var(--primary);
}

.feature-tag:hover {
  border-color: rgba(20, 80, 220, 0.3);
  background: rgba(20, 80, 220, 0.05);
  transform: translateY(-2px);
}

.project-stats {
  display: flex;
  gap: 32px;
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.project-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-stat .stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1450dc, #2864f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.project-stat .stat-desc {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 500;
}

.project-details .btn {
  margin-top: 12px;
  width: fit-content;
}

@media (max-width: 1000px) {
  .project-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project-preview {
    max-width: 600px;
    margin: 0 auto;
  }

  .slider-cards {
    height: 380px;
  }
}

@media (max-width: 600px) {
  .featured-project {
    padding: 60px 0;
  }

  .screenshot-slider {
    padding: 0;
    position: relative;
  }

  .slider-cards {
    height: auto;
    margin-bottom: 16px;
    position: relative;
  }

  /* Simple carousel on mobile - only show active card */
  .slider-card {
    display: none !important;
    position: relative !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .slider-card.active {
    display: block !important;
  }

  /* Hide stacked cards completely */
  .slider-card.stack-1,
  .slider-card.stack-2,
  .slider-card.stack-3,
  .slider-card.hidden {
    display: none !important;
  }

  /* Position buttons inside the card area */
  .slider-btn {
    width: 32px;
    height: 32px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .slider-btn.prev {
    left: 8px;
  }

  .slider-btn.next {
    right: 8px;
  }

  .slider-btn:hover {
    transform: translateY(-50%) scale(1.05);
    background: var(--white);
  }

  .slide-label {
    padding: 10px 14px;
    font-size: 0.75rem;
  }

  .slider-dots {
    margin-top: 12px;
  }

  .project-browser {
    padding: 8px 12px;
  }

  .browser-url {
    max-width: 200px;
  }

  .browser-url span {
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .project-title {
    font-size: 1.8rem;
  }

  .project-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .project-features {
    gap: 8px;
  }

  .feature-tag {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .project-stats {
    justify-content: space-between;
  }

  .project-stat .stat-value {
    font-size: 1.5rem;
  }

  .project-features {
    max-width: 100%;
  }

  .feature-tag {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .project-description {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* ===== Criteria Section ===== */
.criteria-section {
  padding: 100px 0;
  background: var(--white);
}

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

.criteria-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.criteria-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.criteria-card:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(20, 80, 220, 0.1);
  transform: translateY(-8px);
}

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

.criteria-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    rgba(20, 80, 220, 0.1) 0%,
    rgba(0, 20, 80, 0.1) 100%
  );
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.criteria-card:hover .criteria-icon {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
}

.criteria-icon svg {
  stroke: var(--primary);
  transition: stroke 0.3s ease;
}

.criteria-card:hover .criteria-icon svg {
  stroke: var(--white);
}

.criteria-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.criteria-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.criteria-tags span {
  padding: 6px 12px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-600);
}

@media (max-width: 1000px) {
  .criteria-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .criteria-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Services Section - Bento Grid ===== */
.services-section {
  padding: 100px 0;
  background: #001450;
  color: var(--white);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.bento-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.bento-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(40, 100, 240, 0.4);
  transform: translateY(-4px);
}

/* Large card - spans 1 column, 2 rows */
.bento-large {
  grid-row: span 2;
  background: linear-gradient(
    135deg,
    rgba(20, 80, 220, 0.15) 0%,
    rgba(0, 20, 60, 0.15) 100%
  );
  border-color: rgba(40, 100, 240, 0.3);
}

/* Medium cards - normal size */
.bento-medium {
  /* default size */
}

/* Wide card - spans 2 columns */
.bento-wide {
  grid-column: span 2;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.bento-wide .bento-icon {
  flex-shrink: 0;
}

.bento-wide-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bento-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #1450dc 0%, #2864f0 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bento-icon svg {
  stroke: var(--white);
}

.bento-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.bento-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.bento-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bento-features.horizontal {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
}

.bento-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.bento-features li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #2864f0;
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento-large {
    grid-row: span 1;
    grid-column: span 2;
  }

  .bento-wide {
    grid-column: span 2;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-large,
  .bento-wide {
    grid-column: span 1;
  }

  .bento-features.horizontal {
    flex-direction: column;
  }
}

/* ===== Quick Links Section ===== */
.quick-links {
  padding: 80px 0;
  background: var(--gray-50);
}

.quick-links .section-title {
  margin-bottom: 40px;
}

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

.link-card {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.link-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
  transform: translateY(-2px);
}

.link-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.icon-fallback {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-600);
}

.link-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.link-content p {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .links-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

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

.cta-content h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Contact Section ===== */
.contact-section {
  padding: 100px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}

.contact-info .section-title {
  margin-bottom: 16px;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 40px;
}

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

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

.contact-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(
    135deg,
    rgba(20, 80, 220, 0.1) 0%,
    rgba(0, 20, 80, 0.1) 100%
  );
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-item:hover .contact-icon {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
}

.contact-icon svg {
  stroke: var(--primary);
  transition: stroke 0.3s ease;
}

.contact-item:hover .contact-icon svg {
  stroke: var(--white);
}

.contact-text .label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.contact-text .value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--gray-800);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--gray-800);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(20, 80, 220, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231450dc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 48px;
  cursor: pointer;
}

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

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

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ===== Floating Action Button ===== */
.fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  z-index: 100;
}

.fab:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

/* ===== Footer ===== */
.footer {
  background: #00143c;
  color: var(--white);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand .logo-icon {
  background: rgba(255, 255, 255, 0.1);
}

.footer-brand > p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-links h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

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

.footer-links li:not(:has(a)) {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal a:hover {
  color: var(--white);
}

.footer-updated {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    flex-direction: column;
    gap: 12px;
  }
}
