/* ============================================
   Newsletter Landing Page Styles
   Premium, Vibrant, Professional Design
   ============================================ */

/* CSS Variables */
:root {
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --secondary: #EC4899;
    --accent-1: #FF6B6B;
    --accent-2: #9B59B6;
    --accent-3: #3498DB;
    --accent-4: #2ECC71;
    --accent-5: #F39C12;

    --dark: #0F172A;
    --dark-light: #1E293B;
    --dark-lighter: #334155;

    --light: #F8FAFC;
    --light-dark: #E2E8F0;
    --light-darker: #CBD5E1;

    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;

    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #FF6B6B 0%, #9B59B6 50%, #3498DB 100%);
    --gradient-warm: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-cool: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-sunset: linear-gradient(135deg, #fa709a 0%, #fee140 100%);

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 40px -10px;

    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', var(--font-sans);
}

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

html {
    scroll-behavior: smooth;
}

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

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

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-1);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-2);
    bottom: -150px;
    left: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

.orb-4 {
    width: 300px;
    height: 300px;
    background: var(--accent-4);
    bottom: 20%;
    right: 10%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.95);
    }
    75% {
        transform: translate(-50px, -30px) scale(1.05);
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 2rem;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

.btn-nav {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(102, 126, 234, 0.5);
}

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top right, rgba(99, 102, 241, 0.1), transparent 50%),
                radial-gradient(ellipse at bottom left, rgba(236, 72, 153, 0.1), transparent 50%);
    pointer-events: none;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-4);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-subtitle {
    display: block;
    font-size: 0.6em;
    color: var(--text-secondary);
    font-weight: 400;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
}

.btn-primary svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -15px rgba(102, 126, 234, 0.5);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 2px solid var(--light-dark);
}

.btn-secondary svg {
    width: 20px;
    height: 20px;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--light-dark);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.newsletter-preview-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    width: 100%;
    max-width: 450px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.newsletter-preview-card:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--dark);
    color: white;
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-1);
}

.preview-dots span:nth-child(2) {
    background: var(--accent-5);
}

.preview-dots span:nth-child(3) {
    background: var(--accent-4);
}

.preview-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    flex: 1;
    text-align: center;
}

.preview-content {
    padding: 1rem;
    background: var(--light);
}

/* Mini Newsletter */
.mini-newsletter {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.mini-header {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mini-logo {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.3);
    border-radius: var(--radius-sm);
}

.mini-nav {
    display: flex;
    gap: 0.5rem;
}

.mini-nav span {
    width: 30px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 4px;
}

.mini-hero-img {
    height: 100px;
    background: linear-gradient(135deg, #f5af19 0%, #f12711 100%);
    position: relative;
}

.mini-hero-img::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 30px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
}

.mini-content {
    padding: 1rem;
}

.mini-title {
    height: 16px;
    width: 80%;
    background: var(--dark);
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.mini-text {
    height: 10px;
    width: 100%;
    background: var(--light-dark);
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.mini-text.short {
    width: 60%;
}

.mini-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 0 1rem 1rem;
}

.mini-card {
    background: var(--light);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
}

.mini-card-img {
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
}

.mini-card-text {
    height: 8px;
    width: 80%;
    background: var(--light-dark);
    border-radius: 4px;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.float-card {
    position: absolute;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    animation: floatCard 6s ease-in-out infinite;
}

.float-card svg {
    width: 20px;
    height: 20px;
}

.float-1 {
    top: 10%;
    left: 0;
    color: var(--accent-1);
    animation-delay: 0s;
}

.float-2 {
    top: 40%;
    right: -20px;
    color: var(--accent-2);
    animation-delay: -2s;
}

.float-3 {
    bottom: 15%;
    left: 10%;
    color: var(--accent-3);
    animation-delay: -4s;
}

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

/* Sections Common */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    background: var(--gradient-accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

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

/* Features Section */
.features-section {
    padding: 8rem 0;
    position: relative;
}

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

.feature-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition-base);
    border: 1px solid var(--light-dark);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-large {
    grid-column: span 1;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--accent, #667eea) 0%, transparent 100%);
    background-color: rgba(99, 102, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent, var(--primary));
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

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

.feature-visual {
    margin-top: auto;
    padding-top: 1.5rem;
}

.drag-demo {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.drag-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--light);
    border-radius: var(--radius-md);
    border: 2px dashed var(--light-dark);
    font-weight: 500;
    cursor: grab;
    transition: all var(--transition-fast);
}

.drag-item:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.drag-item span {
    font-size: 1.25rem;
}

/* Formats Section */
.formats-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--light) 0%, white 100%);
}

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

