/* ===== Variables ===== */
:root {
    --bg-dark: #0f172a;
    --bg-darker: #0a0f1a;
    --bg-card: #1e293b;
    --bg-card-hover: #263548;
    --purple: #9333ea;
    --purple-light: #a855f7;
    --teal: #4adec8;
    --pink: #ec4899;
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --font-display: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(180deg, var(--bg-dark) 0%, #1a1f35 50%, var(--bg-dark) 100%);
    background-attachment: fixed;
    color: var(--gray-400);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* ===== Cosmic Background ===== */
.cosmic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.3);
}

.star:nth-child(1) { top: 8%; left: 15%; }
.star:nth-child(2) { top: 12%; left: 78%; }
.star:nth-child(3) { top: 25%; left: 8%; }
.star:nth-child(4) { top: 35%; left: 92%; }
.star:nth-child(5) { top: 48%; left: 12%; }
.star:nth-child(6) { top: 62%; left: 85%; }
.star:nth-child(7) { top: 75%; left: 22%; }
.star:nth-child(8) { top: 88%; left: 65%; }
.star:nth-child(9) { top: 5%; left: 45%; }
.star:nth-child(10) { top: 55%; left: 55%; }
.star:nth-child(11) { top: 70%; left: 5%; }
.star:nth-child(12) { top: 92%; left: 35%; }
.star:nth-child(13) { top: 18%; left: 38%; }
.star:nth-child(14) { top: 42%; left: 72%; }
.star:nth-child(15) { top: 65%; left: 48%; }
.star:nth-child(16) { top: 82%; left: 18%; }
.star:nth-child(17) { top: 33%; left: 25%; }
.star:nth-child(18) { top: 58%; left: 88%; }
.star:nth-child(19) { top: 15%; left: 62%; }
.star:nth-child(20) { top: 78%; left: 42%; }

/* Floating dots */
.dot {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.dot-teal {
    background: var(--teal);
    box-shadow: 0 0 12px var(--teal);
}

.dot-purple {
    background: var(--purple-light);
    box-shadow: 0 0 12px var(--purple-light);
}

.dot-pink {
    background: var(--pink);
    box-shadow: 0 0 10px var(--pink);
}

.dot:nth-child(1) { width: 8px; height: 8px; top: 15%; left: 8%; animation-delay: 0s; }
.dot:nth-child(2) { width: 6px; height: 6px; top: 28%; right: 12%; animation-delay: 1s; }
.dot:nth-child(3) { width: 5px; height: 5px; top: 55%; left: 5%; animation-delay: 2s; }
.dot:nth-child(4) { width: 10px; height: 10px; top: 72%; right: 8%; animation-delay: 0.5s; }
.dot:nth-child(5) { width: 4px; height: 4px; top: 40%; left: 3%; animation-delay: 3s; }
.dot:nth-child(6) { width: 7px; height: 7px; top: 85%; left: 15%; animation-delay: 1.5s; }
.dot:nth-child(7) { width: 6px; height: 6px; top: 45%; right: 5%; animation-delay: 2.5s; }
.dot:nth-child(8) { width: 5px; height: 5px; top: 65%; left: 92%; animation-delay: 0.8s; }

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

/* Main content sits above cosmic bg */
.site-wrapper {
    position: relative;
    z-index: 1;
}

.site-wrapper main {
    padding-top: 80px;
}

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

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

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

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: var(--font-body);
    color: var(--white);
    line-height: 1.2;
}

.teal { color: var(--teal); }
.purple { color: var(--purple); }
.pink { color: var(--pink); }

/* ===== Header & Navigation ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s, box-shadow 0.2s;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-icon {
    width: 48px;
    height: 48px;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
}

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

.nav-links a {
    color: var(--gray-400);
    font-size: 15px;
    font-weight: 500;
}

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

.nav-link-blog {
    color: var(--teal) !important;
    font-weight: 600 !important;
}

.nav-link-blog:hover {
    color: var(--white) !important;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

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

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

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

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

.btn-teal {
    background: var(--teal);
    color: var(--bg-dark);
}

.btn-teal:hover {
    background: #3ecdb8;
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: var(--purple);
    border: 2px solid var(--purple);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(147, 51, 234, 0.3);
}

.btn-outline:hover {
    background: var(--purple-light);
    border-color: var(--purple-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.4);
}

/* ===== Hero Section ===== */
.hero {
    text-align: center;
    padding: 60px 24px 24px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 32px;
}

