/* Enhanced Agentic SEO Manager Styles */
/* Persian Font Integration */
@font-face {
    font-family: 'PINAR-FD';
    src: url('../fonts/Pinar-FD-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PINAR-FD';
    src: url('../fonts/Pinar-FD-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PINAR-FD';
    src: url('../fonts/Pinar-FD-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PINAR-FD';
    src: url('../fonts/Pinar-FD-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Enhanced RTL and Persian Text Support */
.rtl-layout {
    direction: rtl;
}

.rtl-layout body,
.rtl-layout .persian-text,
[lang="fa"],
[dir="rtl"] {
    font-family: 'PINAR-FD', sans-serif !important;
    direction: rtl;
    text-align: right;
    line-height: 1.8;
}

/* Language Switcher styles removed - now handled in base.html */

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .container {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .hero-copy {
        padding-right: 24px;
    }
    
    .rtl-layout .hero-copy {
        padding-left: 24px;
        padding-right: 0;
    }
}

@media (max-width: 992px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .rtl-layout .hero-inner {
        flex-direction: column;
    }
    
    .hero-copy {
        padding-right: 0;
        padding-left: 0;
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .rtl-layout .hero-copy {
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }
    
    .feature-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .rtl-layout .feature-inner {
        flex-direction: column;
    }
    
    .feature-icon {
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 16px;
        justify-content: center;
    }
    
    .rtl-layout .feature-icon {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Header Color Differentiation */
.site-header {
    background-color: #2c3e50;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}

/* Ensure header links are visible on dark background */
.site-header .header-links a:not(.button) {
    color: #ecf0f1;
}

.site-header .header-links a:not(.button):hover,
.site-header .header-links a:not(.button):active {
    color: #ffffff;
}

/* Header brand/logo styling */
.site-header .header-brand h1 a {
    color: #ffffff;
}

/* Language switcher styling for dark header */
.site-header .language-switcher {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.site-header .language-switcher select {
    color: #ffffff;
    background: transparent;
}

.site-header .language-switcher::before {
    color: #ffffff;
}

/* Ensure body content has light background for contrast */
body {
    background-color: #f4f4f4;
}

main {
    background-color: #f4f4f4;
    min-height: calc(100vh - 80px);
}
/* header_color */
@media (max-width: 768px) {
    .site-header {
        padding: 6px 0;
        background-color: #2c3e50;
    }
    
    .site-header-inner {
        flex-direction: column;
        gap: 8px;
    }
    
    .rtl-layout .site-header-inner {
        flex-direction: column;
    }
    
    .header-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .header-links a:not(.button) {
        padding: 4px 12px;
        font-size: 14px;
        color: #ecf0f1;
    }
    
    .header-links a:not(.button):hover {
        color: #ffffff;
    }
    
    .hero {
        padding-top: 32px;
        padding-bottom: 64px;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 40px;
    }
    
    .hero-cta {
        display: flex;
        flex-direction: row;
        gap: 16px;
        max-width: 100%;
        align-items: center;
        justify-content: center;
    }
    
    .hero-cta .button {
        flex: 0 0 auto;
        min-width: 140px;
        height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-cta .button:first-child {
        margin-right: 0;
        margin-left: 0;
    }
    
    .rtl-layout .hero-cta .button:first-child {
        margin-left: 0;
        margin-right: 0;
    }
    
    .section-inner {
        padding-top: 32px;
        padding-bottom: 32px;
    }
    
    .features-wrap {
        max-width: 100%;
    }
    
    .feature {
        margin-bottom: 32px;
    }
    
    .site-footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .footer-brand,
    .footer-links,
    .footer-social-links,
    .footer-copyright {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 4px 0;
        background-color: #2c3e50;
    }
    
    .site-header-inner {
        flex-direction: column;
        gap: 6px;
    }
    
    .header-brand h1 {
        font-size: 20px;
        margin: 0;
    }
    
    .header-brand h1 a {
        color: #ffffff;
    }
    
    .header-links {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .header-links a:not(.button) {
        padding: 6px 12px;
        font-size: 14px;
        color: #ecf0f1;
        text-align: center;
        width: 100%;
    }
    
    .header-links a:not(.button):hover {
        color: #ffffff;
    }
    
    .language-switcher {
        margin-top: 8px;
        justify-content: center;
    }
    
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 36px;
    }
    
    .hero-paragraph {
        font-size: 16px;
        line-height: 24px;
    }
    
    .button {
        padding: 12px 24px;
        font-size: 13px;
    }
    
    .input,
    .textarea {
        font-size: 16px;
        padding: 12px 14px;
    }
    
    .feature-title {
        font-size: 20px;
        line-height: 28px;
        text-align: center !important;
    }
}

/* Enhanced Form Styling */
.form-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(24, 37, 56, 0.1);
    backdrop-filter: blur(10px);
}

.lights-off .form-container {
    background: rgba(24, 37, 56, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.form-title {
    text-align: center;
    margin-bottom: 32px;
    color: #182538;
    font-size: 28px;
    font-weight: 600;
}

.lights-off .form-title {
    color: #fff;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #182538;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lights-off .form-label {
    color: #8595AE;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E9EDF3;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
    color: #182538;
}

.form-input:focus {
    outline: none;
    border-color: #535FD7;
    box-shadow: 0 0 0 3px rgba(83, 95, 215, 0.1);
}

.lights-off .form-input {
    background: #304057;
    border-color: #304057;
    color: #fff;
}

.lights-off .form-input:focus {
    border-color: #71abda;
    box-shadow: 0 0 0 3px rgba(113, 171, 218, 0.1);
}

.form-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E9EDF3;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
    color: #182538;
    cursor: pointer;
}

.lights-off .form-select {
    background: #304057;
    border-color: #304057;
    color: #fff;
}

.form-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #535FD7, #71abda);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(83, 95, 215, 0.3);
}

.form-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Enhanced Profile Page Styling */
.profile-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    width: 100%;
    margin: 0 auto;
    padding: 32px;
}

@media (max-width: 992px) {
    .profile-container {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 16px;
    }
}

.profile-sidebar {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 24px;
    height: fit-content;
    box-shadow: 0 4px 16px rgba(24, 37, 56, 0.08);
    backdrop-filter: blur(10px);
}

.lights-off .profile-sidebar {
    background: rgba(24, 37, 56, 0.95);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

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

.profile-nav li {
    margin-bottom: 8px;
}

.profile-nav a {
    display: block;
    padding: 12px 16px;
    color: #6B7A90;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.profile-nav a:hover,
.profile-nav a.active {
    background: linear-gradient(135deg, #535FD7, #71abda);
    color: white;
    transform: translateX(4px);
}

.rtl-layout .profile-nav a:hover,
.rtl-layout .profile-nav a.active {
    transform: translateX(-4px);
}

.profile-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(24, 37, 56, 0.08);
    backdrop-filter: blur(10px);
}

.lights-off .profile-content {
    background: rgba(24, 37, 56, 0.95);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.profile-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #E9EDF3;
}

.lights-off .profile-section {
    border-bottom-color: #304057;
}

.profile-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.profile-section h3 {
    margin-bottom: 16px;
    color: #182538;
    font-size: 20px;
    font-weight: 600;
}

.lights-off .profile-section h3 {
    color: #fff;
}

.profile-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.profile-info-item {
    padding: 16px;
    background: #F8F9FB;
    border-radius: 8px;
    border-left: 4px solid #535FD7;
}

.rtl-layout .profile-info-item {
    border-left: none;
    border-right: 4px solid #535FD7;
}

.lights-off .profile-info-item {
    background: #304057;
    border-left-color: #71abda;
}

.rtl-layout.lights-off .profile-info-item {
    border-right-color: #71abda;
}

.profile-info-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6B7A90;
    margin-bottom: 4px;
}

.profile-info-value {
    font-size: 16px;
    font-weight: 500;
    color: #182538;
}

.lights-off .profile-info-value {
    color: #fff;
}

/* Enhanced Button Styling */
.button-enhanced {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, #535FD7, #71abda);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 8px;
}

.button-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(83, 95, 215, 0.3);
    color: white;
    text-decoration: none;
}

.button-enhanced.button-secondary {
    background: transparent;
    border: 2px solid #535FD7;
    color: #535FD7;
}

.button-enhanced.button-secondary:hover {
    background: #535FD7;
    color: white;
}

.lights-off .button-enhanced.button-secondary {
    border-color: #71abda;
    color: #71abda;
}

.lights-off .button-enhanced.button-secondary:hover {
    background: #71abda;
    color: white;
}

/* Enhanced Messages Styling */
.messages {
    position: relative;
    margin: 20px auto 30px auto;
    padding: 0;
    width: 100%;
    max-width: 800px;
    z-index: 100;
}

/* RTL Layout Messages */
.rtl-layout .messages {
    direction: rtl;
    text-align: right;
}

.alert {
    padding: 16px 20px;
    margin-bottom: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    border-left: 4px solid;
    backdrop-filter: blur(10px);
    animation: slideInDown 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: center;
}

.rtl-layout .alert {
    border-left: none;
    border-right: 4px solid;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: rgba(212, 237, 218, 0.95);
    border-left-color: #28a745;
    color: #155724;
}

.rtl-layout .alert-success {
    border-right-color: #28a745;
}

.alert-error {
    background: rgba(248, 215, 218, 0.95);
    border-left-color: #dc3545;
    color: #721c24;
}

.rtl-layout .alert-error {
    border-right-color: #dc3545;
}

.alert-warning {
    background: rgba(255, 243, 205, 0.95);
    border-left-color: #ffc107;
    color: #856404;
}

.rtl-layout .alert-warning {
    border-right-color: #ffc107;
}

.alert-info {
    background: rgba(209, 236, 241, 0.95);
    border-left-color: #17a2b8;
    color: #0c5460;
}

.rtl-layout .alert-info {
    border-right-color: #17a2b8;
}

/* Responsive Messages */
@media (max-width: 768px) {
    .messages {
        margin: 15px 10px 25px 10px;
        max-width: calc(100% - 20px);
    }
    
    .alert {
        padding: 12px 16px;
        font-size: 13px;
        border-radius: 8px;
    }
    
    .rtl-layout .alert {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .messages {
        margin: 10px 5px 20px 5px;
        max-width: calc(100% - 10px);
    }
    
    .alert {
        padding: 10px 14px;
        font-size: 12px;
        margin-bottom: 8px;
    }
}
:root {
    --primary-blue: #71abda;
    --secondary-blue: #535FD7;
    --light-blue: rgba(113, 171, 218, 0.1);
    --dark-blue: #2c5aa0;
}

.text-primary {
    color: var(--primary-blue) !important;
}

.bg-primary {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue)) !important;
}

.border-primary {
    border-color: var(--primary-blue) !important;
}

/* Enhanced Dark Mode Support */
.lights-off {
    --primary-blue: #71abda;
    --secondary-blue: #8bb3e8;
    --light-blue: rgba(113, 171, 218, 0.2);
}

/* Improved Typography Hierarchy */
.text-hero {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 16px;
}

.text-lead {
    font-size: clamp(18px, 2.5vw, 22px);
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 24px;
    opacity: 0.9;
}

.text-section-title {
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 16px;
}

/* Enhanced Animation Support */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.slide-up {
    animation: slideUp 0.6s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Enhanced Focus States for Accessibility */
.button:focus,
.form-input:focus,
.form-select:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .messages,
    .site-header,
    .site-footer {
        display: none !important;
    }
    
    .body-wrap {
        background: white !important;
        box-shadow: none !important;
    }
    
    * {
        color: black !important;
        background: white !important;
    }
}

/* Switch Template Image Styling */
/* Asset Light/Dark Theme Support */
.asset-light {
    display: block;
}

.asset-dark {
    display: none;
}

.lights-off .asset-light {
    display: none;
}

.lights-off .asset-dark {
    display: block;
}

/* Hero Media Styling */
.hero-media {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 100%;
}

.header-illustration {
    position: absolute;
    top: -20px;
    left: -20px;
    z-index: 1;
    opacity: 0.8;
}

.header-illustration-image {
    max-width: 120px;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

.hero-media-illustration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0.9;
}

.hero-media-illustration-image {
    max-width: 200px;
    height: auto;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-media-container {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-media-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(83, 95, 215, 0.2);
    transition: transform 0.3s ease;
}

.hero-media-image:hover {
    transform: scale(1.02);
}

/* Features Image Styling */
.features-image {
    position: relative;
    margin: 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.features-illustration {
    max-width: 300px;
    height: auto;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.features-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 250px;
    height: auto;
    z-index: 2;
}

.features-illustration:first-child {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.features-illustration:last-child {
    position: absolute;
    top: -30px;
    right: 0;
    z-index: 3;
    max-width: 150px;
}

/* Feature Icon Styling */
.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(83, 95, 215, 0.1), rgba(113, 171, 218, 0.1));
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature-icon img {
    max-width: 48px;
    height: auto;
    transition: transform 0.3s ease;
}

.feature:hover .feature-icon {
    background: linear-gradient(135deg, rgba(83, 95, 215, 0.2), rgba(113, 171, 218, 0.2));
    transform: scale(1.05);
}

.feature:hover .feature-icon img {
    transform: scale(1.1);
}

.lights-off .feature-icon {
    background: linear-gradient(135deg, rgba(83, 95, 215, 0.2), rgba(113, 171, 218, 0.2));
}

.lights-off .feature:hover .feature-icon {
    background: linear-gradient(135deg, rgba(83, 95, 215, 0.3), rgba(113, 171, 218, 0.3));
}

/* CTA Illustration Styling */
.cta-illustration {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-illustration img {
    max-width: 400px;
    height: auto;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.cta-illustration:hover img {
    transform: scale(1.02);
    opacity: 1;
}

/* Logo Styling */
/* Logo A1 PNG Integration Styling */
/* Header Logo Styling */
.header-logo-image {
    max-height: 45px;
    width: auto;
    height: auto;
    transition: all 0.3s ease;
    object-fit: contain;
    display: block;
}

.header-logo-image:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Footer Logo Styling */
.footer-brand img {
    max-height: 35px;
    width: auto;
    height: auto;
    transition: all 0.3s ease;
    object-fit: contain;
    display: block;
}

.footer-brand img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Brand Container Adjustments */
.header-brand a {
    display: inline-block;
    line-height: 1;
}

.footer-brand a {
    display: inline-block;
    line-height: 1;
}

/* Responsive Logo Sizing */
@media (max-width: 1024px) {
    .header-logo-image {
        max-height: 40px;
    }
    
    .footer-brand img {
        max-height: 32px;
    }
}

@media (max-width: 768px) {
    .header-logo-image {
        max-height: 36px;
    }
    
    .footer-brand img {
        max-height: 28px;
    }
    
    .header-brand {
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .header-logo-image {
        max-height: 32px;
    }
    
    .footer-brand img {
        max-height: 24px;
    }
    
    .header-brand {
        margin-bottom: 12px;
    }
}

/* High DPI Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .header-logo-image,
    .footer-brand img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* RTL Layout Adjustments for Logo */
.rtl-layout .header-logo-image,
.rtl-layout .footer-brand img {
    transform-origin: center;
}

.rtl-layout .header-logo-image:hover,
.rtl-layout .footer-brand img:hover {
    transform: scale(1.05);
}

/* Dark Mode Compatibility */
.lights-off .header-logo-image,
.lights-off .footer-brand img {
    filter: brightness(0.95) contrast(1.1);
}

.lights-off .header-logo-image:hover,
.lights-off .footer-brand img:hover {
    filter: brightness(1) contrast(1.2);
}

/* Logo Loading States */
.header-logo-image,
.footer-brand img {
    background-color: transparent;
    background-image: linear-gradient(90deg, rgba(83, 95, 215, 0.1) 0%, rgba(113, 171, 218, 0.1) 100%);
    background-size: 200% 100%;
    animation: logoShimmer 2s infinite;
}

.header-logo-image[src],
.footer-brand img[src] {
    background: none;
    animation: none;
}

@keyframes logoShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Logo Accessibility */
.header-logo-image:focus,
.footer-brand img:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print Styles for Logo */
@media print {
    .header-logo-image,
    .footer-brand img {
        max-height: 30px !important;
        filter: none !important;
        transform: none !important;
    }
}

/* Animation Keyframes */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(2deg); 
    }
}

/* Responsive Design for Images */
@media (max-width: 1024px) {
    .hero-media-illustration-image {
        max-width: 150px;
    }
    
    .header-illustration-image {
        max-width: 100px;
    }
    
    .features-illustration {
        max-width: 250px;
    }
    
    .features-box {
        max-width: 200px;
    }
    
    .cta-illustration img {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .hero-media {
        margin-top: 40px;
    }
    
    .header-illustration {
        display: none;
    }
    
    .hero-media-illustration-image {
        max-width: 120px;
    }
    
    .features-image {
        min-height: 150px;
        margin: 30px 0;
    }
    
    .features-illustration {
        max-width: 200px;
    }
    
    .features-box {
        max-width: 150px;
    }
    
    .features-illustration:last-child {
        max-width: 100px;
        top: -20px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon img {
        max-width: 40px;
    }
    
    .cta-illustration img {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .hero-media-illustration {
        display: none;
    }
    
    .features-image {
        min-height: 120px;
        margin: 20px 0;
    }
    
    .features-illustration:first-child,
    .features-illustration:last-child {
        display: none;
    }
    
    .features-box {
        position: relative;
        transform: none;
        max-width: 180px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .feature-icon img {
        max-width: 32px;
    }
    
    .cta-illustration img {
        max-width: 200px;
    }
    
    .header-logo-image {
        max-height: 32px;
    }
    
    .footer-brand img {
        max-height: 28px;
    }
}

/* RTL Adjustments for Images */
.rtl-layout .header-illustration {
    left: auto;
    right: -20px;
}

.rtl-layout .features-illustration:first-child {
    left: auto;
    right: 0;
}

.rtl-layout .features-illustration:last-child {
    right: auto;
    left: 0;
}

.rtl-layout .hero-media-container {
    transform: scaleX(-1);
}

.rtl-layout .cta-illustration img {
    transform: scaleX(-1);
}