/* ===================================
   بلاگ‌فا — Django Blog Theme
   Based on Zizpush cosmic dark design
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@700;900&display=swap');

@font-face {
    font-family: 'IranYekan';
    src: url('../../fonts/IRANYekanMedium.ttf');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranYekan';
    src: url('../../fonts/IRANYekanBold.ttf');
    font-weight: bold;
    font-display: swap;
}

/* ===== VARIABLES ===== */
:root {
    --bg: #010011;
    --bg-card: rgba(255, 255, 255, 0.01);
    --bg-elevated: rgba(255, 255, 255, 0.03);
    --bg-hover: rgba(255, 255, 255, 0.05);
    --text: #f4f0ff;
    --text-secondary: rgba(239, 237, 253, 0.8);
    --text-muted: rgba(239, 237, 253, 0.4);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --accent: #7c3aed;
    --accent-light: #a06df5;
    --accent-glow: rgba(124, 58, 237, 0.15);
    --green: #34d399;
    --blue: #a56fec;
    --pink: #eaeffa;
    --orange: #fb923c;
    --max-w: 1120px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: IranYekan, system-ui, sans-serif;
    font-weight: normal;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* ===== CANVAS ===== */
#bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ===== LAYOUT ===== */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    position: relative;
    z-index: 1;
}

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 24px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    background: rgba(1, 0, 17, 0.08);
    transition: background 0.3s, border-color 0.3s;
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    background: rgba(1, 0, 17, 0.25);
    border-color: var(--border);
}

.nav-inner {
    max-width: var(--max-w);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 900;
    font-size: 20px;
}

.nav-logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), var(--pink));
    display: grid;
    place-items: center;
    font-size: 16px;
    font-weight: 900;
    color: #fff;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    display: flex;
    gap: 10px;
    align-items: center;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    text-decoration: none;
    border: none;
}

.btn-sm {
    padding: 7px 16px;
    font-size: 13px;
    border-radius: 8px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 12px;
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-hover);
}

.btn-outline:hover {
    border-color: var(--accent-light);
    background: var(--accent-glow);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 0 0 var(--accent-glow);
}

.btn-primary:hover {
    background: #6d28d9;
    box-shadow: 0 0 24px var(--accent-glow);
    transform: translateY(-1px);
}

.btn-white {
    background: #fff;
    color: #000;
}

.btn-white:hover {
    background: #e4e4e7;
    transform: translateY(-1px);
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
    opacity: 1;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.25);
    font-size: 13px;
    color: var(--accent-light);
    margin-bottom: 28px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero h1 {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    text-shadow: 0 5px 8px #000;
}

.hero h1 .gradient {
    background: linear-gradient(135deg, var(--accent-light), var(--pink), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-sub {
    font-size: clamp(17px, 2vw, 20px);
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.hero-search {
    display: flex;
    gap: 8px;
    max-width: 500px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 12px 18px;
    border-radius: 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.15); }
}

/* ===== FEATURE HIGHLIGHT ===== */
.feature-highlight {
    padding: 100px 24px;
    position: relative;
    z-index: 1;
}

.feature-highlight-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-highlight-text .label {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.feature-highlight-text h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
}

.feature-highlight-text h2 .em {
    background: linear-gradient(135deg, var(--accent-light), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-highlight-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
}

.feature-highlight-visual {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: radial-gradient(57.89% 132% at 65.79% -35%, rgba(120, 123, 255, .06) 0%, rgba(120, 123, 255, 0) 100%),
                linear-gradient(180deg, rgba(255, 255, 255, 0) 54.17%, rgba(255, 255, 255, .04) 100%),
                rgba(255, 255, 255, .01);
    border: 1px solid var(--border);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    aspect-ratio: 4/3;
}

/* ===== MOCK UI ===== */
.mock-ui {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
}

.mock-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.mock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.mock-dot.r { background: #ef4444; }
.mock-dot.y { background: #eab308; }
.mock-dot.g { background: #22c55e; }

.mock-title {
    color: var(--text-muted);
    font-size: 12px;
    margin-right: auto;
}

.mock-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
}

.mock-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    font-size: 16px;
}

.mock-row-text { flex: 1; }
.mock-row-title { font-weight: 600; font-size: 13px; color: var(--text); }
.mock-row-sub { font-size: 11px; color: var(--text-muted); }

.mock-tag {
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
}

/* ===== STEPS / ARTICLE GRID ===== */
.steps-section {
    padding: 120px 24px;
}

.steps-header {
    text-align: center;
    margin-bottom: 80px;
}

.steps-header .label {
    font-size: 13px;
    font-weight: 600;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.steps-header h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    margin-bottom: 12px;
}

.steps-header p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.steps-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-card {
    padding: 28px;
    border-radius: 16px;
    background: radial-gradient(57.89% 132% at 65.79% -35%, rgba(120, 123, 255, .06) 0%, rgba(120, 123, 255, 0) 100%),
                linear-gradient(180deg, rgba(255, 255, 255, 0) 54.17%, rgba(255, 255, 255, .04) 100%),
                rgba(255, 255, 255, .01);
    border: 1px solid var(--border);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: all 0.3s var(--ease);
    position: relative;
}

.step-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ===== AI CARDS ===== */
.ai-section {
    padding: 120px 24px;
    position: relative;
    overflow: hidden;
}

.ai-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: ai-bg-pulse 8s ease-in-out infinite;
}

@keyframes ai-bg-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.ai-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.ai-header .label {
    font-size: 13px;
    font-weight: 600;
    color: var(--pink);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.ai-header h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    margin-bottom: 12px;
}

.ai-header p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto;
}

.ai-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    position: relative;
    z-index: 1;
}

