:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-2: #00c6ff;
  --purple: #a855f7;
  --pink: #ec4899;
  --border: #d2d2d7;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 60px rgba(0, 113, 227, 0.18);
  --max-width: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* ===== Animations ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

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

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

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

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

@keyframes blob {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

.fade-up {
  animation: fadeUp 0.8s ease-out both;
}

.fade-up-delay-1 { animation-delay: 0.15s; }
.fade-up-delay-2 { animation-delay: 0.3s; }
.fade-up-delay-3 { animation-delay: 0.45s; }

/* ===== Navigation ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-brand {
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-brand:hover {
  text-decoration: none;
  color: var(--text);
}

.nav-brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0071e3, #00c6ff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  position: relative;
  padding: 4px 0;
  transition: opacity 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav-links a:hover {
  text-decoration: none;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
  padding: 96px 24px 100px;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  text-align: left;
}

.hero-text.center {
  text-align: center;
  grid-column: 1 / -1;
  max-width: 820px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.1);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 18px;
}

.hero h1 .gradient-text {
  background: linear-gradient(120deg, #0071e3, #00c6ff, #a855f7, #0071e3);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 8s ease-in-out infinite;
}

.hero p.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-text.center p.lead {
  margin-left: auto;
  margin-right: auto;
}

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-text.center .btn-group {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 113, 227, 0.45);
  text-decoration: none;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

/* Hero illustration: floating phone mockup */
.hero-illustration {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-mockup {
  position: relative;
  width: 240px;
  height: 480px;
  background: linear-gradient(145deg, #1d1d1f, #2c2c2e);
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25),
    0 0 0 2px rgba(255, 255, 255, 0.05) inset;
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #0071e3, #00c6ff 50%, #a855f7);
  background-size: 200% 200%;
  animation: gradientShift 10s ease-in-out infinite;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #1d1d1f;
  border-radius: 14px;
  z-index: 3;
}

.phone-screen .app-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  animation: pulse 3s ease-in-out infinite;
}

.phone-screen .app-name {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.phone-screen .app-tag {
  font-size: 11px;
  opacity: 0.85;
  margin-top: 4px;
}

/* Floating decorative shapes around phone */
.float-shape {
  position: absolute;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.float-shape-1 {
  top: 10%;
  left: 0;
  width: 64px;
  height: 64px;
  animation: float 5s ease-in-out infinite;
}

.float-shape-2 {
  bottom: 18%;
  right: 0;
  width: 72px;
  height: 72px;
  animation: floatSlow 7s ease-in-out infinite;
  animation-delay: -1s;
}

.float-shape-3 {
  top: 50%;
  right: 8%;
  width: 52px;
  height: 52px;
  animation: float 6s ease-in-out infinite;
  animation-delay: -2s;
}

.float-shape-4 {
  bottom: 8%;
  left: 12%;
  width: 56px;
  height: 56px;
  animation: floatSlow 8s ease-in-out infinite;
  animation-delay: -3s;
}

/* Background blobs */
.bg-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.blob {
  position: absolute;
  filter: blur(60px);
  opacity: 0.4;
  animation: blob 14s ease-in-out infinite;
}

.blob-1 {
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #0071e3, transparent 70%);
}

.blob-2 {
  top: 20%;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #a855f7, transparent 70%);
  animation-delay: -4s;
}

.blob-3 {
  bottom: -120px;
  left: 30%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #00c6ff, transparent 70%);
  animation-delay: -8s;
}

/* ===== Section ===== */
.section {
  padding: 80px 24px;
  position: relative;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: #1d1d1f;
  color: #f5f5f7;
}

.section-dark .section-title { color: #fff; }
.section-dark .section-sub { color: #a1a1a6; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 56px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Grid / Cards ===== */
.grid {
  display: grid;
  gap: 24px;
}

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

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

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transition: left 0.6s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 113, 227, 0.3);
}

.card:hover::before {
  left: 100%;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0071e3 0%, #00c6ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.08) rotate(-4deg);
}

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

.card-icon.purple { background: linear-gradient(135deg, #a855f7, #ec4899); }
.card-icon.green { background: linear-gradient(135deg, #10b981, #06b6d4); }
.card-icon.orange { background: linear-gradient(135deg, #f59e0b, #ef4444); }

.card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ===== Stats ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-card {
  padding: 28px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-num {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  background: linear-gradient(135deg, #0071e3, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ===== Showcase / Devices ===== */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.showcase-text h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.showcase-text p {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 16px;
}

.checklist {
  list-style: none;
  margin-top: 24px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 15px;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  margin-top: 2px;
}

.showcase-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 320px;
}

.app-grid-icon {
  aspect-ratio: 1 / 1;
  border-radius: 22%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
  cursor: default;
}

.app-grid-icon:hover {
  transform: scale(1.08) rotate(-3deg);
}

.app-grid-icon:nth-child(1) { background: linear-gradient(135deg, #0071e3, #00c6ff); animation: float 5s ease-in-out infinite; }
.app-grid-icon:nth-child(2) { background: linear-gradient(135deg, #a855f7, #ec4899); animation: float 6s ease-in-out infinite; animation-delay: -1s; }
.app-grid-icon:nth-child(3) { background: linear-gradient(135deg, #f59e0b, #ef4444); animation: float 5.5s ease-in-out infinite; animation-delay: -2s; }
.app-grid-icon:nth-child(4) { background: linear-gradient(135deg, #10b981, #06b6d4); animation: float 6.5s ease-in-out infinite; animation-delay: -0.5s; }
.app-grid-icon:nth-child(5) { background: linear-gradient(135deg, #6366f1, #8b5cf6); animation: float 5.2s ease-in-out infinite; animation-delay: -1.5s; }
.app-grid-icon:nth-child(6) { background: linear-gradient(135deg, #ef4444, #f97316); animation: float 6.2s ease-in-out infinite; animation-delay: -2.5s; }
.app-grid-icon:nth-child(7) { background: linear-gradient(135deg, #14b8a6, #3b82f6); animation: float 5.8s ease-in-out infinite; animation-delay: -3s; }
.app-grid-icon:nth-child(8) { background: linear-gradient(135deg, #ec4899, #f43f5e); animation: float 6.4s ease-in-out infinite; animation-delay: -2.2s; }
.app-grid-icon:nth-child(9) { background: linear-gradient(135deg, #8b5cf6, #6366f1); animation: float 5.6s ease-in-out infinite; animation-delay: -1.8s; }

/* ===== Profile / Info ===== */
.profile-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.profile-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #0071e3, #00c6ff, #a855f7, #ec4899);
  background-size: 300% 100%;
  animation: gradientShift 6s ease-in-out infinite;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0071e3 0%, #00c6ff 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 600;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.35);
  position: relative;
}

.avatar::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.4;
  animation: pulse 2.4s ease-in-out infinite;
}

.profile-name {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.profile-role {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse 2s ease-in-out infinite;
}

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

.info-list li {
  display: flex;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.2s ease;
}

.info-list li:hover {
  padding-left: 6px;
}

.info-list li:last-child {
  border-bottom: none;
}

.info-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 113, 227, 0.08);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  flex-shrink: 0;
}

.info-icon svg {
  width: 16px;
  height: 16px;
}

.info-label {
  width: 130px;
  color: var(--text-muted);
  font-size: 14px;
  flex-shrink: 0;
}

.info-value {
  flex: 1;
  font-size: 15px;
  word-break: break-word;
}

/* ===== Legal pages ===== */
.legal-hero {
  background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
  padding: 72px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.legal-hero .icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, #0071e3, #00c6ff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 24px;
  box-shadow: 0 12px 36px rgba(0, 113, 227, 0.4);
  animation: float 5s ease-in-out infinite;
}

.legal-hero .icon-circle svg {
  width: 32px;
  height: 32px;
}

.legal-hero h1 {
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.legal-hero .updated {
  color: var(--text-muted);
  font-size: 14px;
}

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.legal h2 {
  font-size: 22px;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal h2 .num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0071e3, #00c6ff);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.legal h3 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 22px;
  margin-bottom: 8px;
}

.legal p {
  margin-bottom: 14px;
  color: #333;
}

.legal ul,
.legal ol {
  margin: 12px 0 14px 22px;
  color: #333;
}

.legal li {
  margin-bottom: 6px;
}

.legal .contact-box {
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.06), rgba(168, 85, 247, 0.06));
  border: 1px solid rgba(0, 113, 227, 0.15);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 20px;
}

.legal .contact-box p {
  margin-bottom: 6px;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, #0071e3 0%, #00c6ff 50%, #a855f7 100%);
  background-size: 200% 200%;
  animation: gradientShift 12s ease-in-out infinite;
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.cta-banner::before {
  width: 220px;
  height: 220px;
  top: -80px;
  right: -60px;
  animation: floatSlow 8s ease-in-out infinite;
}

.cta-banner::after {
  width: 180px;
  height: 180px;
  bottom: -60px;
  left: -40px;
  animation: floatSlow 9s ease-in-out infinite;
  animation-delay: -3s;
}

.cta-banner > * {
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 28px;
  font-size: 17px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn {
  background: #fff;
  color: var(--accent);
}

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

/* ===== Footer ===== */
.footer {
  background: var(--bg-alt);
  padding: 48px 24px 28px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.footer-brand {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  color: var(--text-muted);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner,
  .showcase {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text {
    text-align: center;
  }
  .hero-text p.lead {
    margin-left: auto;
    margin-right: auto;
  }
  .btn-group {
    justify-content: center;
  }
  .checklist {
    text-align: left;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 820px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    display: block;
    padding: 12px 24px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child a {
    border-bottom: none;
  }
  .nav-toggle {
    display: block;
  }
  .hero {
    padding: 64px 20px 72px;
  }
  .section {
    padding: 56px 20px;
  }
  .profile-card {
    padding: 28px 22px;
  }
  .profile-header {
    flex-direction: column;
    text-align: center;
  }
  .info-list li {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .info-label {
    width: auto;
    margin-bottom: 4px;
  }
  .cta-banner {
    padding: 40px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== News page ===== */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}

.chip {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.chip:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}

.chip.active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

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

.news-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  animation: fadeUp 0.6s ease-out both;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 113, 227, 0.3);
}

.news-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.news-thumb::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  top: -80px;
  right: -60px;
  transition: transform 0.6s ease;
}

.news-thumb::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  bottom: -50px;
  left: -40px;
}

.news-card:hover .news-thumb::before {
  transform: scale(1.4) translate(-20px, 20px);
}

.news-thumb svg {
  width: 64px;
  height: 64px;
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease;
}

.news-card:hover .news-thumb svg {
  transform: scale(1.1) rotate(-4deg);
}

.news-body {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.news-category {
  background: rgba(0, 113, 227, 0.1);
  color: var(--accent);
  padding: 4px 11px;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 11px;
}

.news-date {
  color: var(--text-muted);
  font-size: 12px;
}

.news-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--text);
}

.news-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
  margin-bottom: 16px;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  margin-top: auto;
  transition: gap 0.25s ease;
}

.news-link:hover {
  gap: 10px;
  text-decoration: none;
}

.news-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}

.news-link:hover svg {
  transform: translateX(2px);
}

.thumb-iphone { background: linear-gradient(135deg, #0071e3, #00c6ff); }
.thumb-mac { background: linear-gradient(135deg, #1d1d1f, #424245); }
.thumb-ipad { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.thumb-watch { background: linear-gradient(135deg, #ef4444, #ec4899); }
.thumb-airpods { background: linear-gradient(135deg, #6e6e73, #1d1d1f); }
.thumb-vision { background: linear-gradient(135deg, #a855f7, #6366f1); }
.thumb-software { background: linear-gradient(135deg, #0071e3, #a855f7); }
.thumb-ai { background: linear-gradient(135deg, #ec4899, #a855f7); }
.thumb-services { background: linear-gradient(135deg, #10b981, #06b6d4); }
.thumb-developer { background: linear-gradient(135deg, #6366f1, #8b5cf6); }

.news-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  display: none;
}

.news-empty.visible { display: block; }

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

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