:root{
  --bg:#ffffff;
  --bg-secondary:#f8fafc;
  --text:#0f172a;
  --text-muted:#64748b;
  --brand:#2563eb;
  --brand-hover:#1d4ed8;
  --brand-light:#dbeafe;
  --success:#10b981;
  --border:#e2e8f0;
  
  /* Enhanced Shadows */
  --shadow-sm:0 1px 2px 0 rgba(0,0,0,.05);
  --shadow:0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --shadow-lg:0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  --shadow-xl:0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
  --shadow-colored:0 10px 15px -3px rgba(37,99,235,.15), 0 4px 6px -4px rgba(37,99,235,.1);
  --shadow-glow:0 0 20px rgba(37,99,235,.15);
  
  /* Enhanced Radius */
  --radius:12px;
  --radius-sm:8px;
  --radius-lg:16px;
  --radius-xl:20px;
  
  /* Gradients */
  --gradient-brand:linear-gradient(135deg, var(--brand) 0%, #3b82f6 100%);
  --gradient-bg:linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  --gradient-hero:linear-gradient(135deg, rgba(37,99,235,0.03) 0%, rgba(37,99,235,0.08) 50%, transparent 100%);
  
  /* Animation Variables */
  --transition-fast:0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal:0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, "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;
}

img{max-width:100%;height:auto;display:block}
h1,h2,h3,h4,p{margin:0}

/* Container */
.container{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}
@media (min-width:768px){
  .container{padding:0 32px}
}
@media (min-width:1024px){
  .container{padding:0 40px}
}

/* Typography */
h1{
  font-size:clamp(32px, 5vw, 48px);
  font-weight:800;
  line-height:1.1;
  letter-spacing:-0.02em;
}
h2{
  font-size:clamp(24px, 4vw, 36px);
  font-weight:700;
  line-height:1.2;
  margin-bottom:16px;
}
h3{
  font-size:clamp(18px, 3vw, 24px);
  font-weight:600;
  line-height:1.3;
}
p{
  font-size:clamp(16px, 2vw, 18px);
  color:var(--text-muted);
  line-height:1.7;
}

/* Links */
a{
  color:var(--brand);
  text-decoration:none;
  transition:color 0.2s;
}
a:hover{
  color:var(--brand-hover);
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,0.8);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:64px;
  position: relative;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:700;
  font-size:20px;
  color:var(--text);
}
.brand img{
  width:36px;
  height:36px;
  border-radius:8px;
}
.site-nav{
  display:none;
  gap:8px;
}
@media (min-width:768px){
  .site-nav{display:flex}
}
.site-nav a{
  padding:8px 16px;
  border-radius:8px;
  color:var(--text-muted);
  font-weight:500;
  transition:all 0.2s;
}
.site-nav a:hover{
  background:var(--bg-secondary);
  color:var(--text);
}
.nav-toggle{
  display:block;
  background:none;
  border:none;
  color:var(--text);
  font-size:24px;
  cursor:pointer;
  padding:8px;
}
@media (min-width:768px){
  .nav-toggle{display:none}
}

/* Sections */
.section{
  padding:60px 0;
}

/* Enhanced Article Layout - Newspaper Style */
.article{
  padding:40px 0 60px;
  background:var(--bg);
  position:relative;
}
.article::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:1px;
  background:linear-gradient(90deg, transparent, var(--border), transparent);
}

/* Article Hero Section */
.article-hero{
  background:var(--bg-secondary);
  padding:60px 0;
  margin-bottom:40px;
  position:relative;
  overflow:hidden;
}
.article-hero::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background:linear-gradient(135deg, 
    rgba(37,99,235,0.02) 0%, 
    rgba(37,99,235,0.05) 50%, 
    transparent 100%);
}
.article-hero .container{
  position:relative;
  z-index:1;
}

/* Article Metadata */
.article-meta{
  display:flex;
  align-items:center;
  gap:20px;
  margin-bottom:20px;
  flex-wrap:wrap;
}
.article-category{
  background:var(--brand);
  color:white;
  padding:6px 12px;
  border-radius:20px;
  font-size:12px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:0.5px;
}
.article-date{
  color:var(--text-muted);
  font-size:14px;
  font-weight:500;
}
.reading-time{
  color:var(--text-muted);
  font-size:14px;
  display:flex;
  align-items:center;
  gap:6px;
}
.reading-time::before{
  content:'⏱';
  font-size:12px;
}