.hero-brand {
    font-family: var(--font-display);
    font-size: clamp(40px, 7vw, 56px);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--teal);
    text-transform: uppercase;
    margin-bottom: 56px;
}

/* Feature pills */
.pills {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.pill {
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
}

.pill-filled {
    background: var(--purple);
    color: var(--white);
}

.pill-outline {
    background: transparent;
    border: 1.5px solid var(--teal);
    color: var(--teal);
}

.hero-divider {
    width: 60px;
    height: 1px;
    background: rgba(148, 163, 184, 0.3);
    margin: 0 auto 48px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(74, 222, 200, 0.1);
    border: 1px solid rgba(74, 222, 200, 0.3);
    color: var(--teal);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto 12px;
    line-height: 1.7;
}

/* Hero form */
.hero-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto 24px;
}

.hero-form .form-input {
    text-align: center;
}

.hero-social {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
}

.hero-social a {
    color: var(--gray-500);
    font-size: 14px;
}

.hero-social a:hover {
    color: var(--teal);
}

/* ===== Sections ===== */
.section {
    padding: 80px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.section-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.section-title {
    font-size: clamp(22px, 3vw, 30px);
    margin-bottom: 20px;
    font-weight: 600;
}

.section-text {
    font-size: 17px;
    line-height: 1.7;
    max-width: 600px;
}

/* ===== Two Column Layout ===== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 768px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ===== Feature List ===== */
.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
}

.feature-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--teal);
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

/* ===== Slideshow ===== */
.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.slideshow {
    position: relative;
    width: 100%;
    min-height: 280px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-dark);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

/* Styled slide cards */
.slide-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 32px 36px;
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.slide-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 24px;
    bottom: 24px;
    width: 4px;
    border-radius: 2px;
}

.slide-card.accent-purple::before { background: var(--purple); }
.slide-card.accent-teal::before { background: var(--teal); }
.slide-card.accent-pink::before { background: var(--pink); }

.slide-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.slide-card-title {
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    padding-left: 16px;
    text-align: left;
}

.slide-card-number {
    font-family: var(--font-body);
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.slide-card.accent-purple .slide-card-number { color: var(--purple); }
.slide-card.accent-teal .slide-card-number { color: var(--teal); }
.slide-card.accent-pink .slide-card-number { color: var(--pink); }

.slide-card-subtitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    padding-left: 16px;
    text-align: left;
}

.slide-card.accent-purple .slide-card-subtitle { color: var(--purple-light); }
.slide-card.accent-teal .slide-card-subtitle { color: var(--teal); }
.slide-card.accent-pink .slide-card-subtitle { color: var(--pink); }

.slide-card-description {
    font-size: 15px;
    color: var(--gray-400);
    line-height: 1.6;
    padding-left: 16px;
    max-width: 480px;
    text-align: left;
}

.slide-card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 16px;
    margin-top: 24px;
}

.slide-card-footer::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--pink);
    border-radius: 50%;
}

.slide-card-footer span {
    font-size: 14px;
    color: var(--white);
    font-weight: 500;
}

.slideshow-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.slideshow-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
    /* Increase touch target without increasing visual size */
    padding: 0;
    position: relative;
}

/* Larger invisible touch target for mobile */
.slideshow-dot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.slideshow-dot.active {
    background: var(--teal);
    transform: scale(1.2);
}

.slideshow-dot:hover {
    background: var(--gray-400);
}

/* ===== Steps ===== */
.steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step {
    text-align: center;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.step-text {
    font-size: 17px;
    color: var(--gray-400);
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* ===== Form Section ===== */
.form-section {
    text-align: center;
    padding: 80px 24px;
    max-width: 600px;
    margin: 0 auto;
}

.form-section .section-title {
    font-style: normal;
}

.form-section .section-text {
    margin: 0 auto 40px;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-message {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 15px;
    text-align: center;
    display: none;
}

.form-message:not(:empty) {
    display: block;
}

.form-message-success {
    background: rgba(74, 222, 200, 0.1);
    border: 1px solid rgba(74, 222, 200, 0.3);
    color: var(--teal);
}

.form-message-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* Honeypot fields - hidden from humans */
.form-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

.form-input,
.form-select {
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 16px;
    font-family: var(--font-body);
    width: 100%;
    transition: all 0.2s;
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--teal);
    background: rgba(255, 255, 255, 0.08);
}

/* Custom Dropdown */
.custom-select {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--gray-400);
    font-size: 16px;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.custom-select-trigger.has-value {
    color: var(--white);
}

.custom-select-trigger:hover {
    border-color: var(--gray-400);
    background: rgba(255, 255, 255, 0.08);
}

.custom-select.open .custom-select-trigger {
    border-color: var(--teal);
    background: rgba(255, 255, 255, 0.08);
}

.custom-select-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.2s;
}

.custom-select.open .custom-select-arrow {
    transform: rotate(180deg);
}

.custom-select-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s;
    z-index: 500;
    max-height: 240px;
    overflow-y: auto;
}