.ai-card {
    padding: 28px;
    border-radius: 16px;
    background: radial-gradient(57.89% 132% at 65.79% -35%, rgba(120, 123, 255, .06) 0%, rgba(120, 123, 255, 0) 100%),
                linear-gradient(180deg, rgba(255, 255, 255, 0) 54.17%, rgba(255, 255, 255, .04) 100%),
                rgba(255, 255, 255, .01);
    border: 1px solid var(--border);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: all 0.3s var(--ease);
}

.ai-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.ai-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    margin-bottom: 16px;
    display: grid;
    place-items: center;
    font-size: 22px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.ai-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ai-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== ROADMAP ===== */
.roadmap-section {
    padding: 120px 24px;
}

.roadmap-header {
    text-align: center;
    margin-bottom: 60px;
}

.roadmap-header .label {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.roadmap-header h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    margin-bottom: 12px;
}

.roadmap-header p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.roadmap-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.roadmap-card {
    padding: 28px;
    border-radius: 16px;
    background: radial-gradient(57.89% 132% at 65.79% -35%, rgba(120, 123, 255, .06) 0%, rgba(120, 123, 255, 0) 100%),
                linear-gradient(180deg, rgba(255, 255, 255, 0) 54.17%, rgba(255, 255, 255, .04) 100%),
                rgba(255, 255, 255, .01);
    border: 1px solid var(--border);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: all 0.3s var(--ease);
}

.roadmap-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.roadmap-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    margin-bottom: 16px;
    display: grid;
    place-items: center;
    font-size: 22px;
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.roadmap-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.roadmap-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== CTA ===== */
.cta-section {
    padding: 120px 24px;
    text-align: center;
    position: relative;
}

.cta-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ===== ARTICLE CONTENT ===== */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 2;
    color: var(--text-secondary);
}

.article-content h2 {
    font-size: 28px;
    font-weight: 900;
    color: var(--text);
    margin: 48px 0 16px;
}

.article-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin: 36px 0 12px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content a {
    color: var(--accent-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content a:hover {
    color: var(--accent);
}

.article-content blockquote {
    border-right: 3px solid var(--accent);
    padding: 16px 24px;
    margin: 28px 0;
    background: var(--accent-glow);
    border-radius: 0 12px 12px 0;
    font-style: italic;
}

.article-content pre {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    overflow-x: auto;
    margin: 24px 0;
    font-size: 14px;
    line-height: 1.6;
    direction: ltr;
    text-align: left;
}

.article-content code {
    font-family: 'IBM Plex Mono', 'Fira Code', monospace;
    background: rgba(124, 58, 237, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.article-content pre code {
    background: none;
    padding: 0;
}

.article-content ul,
.article-content ol {
    padding-right: 24px;
    margin-bottom: 20px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content img {
    border-radius: 12px;
    margin: 24px 0;
    border: 1px solid var(--border);
}

.article-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hover) 20%, var(--border-hover) 80%, transparent);
    margin: 40px 0;
}

/* ===== CATEGORY FILTER ===== */
.category-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ===== SEARCH SUGGESTIONS ===== */
.search-suggestions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

.search-input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: inherit;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.search-input::placeholder {
    color: var(--text-muted);
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 24px 30px;
    position: relative;
    z-index: 1;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 10px;
    line-height: 1.8;
}

.footer h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text);
}

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

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

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

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

.footer-bottom {
    max-width: var(--max-w);
    margin: 0 auto;
    border-top: 1px solid var(--border);
    padding-top: 20px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

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

.footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent-light);
}

/* ===== SCROLL TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 99;
    display: grid;
    place-items: center;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

/* ===== DIVIDER ===== */
.divider {
    width: 100%;
    height: 1px;
    border: none;
    background: linear-gradient(90deg, transparent, var(--border-hover) 20%, var(--border-hover) 80%, transparent);
    position: relative;
    z-index: 1;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(1, 0, 17, 0.97);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

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

.mobile-menu a {
    font-size: 22px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
}

.mobile-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 28px;
    cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .feature-highlight-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

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

@media (max-width: 640px) {
    .nav-links {
        display: none;
    }

    .nav-cta .btn-outline {
        display: none;
    }

    .hamburger {
        display: block;
    }

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

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

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

    .hero-search {
        flex-direction: column;
    }
}
