/* ===== ScanGow Main Stylesheet ===== */
/* Additional styles for ScanGow WordPress Theme */

/* ===== Front Page Components ===== */
.hero-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-gray) 100%);
    color: white;
    padding: 4rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 80vh;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--white);
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: var(--white);
}

.price-badge {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: bold;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--white);
}

.tech-showcase {
    text-align: center;
}

.qr-code-preview {
    margin-bottom: 2rem;
}

.qr-code {
    background: white;
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
    border-radius: 5px;
}

.nfc-preview {
    margin-top: 20px;
}

.nfc-placeholder {
    background: white;
    padding: 15px 25px;
    border-radius: 10px;
    display: inline-block;
    color: var(--dark-gray);
    font-weight: bold;
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

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

.solution-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.solution-card p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    text-align: right;
}

.solution-features li {
    padding: 0.5rem 0;
    text-align: right;
    color: var(--dark-gray);
}

/* Features Highlight */
.features-highlight .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.feature-highlight-item {
    padding: 1.5rem;
}

.feature-highlight-item .feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-highlight-item h4 {
    margin-bottom: 0.5rem;
    color: var(--white);
}

.feature-highlight-item p {
    opacity: 0.9;
    margin: 0;
}

/* WhatsApp Section */
.whatsapp-section {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 4rem 0;
}

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

.whatsapp-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.whatsapp-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.whatsapp-content ul {
    list-style: none;
    padding: 0;
    font-size: 1.1rem;
}

.whatsapp-content li {
    margin-bottom: 1rem;
    padding-right: 1rem;
}

.whatsapp-preview {
    text-align: center;
}

.whatsapp-demo {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    display: inline-block;
    color: var(--dark-gray);
    max-width: 300px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.whatsapp-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.whatsapp-demo h3 {
    color: #25D366;
    margin-bottom: 0.5rem;
}

.whatsapp-badge {
    background: #25D366;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-top: 1rem;
    font-weight: bold;
}

/* Pricing Section */
.pricing-section {
    background: var(--secondary-color);
    color: white;
    padding: 4rem 0;
}

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

.pricing-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.pricing-card.featured {
    background: rgba(255,255,255,0.15);
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.popular-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
}

.pricing-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    margin: 1rem 0;
    color: var(--primary-color);
}

.price span {
    font-size: 1rem;
    opacity: 0.8;
    color: var(--white);
}

.pricing-features-comprehensive {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
    text-align: right;
}

.feature-column h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-column ul {
    list-style: none;
    padding: 0;
}

.feature-column li {
    padding: 0.5rem 0;
    text-align: right;
    color: rgba(255,255,255,0.9);
}

.price-guarantee {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
    text-align: center;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    text-align: center;
    background: var(--light-gray);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--dark-gray);
}