.custom-select.open .custom-select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-select-option {
    padding: 14px 20px;
    color: var(--gray-300);
    cursor: pointer;
    transition: all 0.15s;
    text-align: left;
}

.custom-select-option:hover {
    background: rgba(147, 51, 234, 0.2);
    color: var(--white);
}

.custom-select-option.selected {
    background: var(--purple);
    color: var(--white);
}

/* Hidden native select for form submission */
.custom-select select {
    display: none;
}

/* ===== Footer ===== */
.footer {
    padding: 48px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-darker);
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--purple);
    color: var(--gray-400);
    transition: all 0.2s;
}

.footer-icon:hover {
    background: var(--purple);
    color: var(--white);
    border-color: var(--purple);
}

.footer-text {
    font-size: 14px;
    color: var(--gray-500);
}

/* ===== Blog Listing ===== */
.blog-header {
    text-align: center;
    padding: 60px 24px 48px;
    max-width: 1100px;
    margin: 0 auto;
}

.blog-header .section-title {
    margin-bottom: 16px;
}

.blog-header .section-text {
    margin: 0 auto;
}

.post-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.post-card-wrapper {
    position: relative;
}

.post-card-share {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 10;
}

.post-card-wrapper:hover .post-card-share {
    opacity: 1;
}

.post-card-share .share-btn-sm {
    width: 32px;
    height: 32px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.post-card-share .share-btn-sm:hover {
    background: var(--purple);
    border-color: var(--purple);
    color: var(--white);
}

.post-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    max-width: 520px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.post-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    color: inherit;
}

.post-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(135deg, var(--purple) 0%, var(--bg-card) 100%);
}

.post-card-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.3) 0%, var(--bg-card) 50%, rgba(74, 222, 200, 0.2) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-card-image-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.3;
}

.post-card-content {
    padding: 32px 36px 36px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card-date {
    font-size: 12px;
    color: var(--teal);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.post-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.35;
    color: var(--white);
    transition: color 0.2s;
}

.post-card:hover .post-card-title {
    color: var(--teal);
}

.post-card-excerpt {
    font-size: 16px;
    color: var(--gray-400);
    line-height: 1.8;
    flex: 1;
}

.post-card-link {
    margin-top: 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--purple-light);
}

.post-card-link:hover {
    color: var(--teal);
}

@media (max-width: 640px) {
    .post-list {
        grid-template-columns: 1fr;
    }
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px 32px 0;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    font-size: 14px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-item:not(:last-child)::after {
    content: "›";
    color: var(--gray-500);
}

.breadcrumb-item a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: var(--teal);
}

.breadcrumb-current {
    color: var(--gray-500);
}

/* ===== Blog Post ===== */
.post {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 32px 100px;
}

.post-header {
    margin-bottom: 48px;
}

.post-back-link {
    display: inline-block;
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 32px;
    transition: color 0.2s;
}

.post-back-link:hover {
    color: var(--teal);
}

.post-date {
    font-size: 13px;
    color: var(--teal);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.post-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.post-title {
    font-size: clamp(28px, 4vw, 36px);
    margin-bottom: 0;
    font-style: normal;
    line-height: 1.3;
}

@media (max-width: 640px) {
    .post-title-row {
        flex-direction: column;
        gap: 16px;
    }

    .post-title-row .share-buttons-inline {
        align-self: flex-start;
    }
}

.post-excerpt {
    font-size: 18px;
    color: var(--gray-400);
    line-height: 1.65;
    margin-bottom: 0;
}

.post-featured-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    margin-bottom: 56px;
}

