/* ============================================
   JANexus Marketing Website
   Design System & Styles
   https://janexus.ai
   ============================================ */

/* CSS Variables */
:root {
    /* Primary Colors */
    --primary-purple: #9333EA;
    --primary-pink: #EC4899;
    --primary-white: #FFFFFF;
    --primary-light-gray: #F9FAFB;

    /* Semantic Colors */
    --success: #10B981;
    --warning: #FCD34D;
    --warning-bg: #FFFBEB;
    --error: #EF4444;
    --info: #3B82F6;

    /* Text Colors */
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --text-tertiary: #9CA3AF;

    /* Border Colors */
    --border-light: #E5E7EB;
    --border-medium: #D1D5DB;

    /* Shadows */
    --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 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-purple: 0 4px 14px rgba(147, 51, 234, 0.25);

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

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 80px;
    --section-padding-mobile: 48px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--primary-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

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

/* ============================================
   Typography
   ============================================ */

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

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.btn-primary:hover {
    background: #7C22D1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.35);
}

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

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

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
}

.logo-icon {
    font-size: 1.5rem;
}

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

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-purple);
}

.nav-cta {
    display: flex;
}

.nav-cta .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    padding: 140px 0 100px;
    overflow: hidden;
    background: linear-gradient(180deg, #FAF5FF 0%, var(--primary-white) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--primary-white);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 1rem;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--text-primary);
    color: var(--primary-white);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.store-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.store-btn svg {
    width: 28px;
    height: 28px;
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-label {
    font-size: 0.7rem;
    opacity: 0.8;
}

.store-name {
    font-size: 1rem;
    font-weight: 600;
}

.store-btn.large {
    padding: 16px 28px;
}

.store-btn.large svg {
    width: 32px;
    height: 32px;
}

.store-btn.large .store-name {
    font-size: 1.1rem;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-purple);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--text-primary);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--primary-white);
    border-radius: 32px;
    overflow: hidden;
}

.app-preview {
    padding: 24px 20px;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.jan-avatar {
    font-size: 2.5rem;
}

.jan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-purple);
}

.chat-bubble {
    background: linear-gradient(135deg, #F3E8FF 0%, #FCE7F3 100%);
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.chat-bubble p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-primary);
}