.price-emphasis {
    background: var(--primary-color);
    color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.price-emphasis h3 {
    margin: 0;
    font-size: 1.3rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ===== Blog & Content Styles ===== */
.content-area {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    margin: 2rem 0;
}

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

article {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

article:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.post-thumbnail {
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

article:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
}

.post-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.post-title a:hover {
    color: var(--primary-color);
}

.post-excerpt {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.post-meta {
    font-size: 0.85rem;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Archive Styles */
.archive-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.archive-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    grid-column: 1 / -1;
}

.archive-title {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.archive-description {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.archive-meta {
    color: #666;
    font-style: italic;
}

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

.archive-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.archive-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.archive-item-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.archive-thumbnail {
    overflow: hidden;
}

.archive-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.archive-item:hover .archive-thumbnail img {
    transform: scale(1.05);
}

.archive-item-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.entry-header {
    margin-bottom: 1rem;
}

.entry-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.entry-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.entry-title a:hover {
    color: var(--primary-color);
}

.entry-meta {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
}

.entry-summary {
    flex-grow: 1;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.entry-footer {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    font-size: 0.85rem;
    color: #666;
}

/* Search Results */
.search-content {
    max-width: 100%;
}

.search-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.search-title {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.search-title span {
    color: var(--primary-color);
}

.search-meta {
    color: #666;
    font-style: italic;
}

.search-results-grid {
    display: grid;
    gap: 2rem;
}

.search-result-item {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.search-result-item:hover {
    transform: translateY(-3px);
}

.search-result-inner {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    align-items: start;
}

.search-result-thumbnail img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.search-result-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-result-type {
    margin-top: auto;
}

.post-type-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.no-search-results {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.search-suggestions {
    margin: 2rem 0;
    text-align: left;
    display: inline-block;
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.search-suggestions li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.search-suggestions li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.search-again-form {
    margin: 2rem 0;
}

.search-again-form .search-form {
    max-width: 400px;
    margin: 0 auto;
}

.back-to-home {
    margin-top: 2rem;
}

/* 404 Error Page */
.error-404 {
    text-align: center;
    padding: 2rem 0;
}

.error-content {
    max-width: 800px;
    margin: 0 auto;
}

.error-header {
    margin-bottom: 3rem;
}

.error-code {
    font-size: 8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: bold;
}

.error-title {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.error-description {
    font-size: 1.2rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

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

.suggestion-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.suggestion-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.suggestion-item h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.suggestion-action {
    margin-top: 1.5rem;
}

.popular-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    margin-top: 3rem;
}

.popular-links ul {
    list-style: none;
    padding: 0;
    columns: 2;
    gap: 2rem;
}

.popular-links li {
    margin-bottom: 0.8rem;
    break-inside: avoid;
}

.popular-links a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 0.5rem;
    border-radius: 5px;
}

.popular-links a:hover {
    color: var(--primary-color);
    background: var(--light-gray);
}

/* ===== Sidebar ===== */
.sidebar {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.widget {
    margin-bottom: 2rem;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

/* ===== Pagination ===== */
.pagination {
    margin: 3rem 0;
    text-align: center;
}

.nav-links {
    display: inline-flex;
    gap: 0.5rem;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: var(--dark-gray);
    border-radius: 5px;
    transition: var(--transition);
}

.page-numbers.current,
.page-numbers:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ===== Footer Styles ===== */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-widget h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.footer-navigation li {
    margin-bottom: 0.5rem;
}

.footer-navigation a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-navigation a:hover {
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 2rem;
    text-align: center;
    color: #999;
}

.price-note {
    margin-top: 0.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* ===== Mobile Navigation ===== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background: currentColor;
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background: currentColor;
    left: 0;
    transition: var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.menu-toggle.active .hamburger {
    background: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #5da836;
    transform: translateY(-2px);
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .content-area,
    .archive-content {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .archive-grid {
        grid-template-columns: 1fr;
    }
    
    .search-result-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .search-result-thumbnail {
        max-width: 200px;
        margin: 0 auto;
    }
    
    .suggestions-grid {
        grid-template-columns: 1fr;
    }
    
    .popular-links ul {
        columns: 1;
    }
    
    .pricing-features-comprehensive {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .menu-toggle {
        display: block;
    }

    .main-navigation {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--secondary-color);
        transition: var(--transition);
        opacity: 0;
        visibility: hidden;
        z-index: 1000;
    }

    .main-navigation.active {
        top: 100%;
        opacity: 1;
        visibility: visible;
    }

    .main-navigation ul {
        flex-direction: column;
        padding: 2rem;
    }

    .main-navigation li {
        margin: 0;
        border-bottom: 1px solid #444;
    }

    .main-navigation li:last-child {
        border-bottom: none;
    }

    .main-navigation a {
        display: block;
        padding: 1rem 0;
    }

    body.menu-open {
        overflow: hidden;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title,
    .archive-title,
    .search-title,
    .error-title {
        font-size: 1.8rem;
    }
    
    .page-content-inner,
    .archive-item-content,
    .search-result-item,
    .suggestion-item {
        padding: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .error-code {
        font-size: 6rem;
    }
}

/* ===== RTL Support ===== */
body.rtl {
    direction: rtl;
    text-align: right;
}

body.rtl .solution-features,
body.rtl .feature-column ul {
    text-align: right;
}

body.rtl .hero-content,
body.rtl .whatsapp-content {
    direction: rtl;
}

/* ===== Print Styles ===== */
@media print {
    .site-header,
    .site-footer,
    .sidebar,
    .hero-buttons,
    .btn,
    .back-to-top {
        display: none;
    }
    
    .site-main {
        margin-top: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
    }
    
    a::after {
        content: " (" attr(href) ")";
    }
    
    .hero-section {
        background: #fff !important;
        color: #000 !important;
    }
}

/* ===== Dynamic Sections Styles ===== */
.dynamic-section {
    transition: all 0.3s ease;
}

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

.dynamic-section .section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: inherit;
}

.dynamic-section .section-description {
    font-size: 1.2rem;
    opacity: 0.8;
    color: inherit;
    max-width: 600px;
    margin: 0 auto;
}

/* Cards Grid Layout */
.dynamic-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.dynamic-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dynamic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.card-image {
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.dynamic-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    color: inherit;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: inherit;
}

.card-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: inherit;
    opacity: 0.9;
}

.card-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.card-link:hover {
    color: #5da836;
}

/* Features List Layout */
.dynamic-features-list {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.dynamic-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.dynamic-feature:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: inherit;
}

.feature-description {
    margin: 0;
    line-height: 1.6;
    color: inherit;
    opacity: 0.9;
}

/* CTA Layout */
.dynamic-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), #5da836);
    color: white;
    border-radius: var(--border-radius);
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: inherit;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: inherit;
}

/* Testimonials Layout */
.dynamic-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.dynamic-testimonial {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: inherit;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: inherit;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .dynamic-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .dynamic-testimonials {
        grid-template-columns: 1fr;
    }
    
    .dynamic-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .dynamic-section .section-title {
        font-size: 2rem;
    }
    
    .dynamic-cta {
        padding: 2rem 1rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .dynamic-card {
        padding: 1.5rem;
    }
    
    .dynamic-feature {
        padding: 1rem;
    }
    
    .dynamic-testimonial {
        padding: 1.5rem;
    }
    
    .dynamic-section .section-title {
        font-size: 1.8rem;
    }
}

/* ===== Footer Customizer Styles ===== */
.site-footer {
    transition: all 0.3s ease;
}

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

.footer-widget h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-widget p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.social-icon {
    font-size: 1.2rem;
}

/* Footer Navigation */
.footer-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-navigation li {
    margin-bottom: 0.5rem;
}

.footer-navigation a {
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 0.2rem 0;
}

.footer-navigation a:hover {
    color: #5da836 !important;
    padding-left: 5px;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0;
}

.contact-icon {
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.contact-item a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #5da836 !important;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin: 0.3rem 0;
}

.price-note {
    font-weight: bold;
    color: var(--primary-color) !important;
    margin-top: 0.5rem;
}

/* ===== Responsive Footer ===== */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-navigation ul {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-widget {
        padding: 0 1rem;
    }
    
    .social-links {
        gap: 0.3rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
}

/* Hero Customization Styles */
.qr-image,
.nfc-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.nfc-image {
    width: auto;
    height: 80px;
    margin-top: 15px;
}

/* Hide buttons when disabled */
.hero-buttons.hidden {
    display: none;
}

/* Responsive images */
@media (max-width: 768px) {
    .qr-image {
        width: 150px;
        height: 150px;
    }
    
    .nfc-image {
        height: 60px;
    }
}

/* Hero Buttons Advanced Styles */
.hero-buttons.default {
    /* Default style - already defined */
}

.hero-buttons.rounded .btn {
    border-radius: 50px !important;
    padding: 0.8rem 2rem !important;
}

.hero-buttons.outline .btn {
    background: transparent !important;
    border: 2px solid currentColor !important;
}

.hero-buttons.outline .btn-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.hero-buttons.outline .btn-secondary {
    color: var(--white) !important;
    border-color: var(--white) !important;
}

.hero-buttons.outline .btn:hover {
    background: currentColor !important;
}

.hero-buttons.outline .btn-primary:hover {
    color: var(--white) !important;
}

.hero-buttons.outline .btn-secondary:hover {
    color: var(--secondary-color) !important;
}

.hero-buttons.minimal .btn {
    background: transparent !important;
    border: none !important;
    text-decoration: underline;
    padding: 0.5rem 1rem !important;
}

.hero-buttons.minimal .btn-primary {
    color: var(--primary-color) !important;
}

.hero-buttons.minimal .btn-secondary {
    color: var(--white) !important;
}

/* Single button layout */
.hero-buttons:has(.btn:only-child) {
    justify-content: center;
}

.hero-buttons:has(.btn:only-child) .btn {
    min-width: 200px;
}

/* Responsive buttons */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/* Sections Buttons Styles */
.section-buttons {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.dynamic-section .section-buttons {
    border-top-color: rgba(0,0,0,0.1);
}

.section-buttons.row {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.section-buttons.column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.section-buttons.center {
    justify-content: center;
}

.section-buttons.left {
    justify-content: flex-start;
}

.section-buttons.right {
    justify-content: flex-end;
}

/* Button Styles */
.btn-success {
    background: #28a745;
    color: white;
    border: none;
}

.btn-success:hover {
    background: #218838;
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid currentColor;
}

/* Responsive Buttons */
@media (max-width: 768px) {
    .section-buttons.row {
        flex-direction: column;
        align-items: center;
    }
    
    .section-buttons.column {
        align-items: center;
    }
    
    .section-buttons .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* ===== Logo Responsive Styles ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo h1 {
    color: var(--primary-color);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.logo p {
    color: var(--white);
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    margin: 0;
    opacity: 0.8;
    line-height: 1.3;
}

/* Custom Logo Image */
.custom-logo {
    max-width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

/* Desktop Logo Size */
.custom-logo {
    max-height: 60px;
    width: auto;
}

/* Tablet Logo Size */
@media (max-width: 1024px) {
    .custom-logo {
        max-height: 50px;
    }
    
    .logo {
        gap: 0.8rem;
    }
}

/* Mobile Logo Size */
@media (max-width: 768px) {
    .custom-logo {
        max-height: 40px;
    }
    
    .logo {
        gap: 0.6rem;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .logo p {
        font-size: 0.65rem;
    }
}

/* Small Mobile Logo Size */
@media (max-width: 480px) {
    .custom-logo {
        max-height: 35px;
    }
    
    .logo {
        gap: 0.5rem;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
    
    .logo p {
        display: none; /* Hide description on very small screens */
    }
}

/* Logo in Scrolled Header */
.site-header.scrolled .custom-logo {
    max-height: 45px;
}

.site-header.scrolled .logo h1 {
    font-size: 1.5rem;
}

/* Alternative: Logo with Text Only */
.logo-text-only {
    display: flex;
    flex-direction: column;
}

.logo-text-only h1 {
    font-size: clamp(1.3rem, 3.5vw, 2rem);
    margin-bottom: 0.2rem;
}

.logo-text-only p {
    font-size: clamp(0.6rem, 1.8vw, 0.8rem);
}

/* Dynamic Logo Styles from Customizer */
.custom-logo {
    max-width: var(--logo-desktop-width, 200px) !important;
}

@media (max-width: 768px) {
    .custom-logo {
        max-width: var(--logo-mobile-width, 150px) !important;
    }
}

/* Hide description if setting enabled */
<?php if (get_theme_mod('hide_logo_description', false)): ?>
@media (max-width: 768px) {
    .logo p {
        display: none !important;
    }
}
<?php endif; ?>

/* Pricing Grid New */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
}

.pricing-card h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    margin: 1.5rem 0;
    color: var(--primary-color);
}

.price .currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.price .period {
    font-size: 1rem;
    color: var(--dark-gray);
    font-weight: normal;
}

.plan-description {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: right;
}

.plan-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    color: var(--dark-gray);
}

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

@media (max-width: 768px) {
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* Solution Features Customization */
.solution-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    text-align: right;
}

.solution-features li {
    padding: 0.8rem 0;
    text-align: right;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
}

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

.feature-bullet {
    font-size: 1.1em;
    flex-shrink: 0;
}

.feature-text {
    flex: 1;
}

/* Custom bullet animations */
.solution-features li:hover .feature-bullet {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

/* Different bullet styles */
.bullet-check .feature-bullet { color: #28a745; }
.bullet-star .feature-bullet { color: #ffc107; }
.bullet-arrow .feature-bullet { color: #007bff; }
.bullet-heart .feature-bullet { color: #e83e8c; }

/* Solutions Icons Customization */
.solution-icon {
    background: var(--primary-color);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.solution-card:hover .solution-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Responsive solutions */
@media (max-width: 768px) {
    .solution-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Logo Text Styles */
.logo-text-only .site-title {
    color: var(--primary-color);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.logo-text-only .site-title a {
    color: inherit;
    text-decoration: none;
}

.logo-text-only .site-description {
    color: var(--white);
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    margin: 0;
    opacity: 0.8;
    line-height: 1.3;
}

/* Hide duplicate title */
.header-inner h1:not(.logo h1) {
    display: none;
}

/* إخفاء العنوان المكرر */
.site-header h1:not(.logo h1),
.site-header .site-title:not(.logo .site-title) {
    display: none !important;
}

/* تأكد من ظهور العنوان في اللوجو فقط */
.logo h1,
.logo .site-title {
    display: block !important;
}
/* ===== إصلاح الفراغ بين Header و Body ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
    transition: all 0.3s ease;
}

.site-main {
    margin-top: 80px !important;
    min-height: calc(100vh - 80px);
    position: relative;
}

/* Hero section يبدأ من تحت الـHeader مباشرة */
.hero-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* تحسين responsive */
@media (max-width: 1024px) {
    .site-main {
        margin-top: 80px !important;
    }
}

@media (max-width: 768px) {
    .site-header {
        height: 70px;
    }
    
    .site-main {
        margin-top: 70px !important;
        min-height: calc(100vh - 70px);
    }
}

@media (max-width: 480px) {
    .site-header {
        height: 60px;
    }
    
    .site-main {
        margin-top: 60px !important;
        min-height: calc(100vh - 60px);
    }
}