.post-footer {
    margin-top: 80px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.post-footer-cta {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.post-footer-cta p {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 24px;
}

.back-link {
    display: inline-block;
    font-size: 15px;
    color: var(--gray-400);
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--teal);
}

/* ===== Prose (Blog Content) ===== */
.prose {
    font-size: 16px;
    line-height: 1.85;
    color: var(--gray-300);
}

.prose h2 {
    font-size: 24px;
    margin-top: 56px;
    margin-bottom: 20px;
    color: var(--white);
}

.prose h3 {
    font-size: 20px;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--white);
}

.prose p {
    margin-bottom: 24px;
}

.prose ul, .prose ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.prose li {
    margin-bottom: 10px;
    line-height: 1.75;
}

.prose strong {
    color: var(--white);
    font-weight: 600;
}

.prose blockquote {
    border-left: 4px solid var(--purple);
    padding: 20px 24px;
    margin: 32px 0;
    font-style: italic;
    color: var(--gray-300);
    font-size: 17px;
    background: rgba(147, 51, 234, 0.08);
    border-radius: 0 12px 12px 0;
}

.prose code {
    background: var(--bg-card);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
    color: var(--teal);
}

.prose pre {
    background: var(--bg-card);
    padding: 28px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 40px 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.prose pre code {
    background: none;
    padding: 0;
    color: var(--gray-300);
}

.prose a {
    color: var(--teal);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}

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

.prose img {
    border-radius: 12px;
    margin: 48px 0;
}

.prose hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 48px 0;
}

/* ===== Share Buttons ===== */
.share-section {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.share-label {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-400);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn-x:hover {
    background: #000;
    border-color: #000;
    color: var(--white);
}

.share-btn-linkedin:hover {
    background: #0A66C2;
    border-color: #0A66C2;
    color: var(--white);
}

.share-btn-facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: var(--white);
}

.share-btn-copy:hover {
    background: var(--purple);
    border-color: var(--purple);
    color: var(--white);
}

.share-btn-copy.copied {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--bg-dark);
}

/* Inline share buttons (small) */
.share-buttons-inline {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.share-btn-sm {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.share-btn-sm:hover {
    background: var(--bg-card);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.25);
}

.share-btn-sm.copied {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--bg-dark);
}

/* ===== Responsive ===== */

/* Tablet and below - show hamburger menu */
@media (max-width: 480px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: min(280px, 80vw);
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        padding: 80px 40px;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 17px;
    }

    .nav-links .btn-small {
        padding: 12px 22px;
        font-size: 15px;
    }

    /* Overlay when menu is open */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }

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

@media (max-width: 640px) {
    .site-wrapper main {
        padding-top: 70px;
    }

    .nav {
        padding: 14px 20px;
    }

    .nav-logo-icon {
        width: 36px;
        height: 36px;
    }

    .nav-logo-text {
        font-size: 22px;
    }

    .hero {
        padding: 40px 20px 60px;
    }

    .hero-logo {
        width: 100px;
        height: 100px;
    }

    .pills {
        gap: 8px;
    }

    .pill {
        padding: 10px 18px;
        font-size: 13px;
    }

    .section-card {
        padding: 32px 24px;
    }

    .two-col {
        gap: 32px;
    }

    .slideshow-container {
        max-width: 100%;
    }

    .slideshow {
        min-height: 300px;
    }

    .slide-card {
        padding: 24px 20px;
    }

    .slide-card-title {
        font-size: 18px;
    }

    .slide-card-number {
        font-size: 26px;
    }

    .slide-card-subtitle {
        font-size: 16px;
    }

    .slide-card-description {
        font-size: 14px;
    }

    /* Scale down CTA buttons on mobile */
    .btn {
        padding: 14px 26px;
        font-size: 15px;
    }

    .btn-small {
        padding: 9px 18px;
        font-size: 13px;
    }
}

/* Between 480px and 640px - keep nav links visible but smaller */
@media (min-width: 481px) and (max-width: 640px) {
    .nav-links {
        gap: 16px;
    }

    .nav-links > a:not(.btn) {
        font-size: 14px;
    }

    .btn-small {
        padding: 8px 18px;
        font-size: 13px;
    }
}

/* Very small screens - smaller logo text */
@media (max-width: 360px) {
    .nav-logo-text {
        font-size: 18px;
    }

    .nav-logo-icon {
        width: 32px;
        height: 32px;
    }

    .btn {
        padding: 12px 22px;
        font-size: 14px;
    }

    .btn-small {
        padding: 8px 16px;
        font-size: 12px;
    }
}