/* Enhanced Prose Styling */
.article .prose{
  width:100%;
  max-width:720px;
  margin:0 auto;
  position:relative;
}

/* Typography Enhancements */
.prose h1{
  font-size:clamp(32px,5vw,48px); 
  line-height:1.1; 
  margin:0 0 24px;
  font-weight:800;
  color:var(--text);
  letter-spacing:-0.02em;
}
.prose h2{
  font-size:clamp(24px,4vw,32px); 
  margin:40px 0 16px;
  font-weight:700;
  color:var(--text);
  position:relative;
  padding-bottom:8px;
}
.prose h2::after{
  content:'';
  position:absolute;
  bottom:0;
  left:0;
  width:40px;
  height:3px;
  background:var(--brand);
  border-radius:2px;
}
.prose h3{
  font-size:clamp(20px,3vw,24px); 
  margin:32px 0 12px;
  font-weight:600;
  color:var(--text);
}
.prose p{
  font-size:clamp(16px,2vw,18px); 
  color:var(--text-muted); 
  margin:0 0 20px;
  line-height:1.8;
}
.prose p:first-of-type{
  font-size:clamp(18px,2.5vw,20px);
  color:var(--text);
  font-weight:500;
  line-height:1.7;
}

/* Enhanced Lists */
.prose ul{
  padding-left:0; 
  margin:0 0 20px;
  list-style:none;
}
.prose li{
  margin:12px 0;
  padding-left:28px;
  position:relative;
  color:var(--text-muted);
}
.prose li::before{
  content:'▶';
  position:absolute;
  left:0;
  color:var(--brand);
  font-size:12px;
  top:2px;
}

/* Enhanced Note/Callout */
.prose .note{
  background:linear-gradient(135deg, var(--brand-light), rgba(37,99,235,0.08));
  border:1px solid rgba(37,99,235,0.2);
  border-radius:16px;
  padding:20px 24px;
  margin:32px 0;
  position:relative;
  box-shadow:var(--shadow-sm);
}
.prose .note::before{
  content:'💡';
  position:absolute;
  top:20px;
  right:24px;
  font-size:20px;
}

/* Enhanced Inline Media */
.prose .inline-media{
  display:flex; 
  align-items:center; 
  gap:20px; 
  margin:32px 0;
  padding:20px;
  background:white;
  border-radius:16px;
  box-shadow:var(--shadow-sm);
  border:1px solid var(--border);
}
.prose .inline-media img{
  width:72px; 
  height:72px; 
  border-radius:16px; 
  box-shadow:var(--shadow);
  flex-shrink:0;
}

/* Enhanced Figures */
.prose figure{
  margin:40px 0; 
  background:white; 
  border:1px solid var(--border);
  border-radius:16px; 
  overflow:hidden; 
  box-shadow:var(--shadow);
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}
.prose figure:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-lg);
}
.prose figure img{
  width:100%; 
  height:auto; 
  display:block;
  transition:transform 0.3s ease;
}
  .prose figure .video-embed{
    position:relative;
    width:100%;
    background:black;
    border-bottom:1px solid var(--border);
  }
  /* 9:16 Vertical Shorts ratio responsive */
  .prose figure .video-embed::before{
    content:'';
    display:block;
    padding-top:177.78%; /* 16/9 inverted => 9:16 */
  }
  .prose figure .video-embed iframe{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    border:0;
    border-radius:0;
  }
.prose figure:hover img{
  transform:scale(1.02);
}
.prose figcaption{
  font-size:14px; 
  color:var(--text-muted); 
  padding:16px 20px; 
  text-align:center;
  font-style:italic;
  background:var(--bg-secondary);
}
@media (max-width: 640px){
  .prose .inline-media{gap:10px}
  .prose .inline-media img{width:48px; height:48px}
}
@media (min-width:768px){
  .section{padding:80px 0}
}
@media (min-width:1024px){
  .section{padding:100px 0}
}

