/* ========================================
   CSS Variables & Reset
   ======================================== */
:root {
  --color-primary: #7360F2;
  --color-primary-dark: #5B48D4;
  --color-primary-light: #9B8DF7;
  --color-secondary: #665CAC;
  --color-dark: #1A1A2E;
  --color-text: #333;
  --color-text-light: #666;
  --color-white: #fff;
  --color-bg-light: #F7F5FF;
  --color-bg-gray: #F5F5F5;
  --gradient-primary: linear-gradient(135deg, #7360F2 0%, #9B8DF7 100%);
  --gradient-hero: linear-gradient(135deg, rgba(115, 96, 242, 0.85), rgba(91, 72, 212, 0.9));
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
  --shadow-card: 0 10px 30px rgba(115, 96, 242, 0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

.section {
  padding: 100px 0;
}

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

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

.section-tag {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--color-white);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(115, 96, 242, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(115, 96, 242, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-nav-download {
  background: var(--gradient-primary);
  color: var(--color-white);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(115, 96, 242, 0.3);
}

.btn-nav-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(115, 96, 242, 0.4);
}

/* ========================================
   Header / Navigation
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

.header.scrolled .logo {
  color: var(--color-primary);
}

.header.scrolled .logo-icon {
  filter: none;
}

.header.scrolled .nav-links a {
  color: var(--color-text);
}

.header.scrolled .nav-links a:hover {
  color: var(--color-primary);
}

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

.logo {
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
  transition: var(--transition);
}

.logo-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
  border-radius: 2px;
}

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

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}

.header.scrolled .mobile-menu-btn span {
  background: var(--color-dark);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.7) 0%,
    rgba(115, 96, 242, 0.5) 50%,
    rgba(26, 26, 46, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-white);
  max-width: 800px;
  padding: 0 24px;
  animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 36px;
  line-height: 1.6;
}

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

.scroll-hint {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  animation: bounce 2s infinite;
}

.scroll-hint:hover {
  color: var(--color-white);
}

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* ========================================
   Features Section
   ======================================== */
.features {
  background: var(--color-white);
}

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

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid #eee;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}

.feature-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.feature-img {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
}

.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
  padding: 10px;
  background: var(--color-bg-light);
}

.feature-card:hover .feature-img img {
  transform: scale(1.05);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 10px;
}

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

.section-cta {
  text-align: center;
  margin-top: 50px;
}

/* ========================================
   Communities Section
   ======================================== */
.communities {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}

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

.communities-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.communities-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(115, 96, 242, 0.92) 0%,
    rgba(91, 72, 212, 0.88) 100%
  );
}

.communities-content {
  position: relative;
  z-index: 1;
}

.communities-text {
  max-width: 600px;
  color: var(--color-white);
}

.communities-text h2 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.communities-text p {
  font-size: 1.125rem;
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 30px;
}

.communities-text .btn-primary {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.communities-text .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Security Section
   ======================================== */
.security {
  background: var(--color-bg-light);
}

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

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

.security-img {
  width: 100%;
  max-width: 450px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.security-shield {
  position: absolute;
  top: -20px;
  right: -20px;
  background: var(--color-white);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 1;
}

.security-shield svg {
  width: 44px;
  height: 52px;
}

.security-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.security-text > p {
  font-size: 1.125rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 30px;
}

.security-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.security-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.security-feature:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.security-feature span {
  font-weight: 600;
  color: var(--color-dark);
}

/* ========================================
   Download CTA Section
   ======================================== */
.download-cta {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  text-align: center;
}

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

.download-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.download-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.88) 0%,
    rgba(91, 72, 212, 0.82) 100%
  );
}

.download-content {
  position: relative;
  z-index: 1;
  color: var(--color-white);
}

.download-content h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.download-content > p {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.download-buttons .btn-primary:hover {
  background: var(--color-bg-light);
}

.download-buttons .btn-white {
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--color-white);
}

.download-buttons .btn-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
}

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

.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

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

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

.footer-bottom p {
  font-size: 0.85rem;
}

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

.footer-social a {
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--color-primary-light);
  transform: translateY(-2px);
}

/* ========================================
   About Section
   ======================================== */
.about {
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 70px;
}

.about-text .section-tag {
  margin-bottom: 16px;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

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

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 3px solid rgba(115, 96, 242, 0.2);
  pointer-events: none;
}

.about-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.03);
}

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

.stat-card {
  text-align: center;
  padding: 36px 20px;
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  border: 1px solid transparent;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(115, 96, 242, 0.15);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--color-text-light);
  font-weight: 500;
}

/* ========================================
   Blog Section
   ======================================== */
.blog {
  background: var(--color-bg-gray);
}

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

.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.blog-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.blog-card-featured .blog-card-img {
  height: 100%;
  min-height: 320px;
}

.blog-card-featured .blog-card-body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-card-featured h3 {
  font-size: 1.5rem;
}

.blog-card-featured p {
  font-size: 1rem;
  -webkit-line-clamp: 4;
}

.blog-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.06);
}

.blog-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.blog-read-time {
  position: relative;
  padding-left: 14px;
}

.blog-read-time::before {
  content: '•';
  position: absolute;
  left: 0;
}

.blog-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.blog-link:hover {
  color: var(--color-primary-dark);
  transform: translateX(4px);
}

/* ========================================
   Scroll Animations
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .security-container {
    gap: 50px;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .communities-text h2,
  .download-content h2 {
    font-size: 2.2rem;
  }

  .about-grid {
    gap: 40px;
  }

  .about-text h2 {
    font-size: 2rem;
  }

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

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

  .blog-card-featured {
    grid-column: 1 / -1;
  }
}

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

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

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 46, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    color: var(--color-white);
    font-size: 1.3rem;
  }

  .btn-nav-download {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    min-height: 100vh;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1.05rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    text-align: left;
    gap: 0 20px;
    padding: 24px;
  }

  .feature-icon {
    grid-row: 1 / 3;
    align-self: center;
    margin-bottom: 0;
  }

  .feature-icon svg {
    width: 48px;
    height: 48px;
  }

  .feature-img {
    display: none;
  }

  .feature-card h3 {
    align-self: end;
    margin-bottom: 4px;
  }

  .feature-card p {
    align-self: start;
  }

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

  .security-visual {
    order: -1;
  }

  .security-text h2 {
    font-size: 2rem;
  }

  .communities-text h2 {
    font-size: 2rem;
  }

  .download-content h2 {
    font-size: 2rem;
  }

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

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

  .about-image {
    order: -1;
  }

  .about-image img {
    height: 260px;
  }

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

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

  .stat-card {
    padding: 28px 16px;
  }

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

  .blog-card-featured {
    grid-template-columns: 1fr;
  }

  .blog-card-featured .blog-card-img {
    min-height: 220px;
  }

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

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

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

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

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

  .btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .communities-text h2,
  .security-text h2,
  .download-content h2 {
    font-size: 1.6rem;
  }

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