.format-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    border: 1px solid var(--light-dark);
    transition: all var(--transition-base);
    position: relative;
}

.format-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.format-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.format-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.format-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.format-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.format-icon svg {
    width: 64px;
    height: 64px;
}

.print-icon { color: var(--accent-1); }
.email-icon { color: var(--accent-2); }
.web-icon { color: var(--accent-3); }

.format-card h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.format-card > p {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 1.5rem;
}

.format-features {
    list-style: none;
}

.format-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--light-dark);
    color: var(--text-secondary);
}

.format-features li svg {
    width: 20px;
    height: 20px;
    color: var(--accent-4);
    flex-shrink: 0;
}

/* Demo Section */
.demo-section {
    padding: 8rem 0;
    background: var(--dark);
    color: white;
}

.demo-section .section-tag {
    background: rgba(255,255,255,0.1);
}

.demo-section .section-header h2 {
    color: white;
}

.demo-section .section-header p {
    color: var(--light-darker);
}

.demo-container {
    max-width: 1000px;
    margin: 0 auto;
}

.demo-controls {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.demo-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--dark-light);
    border: 2px solid var(--dark-lighter);
    border-radius: var(--radius-full);
    color: var(--light-darker);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.demo-tab svg {
    width: 20px;
    height: 20px;
}

.demo-tab:hover {
    border-color: var(--primary);
    color: white;
}

.demo-tab.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.demo-frame {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.demo-newsletter {
    max-height: 600px;
    overflow-y: auto;
}

/* Sample Newsletter Styles */
.sample-newsletter {
    display: none;
}

.sample-newsletter.active {
    display: block;
}

/* Web View */
.web-view .sample-header {
    background: var(--dark);
}

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

.sample-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-emblem {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #C0C0C0, #A0A0A0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--dark);
    border: 3px solid #D4AF37;
}

.logo-emblem.small {
    width: 40px;
    height: 40px;
    font-size: 0.75rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 700;
    color: white;
    font-size: 1.125rem;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--light-darker);
}

.sample-menu {
    display: flex;
    gap: 2rem;
}

.sample-menu a {
    color: var(--light-darker);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.sample-menu a:hover {
    color: white;
}

.sample-hero {
    position: relative;
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.edition-badge {
    display: inline-block;
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    color: var(--dark);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
}

.sample-hero h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 0.5rem;
    position: relative;
}

.sample-hero p {
    color: var(--light-darker);
    font-size: 1.125rem;
    position: relative;
}

.sample-content {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--light-dark);
}

.article-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.image-placeholder {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.sunset-drive {
    background: linear-gradient(180deg, #ff9a56 0%, #ff6b6b 30%, #c44569 60%, #1e3799 100%);
}

.sunset-drive .car-silhouette {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 40px;
    background: #111;
    border-radius: 10px 10px 5px 5px;
}

.sunset-drive .car-silhouette::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 20px;
    width: 80px;
    height: 20px;
    background: #111;
    border-radius: 10px 10px 0 0;
}

.tech-talk {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.member-spotlight {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.upcoming-events {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.article-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.article-body h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.article-body p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

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

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.article-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--light-dark);
    transition: all var(--transition-fast);
}

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

.card-image .image-placeholder {
    height: 150px;
}

.card-content {
    padding: 1.25rem;
}

.card-tag {
    display: inline-block;
    background: var(--light);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.card-content h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.card-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.card-content .read-more {
    font-size: 0.875rem;
}

.quick-links {
    background: var(--light);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.quick-links h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

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

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.quick-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--primary);
}

.quick-link svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.sample-footer {
    background: var(--dark);
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--dark-lighter);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--light-darker);
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--light-darker);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-light);
    border-radius: 50%;
    color: var(--light-darker);
    transition: all var(--transition-fast);
}

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

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

.footer-bottom {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.made-with {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Email View */
.email-view .email-frame {
    max-width: 600px;
    margin: 0 auto;
    background: var(--light);
}

.email-header {
    background: var(--dark-light);
    padding: 1rem;
    font-size: 0.875rem;
    color: var(--light-darker);
}

.email-meta strong {
    color: var(--light-dark);
}

.email-body {
    background: white;
}

.email-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 2rem;
    text-align: center;
    color: white;
}

.email-banner .logo-emblem {
    margin: 0 auto 1rem;
}

.email-banner h2 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.email-banner p {
    font-size: 0.875rem;
    color: var(--light-darker);
}

.email-intro {
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-dark);
}