/* Enhanced Hero with Gradient Background */
.hero{
  padding-top:40px;
  padding-bottom:60px;
  overflow:hidden;
  background:var(--gradient-hero);
  position:relative;
}
.hero::before{
  content:'';
  position:absolute;
  top:0;
  right:0;
  width:50%;
  height:100%;
  background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="%23e2e8f0" opacity="0.3"/><circle cx="80" cy="40" r="1" fill="%23e2e8f0" opacity="0.2"/><circle cx="40" cy="80" r="1" fill="%23e2e8f0" opacity="0.4"/></svg>') repeat;
  opacity:0.4;
  z-index:0;
}
.hero .container{
  position:relative;
  z-index:1;
}
@media (min-width:768px){
  .hero{
    padding-top:60px;
    padding-bottom:80px;
  }
}
.hero-grid{
  display:grid;
  gap:40px;
  align-items:center;
}
@media (min-width:768px){
  .hero-grid{
    grid-template-columns:1fr 1fr;
    gap:60px;
  }
}
.hero-icon-title{
  display:flex;
  align-items:center;
  gap:20px;
  margin-bottom:20px;
}
.hero-appicon{
  width:80px;
  height:80px;
  border-radius:20px;
  box-shadow:var(--shadow-lg);
}
@media (min-width:768px){
  .hero-appicon{
    width:100px;
    height:100px;
  }
}
.lead{
  font-size:clamp(18px, 2.5vw, 22px);
  color:var(--text-muted);
  margin-bottom:32px;
  max-width:600px;
}
.cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin:32px 0 24px;
  align-items:center;
}
.btn{
  display:inline-flex;
  align-items:center;
  padding:16px 32px;
  border-radius:var(--radius);
  font-weight:600;
  font-size:18px;
  transition:all var(--transition-normal);
  cursor:pointer;
  border:2px solid transparent;
  position:relative;
  overflow:hidden;
  min-height:54px;
}
.btn::before{
  content:'';
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition:left var(--transition-slow);
}
.btn:hover::before{
  left:100%;
}
.btn.primary{
  background:var(--gradient-brand);
  color:white;
  box-shadow:var(--shadow-colored);
  border:none;
}
.btn.primary:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-colored), var(--shadow-glow);
}
.btn.primary:active{
  transform:translateY(-1px);
}
.btn.ghost{
  background:white;
  color:var(--text);
  border-color:var(--border);
  box-shadow:var(--shadow-sm);
}
.btn.ghost:hover{
  background:var(--bg-secondary);
  border-color:var(--brand);
  color:var(--brand);
  transform:translateY(-2px);
  box-shadow:var(--shadow);
}
.appstore-badge{
  display:flex; 
  align-items:center; 
  gap:12px; 
  flex-wrap:wrap;
  margin:20px 0;
}
.appstore-badge img{
  height:88px;
  width:auto;
  transition:all 0.3s ease;
  box-shadow:var(--shadow-colored);
  border-radius:12px;
}
.appstore-badge img:hover{
  transform:scale(1.05) translateY(-2px);
  box-shadow:var(--shadow-lg), var(--shadow-glow);
}
@media (min-width: 768px){
  .appstore-badge img{ height:108px }
}
@media (min-width: 1024px){
  .appstore-badge img{ height:120px }
}
.bullet-points{
  list-style:none;
  padding:0;
  margin:24px 0 0;
}
.bullet-points li{
  position:relative;
  padding-left:28px;
  margin-bottom:12px;
  color:var(--text-muted);
}
.bullet-points li:before{
  content:"✓";
  position:absolute;
  left:0;
  color:var(--success);
  font-weight:bold;
}

/* Hero Visual */
.hero-visual{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
}
.device-wrap{
  position:relative;
  width:100%;
  max-width:480px;
}
.device{
  width:100%;
  height:auto;
  filter:drop-shadow(0 25px 50px -12px rgba(0,0,0,0.15));
}
.overlay-badge{
  position:absolute;
  top:20px;
  left:20px;
  background:white;
  padding:8px 16px;
  border-radius:999px;
  font-size:14px;
  font-weight:600;
  box-shadow:var(--shadow);
}
.receipt{
  position:absolute;
  right:-20px;
  bottom:-20px;
  width:45%;
  max-width:240px;
  transform:rotate(-3deg);
  filter:drop-shadow(0 10px 25px rgba(0,0,0,0.1));
}
.arrow{
  display:none;
}
@media (min-width:768px){
  .arrow{
    display:block;
    position:absolute;
    right:35%;
    bottom:55%;
    width:120px;
    height:80px;
  }
}

