/* ====================================
   CSS Custom Properties (Variables)
   ==================================== */
:root {
    /* Colors - Professional magazine theme */
    --primary-color: #1a365d;
    --secondary-color: #2563eb;
    --accent-color: #dc2626;
    --text-dark: #1e293b;
    --text-medium: #475569;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1a365d 0%, #2563eb 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(26, 54, 93, 0.95) 0%, rgba(37, 99, 235, 0.85) 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px;
    --section-padding-mobile: 60px;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

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

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

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-medium);
}

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

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

/* ====================================
   Header
   ==================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

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

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

.logo-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ====================================
   Hero Section
   ==================================== */
.hero {
    padding: 180px 0 120px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.375rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--bg-white);
    font-family: var(--font-display);
}

.stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-top: 0.5rem;
}

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

.section-title {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-description {
    font-size: 1.25rem;
    color: var(--text-medium);
}

/* ====================================
   Coverage Section
   ==================================== */
.coverage {
    background: var(--bg-white);
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.coverage-card {
    padding: 2.5rem;
    background: var(--bg-light);
    border-radius: 16px;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.coverage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-color);
    background: var(--bg-white);
}

.coverage-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.coverage-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.coverage-card p {
    font-size: 1rem;
    line-height: 1.7;
}

/* ====================================
   Features Section
   ==================================== */
.features {
    background: var(--bg-light);
}

.features-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: center;
}

.features-text h2 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: var(--secondary-color);
    margin-top: 4px;
}

.feature-text h4 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.feature-text p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Magazine Mockup */
.features-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.magazine-mockup {
    width: 100%;
    max-width: 400px;
    perspective: 1000px;
}

.magazine-cover {
    background: var(--gradient-primary);
    padding: 3rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.magazine-cover:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.cover-header {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.cover-title {
    color: var(--bg-white);
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cover-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.cover-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.cover-feature {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    padding-left: 1rem;
    position: relative;
}

.cover-feature::before {
    content: '•';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* ====================================
   Process Section
   ==================================== */
.process {
    background: var(--bg-white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: var(--bg-white);
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-display);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-lg);
}

.process-step h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.process-step p {
    font-size: 1rem;
}

/* ====================================
   Testimonials Section
   ==================================== */
.testimonials {
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    position: relative;
}

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

.quote-icon {
    width: 40px;
    height: 32px;
    color: var(--secondary-color);
    opacity: 0.3;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.testimonial-author strong {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ====================================
   Trust Section
   ==================================== */
.trust {
    background: var(--bg-white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.trust-item {
    text-align: center;
    padding: 2rem;
}

.trust-badge {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.trust-item:hover .trust-badge {
    background: var(--secondary-color);
    color: var(--bg-white);
    transform: scale(1.1);
}

.trust-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 1.125rem;
}

.trust-item p {
    font-size: 0.938rem;
    color: var(--text-light);
}

/* ====================================
   Footer
   ==================================== */
.footer {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 3rem 0;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    color: var(--bg-white);
}

.footer-logo span {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ====================================
   Animations
   ==================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 768px) {
    section {
        padding: var(--section-padding-mobile) 0;
    }

    .hero {
        padding: 140px 0 80px;
    }

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

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .coverage-grid,
    .testimonials-grid,
    .process-steps,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .features-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .magazine-mockup {
        max-width: 300px;
    }

    .magazine-cover {
        padding: 2rem 1.5rem;
    }

    .cover-title {
        font-size: 1.5rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .coverage-card,
    .testimonial-card {
        padding: 1.5rem;
    }
}

/* ====================================
   Print Styles
   ==================================== */
@media print {
    .header {
        position: static;
        box-shadow: none;
    }

    section {
        page-break-inside: avoid;
    }
}