.email-intro p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.email-article {
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-dark);
}

.email-article h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.email-article p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.email-button {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background var(--transition-fast);
}

.email-button:hover {
    background: var(--primary-dark);
}

.email-cta {
    padding: 2rem;
    text-align: center;
    background: var(--light);
}

.email-button-primary {
    display: inline-block;
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    color: var(--dark);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    transition: transform var(--transition-fast);
}

.email-button-primary:hover {
    transform: translateY(-2px);
}

.email-footer {
    padding: 1.5rem;
    text-align: center;
    background: var(--dark);
    color: var(--light-darker);
    font-size: 0.75rem;
}

.email-footer a {
    color: var(--light-dark);
}

/* Print View */
.print-view .print-page {
    background: white;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.print-masthead {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 3px double var(--dark);
    margin-bottom: 1.5rem;
}

.print-title {
    flex: 1;
}

.print-title h1 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

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

.print-edition {
    text-align: right;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.print-edition span {
    display: block;
}

.print-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.print-featured h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.print-byline {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.print-image-placeholder {
    height: 150px;
    background: linear-gradient(180deg, #ff9a56 0%, #ff6b6b 30%, #c44569 60%, #1e3799 100%);
    margin-bottom: 1rem;
}

.print-featured p {
    font-size: 0.875rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.print-continued {
    font-style: italic;
    color: var(--text-muted);
}

.print-sidebar .print-box {
    background: var(--light);
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--primary);
}

.print-box h4 {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.print-box ul {
    list-style: none;
    font-size: 0.75rem;
}

.print-box li {
    padding: 0.25rem 0;
    border-bottom: 1px dotted var(--light-dark);
}

.print-box p {
    font-size: 0.75rem;
    line-height: 1.6;
}

.print-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-dark);
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-2) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
}

.cta-content {
    flex: 1;
    color: white;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

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

.cta-section .btn-primary:hover {
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
}

.cta-visual {
    flex: 1;
    position: relative;
    height: 300px;
}

.cta-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.cta-card {
    position: absolute;
    width: 200px;
    height: 250px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
}

.cta-card .card-preview {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--light) 0%, white 100%);
}

.cta-card.c1 {
    left: 0;
    top: 20%;
    transform: rotate(-5deg);
    z-index: 1;
}

.cta-card.c2 {
    left: 30%;
    top: 10%;
    transform: rotate(2deg);
    z-index: 2;
}

.cta-card.c3 {
    left: 55%;
    top: 25%;
    transform: rotate(-3deg);
    z-index: 1;
}

/* Main Footer */
.main-footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--dark-lighter);
}

.main-footer .footer-brand .logo {
    margin-bottom: 1rem;
}

.main-footer .footer-brand > p {
    color: var(--text-muted);
    font-size: 0.875rem;
    max-width: 300px;
}

.footer-links-group h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-links-group a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.footer-links-group a:hover {
    color: white;
}

.main-footer .footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 6rem;
    }

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

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .hero-visual {
        min-height: 400px;
        width: 100%;
    }

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

    .feature-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .formats-showcase {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .format-card.featured:hover {
        transform: translateY(-8px);
    }

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

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

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

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

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

    .cta-visual {
        width: 100%;
        max-width: 400px;
    }

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

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

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

    .hero h1 {
        font-size: 2.5rem;
    }

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

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

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

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

    .feature-large {
        grid-column: span 1;
    }

    .demo-controls {
        flex-wrap: wrap;
    }

    .demo-tab span {
        display: none;
    }

    .sample-menu {
        display: none;
    }

    .sample-hero h1 {
        font-size: 2rem;
    }

    .print-content {
        grid-template-columns: 1fr;
    }

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

    .cta-cards {
        transform: scale(0.8);
    }
}

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

.hero-content > * {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-badge { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.2s; }
.hero-description { animation-delay: 0.3s; }
.hero-cta { animation-delay: 0.4s; }
.hero-stats { animation-delay: 0.5s; }

.hero-visual {
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

/* Scrollbar Styles */
.demo-newsletter::-webkit-scrollbar {
    width: 8px;
}

.demo-newsletter::-webkit-scrollbar-track {
    background: var(--light);
}

.demo-newsletter::-webkit-scrollbar-thumb {
    background: var(--light-darker);
    border-radius: 4px;
}

.demo-newsletter::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}