/* Enhanced Features */
.features{
  background:var(--gradient-bg);
  position:relative;
}
.features::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:1px;
  background:linear-gradient(90deg, transparent, var(--border), transparent);
}
.feature-grid{
  display:grid;
  gap:24px;
  margin-top:40px;
}
@media (min-width:768px){
  .feature-grid{
    grid-template-columns:repeat(3, 1fr);
    gap:32px;
  }
}
.feature{
  background:white;
  padding:32px;
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm);
  transition:all var(--transition-normal);
  border:1px solid rgba(255,255,255,0.8);
  position:relative;
  overflow:hidden;
}
.feature::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background:var(--gradient-brand);
  transform:scaleX(0);
  transition:transform var(--transition-normal);
}
.feature:hover{
  box-shadow:var(--shadow-lg);
  transform:translateY(-6px);
  border-color:rgba(37,99,235,0.1);
}
.feature:hover::before{
  transform:scaleX(1);
}
.feature h3{
  margin-bottom:12px;
  position:relative;
}

/* Steps */
.steps h2{
  text-align:center;
  margin-bottom:48px;
}
.grid-steps{ display:none } /* ersetzt durch Carousel */

/* Steps Carousel */
.steps-carousel{ position:relative }
.carousel{
  position:relative;
  background:white;
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm);
  overflow:hidden;
}
/* Full-bleed look inside container */
.steps .carousel{
  width:100vw;
  margin-left:calc(50% - 50vw);
  padding:0 8px;
  background:transparent;           /* remove white container */
  border:none;                      /* remove border line */
  box-shadow:none;                  /* remove drop shadow */
}
.carousel-track{
  display:flex;
  will-change:transform;
  transition:transform 0.35s ease;
  touch-action:pan-y;
}
.carousel-slide{ flex:0 0 100%; display:flex; justify-content:center; padding:12px }
@media (min-width:1024px){
  .carousel-slide{ flex-basis:25%; padding:8px }
}
.carousel-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:2;
  width:40px; height:40px;
  border-radius:999px;
  background:white;
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  display:grid; place-items:center;
  font-size:22px; font-weight:700;
  color:var(--text);
  cursor:pointer;
}
.@media (min-width:1024px){
  .carousel-btn{ width:34px; height:34px; font-size:18px }
}
.carousel-btn:hover{ background:var(--bg-secondary) }
.carousel-btn:disabled{ opacity:0.5; cursor:not-allowed }
.carousel-btn.prev{ left:12px }
.carousel-btn.next{ right:12px }
.carousel-indicator{
  position:absolute;
  bottom:10px; left:50%; transform:translateX(-50%);
  background:rgba(255,255,255,0.9);
  border:1px solid var(--border);
  border-radius:999px;
  padding:4px 10px;
  font-size:11px; font-weight:600;
  box-shadow:var(--shadow-sm);
}

@media (max-width: 640px){
  .carousel-btn{ width:36px; height:36px; font-size:20px }
}

@media (prefers-reduced-motion: reduce){
  .carousel-track{ transition:none }
}
.step-card{
  background:white;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  transition:transform .2s ease, box-shadow .2s ease;
}
/* Steps-only: show pure PNGs without white cards */
.steps .step-card{
  background:transparent;
  box-shadow:none;
}
@media (min-width:1024px){
  /* Größer und harmonischer: füllt Slide, bleibt aber gedeckelt */
  .step-card{ width:clamp(220px, 90%, 260px); }
}
.step-card:hover{
  box-shadow:var(--shadow);
  transform:translateY(-2px);
}
.step-header{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 12px 8px;
}
.step-badge{
  display:flex;
  align-items:center;
  justify-content:center;
  width:24px;
  height:24px;
  background:var(--brand-light);
  color:var(--brand);
  border-radius:8px;
  font-weight:700;
  font-size:13px;
  flex-shrink:0;
}
.step-title{
  font-size:20px;
  font-weight:600;
}
.step-media{
  padding:0 12px 12px;
  display:flex; justify-content:center;
}
.step-img{
  width:100%;
  height:auto;
  max-width:100%;
  border-radius:10px;
  background:var(--bg-secondary);
}
/* Steps-only: no artificial background behind transparent PNGs */
.steps .step-img{ background:transparent }
.step-text{
  display:none; /* Titel/Texte entfernt – nur Nummer + Bild */
}

