/*
Theme Name: Sahl Arabic - Modern
Theme URI: https://sahl-arabic.com
Author: Sahl Arabic Team
Author URI: https://sahl-arabic.com
Description: A modern, fully customizable WordPress theme for Sahl Arabic - teaching Arabic to non-native speakers. Features customizable homepage sections, WordPress Customizer integration, widget areas, and responsive design. Every element (logo, menus, headings, content, widgets, colors) can be controlled from the WordPress admin panel.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sahl-arabic
Tags: one-column, two-columns, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, theme-options, translation-ready, blog, education
*/

/* ============================================
   CSS RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --sahl-purple: #1F0661;
    --sahl-purple-light: #2D0A8F;
    --sahl-teal: #1BB0CE;
    --sahl-teal-light: #23C9E8;
    --sahl-gold: #D4A843;
    --sahl-gold-light: #E8C06A;
    --sahl-cream: #FDF8F0;
    --sahl-white: #FFFFFF;
    --sahl-dark: #1a1a2e;
    --sahl-gray: #6b7280;
    --sahl-light-gray: #f3f4f6;
    --font-heading: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--sahl-dark);
    line-height: 1.7;
    background: var(--sahl-white);
    overflow-x: hidden;
    direction: ltr;
    text-align: left;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--sahl-teal), var(--sahl-teal-light));
    color: var(--sahl-white);
    box-shadow: 0 4px 16px rgba(27, 176, 206, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(27, 176, 206, 0.45);
}

.btn-secondary {
    background: var(--sahl-white);
    color: var(--sahl-purple);
    border: 2px solid var(--sahl-purple);
}

.btn-secondary:hover {
    background: var(--sahl-purple);
    color: var(--sahl-white);
}

.btn-gold {
    background: linear-gradient(135deg, var(--sahl-gold), var(--sahl-gold-light));
    color: var(--sahl-white);
    box-shadow: 0 4px 16px rgba(212, 168, 67, 0.35);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212, 168, 67, 0.45);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.site-logo img {
    height: 48px;
    width: auto;
    transition: var(--transition);
}

.site-header.scrolled .site-logo img {
    height: 40px;
}

.site-logo .site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sahl-white);
    transition: var(--transition);
}

.site-header.scrolled .site-logo .site-title {
    color: var(--sahl-purple);
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-navigation li a {
    padding: 8px 18px;
    border-radius: var(--radius-xl);
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.main-navigation li a:hover,
.main-navigation li.current-menu-item a {
    color: var(--sahl-white);
    background: rgba(255, 255, 255, 0.15);
}

.site-header.scrolled .main-navigation li a {
    color: var(--sahl-dark);
}

.site-header.scrolled .main-navigation li a:hover,
.site-header.scrolled .main-navigation li.current-menu-item a {
    color: var(--sahl-purple);
    background: rgba(31, 6, 97, 0.08);
}

.header-cta {
    margin-left: 16px;
}

.header-cta .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--sahl-white);
    border-radius: 2px;
    transition: var(--transition);
}

.site-header.scrolled .mobile-menu-toggle span {
    background: var(--sahl-dark);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, var(--sahl-purple) 0%, #150448 100%);
    z-index: 999;
    padding: 100px 30px 30px;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu li a {
    display: block;
    padding: 14px 20px;
    color: var(--sahl-white);
    font-size: 1.15rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.mobile-menu li a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu .mobile-cta {
    margin-top: 20px;
}

.mobile-menu .mobile-cta .btn {
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--sahl-purple) 0%, #150448 50%, #0D0330 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(27, 176, 206, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    color: var(--sahl-gold-light);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-badge .badge-dot {
    width: 8px;
    height: 8px;
    background: var(--sahl-gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--sahl-white);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-section h1 .highlight {
    background: linear-gradient(135deg, var(--sahl-teal), var(--sahl-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section .hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats-mini {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats-mini .stat-item {
    text-align: center;
}

.hero-stats-mini .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--sahl-gold);
}

.hero-stats-mini .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(20px);
    max-width: 440px;
    margin-left: auto;
}

.hero-card h3 {
    color: var(--sahl-white);
    font-size: 1.3rem;
    margin-bottom: 24px;
}

.hero-features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.hero-feature-item .feature-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--sahl-teal), var(--sahl-teal-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */
.section {
    padding: 100px 0;
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: linear-gradient(135deg, rgba(31, 6, 97, 0.08), rgba(27, 176, 206, 0.08));
    border-radius: var(--radius-xl);
    color: var(--sahl-purple);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--sahl-dark);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--sahl-gray);
    line-height: 1.8;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: var(--sahl-cream);
}

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

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-image-wrapper .floating-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--sahl-white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.about-image-wrapper .floating-badge .badge-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--sahl-purple);
}

