/* ===== Howmio AI - Design System ===== */

/* CSS Variables */
:root {
    /* Brand Colors */
    --brand-primary: #2048D0;
    --brand-primary-light: #3B5FE0;
    --brand-primary-dark: #1A3AB0;
    --brand-gradient: linear-gradient(135deg, #2048D0 0%, #5B7FFF 100%);

    /* Neutral Colors - Light Theme */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-tertiary: #F0F2F5;
    --bg-card: #FFFFFF;
    --bg-card-hover: rgba(32, 72, 208, 0.05);

    /* Text Colors - Light Theme */
    --text-primary: #1A1A1A;
    --text-secondary: #5A5A5A;
    --text-tertiary: #8A8A8A;

    /* Border & Divider */
    --border-color: rgba(0, 0, 0, 0.12);
    --border-hover: rgba(32, 72, 208, 0.4);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-brand: 0 8px 24px rgba(32, 72, 208, 0.25);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --spacing-3xl: 96px;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Sections */
section {
    padding: calc(var(--spacing-3xl) * 1.5) 0;
}

section+section {
    margin-top: var(--spacing-2xl);
}

.section-header {
    text-align: center;
    margin-bottom: calc(var(--spacing-2xl) * 1.5);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(32, 72, 208, 0.08);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--brand-primary);
    border: 1px solid rgba(32, 72, 208, 0.15);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    transition: opacity 0.3s ease;
}

.section-title {
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
}

p {
    font-size: 0.75rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-wide {
    max-width: 1400px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: none;
    transition: all 0.3s ease;
}

/* 只在首页使用透明Header */
.home-page header {
    background: transparent;
    backdrop-filter: none;
}

.home-page header .logo,
.home-page header .nav-links a {
    color: white;
    transition: color 0.3s ease;
}

.home-page header .logo img {
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.home-page header .menu-toggle span {
    background: white;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
}

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

header.scrolled .logo img {
    filter: none;
}

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

header.scrolled .menu-toggle span {
    background: var(--text-primary);
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) 0;
    min-height: 68px;
    position: relative;
}

.logo {
    position: absolute;
    left: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    display: block;
    transition: opacity 0.3s ease;
}

/* 当Logo图片加载失败时显示文字 */
.logo img[style*="display: none"]~span,
.logo img:not([src])~span {
    display: inline;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    list-style: none;
}

.nav-links a {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: var(--bg-card-hover);
}

.nav-links a.active {
    color: var(--brand-primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    position: absolute;
    right: var(--spacing-md);
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: white;
    color: var(--brand-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid transparent;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    border-color: var(--brand-primary);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero {
    position: relative;
    padding: calc(88px + var(--spacing-3xl)) 0 var(--spacing-3xl);
    overflow: hidden;
}

.hero-fullscreen {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(88px + var(--spacing-3xl)) 0 var(--spacing-3xl);
}

/* Hero Background Slider */
.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-bg-slide.active {
    opacity: 1;
}

/* Hero Slider Dots */
.hero-slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 12px;
    z-index: 10;
}

.hero-slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.hero-slider-dots .dot.active {
    background: white;
    border-color: var(--brand-primary);
    box-shadow: 0 0 10px rgba(32, 72, 208, 0.5);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    transition: opacity 0.3s ease;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

/* 只在首页Hero使用白色文字 */
.home-page .hero-title {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.home-page .hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 20px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
}

.hero-buttons .btn {
    padding: 12px 28px;
    font-size: 0.95rem;
}

.hero-image {
    margin-top: var(--spacing-xl);
    position: relative;
}

.hero-mockup {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid transparent;
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
}

/* Grid Layouts */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: calc(var(--spacing-2xl) * 1.5);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-top: calc(var(--spacing-2xl) * 1.5);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-top: calc(var(--spacing-2xl) * 1.5);
}

/* Feature Tabs */
.feature-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-md);
}

.feature-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-family);
}

.feature-tab:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.feature-tab.active {
    background: var(--brand-primary);
    color: white;
    font-weight: 600;
    border-color: var(--brand-primary);
    box-shadow: 0 4px 16px rgba(32, 72, 208, 0.3);
}

.tab-icon {
    font-size: 1.2rem;
}

.tab-text {
    white-space: nowrap;
}

/* Feature Display */
.feature-display {
    margin-top: var(--spacing-2xl);
}

.feature-visual {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto var(--spacing-lg);
}

.feature-screenshot {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-screenshot.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.6s ease-out;
}

