/*
Theme Name: 비트겟 셀퍼럴 테마
Theme URI: https://bitgetself.manna-plus.kr
Description: 비트겟 셀퍼럴 전용 테마 - 풀 와이드 히어로, 스크롤 헤더, Anti-Gravity 플로팅
Version: 1.0
Author: Manna Plus
Text Domain: bitgetself-theme
*/

/* ========================================
   CSS Variables
======================================== */
:root {
    --primary-color: #6366F1;
    --primary-dark: #4F46E5;
    --primary-light: #818CF8;
    --primary-gradient: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
    --text-primary: #1a1a1a;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --text-light: #ffffff;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #1e1b4b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --shadow-hover: 0 20px 40px -10px rgba(99, 102, 241, 0.3);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-full: 9999px;
    --transition: all 0.3s ease;
    --header-height: 70px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Wanted Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    -webkit-font-smoothing: antialiased;
}

/* SVG Pattern Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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='%236366f1' fill-opacity='0.03'%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;
    z-index: -1;
}

/* ========================================
   Typography
======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

a:hover {
    color: var(--primary-dark);
}

/* ========================================
   Layout
======================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   Scroll-Reveal Header
======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: transparent;
    z-index: 1000;
    transition: var(--transition);
    transform: translateY(-100%);
    opacity: 0;
}

.site-header.visible {
    transform: translateY(0);
    opacity: 1;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.site-logo a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.site-logo a:hover {
    color: var(--primary-color);
}

/* Navigation */
.main-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.main-nav a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.current {
    color: var(--primary-color);
}

.main-nav a:hover::after,
.main-nav a.current::after {
    width: 100%;
}

/* Header CTA */
.header-cta .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: var(--transition);
}

/* ========================================
   Round Gradient Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    color: var(--text-light);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

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

.btn-outline:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: var(--text-light);
}

/* ========================================
   Main Content
======================================== */
.site-content {
    min-height: 100vh;
}

/* ========================================
   Hero Section - Full Wide
======================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 60%);
    animation: heroGlow 15s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 60%);
    animation: heroGlow 20s ease-in-out infinite reverse;
}

@keyframes heroGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.15;
}

.hero-title .highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Anti-Gravity Floating Animation
======================================== */
@keyframes antiGravityFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(1deg);
    }
    50% {
        transform: translateY(-8px) rotate(-1deg);
    }
    75% {
        transform: translateY(-20px) rotate(0.5deg);
    }
}

@keyframes float3D {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: var(--shadow-md);
    }
    50% {
        transform: translateY(-12px) scale(1.02);
        box-shadow: var(--shadow-hover);
    }
}

@keyframes bubbleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    33% {
        transform: translate(20px, -30px) scale(1.1);
        opacity: 0.5;
    }
    66% {
        transform: translate(-15px, -60px) scale(0.9);
        opacity: 0.2;
    }
}

.floating-element {
    animation: antiGravityFloat 6s ease-in-out infinite;
    will-change: transform;
}

.floating-element:nth-child(1) { animation-delay: 0s; animation-duration: 5s; }
.floating-element:nth-child(2) { animation-delay: 0.5s; animation-duration: 6s; }
.floating-element:nth-child(3) { animation-delay: 1s; animation-duration: 7s; }
.floating-element:nth-child(4) { animation-delay: 1.5s; animation-duration: 5.5s; }

/* Background Floating Bubbles */
.floating-bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    animation: bubbleFloat 15s ease-in-out infinite;
}

.floating-bubble:nth-child(1) {
    width: 400px;
    height: 400px;
    top: 5%;
    right: 5%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.floating-bubble:nth-child(2) {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 10%;
    animation-delay: 3s;
    animation-duration: 15s;
}

.floating-bubble:nth-child(3) {
    width: 180px;
    height: 180px;
    bottom: 20%;
    right: 20%;
    animation-delay: 5s;
    animation-duration: 20s;
}

/* ========================================
   Flat Cards with Hover Shadow
======================================== */
.benefit-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    text-align: left;
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border-color);
    animation: float3D 8s ease-in-out infinite;
}