.about-image-wrapper .floating-badge .badge-text {
    font-size: 0.8rem;
    color: var(--sahl-gray);
}

.about-content h2 {
    font-size: 2.2rem;
    color: var(--sahl-dark);
    margin-bottom: 20px;
}

.about-content .about-text {
    font-size: 1.05rem;
    color: var(--sahl-gray);
    line-height: 1.8;
    margin-bottom: 28px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--sahl-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.about-feature-item .check-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--sahl-teal), var(--sahl-teal-light));
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sahl-white);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.about-feature-item span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--sahl-dark);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--sahl-purple) 0%, #150448 100%);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.stat-card .stat-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.stat-card .stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--sahl-gold);
    line-height: 1.2;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

/* ============================================
   METHODOLOGY SECTION
   ============================================ */
.methodology-section {
    background: var(--sahl-white);
}

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

.method-card {
    background: var(--sahl-white);
    border: 1px solid #eee;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sahl-teal), var(--sahl-purple));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

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

.method-card .method-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(31, 6, 97, 0.08), rgba(27, 176, 206, 0.08));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.method-card h3 {
    font-size: 1.2rem;
    color: var(--sahl-dark);
    margin-bottom: 12px;
}

.method-card p {
    font-size: 0.95rem;
    color: var(--sahl-gray);
    line-height: 1.7;
}

/* ============================================
   FREE TRIAL CTA SECTION
   ============================================ */
.cta-section {
    background: var(--sahl-cream);
    padding: 80px 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--sahl-purple), #150448);
    border-radius: var(--radius-xl);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(27, 176, 206, 0.2), transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 550px;
}

.cta-content h2 {
    font-size: 2.2rem;
    color: var(--sahl-white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

.cta-buttons {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
    background: var(--sahl-white);
}

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

.pricing-card {
    background: var(--sahl-white);
    border: 2px solid #eee;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--sahl-teal);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.pricing-card.featured .pricing-badge {
    display: inline-block;
}

.pricing-badge {
    display: none;
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--sahl-teal), var(--sahl-teal-light));
    color: var(--sahl-white);
    padding: 6px 20px;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
}

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

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

.pricing-card .plan-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.pricing-card h3 {
    font-size: 1.3rem;
    color: var(--sahl-dark);
    margin-bottom: 8px;
}

.pricing-card .plan-description {
    font-size: 0.9rem;
    color: var(--sahl-gray);
    margin-bottom: 24px;
}

.pricing-card .plan-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--sahl-purple);
    margin-bottom: 4px;
}

.pricing-card .plan-price .currency {
    font-size: 1.2rem;
    vertical-align: super;
}

.pricing-card .plan-period {
    font-size: 0.85rem;
    color: var(--sahl-gray);
    margin-bottom: 24px;
}

.pricing-card .plan-features {
    text-align: left;
    margin-bottom: 32px;
}

.pricing-card .plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.9rem;
    color: var(--sahl-dark);
}

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

.pricing-card .plan-features .check {
    color: var(--sahl-teal);
    font-weight: bold;
    flex-shrink: 0;
}

.pricing-card .plan-features .cross {
    color: #d1d5db;
    flex-shrink: 0;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    background: var(--sahl-cream);
}

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