/* Screens */
.screens{
  background:var(--bg-secondary);
}
.screens h2{
  text-align:center;
  margin-bottom:48px;
}
.screen-grid{
  display:grid;
  gap:24px;
}
@media (min-width:768px){
  .screen-grid{
    grid-template-columns:repeat(3, 1fr);
    gap:32px;
  }
}
.screen-grid figure{
  margin:0;
  background:transparent; /* keine weiße Karte */
  border-radius:0;
  overflow:visible;
  box-shadow:none;
  transition:none;
}
.screen-grid figure:hover{
  box-shadow:none;
  transform:none;
}
.screen-grid img{
  width:100%;
  height:auto;
  background:transparent; /* falls PNGs mit Transparenz */
  border-radius:16px;     /* leichte Abrundung direkt am Bild */
}
.screen-grid figcaption{
  padding:16px;
  text-align:center;
  font-weight:500;
  color:var(--text-muted);
}

/* FAQ */
#faq h2{
  text-align:center;
  margin-bottom:48px;
}
details{
  background:white;
  border:1px solid var(--border);
  border-radius:var(--radius);
  margin-bottom:16px;
  overflow:hidden;
}
details summary{
  padding:20px 24px;
  font-weight:600;
  cursor:pointer;
  list-style:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
details summary::-webkit-details-marker{
  display:none;
}
details summary::after{
  content:"+";
  font-size:24px;
  color:var(--text-muted);
  transition:transform 0.2s;
}
details[open] summary::after{
  transform:rotate(45deg);
}
details p{
  padding:0 24px 20px;
  margin:0;
}

/* Enhanced Internal Links */
.seo-internal-links{
  background:linear-gradient(135deg, var(--bg-secondary) 0%, rgba(37,99,235,0.03) 100%);
  position:relative;
}
.seo-internal-links::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:1px;
  background:linear-gradient(90deg, transparent, var(--border), transparent);
}
.seo-internal-links h2{
  text-align:center;
  margin-bottom:48px;
  position:relative;
}
.seo-internal-links h2::after{
  content:'';
  position:absolute;
  bottom:-12px;
  left:50%;
  transform:translateX(-50%);
  width:60px;
  height:3px;
  background:var(--brand);
  border-radius:2px;
}

/* Enhanced Link Cards */
.link-list{
  display:grid;
  gap:20px;
  list-style:none;
  padding:0;
  max-width:900px;
  margin:0 auto;
}
@media (min-width:640px){
  .link-list{
    grid-template-columns:repeat(2, 1fr);
    gap:24px;
  }
}
@media (min-width:900px){
  .link-list{
    grid-template-columns:repeat(3, 1fr);
  }
}

.link-card{
  display:block;
  padding:0;
  background:white;
  border-radius:var(--radius-lg);
  color:var(--text);
  box-shadow:var(--shadow-sm);
  transition:all 0.3s ease;
  border:1px solid var(--border);
  overflow:hidden;
  position:relative;
}
.link-card::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background:linear-gradient(90deg, var(--brand), #3b82f6);
  transform:scaleX(0);
  transition:transform 0.3s ease;
}
.link-card:hover{
  box-shadow:var(--shadow-lg);
  transform:translateY(-6px);
  color:var(--text);
}
.link-card:hover::before{
  transform:scaleX(1);
}