.benefit-card:nth-child(1) { animation-delay: 0s; }
.benefit-card:nth-child(2) { animation-delay: 1s; }
.benefit-card:nth-child(3) { animation-delay: 2s; }
.benefit-card:nth-child(4) { animation-delay: 3s; }

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.benefit-number {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    color: var(--text-light);
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    margin-bottom: 1.25rem;
}

.benefit-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Benefits Grid */
.benefits-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   CTA Section
======================================== */
.cta-section {
    padding: 6rem 0;
    text-align: center;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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='%23818cf8' fill-opacity='0.08'%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");
}

.cta-box {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h2 {
    color: var(--text-light);
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.cta-box .btn {
    background: var(--text-light);
    color: var(--primary-dark);
}

.cta-box .btn:hover {
    background: var(--primary-light);
    color: var(--text-light);
    transform: translateY(-3px);
}

/* ========================================
   Blog Section
======================================== */
.latest-posts-section {
    padding: 6rem 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Post Card - Flat with Hover Shadow */
.post-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.post-thumbnail {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.post-thumbnail-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
}

.placeholder-icon {
    color: var(--primary-color);
    opacity: 0.4;
}

.post-content {
    padding: 1.5rem;
}

.entry-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.entry-title a {
    color: var(--text-primary);
}

.entry-title a:hover {
    color: var(--primary-color);
}

.entry-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.entry-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.read-more:hover {
    color: var(--primary-dark);
    gap: 0.5rem;
}

/* ========================================
   Page Content
======================================== */
.page-content {
    padding: 6rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.75rem;
    margin-bottom: 0;
}

.page-content-inner {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
}

.page-content-inner h2 {
    margin-top: 2rem;
    color: var(--primary-dark);
}

.page-content-inner ul,
.page-content-inner ol {
    margin: 1rem 0 1rem 2rem;
}

.page-content-inner li {
    margin-bottom: 0.5rem;
}

/* ========================================
   Single Post
======================================== */
.single-post {
    padding: 6rem 0;
}

.article-full {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.entry-header {
    padding: 2.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.entry-header .entry-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.entry-content {
    padding: 2.5rem;
}

.entry-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.entry-content h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    color: var(--text-primary);
}

.entry-content ul,
.entry-content ol {
    margin: 1rem 0 1rem 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Post Navigation */
.post-navigation {
    padding: 2rem 2.5rem;
    border-top: 1px solid var(--border-color);
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

/* ========================================
   Blog Page
======================================== */
.blog-page {
    padding: 6rem 0;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-title {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.blog-description {
    color: var(--text-muted);
    font-size: 1.15rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination .page-numbers {
    padding: 0.75rem 1.25rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    font-weight: 500;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--primary-gradient);
    color: var(--text-light);
    border-color: transparent;
}

/* ========================================
   Footer
======================================== */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

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

.footer-brand h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    display: block;
    padding: 0.4rem 0;
}

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ========================================
   404 Page
======================================== */
.error-404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0;
}

.error-content {
    max-width: 500px;
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.error-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.error-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Contact Form
======================================== */
.wpcf7-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.wpcf7-form input[type="submit"] {
    background: var(--primary-gradient);
    color: var(--text-light);
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.wpcf7-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

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

    .floating-element,
    .benefit-card,
    .floating-bubble {
        animation: none;
    }
}

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

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

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

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .header-inner {
        padding: 0 1rem;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-color);
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .menu-toggle {
        display: block;
    }

    .header-cta {
        display: none;
    }

    .hero-section {
        min-height: auto;
        padding: 5rem 1.5rem;
    }

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

    .hero-description {
        font-size: 1.1rem;
    }

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

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

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

    .nav-links {
        flex-direction: column;
    }

    .nav-next {
        text-align: left;
    }

    .container {
        padding: 0 1rem;
    }

    .benefit-card {
        animation: none;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

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

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .error-code {
        font-size: 5rem;
    }

    .page-content-inner {
        padding: 1.5rem;
    }
}