.testimonial-card {
    background: var(--sahl-white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.testimonial-card .stars {
    color: var(--sahl-gold);
    font-size: 1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card .testimonial-text {
    font-size: 1rem;
    color: var(--sahl-dark);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

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

.testimonial-card .author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--sahl-purple), var(--sahl-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sahl-white);
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-card .author-info .author-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--sahl-dark);
}

.testimonial-card .author-info .author-role {
    font-size: 0.8rem;
    color: var(--sahl-gray);
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works-section {
    background: var(--sahl-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 12%;
    right: 12%;
    height: 3px;
    background: linear-gradient(90deg, var(--sahl-teal), var(--sahl-purple), var(--sahl-gold));
    border-radius: 2px;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-card .step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--sahl-purple), var(--sahl-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sahl-white);
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(31, 6, 97, 0.3);
}

.step-card .step-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.step-card h3 {
    font-size: 1.1rem;
    color: var(--sahl-dark);
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--sahl-gray);
    line-height: 1.6;
}

/* ============================================
   BLOG PREVIEW SECTION
   ============================================ */
.blog-section {
    background: var(--sahl-light-gray);
}

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

.blog-card {
    background: var(--sahl-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.blog-card .blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card .blog-content {
    padding: 24px;
}

.blog-card .blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--sahl-gray);
}

.blog-card .blog-meta .blog-category {
    background: linear-gradient(135deg, rgba(31, 6, 97, 0.08), rgba(27, 176, 206, 0.08));
    color: var(--sahl-purple);
    padding: 4px 12px;
    border-radius: var(--radius-xl);
    font-weight: 600;
}

.blog-card h3 {
    font-size: 1.15rem;
    color: var(--sahl-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card h3 a:hover {
    color: var(--sahl-teal);
}

.blog-card .blog-excerpt {
    font-size: 0.9rem;
    color: var(--sahl-gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.blog-card .read-more {
    color: var(--sahl-teal);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-card .read-more:hover {
    gap: 10px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--sahl-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about .footer-logo img {
    height: 48px;
    margin-bottom: 16px;
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    transition: var(--transition);
}

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

.footer-column h4 {
    color: var(--sahl-white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--sahl-teal);
    padding-left: 4px;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Footer Widgets */
.footer-widget-area {
    margin-top: 20px;
}

.footer-widget-area .widget {
    margin-bottom: 20px;
}

.footer-widget-area .widget-title {
    color: var(--sahl-white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

/* ============================================
   GENERIC PAGE / POST STYLES
   ============================================ */
.page-content,
.post-content {
    padding: 100px 0 60px;
}

.page-content .entry-title,
.post-content .entry-title {
    font-size: 2.5rem;
    color: var(--sahl-dark);
    margin-bottom: 20px;
}

.post-content .post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--sahl-gray);
}

.entry-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #374151;
}

.entry-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 16px;
    color: var(--sahl-dark);
}

.entry-content h3 {
    font-size: 1.4rem;
    margin: 32px 0 12px;
    color: var(--sahl-dark);
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content ul, .entry-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.entry-content ul {
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

.entry-content img {
    border-radius: var(--radius-md);
    margin: 20px 0;
}

/* ============================================
   404 PAGE
   ============================================ */
.error-404 {
    text-align: center;
    padding: 120px 0;
}

.error-404 h1 {
    font-size: 6rem;
    font-weight: 800;
    color: var(--sahl-purple);
    line-height: 1;
    margin-bottom: 16px;
}

.error-404 h2 {
    font-size: 1.5rem;
    color: var(--sahl-dark);
    margin-bottom: 16px;
}

.error-404 p {
    color: var(--sahl-gray);
    margin-bottom: 32px;
}

/* ============================================
   ANIMATIONS (CSS-only fallback)
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* ============================================
   SIDEBAR WIDGET AREA
   ============================================ */
.sidebar-widget-area {
    padding: 20px 0;
}

.sidebar-widget-area .widget {
    background: var(--sahl-white);
    border: 1px solid #eee;
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-widget-area .widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sahl-dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--sahl-teal);
}

/* ============================================
   COMMENTS
   ============================================ */
.comments-area {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.comments-area h3 {
    font-size: 1.3rem;
    margin-bottom: 24px;
}

.comment-list {
    list-style: none;
}

.comment {
    padding: 20px 0;
    border-bottom: 1px solid #f3f4f6;
}

.comment-author {
    font-weight: 700;
    color: var(--sahl-dark);
}

.comment-meta {
    font-size: 0.8rem;
    color: var(--sahl-gray);
    margin-bottom: 8px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }

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

    .hero-visual {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

    .steps-grid::before {
        display: none;
    }

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

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

    .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }

    .cta-buttons {
        align-items: center;
    }
}

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

    .header-cta.desktop-only {
        display: none;
    }

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

    .hero-section {
        padding: 100px 0 60px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats-mini {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

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

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

    .pricing-card.featured:hover {
        transform: translateY(-6px);
    }

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

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

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

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

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

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

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }

    .stat-card .stat-number {
        font-size: 2rem;
    }

    .cta-box {
        padding: 30px 20px;
    }

    .container {
        padding: 0 16px;
    }
}

/* ============================================
   WORDPRESS SPECIFIC OVERRIDES
   ============================================ */
.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

.alignright {
    float: right;
    margin: 0 0 20px 20px;
}

.aligncenter {
    display: block;
    margin: 20px auto;
}

.wp-caption-text {
    font-size: 0.85rem;
    color: var(--sahl-gray);
    text-align: center;
    margin-top: 8px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Navigation pagination */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.nav-links a, .nav-links span {
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a {
    background: var(--sahl-white);
    border: 1px solid #eee;
    color: var(--sahl-dark);
}

.nav-links a:hover {
    background: var(--sahl-purple);
    color: var(--sahl-white);
    border-color: var(--sahl-purple);
}

.nav-links .current {
    background: var(--sahl-purple);
    color: var(--sahl-white);
}

/* Widget default styles */
.widget {
    margin-bottom: 24px;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.widget ul li a {
    color: var(--sahl-dark);
    font-size: 0.9rem;
}

.widget ul li a:hover {
    color: var(--sahl-teal);
}

/* Search form widget */
.search-form {
    display: flex;
    gap: 8px;
}

.search-form .search-field {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.search-form .search-submit {
    padding: 10px 20px;
    background: var(--sahl-purple);
    color: var(--sahl-white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
}
