/* ===========================
   GDPMD Malaysia - Unified Styles
   Optimized for Performance & SEO
   =========================== */

/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    --primary-dark: #1a1f3a;
    --secondary-dark: #252b4a;
    --deep-purple: #2d3561;
    --accent-gold: #B88035;
    --accent-gold-dark: #8c652f;
    --accent-green: #10b981;
    --accent-blue: #3b82f6;
    --cream: #F8F2EB;
    --cream-dark: #EDE4D8;
    --white: #FFFFFF;
    --text-light: #E5E7EB;
    --text-muted: #9CA3AF;
    --border-light: rgba(255, 255, 255, 0.1);
    --border-medium: rgba(255, 255, 255, 0.2);
    --font-serif: 'Libre Baskerville', serif;
    --font-sans: 'Montserrat', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.3);
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: var(--font-sans);
    line-height: 1.7;
    color: var(--text-light);
    background: var(--primary-dark);
    overflow-x: hidden;
}

/* Touch optimization */
button, a, .cta-button, .cta-primary, .cta-secondary {
    touch-action: manipulation;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===========================
   Header & Navigation
   =========================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 31, 58, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(26, 31, 58, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
    text-decoration: none;
    transition: var(--transition);
}

.logo-text:hover {
    color: var(--accent-gold);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    color: var(--accent-green);
    font-size: 13px;
    font-weight: 600;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 8px 12px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-gold);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.cta-button {
    padding: 12px 24px;
    background: var(--accent-gold);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.cta-button:hover {
    background: var(--accent-gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===========================
   Breadcrumb
   =========================== */
.breadcrumb-section {
    padding: 100px 0 20px;
}

.breadcrumb-blog {
    padding: 100px 0 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--accent-gold);
}

.breadcrumb .separator {
    color: var(--border-medium);
}

.breadcrumb .current {
    color: var(--text-light);
    font-weight: 500;
}

/* ===========================
   Hero Sections
   =========================== */
.hero-service, .blog-hero {
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-service::before, .blog-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(184, 128, 53, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content, .blog-header {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.blog-header {
    text-align: center;
    margin: 0 auto;
}

.hero-badge, .blog-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 24px;
    color: var(--accent-green);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title, .blog-title {
    font-family: var(--font-serif);
    font-size: 56px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-subtitle, .blog-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 36px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-primary {
    padding: 16px 32px;
    background: var(--accent-gold);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.cta-primary:hover {
    background: var(--accent-gold-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.cta-secondary {
    padding: 16px 32px;
    background: transparent;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid var(--border-medium);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-secondary:hover {
    border-color: var(--accent-gold);
    background: rgba(184, 128, 53, 0.1);
    transform: translateY(-3px);
}

/* ===========================
   Blog-Specific Styles
   =========================== */
.blog-content {
    padding: 80px 0;
}

/* Featured Post */
.featured-post {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--accent-gold);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.featured-image {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.featured-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
}

.featured-image svg {
    position: relative;
    z-index: 1;
}

.featured-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent-gold);
    color: var(--white);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    width: fit-content;
}

.featured-title {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 16px;
}

.featured-excerpt {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

/* Categories Section */
.categories-section {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 48px;
    margin-bottom: 60px;
}

.categories-title {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--white);
    margin-bottom: 24px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.category-tag {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-light);
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.category-tag:hover {
    border-color: var(--accent-gold);
    background: rgba(184, 128, 53, 0.1);
    color: var(--accent-gold);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.blog-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-card-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(184, 128, 53, 0.2) 0%, transparent 50%);
}

.blog-card-icon {
    font-size: 64px;
    position: relative;
    z-index: 1;
}

.blog-card-content {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(184, 128, 53, 0.15);
    color: var(--accent-gold);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    width: fit-content;
}

.blog-card-title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.4;
    margin-bottom: 12px;
    text-decoration: none;
    display: block;
    transition: var(--transition);
}

.blog-card-title:hover {
    color: var(--accent-gold);
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.blog-card-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-excerpt {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.blog-card-link:hover {
    gap: 12px;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, rgba(184, 128, 53, 0.15) 0%, rgba(184, 128, 53, 0.05) 100%);
    border: 2px solid var(--accent-gold);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
}

.newsletter-title {
    font-family: var(--font-serif);
    font-size: 32px;
    color: var(--white);
    margin-bottom: 12px;
}

.newsletter-text {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--white);
    font-size: 15px;
    font-family: var(--font-sans);
}

.newsletter-input::placeholder {
    color: var(--text-muted);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.newsletter-button {
    padding: 16px 32px;
    background: var(--accent-gold);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-button:hover {
    background: var(--accent-gold-dark);
    transform: translateY(-2px);
}

/* ===========================
   Article Styles (Blog Post)
   =========================== */
.article-header {
    margin-bottom: 48px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-title {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.article-excerpt {
    font-size: 20px;
    color: var(--text-muted);
    line-height: 1.6;
}

.article-content {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 60px 48px;
    margin-bottom: 60px;
}

.article-content h2 {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin: 48px 0 20px 0;
    line-height: 1.3;
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content h3 {
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 600;
    color: var(--accent-gold);
    margin: 36px 0 16px 0;
    line-height: 1.4;
}

.article-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.article-content strong {
    color: var(--white);
    font-weight: 600;
}

.article-content ul, .article-content ol {
    margin: 24px 0;
    padding-left: 24px;
}

.article-content li {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 12px;
}

.article-content a {
    color: var(--accent-gold);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.article-content a:hover {
    border-bottom-color: var(--accent-gold);
}

/* Info Boxes */
.info-box, .warning-box, .success-box {
    padding: 24px;
    margin: 32px 0;
    border-radius: 8px;
    border-left: 4px solid;
}

.info-box {
    background: rgba(184, 128, 53, 0.1);
    border-left-color: var(--accent-gold);
}

.warning-box {
    background: rgba(239, 68, 68, 0.1);
    border-left-color: #ef4444;
}

.success-box {
    background: rgba(16, 185, 129, 0.1);
    border-left-color: var(--accent-green);
}

.info-box p, .warning-box p, .success-box p {
    margin-bottom: 0;
}

/* Step Cards */
.step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 28px;
    margin: 24px 0;
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--accent-gold);
    transform: translateX(8px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent-gold);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 16px;
}

.step-card h3 {
    margin-top: 0;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, rgba(184, 128, 53, 0.15) 0%, rgba(184, 128, 53, 0.05) 100%);
    border: 2px solid var(--accent-gold);
    border-radius: 16px;
    padding: 40px;
    margin: 48px 0;
    text-align: center;
}

.cta-box h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--white);
    margin: 0 0 16px 0;
}

.cta-box p {
    font-size: 16px;
    margin-bottom: 24px;
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    margin: 32px 0;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table th {
    background: var(--secondary-dark);
    color: var(--white);
    font-weight: 600;
    padding: 16px;
    text-align: left;
    border-bottom: 2px solid var(--accent-gold);
}

.comparison-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-light);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* Related Posts */
.related-posts {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 48px;
    margin: 60px 0;
}

.related-posts h2 {
    font-family: var(--font-serif);
    font-size: 32px;
    color: var(--white);
    margin-bottom: 32px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 24px;
    transition: var(--transition);
    text-decoration: none;
    display: block;
}

.related-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.related-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.related-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--secondary-dark);
    padding: 60px 0 32px;
    border-top: 1px solid var(--border-light);
}

.footer-cta {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-light);
}

.footer-cta h2 {
    font-family: var(--font-serif);
    font-size: 32px;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-cta p {
    font-size: 16px;
    color: var(--text-muted);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col h3 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
}

.footer-col a:hover {
    color: var(--accent-gold);
}

.footer-col p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.footer-bottom a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ===========================
   Back to Top Button
   =========================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--accent-gold);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-gold-dark);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* ===========================
   WhatsApp Float Button
   =========================== */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 32px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
    .hero-title, .blog-title {
        font-size: 46px;
    }
    
    .featured-post {
        grid-template-columns: 1fr;
    }
    
    .featured-image {
        min-height: 300px;
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    /* Performance: Reduce backdrop-filter on mobile */
    .header {
        backdrop-filter: none;
        background: rgba(26, 31, 58, 0.98);
    }
    
    .header.scrolled {
        background: rgba(26, 31, 58, 1);
    }
    
    .main-nav {
        gap: 16px;
    }
    
    .nav-link:not(.cta-button) {
        display: none;
    }
    
    .nav-badge {
        display: none;
    }
    
    .hero-title, .blog-title {
        font-size: 36px;
    }
    
    .article-title {
        font-size: 32px;
    }
    
    .article-content {
        padding: 32px 24px;
    }
    
    .article-content h2 {
        font-size: 26px;
    }
    
    .article-content h3 {
        font-size: 20px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .categories-section,
    .newsletter-section,
    .related-posts {
        padding: 32px 24px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .featured-content {
        padding: 32px 24px;
    }
    
    .featured-title {
        font-size: 28px;
    }
    
    .cta-box {
        padding: 28px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .whatsapp-float {
        bottom: 80px;
        right: 20px;
        width: 56px;
        height: 56px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title, .blog-title {
        font-size: 32px;
    }
    
    .article-title {
        font-size: 28px;
    }
    
    .article-excerpt, .blog-subtitle {
        font-size: 16px;
    }
    
    .article-content h2 {
        font-size: 24px;
    }
    
    .article-meta {
        font-size: 13px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta-group {
        flex-direction: column;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ===========================
   Performance: GPU Acceleration
   =========================== */
.hero-badge, .blog-badge, .hero-title, .blog-title, .hero-subtitle, .blog-subtitle, .hero-cta-group {
    will-change: transform, opacity;
}

.blog-card:hover,
.related-card:hover,
.step-card:hover,
.cta-primary:hover,
.cta-secondary:hover,
.cta-button:hover,
.back-to-top:hover,
.whatsapp-float:hover {
    will-change: transform;
}

@media (max-width: 768px) {
    .hero-badge, .blog-badge, .hero-title, .blog-title, .hero-subtitle, .blog-subtitle, .hero-cta-group {
        will-change: auto;
    }
}