.link-card-content{
  padding:24px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.link-card-icon{
  font-size:28px;
  margin-bottom:8px;
  filter:grayscale(0.3);
  transition:filter 0.2s ease;
}
.link-card:hover .link-card-icon{
  filter:grayscale(0);
}
.link-card-title{
  font-weight:600;
  font-size:16px;
  line-height:1.3;
  margin:0;
  color:var(--text);
}
.link-card-description{
  font-size:14px;
  color:var(--text-muted);
  line-height:1.5;
  margin:0;
}
.link-card-category{
  font-size:11px;
  text-transform:uppercase;
  font-weight:600;
  color:var(--brand);
  letter-spacing:0.5px;
  margin-top:8px;
}

/* Legacy support */
.link-list a:not(.link-card){
  display:block;
  padding:20px 24px;
  background:white;
  border-radius:var(--radius);
  color:var(--text);
  font-weight:500;
  box-shadow:var(--shadow-sm);
  transition:all 0.2s;
}
.link-list a:not(.link-card):hover{
  box-shadow:var(--shadow);
  transform:translateX(4px);
  color:var(--brand);
}

/* Footer */
.site-footer{
  background:var(--text);
  color:white;
  padding:40px 0;
}
.footer-grid{
  display:grid;
  gap:32px;
  text-align:center;
}
@media (min-width:768px){
  .footer-grid{
    grid-template-columns:1fr auto auto;
    align-items:center;
    text-align:left;
  }
}
.footer-nav{
  display:flex;
  gap:24px;
  justify-content:center;
}
.footer-nav a{
  color:rgba(255,255,255,0.8);
  font-weight:500;
}
.footer-nav a:hover{
  color:white;
}
.copyright{
  color:rgba(255,255,255,0.6);
  font-size:14px;
}

/* Enhanced Mobile Optimizations */
@media (max-width:767px){
  /* Improved Mobile Navigation */
  .site-nav{
    position:absolute;
    top:64px;
    right:16px;
    left:16px;
    background:white;
    border:1px solid var(--border);
    border-radius:16px;
    padding:12px;
    flex-direction:column;
    box-shadow:var(--shadow-xl);
    opacity:0;
    transform:translateY(-10px);
    transition:all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index:100;
    display:none;
  }
  .site-nav.is-open{
    opacity:1;
    transform:translateY(0);
    display:flex;
  }
  .site-nav a{
    width:100%;
    padding:16px 20px;
    text-align:left;
    border-radius:12px;
    font-size:16px;
    min-height:48px; /* Better touch targets */
    display:flex;
    align-items:center;
    transition:all 0.2s ease;
  }
  .site-nav a + a{ margin-top:6px }
  .site-nav a:hover, .site-nav a:active{
    background:var(--bg-secondary);
    transform:translateX(4px);
  }
  
  /* Enhanced Mobile Toggle Button */
  .nav-toggle{
    border:1px solid var(--border);
    border-radius:12px;
    width:44px; 
    height:44px; /* Larger touch target */
    display:inline-grid; 
    place-items:center;
    background:white;
    font-size:20px;
    transition:all 0.2s ease;
    box-shadow:var(--shadow-sm);
  }
  .nav-toggle:hover, .nav-toggle:active{
    background:var(--bg-secondary);
    border-color:var(--text-muted);
  }
  
  /* Better container spacing on mobile */
  .container{
    padding:0 16px;
  }
  
  /* Enhanced mobile hero spacing */
  .hero{
    padding-top:24px;
    padding-bottom:40px;
  }
  .hero-grid{
    gap:32px;
  }
  .hero-icon-title{
    gap:16px;
    margin-bottom:16px;
  }
  .lead{
    margin-bottom:24px;
  }
  .cta-row{
    gap:12px;
    margin-bottom:16px;
  }
  .btn{
    padding:14px 20px; /* Larger touch targets */
    font-size:16px;
    min-height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  
  /* Mobile-optimized cards */
  .link-card-content{
    padding:20px;
  }
  .link-card-icon{
    font-size:24px;
  }
  
  /* Better mobile article spacing */
  .article-hero{
    padding:40px 0;
  }
  .article-meta{
    gap:12px;
    margin-bottom:16px;
  }
  .prose h1{
    margin-bottom:20px;
  }
  .prose h2{
    margin:32px 0 12px;
  }
  .prose .inline-media{
    gap:16px;
    padding:16px;
  }
  .prose .inline-media img{
    width:64px;
    height:64px;
  }
  
  /* Mobile section spacing */
  .section{
    padding:40px 0;
  }
  
  /* Prevent layout jumps */
  .nav { min-height:64px }
}