.gift-card-preview {
    background: var(--primary-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.gift-image {
    height: 120px;
    background: linear-gradient(135deg, #10B981 0%, #3B82F6 100%);
}

.gift-details {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gift-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.gift-price {
    color: var(--primary-purple);
    font-weight: 700;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* ============================================
   Problem/Solution Section
   ============================================ */

.problem-solution {
    padding: var(--section-padding) 0;
    background: var(--primary-light-gray);
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.problem-card,
.solution-card {
    padding: 40px;
    border-radius: 24px;
    background: var(--primary-white);
}

.problem-card {
    border: 2px solid var(--border-light);
}

.solution-card {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
    color: var(--primary-white);
}

.problem-icon,
.solution-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.problem-card h3,
.solution-card h3 {
    margin-bottom: 20px;
}

.solution-card h3 {
    color: var(--primary-white);
}

.problem-list,
.solution-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.problem-list li,
.solution-list li {
    padding-left: 28px;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
}

.problem-list li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--error);
    font-weight: 700;
}

.solution-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* ============================================
   Meet Jan Section
   ============================================ */

.meet-jan {
    padding: var(--section-padding) 0;
}

.jan-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.jan-avatar-large {
    font-size: 5rem;
    margin-bottom: 24px;
}

.jan-intro h2 {
    margin-bottom: 20px;
}

.jan-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.jan-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.jan-feature {
    text-align: center;
    padding: 32px 24px;
    background: var(--primary-light-gray);
    border-radius: 20px;
    transition: all 0.2s ease;
}

.jan-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.jan-feature .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.jan-feature h4 {
    margin-bottom: 8px;
}

.jan-feature p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============================================
   Features Section
   ============================================ */

.features {
    padding: var(--section-padding) 0;
    background: var(--primary-light-gray);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    color: var(--primary-purple);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 16px;
}

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

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
    background: var(--primary-white);
    border-radius: 20px;
    transition: all 0.2s ease;
}

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

.feature-card.featured {
    grid-row: span 2;
    background: linear-gradient(180deg, var(--primary-white) 0%, #FAF5FF 100%);
    border: 2px solid rgba(147, 51, 234, 0.2);
}

.feature-card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-highlights {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-highlights li {
    padding-left: 24px;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.feature-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

/* ============================================
   How It Works Section
   ============================================ */

.how-it-works {
    padding: var(--section-padding) 0;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 700px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
    color: var(--primary-white);
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 16px;
}

.step-content h3 {
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials {
    padding: var(--section-padding) 0;
    background: var(--primary-light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 32px;
    background: var(--primary-white);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.testimonial-rating {
    color: #FCD34D;
    font-size: 1.25rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
    color: var(--primary-white);
    font-weight: 700;
    border-radius: 50%;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
}

.author-title {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ============================================
   Pricing Section
   ============================================ */

.pricing {
    padding: var(--section-padding) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-grid.pricing-two-tier {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    padding: 40px 32px;
    background: var(--primary-white);
    border: 2px solid var(--border-light);
    border-radius: 24px;
    position: relative;
}

.pricing-card.popular {
    border-color: var(--primary-purple);
    box-shadow: var(--shadow-purple);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
    color: var(--primary-white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 100px;
}

.pricing-header h3 {
    margin-bottom: 8px;
}

.pricing-tagline {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.pricing-price {
    margin-bottom: 24px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.price-period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-features {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.pricing-features .check {
    color: var(--success);
    font-weight: 700;
}

.pricing-card .btn {
    width: 100%;
}

/* Two-Tier Pricing Layout */
.pricing-grid.pricing-two-tier {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-grid.pricing-two-tier .pricing-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.pricing-grid.pricing-two-tier .pricing-card.popular {
    transform: none;
}

.pricing-grid.pricing-two-tier .pricing-features {
    flex: 1;
}

.pricing-grid.pricing-two-tier .pricing-features li strong {
    color: var(--primary-purple);
}

/* ============================================
   Blog Preview Section
   ============================================ */

.blog-preview {
    padding: var(--section-padding) 0;
    background: var(--primary-light-gray);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.blog-card {
    background: var(--primary-white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.2s ease;
}

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

.blog-image {
    height: 180px;
}

.blog-content {
    padding: 24px;
}

.blog-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(147, 51, 234, 0.1);
    color: var(--primary-purple);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-purple);
    transition: color 0.2s ease;
}

.blog-link:hover {
    color: var(--primary-pink);
}

.blog-cta {
    text-align: center;
}

/* ============================================
   Final CTA Section
   ============================================ */

.final-cta {
    position: relative;
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
    color: var(--primary-white);
    text-align: center;
    overflow: hidden;
}

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

.cta-content h2 {
    color: var(--primary-white);
    margin-bottom: 16px;
}

.cta-content .gradient-text {
    background: linear-gradient(135deg, #FCD34D 0%, #FBBF24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content > p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

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

.cta-note {
    font-size: 0.95rem;
    opacity: 0.8;
}

.cta-bg-gradient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    padding: 60px 0 32px;
    background: var(--text-primary);
    color: var(--primary-white);
}

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

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.95rem;
    color: var(--text-tertiary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--primary-white);
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: var(--primary-purple);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-links h4 {
    color: var(--primary-white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-tertiary);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* ============================================
   Blog Page Specific Styles
   ============================================ */

.blog-header {
    padding: 140px 0 60px;
    background: linear-gradient(180deg, #FAF5FF 0%, var(--primary-white) 100%);
    text-align: center;
}

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

.blog-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.blog-categories {
    padding: 24px 0;
    border-bottom: 1px solid var(--border-light);
}

.category-pills {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.category-pill {
    padding: 10px 20px;
    background: var(--primary-light-gray);
    border: 2px solid transparent;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-pill:hover,
.category-pill.active {
    background: rgba(147, 51, 234, 0.1);
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

.featured-post {
    padding: var(--section-padding) 0;
}

.featured-blog-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--primary-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.featured-image {
    height: 400px;
    position: relative;
}

.featured-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    padding: 6px 16px;
    background: var(--primary-white);
    color: var(--primary-purple);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-content {
    padding: 40px;
}

.featured-content h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    line-height: 1.3;
}

.featured-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.featured-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

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

.blog-listing {
    padding: 0 0 var(--section-padding);
}

.blog-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.load-more {
    text-align: center;
}

/* Newsletter */
.newsletter {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #FAF5FF 0%, #FCE7F3 100%);
}

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

.newsletter-content h2 {
    margin-bottom: 12px;
}

.newsletter-content > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.newsletter-form input:focus {
    border-color: var(--primary-purple);
}

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

/* ============================================
   Blog Article Page Styles
   ============================================ */

.blog-article {
    padding-top: 72px;
}

.article-header {
    padding: 60px 0 40px;
    background: linear-gradient(180deg, #FAF5FF 0%, var(--primary-white) 100%);
    text-align: center;
}

.back-link {
    display: inline-block;
    font-size: 0.95rem;
    color: var(--primary-purple);
    margin-bottom: 24px;
    transition: color 0.2s ease;
}

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

.article-header h1 {
    font-size: 2.75rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-excerpt {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 24px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.meta-divider {
    color: var(--text-tertiary);
}

.article-hero {
    height: 400px;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 24px;
}

.article-content {
    padding: var(--section-padding) 0;
}

.content-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.content-wrapper p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.content-wrapper p.lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.content-wrapper h2 {
    font-size: 1.75rem;
    margin-top: 48px;
    margin-bottom: 20px;
}

.content-wrapper h3 {
    font-size: 1.35rem;
    margin-top: 36px;
    margin-bottom: 16px;
}

.content-wrapper blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    background: linear-gradient(135deg, #FAF5FF 0%, #FCE7F3 100%);
    border-left: 4px solid var(--primary-purple);
    border-radius: 0 16px 16px 0;
}

.content-wrapper blockquote p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 0;
}

.tip-box {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    border-radius: 16px;
    margin: 32px 0;
}

.tip-icon {
    font-size: 1.5rem;
}

.tip-content {
    flex: 1;
}

.tip-content strong {
    color: #059669;
}

.cta-box {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
    border-radius: 20px;
    margin: 48px 0;
    color: var(--primary-white);
}

.cta-box h3 {
    color: var(--primary-white);
    margin-bottom: 12px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.author-box {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 32px;
    background: var(--primary-light-gray);
    border-radius: 20px;
    margin: 48px auto;
    max-width: 700px;
}

.author-box .author-avatar {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
    color: var(--primary-white);
    font-weight: 700;
    border-radius: 50%;
    font-size: 1.25rem;
}

.author-box .author-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.author-box p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.related-posts {
    max-width: 700px;
    margin: 0 auto;
    padding-top: 48px;
    border-top: 1px solid var(--border-light);
}

.related-posts h3 {
    margin-bottom: 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.related-card {
    display: block;
    background: var(--primary-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s ease;
}

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

.related-image {
    height: 120px;
}

.related-content {
    padding: 16px;
}

.related-content h4 {
    font-size: 1rem;
    line-height: 1.4;
}

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

@media (max-width: 1024px) {
    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

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

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

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

    .feature-card.featured {
        grid-row: auto;
    }

    .testimonials-grid,
    .blog-grid,
    .blog-grid-full {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .featured-blog-card {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: var(--section-padding-mobile);
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

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

    .hero {
        padding: 120px 0 60px;
    }

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

    .store-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .jan-features {
        grid-template-columns: 1fr;
    }

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

    .pricing-grid.pricing-two-tier {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

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

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

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

    .category-pills {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 12px;
        flex-wrap: nowrap;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .article-header h1 {
        font-size: 2rem;
    }

    .article-hero {
        height: 250px;
        border-radius: 16px;
        margin: 0 16px;
    }

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

/* ============================================
   Animations
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.section-header,
.feature-card,
.testimonial-card,
.pricing-card,
.blog-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Stagger animations */
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
