/* Reset and Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* Mobile-first responsive design */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    width: 100%;
}

:root {
    --primary-color: #7c3aed; /* Dark purple */
    --secondary-color: #10b981; /* Green */
    --dark-purple: #581c87;
    --light-purple: #a855f7;
    --dark-green: #059669;
    --light-green: #34d399;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #10b981 100%);
    --gradient-purple: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    --gradient-green: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

* {
    margin: 0;
    padding: 0;
}

/* Link styling and highlights */
a {
    color: var(--primary-color);
}

.external-link::after {
    content: '↗';
    display: inline-block;
    margin-left: 6px;
    font-size: 0.9em;
}

.highlight-link {
    background: rgba(124, 58, 237, 0.08);
    padding: 2px 6px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.highlight-link:hover {
    background: rgba(124, 58, 237, 0.18);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* Global section spacing and anchor offset for fixed header */
section {
    scroll-margin-top: 90px;
}

/* Additional spacing for mobile */
@media (max-width: 768px) {
    section {
        scroll-margin-top: 100px;
    }
    
    .hero {
        margin-top: 10px !important;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 2.25rem; /* reduced from 3rem */
    font-weight: 700;
}

h2 {
    font-size: 1.75rem; /* reduced from 2.5rem */
}

h3 {
    font-size: 1.25rem; /* reduced from 1.5rem */
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Blog card title sizing */
.blog-card .about-description h2 {
    font-size: 1.25rem;
    line-height: 1.35;
}

/* Blog meta (badges + date) placed outside image */
.blog-meta {
  display: flex;
  gap: 0.4rem;
  margin: 0 0 1rem 0;
  flex-wrap: wrap;
}
.blog-meta .blog-date {
    color: #6b7280;
    font-size: 0.65rem;
}

    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 200px;
    justify-content: center;
    position: relative;
    z-index: 30;
    pointer-events: auto;
}

.btn-primary {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    color: white;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4) !important;
    cursor: pointer !important;
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%) !important;
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: var(--primary-color);
    border: 2px solid rgba(124, 58, 237, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
    border-color: transparent;
}

.btn-download {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    color: white;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid #ec4899;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
}

/* Ensure link/visited states don't override button text colors */
.btn:link,
.btn:visited {
    text-decoration: none;
}

.btn-primary:link,
.btn-primary:visited {
    color: white;
}

.btn-download:link,
.btn-download:visited {
    color: white;
}

.btn-secondary:link,
.btn-secondary:visited {
    color: var(--primary-color);
}

/* Ensure hover still inverts color even on visited links */
.btn-secondary:hover {
    color: white;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow: visible !important;
}

.navbar {
    padding: 1rem 0;
    position: relative;
    overflow: visible !important;
}

.navbar .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative !important;
    overflow: visible !important;
    min-height: 60px;
}

/* Mobile navigation styles */
@media (max-width: 768px) {
    /* Hide navigation menu on mobile by default */
    .nav-menu {
        display: none !important;
    }
    
    /* Show navigation menu when active */
    .nav-menu.active {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(10px) !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 2rem !important;
        z-index: 1000 !important;
        margin: 0 !important;
        padding: 2rem !important;
    }
    
    /* Hamburger menu styling */
    .hamburger {
        display: flex !important;
        flex-direction: column !important;
        cursor: pointer !important;
        gap: 4px !important;
        padding: 8px !important;
        background: transparent !important;
        border: none !important;
        outline: none !important;
        position: relative !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 44px !important;
        min-height: 44px !important;
        border-radius: 6px !important;
        transition: all 0.3s ease !important;
        margin-left: auto !important;
        z-index: 1001 !important;
    }
    
    .hamburger span {
        width: 25px !important;
        height: 3px !important;
        background: #000000 !important;
        border-radius: 2px !important;
        transition: all 0.3s ease !important;
        display: block !important;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Ensure hamburger is visible on all backgrounds */
    .hamburger:hover {
        background: rgba(0, 0, 0, 0.05) !important;
    }
    
    .hamburger:hover span {
        background: #000000 !important;
    }
    
    /* Hamburger animation when active */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px) !important;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0 !important;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px) !important;
    }
    
    /* Navigation menu links styling */
    .nav-menu a {
        font-size: 1.5rem !important;
        font-weight: 600 !important;
        color: var(--text-dark) !important;
        padding: 1rem !important;
        border-radius: 8px !important;
        transition: all 0.3s ease !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 300px !important;
    }
    
    .nav-menu a:hover {
        background: rgba(124, 58, 237, 0.1) !important;
        color: var(--primary-color) !important;
    }
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    max-width: 60%;
    text-decoration: none !important;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none !important;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

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





/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #faf5ff 0%, #f0fdf4 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.hero-text h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

/* Ensure hero copy is left-aligned with justified paragraph across viewports */
.hero-text { text-align: left; }
.hero-text p { text-align: justify; }

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    margin-top: 16px;
    position: relative;
    z-index: 20;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.phone-mockup {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-mockup {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    transform: none;
}

/* Position the hero image to align with the top of the text column */
.hero-image {
    align-self: start;
    justify-self: end;
}

/* Image placed directly below the main hero mockup */
.hero-below-image {
    display: block;
    margin-top: 200px;
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
    .hero-mockup {
        max-width: 300px;
        transform: none;
    }
    .hero-below-image {
        max-width: 300px;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
}

/* Features Section */
.features {
    padding: 80px 0;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #ffffff;
}

/* Redesigned about card */
.about-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.1);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7c3aed 0%, #10b981 100%);
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.badge-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.badge-outline {
    background: transparent;
    color: #7c3aed;
    border: 2px solid #7c3aed;
    font-weight: 500;
}

.about-title {
    margin: 0 0 1rem;
    font-size: 2.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-subtitle {
    color: #6b7280;
    font-size: 1.125rem;
    margin-bottom: 0;
    font-weight: 500;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.about-description h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.about-description p {
    color: #4b5563;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.about-features h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #7c3aed 0%, #10b981 100%);
    border-radius: 8px;
    color: white;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 0.95rem;
    font-weight: 500;
    color: #374151;
    line-height: 1.4;
}

/* Styles for legal pages */
.about-feature-list {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.about-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.about-feature-list li:last-child {
    border-bottom: none;
}

.about-feature-list li::before {
    content: '•';
    color: #7c3aed;
    font-weight: bold;
    font-size: 1.4rem;
    line-height: 1;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.about-feature-list li span {
    color: #4b5563;
    line-height: 1.6;
}

/* Legal page specific styles */
.about-description h3 {
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.about-description h3:first-child {
    margin-top: 0;
}

.about-description p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about-description a {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 500;
}

.about-description a:hover {
    text-decoration: underline;
}

/* Blog page specific styles */
.about-card article {
    margin-bottom: 3rem;
}

.about-card article:last-child {
    margin-bottom: 0;
}

/* Blog grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.blog-card { 
    margin: 0; 
    height: 100%; 
    display: flex; 
    flex-direction: column; 
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
}

/* Medium-size images for blog cards */
.blog-card .card-media {
    height: 200px;
    aspect-ratio: auto;
}
@media (max-width: 1200px) {
    .blog-card .card-media { height: 180px; }
}
@media (max-width: 640px) {
    .blog-card .card-media { height: 160px; }
}

.cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Limit cover image height inside individual blog posts */
.about .about-card > img.cover {
    max-height: 360px;
    object-fit: cover;
}

.blog-badges.overlay {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-card .about-content { display: flex; flex-direction: column; height: 100%; }
.blog-card .about-description { display: flex; flex-direction: column; height: 100%; }
.blog-card .btn { margin-top: auto; }

/* Enhanced Blog Grid Layout */
.blog-content {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #ffffff 100%);
    position: relative;
}

.blog-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.8) 0%, transparent 100%);
    z-index: 1;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    padding: 4rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

/* Responsive adjustments for blog grid */
@media (min-width: 1400px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    }
}

@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    }
}

@media (max-width: 1200px) {
    .blog-grid { 
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .blog-grid { 
        grid-template-columns: repeat(1, 1fr);
        gap: 2rem;
        padding: 2rem 0;
    }
    
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .blog-hero p {
        font-size: 1.1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
}

@media (max-width: 640px) {
    .blog-grid { 
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-card {
        margin: 0 1rem;
    }
}

.about-card .badge {
    margin-right: 0.5rem;
}

.about-card h2 {
    color: #1f2937;
    line-height: 1.3;
}

.about-card h3 {
    color: #374151;
    margin-top: 2rem;
}

.about-card h4 {
    color: #4b5563;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.about-card p {
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.about-card strong {
    color: #1f2937;
    font-weight: 600;
}

/* Blog call-to-action box */
.about-card .cta-box {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.about-card .cta-box h4 {
    margin-top: 0;
    color: #1f2937;
}

.about-card .cta-box p {
    margin-bottom: 1rem;
    color: #4b5563;
}

/* Blog date styling */
.blog-date {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Blog badges */
.blog-badges {
    margin-bottom: 1rem;
}

.blog-badges .badge {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.about-cta {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

/* About image to mirror hero image sizing */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 40px;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.image-container:hover {
    transform: translateY(-8px);
}

.about-mockup {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 20px;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.9) 0%, rgba(16, 185, 129, 0.9) 100%);
    color: white;
    padding: 1rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.overlay-text {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .about-card {
        padding: 2rem;
        margin: 0 -20px;
        border-radius: 16px;
    }
    
    .about-header {
        margin-bottom: 2rem;
    }
    
    .about-title {
        font-size: 1.875rem;
    }
    
    .about-subtitle {
        font-size: 1rem;
    }
    
    .about-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image { 
        justify-content: center; 
        order: -1;
    }
    
    .about-mockup { 
        max-width: 300px; 
    }
    
    .features-grid-mini {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .feature-item {
        padding: 0.75rem;
    }
    
    .feature-item span {
        font-size: 0.9rem;
    }
    
    .about-description h3,
    .about-features h3 {
        font-size: 1.25rem;
    }
    
    .about-description p {
        font-size: 1rem;
    }
    
    .about-description h3 {
        font-size: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .about-feature-list li {
        padding: 0.5rem 0;
    }
    
    .about-feature-list li span {
        font-size: 0.9rem;
    }
    
    /* Blog mobile styles */
    .about-card h2 {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    .about-card h3 {
        font-size: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .about-card h4 {
        font-size: 1.1rem;
        margin-top: 1.25rem;
    }
    
    .about-card .cta-box {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .blog-badges .badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 768px) {
    .about-content { grid-template-columns: 1fr; }
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Plan cards reuse feature-card styling */
.plan-card .price-large {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.plan-card .muted {
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Download Section */
.download {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: white;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Right-align image on desktop */
.download-image {
    display: flex;
    justify-content: flex-end;
}

.download h2 {
    color: white;
    margin-bottom: 1rem;
}

.download p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.app-details {
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.detail-label {
    color: rgba(255, 255, 255, 0.8);
}

.detail-value {
    font-weight: 600;
}

.download-buttons {
    display: flex;
    gap: 1rem;
}

/* Improve contrast of Installation Guide button on gradient background */
.download .btn.btn-secondary {
    background: #ffffff;
    color: var(--dark-purple);
    border-color: #ffffff;
}

.download .btn.btn-secondary:hover {
    background: #f3f4f6;
    border-color: #f3f4f6;
    color: var(--dark-purple);
}

.download-img {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Installation Section */
.installation {
    padding: 80px 0;
    background: #f8f9fa;
}

.installation-tabs {
    max-width: 800px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    background: white;
    border-radius: 12px;
    padding: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tab-button {
    flex: 1;
    padding: 12px 24px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active {
    background: var(--primary-color);
    color: white;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.steps {
    display: grid;
    gap: 1.5rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

/* Pros and Cons Section */
.pros-cons {
    padding: 80px 0;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.pros, .cons {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.pros h3 {
    color: #4CAF50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cons h3 {
    color: #f44336;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-check, .icon-cross {
    font-size: 1.2rem;
    font-weight: bold;
}

.pros ul, .cons ul {
    list-style: none;
}

.pros li, .cons li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.pros li:before {
    content: "✓";
    color: #4CAF50;
    font-weight: bold;
    margin-right: 0.5rem;
}

.cons li:before {
    content: "✗";
    color: #f44336;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Carousel removed */
/* Showcase Carousel */
.showcase-carousel { padding: 60px 0; background: #fff; }
.showcase-wrapper { position: relative; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 12px; }
.showcase-viewport { overflow: hidden; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.showcase-track { display: flex; gap: 16px; padding: 12px; transition: transform 300ms ease; }
.showcase-slide { flex: 0 0 auto; width: clamp(200px, 22vw, 260px); }
.showcase-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.showcase-card h4 { margin: 0; padding: 10px 12px; font-size: 0.95rem; color: #111827; text-align: center; }
.showcase-card img { width: 100%; height: 320px; object-fit: cover; display: block; }
.showcase-nav { width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer; display: grid; place-items: center; color: #111827; background: #f3f4f6; transition: transform 0.2s ease, background 0.2s ease; }
.showcase-nav:hover { background: #e5e7eb; transform: translateY(-1px); }
.showcase-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.showcase-dot { width: 10px; height: 10px; border-radius: 999px; background: #e5e7eb; border: none; cursor: pointer; }
.showcase-dot.active { background: var(--primary-color); }

@media (max-width: 768px) {
  .showcase-slide { width: clamp(150px, 45vw, 220px); }
  .showcase-card img { height: 220px; }
}
/* Carousel removed */

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

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
}

.rating-text {
    font-weight: 600;
}

.review-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #555;
}

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

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.reviewer-name {
    font-weight: 600;
    display: block;
}

.reviewer-title {
    color: #666;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
}

/* App Info Section */
.app-info {
    padding: 80px 0;
}

.appinfo-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.info-row {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1rem;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.info-row:nth-child(even) {
    background: #fafbff;
}

.info-row dt {
    font-weight: 600;
    color: var(--text-dark);
}

.info-row dd {
    margin: 0;
    color: var(--text-light);
}

@media (max-width: 640px) {
    .appinfo-card {
        margin: 0 -20px;
        border-radius: 0;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 20px;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .info-row:last-child {
        border-bottom: none;
    }
    
    .info-row dt {
        font-size: 0.9rem;
        color: #6b7280;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 0.25rem;
    }
    
    .info-row dd {
        font-size: 1rem;
        color: #111827;
        font-weight: 500;
        margin: 0;
        padding-bottom: 0.5rem;
    }
    
    .info-row:nth-child(even) {
        background: #f9fafb;
    }
}

@media (max-width: 480px) {
    .appinfo-card {
        margin: 0 -16px;
    }
    
    .info-row {
        padding: 16px;
    }
    
    .info-row dt {
        font-size: 0.85rem;
    }
    
    .info-row dd {
        font-size: 0.95rem;
    }
}

/* Pricing */
.pricing {
    padding: 80px 0;
    background: #f8f9fa;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 1rem;
}

.pricing-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.icon-circle {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.25);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.pricing-card .badge {
    position: absolute;
    top: 16px;
    right: -40px;
    background: var(--secondary-color);
    color: #fff;
    padding: 6px 60px;
    transform: rotate(35deg);
    font-weight: 600;
    font-size: 0.85rem;
}

.pricing-card .badge-save {
    background: var(--primary-color);
}

.pricing-card.featured {
    border: 2px solid var(--secondary-color);
}

.pricing-card-header {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 0.5rem;
}

.pricing-card-header h3 {
    margin: 0;
}

.period {
    color: var(--text-light);
    font-weight: 500;
}

.pricing-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0.25rem 0 1rem;
}

.pricing-price .currency {
    font-size: 1.1rem;
    vertical-align: super;
    margin-right: 2px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 1rem 0 1.5rem;
    padding: 0;
}

.pricing-features li {
    padding: 0.4rem 0;
    border-bottom: 1px solid #eee;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-cta {
    width: 100%;
    justify-content: center;
}
/* Requirements */
.requirements {
    padding: 80px 0;
}

/* Requirements now use feature-card grid; old list styles removed */

/* Troubleshooting */
.troubleshooting {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Troubleshooting now reuses feature grid cards */
.issue-card .card-list {
    text-align: left;
    list-style: none;
    padding-left: 0;
    margin-top: 0.75rem;
}

.issue-card .card-list li {
    padding: 0.4rem 0;
    border-bottom: 1px solid #eee;
}

.issue-card .card-list li:last-child { border-bottom: none; }

/* Resources */
.resources {
    padding: 80px 0;
}

.resource-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.chip {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.chip:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    border: none;
    background: transparent;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e2e8f0;
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.footer-section h3, 
.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h3::after,
.footer-section h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 3px;
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-links a:hover {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li a::before {
    content: "→";
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.footer-section ul li a:hover {
    color: #8b5cf6;
    transform: translateX(5px);
}

.footer-section ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 2;
}

.footer-text p {
    color: #94a3b8;
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

/* Footer decoration elements */
.footer-decoration {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.footer-decoration::after {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Show navigation menu on mobile */
    .nav-menu {
        display: flex !important;
        flex-direction: column !important;
        position: static !important;
        background: transparent !important;
        backdrop-filter: none !important;
        gap: 1rem !important;
        padding: 1rem 0 !important;
        margin: 0 !important;
        z-index: auto !important;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        font-weight: 500;
        color: var(--text-dark);
        padding: 0.75rem;
        border-radius: 6px;
        transition: all 0.3s ease;
        text-align: left;
        width: 100%;
    }
    
    .nav-menu a:hover {
        background: rgba(124, 58, 237, 0.1);
        color: var(--primary-color);
    }
    
    .nav-brand .brand-name {
        font-size: 1.2rem;
    }
    
    .logo {
        width: 32px;
        height: 32px;
    }
    
    /* Ensure header stays on top */
    .header {
        z-index: 1000;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Fix footer for mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section ul {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .footer-section ul li {
        margin: 0;
    }
    
    .social-links {
        justify-content: center;
        gap: 1rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left !important;
}
    .hero-text { text-align: left !important; }
    .hero-text p { text-align: justify !important; }

/* Blog Page Styles */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --card-bg: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.blog-hero {
    background: var(--primary-gradient);
    padding: 120px 0 80px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.1) 0%, transparent 40%),
                radial-gradient(circle at bottom left, rgba(255,255,255,0.05) 0%, transparent 40%);
}

.blog-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.blog-hero p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: rgba(255,255,255,0.95);
    font-weight: 400;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.search-container {
    max-width: 600px;
    margin: 2rem auto 0;
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 1.25rem 1.25rem 1.25rem 3.5rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    background: rgba(255,255,255,0.95);
    transition: var(--transition);
}

.search-container input:focus {
    outline: none;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.search-container svg {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #7c3aed;
    width: 20px;
    height: 20px;
}

/* Enhanced Blog Hero Section with Modern Design */
.blog-hero {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
    margin-top: 0;
}

.blog-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
                radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.15) 0%, transparent 40%);
    z-index: 0;
}

.blog-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, rgba(255,255,255,0.08) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.08) 75%),
        linear-gradient(45deg, rgba(255,255,255,0.08) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.08) 75%);
    background-size: 80px 80px;
    background-position: 0 0, 40px 40px;
    z-index: 0;
    animation: moveGrid 12s linear infinite;
}

@keyframes moveGrid {
    0% { background-position: 0 0, 40px 40px; }
    100% { background-position: 80px 80px, 120px 120px; }
}

.blog-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: fadeInUp 0.8s ease-out;
    background: linear-gradient(to right, white, #f0f9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-hero p {
    font-size: 1.35rem;
    max-width: 750px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 1;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
    font-weight: 300;
}

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

/* Enhanced Search Container with Modern Design */
.search-container {
    max-width: 650px;
    margin: 2.5rem auto 0;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.search-container input {
    width: 100%;
    padding: 1.35rem 1.35rem 1.35rem 3.75rem;
    border-radius: 50px;
    border: none;
    font-size: 1.05rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    background: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

.search-container input:focus {
    outline: none;
    box-shadow: 0 20px 45px rgba(0,0,0,0.25);
    transform: translateY(-3px);
    border: 2px solid #8b5cf6;
}

.search-container svg {
    position: absolute;
    left: 1.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #7c3aed;
    width: 22px;
    height: 22px;
    z-index: 2;
}

/* Enhanced Categories Filter with Modern Design */
.categories-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin: 3.5rem 0 2.5rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.category-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    font-weight: 500;
    backdrop-filter: blur(10px);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.15);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.category-btn:hover::before {
    transform: translateX(0);
}

.category-btn.clicked {
    transform: translateY(-3px) scale(0.97);
}

.category-btn:hover, .category-btn.active {
    background: white;
    color: #7c3aed;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    border-color: white;
}

/* Modern Blog Card Design with Glass Morphism */
.blog-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(124, 58, 237, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

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

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.4s; }
.blog-card:nth-child(5) { animation-delay: 0.5s; }
.blog-card:nth-child(6) { animation-delay: 0.6s; }
.blog-card:nth-child(7) { animation-delay: 0.7s; }
.blog-card:nth-child(8) { animation-delay: 0.8s; }
.blog-card:nth-child(9) { animation-delay: 0.9s; }
.blog-card:nth-child(10) { animation-delay: 1.0s; }
.blog-card:nth-child(11) { animation-delay: 1.1s; }

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.blog-card:hover::before {
    transform: scaleX(1);
}

.blog-card:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 15px 30px rgba(124, 58, 237, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(124, 58, 237, 0.3);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 230px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

.blog-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(99, 102, 241, 0.1), transparent 30%, transparent 70%, rgba(139, 92, 246, 0.1));
    opacity: 0.7;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.blog-card:hover .blog-image::after {
    opacity: 0.9;
}

.blog-meta {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    z-index: 2;
}

.blog-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border-radius: 0 0 24px 24px;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-card:hover .blog-content {
    background: linear-gradient(to bottom, #ffffff 0%, #f9f9ff 100%);
}

.blog-content h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #1e293b;
    line-height: 1.3;
    font-weight: 700;
    transition: all 0.3s ease;
    letter-spacing: -0.02em;
}

.blog-card:hover .blog-content h2 {
    color: #6366f1;
}

.blog-excerpt {
    color: #64748b;
    margin-bottom: 2rem;
    flex-grow: 1;
    font-size: 1.1rem;
    line-height: 1.7;
    position: relative;
    font-weight: 400;
}

.blog-excerpt::after {
    content: '';
    position: absolute;
    bottom: -0.85rem;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 3px;
}

/* Enhanced Badges with Modern Design */
.badge {
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.badge-success {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.badge-outline {
    background: transparent;
    color: #6366f1;
    border: 2px solid #6366f1;
    font-weight: 500;
}

.blog-date {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.65rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    background: rgba(0, 0, 0, 0.35);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Enhanced Read Guide Button with Modern Design */
.btn-secondary {
    background: transparent;
    color: #6366f1;
}

    border: 2px solid #6366f1;
    align-self: flex-start;
    margin-top: auto;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    border-radius: 12px;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(99, 102, 241, 0.3);
    border-color: #6366f1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .blog-hero p {
        font-size: 1.1rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .categories-filter {
        gap: 0.75rem;
        margin: 2rem 0 1.5rem;
    }
    
    .category-btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .blog-content {
        padding: 3rem 0;
    }
    
    .blog-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 80px 0 60px;
    }
    
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .blog-hero p {
        font-size: 1rem;
    }
    
    .search-container {
        margin: 1.5rem auto 0;
    }
    
    .search-container input {
        padding: 1rem 1rem 1rem 3rem;
        font-size: 0.9rem;
    }
    
    .search-container svg {
        left: 1rem;
        width: 18px;
        height: 18px;
    }
    
    .blog-image {
        height: 180px;
    }
}

/* Blog Post Styles */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #10b981;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #94a3b8;
  --border: #e2e8f0;
  --max-width: 800px;
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: #ffffff;
}

.hero {
  padding: 80px 0 40px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 30px; /* Add margin between nav bar and title */
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.1) 0%, transparent 40%),
              radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.1) 0%, transparent 40%);
  z-index: 0;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 1.25rem;
  color: #475569;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.blog-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.back-row {
  margin: 2rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  justify-content: center;
}

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

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

.cover {
  border-radius: 16px;
  margin: 2rem 0;
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* Blog meta (badges + date) placed outside image */
.blog-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin: 0 0 1rem 0;
}

}

.badge {
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
}

.badge-outline {
  background: transparent;
  border: 2px solid rgba(99, 102, 241, 0.2);
  color: var(--primary);
}

.blog-date {
  color: var(--gray);
  font-size: 0.65rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

/* Table of Contents */
.toc-container {
  background: var(--light);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 2rem 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin-bottom: 1rem;
}

.toc-header h3 {
  margin: 0;
  color: var(--dark);
  font-size: 1.25rem;
  font-weight: 700;
}

.toc-toggle {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--gray);
  transition: transform 0.3s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.toc-toggle:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
}

.toc-toggle.rotated {
  transform: rotate(180deg);
}

.toc-content {
  padding-left: 1rem;
  transition: all 0.3s ease;
}

.toc-content.hidden {
  display: none;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 0.75rem;
}

.toc-list a {
  text-decoration: none;
  color: #475569;
  font-weight: 500;
  transition: var(--transition);
  display: block;
  padding: 0.25rem 0;
  border-radius: 6px;
  font-size: 0.95rem;
}

.toc-list a:hover {
  color: var(--primary);
  background: rgba(99, 102, 241, 0.05);
  padding-left: 0.5rem;
}

.toc-list ul {
  list-style: none;
  padding-left: 1.5rem;
  margin: 0.5rem 0 0;
}

.toc-list ul a {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Content Styling */
.about-description {
  color: #334155;
  line-height: 1.7;
  margin: 2rem 0;
}

.about-description h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1.5rem;
  color: var(--dark);
  padding-bottom: 0.75rem;
  position: relative;
}

.about-description h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 2px;
}

.about-description h3 {
  font-size: 1.35rem;
  margin: 2rem 0 1rem;
  color: var(--dark);
  font-weight: 600;
}

.about-description p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: #475569;
}

.about-description strong {
  color: var(--dark);
}

/* Beautiful Lists */
.about-feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.about-feature-list li {
  margin-bottom: 1.25rem;
  padding-left: 2.5rem;
  position: relative;
}

.about-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.85rem;
}

/* Numbered Lists */
.about-feature-list.numbered {
  counter-reset: list-counter;
  padding-left: 0;
}

.about-feature-list.numbered li {
  counter-increment: list-counter;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}

.about-feature-list.numbered li:last-child {
  border-bottom: none;
}

.about-feature-list.numbered li::before {
  content: counter(list-counter);
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  color: white;
  border-radius: 50%;
  font-weight: bold;
  font-size: 0.9rem;
  min-width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.about-feature-list.numbered li span {
  color: #4b5563;
  line-height: 1.6;
  flex: 1;
}

/* Tables */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.comparison-table th {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: left;
  padding: 1.25rem 1rem;
  font-weight: 600;
}

.comparison-table td {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--border);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:nth-child(even) {
  background: var(--light);
}

.comparison-table tr:hover {
  background: rgba(99, 102, 241, 0.05);
}

/* Quotes */
.highlight-quote {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
  border-left: 4px solid var(--primary);
  padding: 1.75rem;
  margin: 2.5rem 0;
  border-radius: 0 12px 12px 0;
  position: relative;
}

.highlight-quote::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 4rem;
  color: rgba(99, 102, 241, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.highlight-quote p {
  margin: 0;
  font-style: italic;
  color: #334155;
  font-size: 1.1rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* Resource Links */
.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0;
}

.chip {
  background: rgba(99, 102, 241, 0.08);
  color: var(--primary);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.chip:hover {
  background: rgba(99, 102, 241, 0.15);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* FAQ Section */
.faq-list {
  margin: 2.5rem 0;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
  background: white;
  box-shadow: var(--shadow);
}

.faq-item:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

/* Keep text left; vertically center the chevron */
.faq-question {
  width: 100%;
  background: var(--light);
  border: none;
  padding: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 12px;
  align-items: center;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: #f1f5f9;
}

.faq-icon {
  transition: transform 0.3s ease;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 1000px;
}

.faq-answer p {
  margin: 1rem 0 0;
  line-height: 1.7;
  color: #475569;
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  padding: 2.5rem;
  margin: 3rem 0;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-box h4 {
  margin: 0 0 1rem;
  color: var(--dark);
  font-size: 1.75rem;
  font-weight: 700;
}

.cta-box p {
  margin: 0 0 1.75rem;
  color: #475569;
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-container {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 4px 6px rgba(99, 102, 241, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px rgba(99, 102, 241, 0.3);
}

/* Muted Text */
.muted {
  color: var(--gray);
  font-size: 0.95rem;
  margin: 2rem 0;
  text-align: center;
}

.highlight-link {
  background: rgba(99, 102, 241, 0.08);
  padding: 2px 6px;
  border-radius: 6px;
  transition: var(--transition);
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.highlight-link:hover {
  background: rgba(99, 102, 241, 0.18);
  color: var(--primary-dark);
}

.external-link::after {
  content: '↗';
  display: inline-block;
  margin-left: 4px;
  font-size: 0.8em;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0 30px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .blog-container {
    padding: 0 15px;
  }
  
  .about-description h2 {
    font-size: 1.5rem;
  }
  
  .about-description h3 {
    font-size: 1.25rem;
  }
  
  .btn-container {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .cover {
    aspect-ratio: 16/9;
  }
  
  .highlight-quote {
    padding: 1.5rem 1.25rem;
  }
  
  .cta-box {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .hero p {
    font-size: 1rem;
    text-align: justify !important;
  }
  
  .about-description h2 {
    font-size: 1.35rem;
  }
  
  .toc-container {
    padding: 1.25rem;
  }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 10px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .hero-image {
        justify-self: center;
        align-self: center;
    }
    
    .hero-mockup {
        max-width: 300px;
    }
    
    .hero-below-image {
        margin-top: 100px;
        max-width: 280px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    /* Mobile-friendly sizing for download buttons and image */
    .download-buttons .btn {
        width: 100%;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
        padding: 14px 18px;
        font-size: 1.05rem;
        border-radius: 12px;
    }
    .download-img {
        max-width: 320px;
        margin: 0 auto;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .installation-tabs {
        flex-direction: column;
    }
    
    .tab-buttons {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    
    .tab-button {
        white-space: nowrap;
        min-width: auto;
    }
    
    .pros-cons-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .faq-list {
        gap: 1rem;
    }
    
    .faq-question {
        padding: 1rem 2.75rem 1rem 1rem;
        font-size: 1rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    
    .nav-brand .brand-name {
        font-size: 1rem;
    }
    
    .logo {
        width: 28px;
        height: 28px;
    }
    
    .nav-menu a {
        font-size: 1.3rem;
        padding: 0.8rem;
    }
    
    /* Footer mobile optimizations */
    .footer-content {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
    }
    
    .footer-section ul {
        gap: 0.3rem;
    }
    
    .footer-section ul li a {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
    
    .social-links {
        gap: 0.8rem;
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .container {
        padding: 0 15px;
    }
}

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

.feature-card, .review-card, .step {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

.table-responsive { width: 100%; overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.comparison-table th, .comparison-table td { padding: 12px 14px; border-bottom: 1px solid #eef2ff; text-align: left; vertical-align: top; }
.comparison-table thead th { background: #f8fafc; font-weight: 700; }
.comparison-table tr:last-child td { border-bottom: none; }
@media (max-width: 640px) {
  .comparison-table th, .comparison-table td { padding: 10px 12px; font-size: 0.95rem; }
}





/* ===== COMPREHENSIVE MOBILE RESPONSIVE STYLES ===== */

/* Small mobile devices (320px and up) */
@media (max-width: 480px) {
    .container { 
        padding: 0 12px; 
        max-width: 100%;
    }
    
    /* Typography adjustments */
    h1 { 
        font-size: 1.5rem !important; 
        line-height: 1.3 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
    h2 { 
        font-size: 1.2rem !important; 
        line-height: 1.3 !important;
    }
    h3 { 
        font-size: 1.1rem !important; 
    }
    
    /* Header and navigation */
    .brand-name { 
        font-size: 1rem !important; 
        max-width: calc(100% - 72px) !important;
        overflow: visible !important;
        text-overflow: unset !important;
        white-space: normal !important;
        display: block !important;
        line-height: 1.2 !important;
        word-break: break-word !important;
    }
    .nav-brand {
        max-width: calc(100% - 72px) !important; /* leave room for hamburger */
        display: flex !important;
        align-items: center !important;
    }
    .logo { 
        width: 32px !important; 
        height: 32px !important; 
    }
    
    /* Hero section */
    .hero { 
        padding: 120px 0 40px !important; 
        margin-top: 20px !important;
    }
    .hero-content { 
        grid-template-columns: 1fr !important; 
        gap: 1.5rem !important; 
        text-align: center !important; 
    }
    .hero-text h1 {
        font-size: 1.4rem !important;
        line-height: 1.4 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        max-width: 100% !important;
        margin-bottom: 1rem !important;
    }
    .hero-text h2 {
        font-size: 1.1rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1rem !important;
    }
    /* Ensure hero media is fully responsive */
    .hero-image { 
        justify-self: center !important; 
        align-self: center !important; 
    }
    .hero-mockup, .hero-below-image, .download-img { 
        width: 100% !important; 
        max-width: 100% !important; 
        height: auto !important; 
    }
    .download-image { justify-content: center !important; }
    .hero-text p { 
        font-size: 1rem !important; 
        line-height: 1.5 !important;
    }
    .hero-buttons { 
        flex-direction: column !important; 
        gap: 0.75rem !important; 
        align-items: center !important; 
        width: 100% !important;
    }
    .hero-buttons .btn { 
        width: 100% !important; 
        max-width: 280px !important;
        text-align: center !important;
    }
    .hero-stats { 
        flex-direction: column !important; 
        gap: 1rem !important; 
        align-items: center !important; 
    }
    
    /* About section */
    .about-card { 
        padding: 1.5rem !important; 
        margin: 0 -12px !important; 
        border-radius: 12px !important; 
    }

    /* Features section adjustments for mobile */
    .features-grid { 
        grid-template-columns: 1fr !important; 
        gap: 1rem !important; 
    }
    .feature-card { 
        padding: 1.25rem !important; 
        text-align: left !important; 
    }
    .feature-icon { 
        width: 44px !important; 
        height: 44px !important; 
        margin: 0 0 0.75rem 0 !important; 
    }
    .about-content { 
        grid-template-columns: 1fr !important; 
        gap: 1.5rem !important; 
    }
    .about-layout { 
        grid-template-columns: 1fr !important; 
        gap: 1.5rem !important; 
    }
    
    /* Features section */
    .features-grid { 
        grid-template-columns: 1fr !important; 
        gap: 1.25rem !important; 
        margin-top: 2rem !important;
    }
    .feature-card { 
        padding: 1.75rem 1.5rem !important; 
        border-radius: 16px !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
    }
    .feature-icon {
        width: 48px !important;
        height: 48px !important;
        margin-bottom: 1.25rem !important;
    }
    .feature-card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.75rem !important;
        line-height: 1.3 !important;
    }
    .feature-card p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        color: var(--text-light) !important;
    }
    
    /* Download section */
    .download-content { 
        grid-template-columns: 1fr !important; 
        gap: 1.5rem !important; 
        text-align: center !important; 
    }
    .download-buttons { 
        flex-direction: column !important; 
        gap: 0.75rem !important; 
        align-items: center !important; 
    }
    .download-buttons .btn { 
        width: 100% !important; 
        max-width: 320px !important;
        padding: 14px 18px !important;
        font-size: 1.05rem !important;
        border-radius: 12px !important;
        min-height: 52px !important;
    }
    .btn-download svg { width: 20px; height: 20px; }
    .download-img { max-width: 280px !important; margin: 0 auto !important; }
    
    /* Installation section */
    .installation-content { 
        grid-template-columns: 1fr !important; 
        gap: 1.5rem !important; 
    }
    .steps-grid { 
        grid-template-columns: 1fr !important; 
        gap: 1rem !important; 
    }
    .step { 
        padding: 1.5rem !important; 
    }
    
    /* FAQ section */
    .faq-content { 
        grid-template-columns: 1fr !important; 
        gap: 1.5rem !important; 
    }
    .faq-item { 
        padding: 1rem !important; 
    }
    
    /* Footer */
    .footer-content { 
        grid-template-columns: 1fr !important; 
        gap: 2rem !important; 
        text-align: center !important; 
    }
    .footer-section ul { 
        align-items: center !important; 
    }
    
    /* Blog specific */
    .blog-grid { 
        grid-template-columns: 1fr !important; 
        gap: 1.5rem !important; 
    }
    .blog-card { 
        padding: 1.5rem !important; 
    }
    
    /* Hamburger menu */
    .hamburger { 
        display: flex !important; 
        visibility: visible !important;
        opacity: 1 !important;
        min-width: 40px !important;
        min-height: 40px !important;
        padding: 6px !important;
    }
    .hamburger span { 
        width: 22px !important; 
        height: 2px !important; 
    }
    
    /* Navigation menu */
    .nav-menu.active { 
        padding: 2rem 1rem !important; 
    }
    .nav-menu.active a { 
        font-size: 1.3rem !important; 
        padding: 0.75rem !important; 
    }
}

/* Medium mobile devices (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .container { 
        padding: 0 20px; 
    }
    
    h1 { 
        font-size: 1.8rem !important; 
    }
    h2 { 
        font-size: 1.4rem !important; 
    }
    
    .brand-name { 
        font-size: 1.1rem !important; 
        max-width: calc(100% - 80px) !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
        word-break: break-word !important;
        line-height: 1.2 !important;
    }
    .nav-brand { max-width: calc(100% - 80px) !important; }
    
    .hero { 
        padding: 130px 0 56px !important; 
        margin-top: 15px !important;
    }
    .hero-content { 
        grid-template-columns: 1fr !important; 
        gap: 2rem !important; 
        text-align: center !important; 
    }
    .hero-text h1 {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        max-width: 100% !important;
        margin-bottom: 1rem !important;
    }
    .hero-text h2 {
        font-size: 1.3rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
    }
    .hero-buttons { 
        flex-direction: column !important; 
        gap: 1rem !important; 
        align-items: center !important; 
    }
    .hero-buttons .btn { 
        width: auto !important; 
        min-width: 200px !important;
    }
    
    .about-content { 
        grid-template-columns: 1fr !important; 
    }
    .features-grid { 
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 1.5rem !important; 
        margin-top: 2rem !important;
    }
    .feature-card {
        padding: 1.5rem !important;
        border-radius: 16px !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
    }
    .feature-icon {
        width: 44px !important;
        height: 44px !important;
        margin-bottom: 1rem !important;
    }
    .feature-card h3 {
        font-size: 1rem !important;
        margin-bottom: 0.75rem !important;
        line-height: 1.3 !important;
    }
    .feature-card p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        color: var(--text-light) !important;
    }
    .download-content { 
        grid-template-columns: 1fr !important; 
        text-align: center !important; 
    }
    .installation-content { 
        grid-template-columns: 1fr !important; 
    }
    .steps-grid { 
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 1.5rem !important; 
    }
    .faq-content { 
        grid-template-columns: 1fr !important; 
    }
    .blog-grid { 
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 1.5rem !important; 
    }
}

/* Ensure hamburger is always visible on mobile */
@media (max-width: 768px) {
    .hamburger { 
        display: flex !important; 
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1001 !important;
        background: rgba(255, 255, 255, 0.9) !important;
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
    }
    
    .nav-menu { 
        display: none !important; 
    }
    
    .nav-menu.active { 
        display: flex !important; 
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(10px) !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 2rem !important;
        z-index: 1000 !important;
        margin: 0 !important;
        padding: 2rem !important;
    }
    
    .nav-menu.active a { 
        font-size: 1.5rem !important;
        font-weight: 600 !important;
        color: var(--text-dark) !important;
        padding: 1rem !important;
        border-radius: 8px !important;
        transition: all 0.3s ease !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 300px !important;
    }
    
    .nav-menu.active a:hover { 
        background: rgba(124, 58, 237, 0.1) !important;
        color: var(--primary-color) !important;
    }
}

/* Desktop styles */
@media (min-width: 769px) {
    .hamburger { 
        display: none !important; 
    }
    .nav-menu { 
        display: flex !important; 
    }
}

/* Mobile styles for hamburger menu and navigation */
@media (max-width: 768px) {
    /* Prevent horizontal scrolling */
    body {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    /* Allow container to show full-width children without clipping */
    .container {
        overflow: visible !important;
        max-width: 100% !important;
    }
    
    /* Ensure images don't overflow */
    img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Let button text wrap to avoid horizontal overflow */
    .btn {
        white-space: normal !important;
        text-align: center !important;
        max-width: 100% !important;
    }
    
    /* Fix table responsiveness */
    .table-responsive {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    /* Fix grid layouts */
    .grid, .features-grid, .blog-grid, .steps-grid {
        display: grid !important;
        width: 100% !important;
        overflow: visible !important;
    }
    
    /* Fix flex layouts */
    .flex, .hero-buttons, .download-buttons {
        display: flex !important;
        width: 100% !important;
        overflow: visible !important;
        flex-wrap: wrap !important;
    }
}