.feature-description-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg) var(--spacing-md);
}

.feature-desc {
    display: none;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-desc.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tech Card */
.tech-item {
    background: var(--bg-card);
    border: 1px solid transparent;
    border-radius: 20px;
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.tech-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.tech-item-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.tech-item-title {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.tech-item-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    padding: var(--spacing-sm);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    box-shadow: var(--shadow-sm);
}

.pricing-card.featured {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-brand);
    transform: scale(1.02);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    right: var(--spacing-sm);
    background: var(--brand-gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.pricing-header {
    text-align: center;
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

.pricing-name {
    font-size: 1rem;
    margin-bottom: 4px;
}

.pricing-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brand-primary);
    margin-bottom: 4px;
}

.pricing-price span {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-period {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.pricing-features {
    list-style: none;
    margin: var(--spacing-xs) 0;
    flex-grow: 1;
}

.pricing-features li {
    padding: 4px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
}

.pricing-features li::before {
    content: '✓';
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 1rem;
}

.pricing-button {
    width: 100%;
    margin-top: var(--spacing-xs);
}

.pricing-button .btn {
    padding: 4px 10px;
    font-size: 0.7rem;
    background: #1a1a1a;
    color: white;
    box-shadow: none;
}

.pricing-button .btn:hover {
    background: #000;
    transform: translateY(-1px);
}

/* Billing Content Switcher */
.billing-switcher {
    display: inline-flex;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 4px;
    gap: 4px;
    border: 1px solid var(--border-color);
}

.switcher-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: var(--font-family);
}

.switcher-option:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.05);
}

.switcher-option.active {
    background: white;
    color: var(--text-primary);
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.switcher-badge {
    background: var(--brand-gradient);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Pricing Card Selected State */
.pricing-card {
    cursor: pointer;
    user-select: none;
}

.pricing-card.selected {
    border-color: var(--brand-primary);
    border-width: 2px;
    box-shadow: 0 0 0 3px rgba(32, 72, 208, 0.1);
    transform: translateY(-2px);
}

.pricing-card.selected .pricing-name::after {
    content: '✓';
    display: inline-block;
    margin-left: 8px;
    color: var(--brand-primary);
    font-weight: 700;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    border-top: none;
    padding: var(--spacing-2xl) 0 calc(var(--spacing-md) + 20px);
    font-size: 0.875rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-right {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
}

.footer-section {
    padding-left: var(--spacing-sm);
    display: flex;
    flex-direction: column;
}

.footer-section:first-child {
    padding-left: 20px;
}

.footer-section .logo {
    position: static;
    left: auto;
}

.footer-section h3 {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
}

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

.footer-section li {
    margin-bottom: var(--spacing-xs);
}

.footer-section a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.footer-section a:hover {
    color: var(--brand-primary);
}

.footer-section p {
    font-size: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-md);
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.2rem;
}

/* Changelog */
.changelog-item {
    background: var(--bg-card);
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    scroll-margin-top: 108px;
}

.changelog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.changelog-version {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.changelog-date {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.changelog-content ul {
    list-style: none;
    padding-left: 0;
}

.changelog-content li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-md);
    position: relative;
}

.changelog-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-weight: 700;
}

/* Changelog Sidebar Navigation */
aside nav a {
    position: relative;
}

aside nav a:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary) !important;
}

aside nav a:hover div:first-child {
    color: var(--brand-primary) !important;
}

/* Active state for changelog sidebar */
aside nav a.active div:first-child {
    color: var(--brand-primary) !important;
    font-weight: 700;
}

aside nav a.active div:last-child {
    color: var(--brand-primary) !important;
    font-weight: 600;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--text-primary);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(32, 72, 208, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 100px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--spacing-md);
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid var(--border-color);
    }

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

    .menu-toggle {
        display: flex;
    }

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

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

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

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

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

    section {
        padding: var(--spacing-2xl) 0;
    }

    /* Contact page two-column layout to single column on mobile */
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Footer columns stack on mobile */
    .footer-content {
        grid-template-columns: 1fr !important;
    }

    /* Pricing grid responsive */
    .pricing-grid {
        grid-template-columns: 1fr !important;
    }

    /* Tech grid responsive */
    .tech-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Hide changelog sidebar on mobile */
    aside {
        display: none !important;
    }

    /* Make changelog single column on mobile */
    div[style*="grid-template-columns: 250px 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for all links */
html {
    scroll-padding-top: 100px;
}

/* Selection */
::selection {
    background: var(--brand-primary);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-primary);
}