/* Homepage - Kronen.eu Inspired Modern Design */

:root {
    /* Modern Color Palette - Kronen.eu Style */
    --mgnt-primary-color: hsl(313, 35%, 25%);
    --mgnt-primary-light: hsl(313, 16%, 48%);
    --mgnt-secondary-color:hsl(313, 35%, 25%);
    --mgnt-accent-color: hsl(313, 16%, 48%);
    --mgnt-success-color: hsl(313, 18%, 40%);
    --mgnt-warning-color: #d97706;
    --mgnt-error-color: #dc2626;
    
    /* Text Colors */
    --mgnt-text-primary: #1e293b;
    --mgnt-text-secondary: #475569;
    --mgnt-text-light: #64748b;
    --mgnt-text-lighter: #94a3b8;
    
    /* Background Colors */
    --mgnt-bg-primary: #ffffff;
    --mgnt-bg-secondary: #f8fafc;
    --mgnt-bg-tertiary: #f1f5f9;
    --mgnt-bg-dark: #0f172a;
    
    /* Border & Shadows */
    --mgnt-border-color: #e2e8f0;
    --mgnt-border-light: #f1f5f9;
    --mgnt-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --mgnt-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --mgnt-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --mgnt-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Layout */
    --mgnt-max-width: 1280px;
    --mgnt-section-padding: 6rem 0;
    --mgnt-container-padding: 2rem;
    
    /* Animation */
    --mgnt-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --mgnt-transition-fast: all 0.15s ease;
    
    /* Grid System */
    --grid-gap-xl: 2.5rem;
    --grid-gap-lg: 2rem;
    --grid-gap-md: 1rem;
    --grid-gap-sm: 0.75rem;
    
    /* Breakpoints */
    --breakpoint-xl: 1200px;
    --breakpoint-lg: 1024px;
    --breakpoint-md: 768px;
    --breakpoint-sm: 576px;
}

/* Reset & Base */
body.template-homepage,
.template-homepage {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--mgnt-text-primary);
    background-color: var(--mgnt-bg-primary);
    
    /* Kronen style indicator */
    border-top: 5px solid var(--mgnt-secondary-color) !important;
}

.template-homepage * {
    box-sizing: border-box;
}

/* Container */
.template-homepage .mgnt-container {
    max-width: var(--mgnt-max-width);
    margin: 0 auto;
    padding: 0 var(--mgnt-container-padding);
}

/* ========== STREAMFIELD BLOCKS MODERN DESIGN ========== */

/* Hero Section Block */
.template-homepage .mgnt-hero-section,
.template-homepage .mgnt-block-hero {
    background: linear-gradient(135deg, var(--mgnt-primary-color) 0%, var(--mgnt-secondary-color) 100%);
    color: white;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.template-homepage .mgnt-hero-section::before,
.template-homepage .mgnt-block-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,0 1000,200 1000,1000 0,800"/></svg>');
    z-index: 1;
}

.template-homepage .mgnt-hero-content,
.template-homepage .mgnt-block-hero .mgnt-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.template-homepage .mgnt-hero-title,
.template-homepage .mgnt-block-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.template-homepage .mgnt-hero-subtitle,
.template-homepage .mgnt-block-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    color: white;
}

/* Section Wrapper Block */
.template-homepage .mgnt-section-wrapper,
.template-homepage .mgnt-block-section {
    padding: var(--mgnt-section-padding);
    position: relative;
}

.template-homepage .mgnt-section-wrapper:nth-child(even),
.template-homepage .mgnt-block-section:nth-child(even) {
    background: var(--mgnt-bg-secondary);
}

.template-homepage .mgnt-section-header,
.template-homepage .mgnt-block-section .mgnt-section-header {
    text-align: center;
    margin-bottom: -2rem;
}

.template-homepage .mgnt-section-header h2,
.template-homepage .mgnt-block-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--mgnt-text-primary);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.template-homepage .mgnt-section-header h2::after,
.template-homepage .mgnt-block-section h2::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--mgnt-secondary-color), var(--mgnt-accent-color));
    border-radius: 2px;
}

.template-homepage .mgnt-section-header p,
.template-homepage .mgnt-block-section .mgnt-section-description {
    font-size: 1rem;
    color: var(--mgnt-text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Solutions Slider */
.template-homepage .mgnt-solutions-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--mgnt-bg-primary);
    padding: 2rem 0;
}

.template-homepage .mgnt-solution-slide {
    display: none;
    width: 100%;
    position: relative;
    max-width: var(--mgnt-max-width);
    margin: 0 auto;
    padding: 0 var(--mgnt-container-padding);
}

.template-homepage .mgnt-solution-slide.active {
    display: block;
}

.template-homepage .mgnt-solution-content {
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 2rem 2rem;
}

.template-homepage .mgnt-solution-text {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: stretch;
    padding: 1rem 0;
}

.template-homepage .mgnt-solution-content .mgnt-btn {
    color: var(--mgnt-text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    background: transparent;
    border: 1px solid var(--mgnt-text-primary);
    width: 100%;
    margin-top: 1rem;
}

.template-homepage .mgnt-solution-content .mgnt-btn:hover {
    border-color: var(--mgnt-secondary-color);
    color: var(--mgnt-secondary-color);
}

.template-homepage .mgnt-solution-content .mgnt-btn .mgnt-arrow {
    display: none;
}

.template-homepage .mgnt-solution-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--mgnt-border-light);
    background: white;
    padding: 1rem;
}

.template-homepage .mgnt-solution-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    padding: 1rem;
}

.template-homepage .mgnt-solution-slide:hover .mgnt-solution-image img {
    transform: scale(1.03);
}

.template-homepage .mgnt-solution-info {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 1.5rem;
    background: white;
    border-radius: 0.5rem;
}

.template-homepage .mgnt-solution-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    flex-grow: 1;
}

.template-homepage .mgnt-solution-features li {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    padding-left: 1.75rem;
    position: relative;
    color: var(--mgnt-text-primary);
}

.template-homepage .mgnt-solution-features li:last-child {
    margin-bottom: 0;
}

.template-homepage .mgnt-solution-features li::before {
    content: "•";
    color: var(--mgnt-primary-color);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
    top: -2px;
}

.template-homepage .mgnt-solution-features li:hover {
    transform: translateX(10px);
    background: var(--mgnt-bg-tertiary);
    border-color: var(--mgnt-secondary-color);
}

.template-homepage .mgnt-solution-features li:hover::before {
    transform: translateX(5px);
}

.template-homepage .mgnt-solution-features {
    margin-bottom: 2rem;
}

.template-homepage .mgnt-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--mgnt-secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    gap: 0.75rem;
    margin-top: 1rem;
    border: 2px solid transparent;
}

.template-homepage .mgnt-btn-primary:hover {
    background: var(--mgnt-primary-color);
    transform: translateY(-2px);
    border-color: var(--mgnt-secondary-color);
}

.template-homepage .mgnt-btn-primary .mgnt-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.template-homepage .mgnt-btn-primary:hover .mgnt-arrow {
    transform: translateX(5px);
}

.template-homepage .mgnt-solution-content h3 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--mgnt-text-primary);
    font-weight: 700;
    line-height: 1;
    position: relative;
    padding-bottom: 1.2rem;
    letter-spacing: -0.02em;
}

.template-homepage .mgnt-solution-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--mgnt-secondary-color), var(--mgnt-primary-color));
    border-radius: 2px;
}

.template-homepage .mgnt-solution-content p {
    color: var(--mgnt-text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    opacity: 0.95;
}

.template-homepage .mgnt-solution-content .mgnt-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1.2rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 10px;
    background: var(--mgnt-secondary-color);
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    min-width: 200px;
    justify-content: center;
}

.template-homepage .mgnt-solution-content .mgnt-btn:hover {
    background: var(--mgnt-primary-color);
    border-color: var(--mgnt-secondary-color);
    transform: translateY(-2px);
}

.template-homepage .mgnt-solution-content .mgnt-btn::after {
    content: '→';
    font-size: 1.4rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: -2px;
}

.template-homepage .mgnt-solution-content .mgnt-btn:hover::after {
    transform: translateX(8px);
}

@media (max-width: 992px) {
    .template-homepage .mgnt-solution-text {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .template-homepage .mgnt-solution-image {
        height: 400px;
    }

    .template-homepage .mgnt-solution-content h3 {
        font-size: 2rem;
    }

    .template-homepage .mgnt-solution-content p {
        font-size: 1.1rem;
    }

    .template-homepage .mgnt-solution-info {
        padding-bottom: 5rem;
    }
}

@media (max-width: 768px) {
    .template-homepage .mgnt-solutions-slider {
        width: 100%;
        position: relative;
        left: 0;
        right: 0;
        margin-left: 0;
        margin-right: 0;
        overflow: hidden;
    }

    .template-homepage .mgnt-solution-slide {
        width: 100%;
        padding: 0 1rem;
    }

    .template-homepage .mgnt-solution-text {
        display: block;
        width: 100%;
        grid-template-columns: 1fr;
    }

    .template-homepage .mgnt-solution-image {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
        grid-column: 1 / -1;
    }

    .template-homepage .mgnt-solution-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
        padding: 0;
        margin: 0;
        display: block;
    }

    #solutions-showcase .mgnt-solution-text {
        grid-template-columns: 1fr !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }

    #solutions-showcase .mgnt-solution-image {
        width: 100% !important;
        max-width: none !important;
        grid-column: 1 / -1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .template-homepage .mgnt-solution-info {
        width: 100% !important;
        max-width: 100% !important;
        order: 2;
    }

    .template-homepage .mgnt-solution-features {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        margin-bottom: 2rem;
    }

    .template-homepage .mgnt-solution-features li {
        width: 100%;
        margin-bottom: 0.75rem;
        padding: 0.75rem;
        text-align: left;
    }

    .template-homepage .mgnt-solution-info {
        width: 100%;
        margin: 0;
        padding: 1rem 0;
    }

    .template-homepage .mgnt-solution-features {
        width: 100%;
        margin: 0;
        padding: 0 1rem;
    }

    .template-homepage .mgnt-btn.mgnt-btn-primary {
        margin-top: 5rem !important;
        margin-bottom: 2rem;
        width: 100%;
        justify-content: center;
    }

    /* Diğer grid yapıları 2'li kalacak */
    .template-homepage .mgnt-features-grid,
    .template-homepage .mgnt-news-grid,
    .template-homepage .mgnt-product-grid,
    .template-homepage .mgnt-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .template-homepage .mgnt-solution-content h3 {
        text-align: center;
        width: 100%;
        padding: 0.5rem 1rem;
        margin: 0;
    }

    .template-homepage .mgnt-solution-content h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .template-homepage .mgnt-solutions-slider {
        padding: 1rem 0;
    }

    .template-homepage .mgnt-solution-slide {
        padding: 0 0.5rem;
    }

    .template-homepage .mgnt-solution-image {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .template-homepage .mgnt-solution-image img {
        width: 100%;
        height: auto;
    }

    .template-homepage .mgnt-solution-features {
        margin-bottom: 1.5rem;
    }

    .template-homepage .mgnt-btn.mgnt-btn-primary {
        margin-top: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .template-homepage .mgnt-solution-features li {
        padding: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .template-homepage .mgnt-solution-content h3,
    .template-homepage .mgnt-solution-content p {
        padding: 0.5rem 0.75rem;
    }

    .template-homepage .mgnt-solution-info {
        padding: 0.75rem;
    }

    .template-homepage .mgnt-solution-features {
        padding: 0 0.75rem;
    }
}

.template-homepage .mgnt-btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--mgnt-secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    gap: 0.75rem;
    margin-top: 1rem;
    position: relative;
    z-index: 10;
    cursor: pointer;
}

.template-homepage .mgnt-btn-link:hover {
    background: hsl(313, 16%, 48%);
    transform: translateY(-2px);
}

.template-homepage .mgnt-btn-link .mgnt-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.template-homepage .mgnt-btn-link:hover .mgnt-arrow {
    transform: translateX(5px);
}

.template-homepage .mgnt-solution-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.template-homepage .mgnt-solution-dots {
    display: flex;
    gap: 0.5rem;
}

.template-homepage .mgnt-solution-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--mgnt-text-lighter);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding: 0;
}

.template-homepage .mgnt-solution-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid var(--mgnt-secondary-color);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.template-homepage .mgnt-solution-dot:hover::after {
    opacity: 0.5;
    transform: scale(1);
}

.template-homepage .mgnt-solution-dot.active {
    background: var(--mgnt-secondary-color);
}

.template-homepage .mgnt-solution-dot.active::after {
    opacity: 1;
    transform: scale(1);
}

.template-homepage .mgnt-prev-btn,
.template-homepage .mgnt-next-btn {
    background: var(--mgnt-bg-primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--mgnt-shadow-md);
    color: var(--mgnt-text-primary);
}

.template-homepage .mgnt-prev-btn:hover,
.template-homepage .mgnt-next-btn:hover {
    background: var(--mgnt-secondary-color);
    color: white;
    transform: scale(1.1);
}

@media (max-width: 992px) {
    .template-homepage .mgnt-solution-text {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .template-homepage .mgnt-solution-image {
        height: 500px;
    }
    
    .template-homepage .mgnt-solution-content h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .template-homepage .mgnt-solutions-slider {
        margin: 2rem 0;
        padding: 2rem 0;
    }
    
    .template-homepage .mgnt-solution-slide {
        padding: 0 1.5rem;
    }
    
    .template-homepage .mgnt-solution-image {
        height: 700px;
    }
    
    .template-homepage .mgnt-solution-content h3 {
        font-size: 1.5rem;
        padding: 1.5rem 1.5rem 0;
    }
    
    .template-homepage .mgnt-solution-content p {
        font-size: 1rem;
        padding: 0 1.5rem;
    }
    
    .template-homepage .mgnt-solution-features {
        padding: 1.5rem;
    }
    
    .template-homepage .mgnt-solution-features li {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .template-homepage .mgnt-solution-slide {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .template-homepage .mgnt-solution-slide {
        padding: 1rem;
    }
    
    .template-homepage .mgnt-prev-btn,
    .template-homepage .mgnt-next-btn {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 576px) {
    .template-homepage .mgnt-solution-slide {
        padding: 0.5rem;
    }

    .template-homepage .mgnt-solution-image {
        height: 250px;
    }

    .template-homepage .mgnt-solution-content h3 {
        font-size: 1.1rem;
    }

    .template-homepage .mgnt-solution-content p {
        font-size: 0.9rem;
    }

    .template-homepage .mgnt-solution-features {
        padding: 0.75rem;
    }

    .template-homepage .mgnt-solution-features li {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
}

/* ========== ANA SAYFA STREAMFIELD BLOKLARI - FLAT TASARIM ========== */

/* Kategoriler Bölümü */
.template-homepage .mgnt-categories-section {
    padding: var(--mgnt-section-padding);
    background: var(--mgnt-bg-primary);
}

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

.template-homepage .mgnt-category-card {
    background: var(--mgnt-bg-secondary);
    border-radius: 8px;
    padding: 2rem;
    transition: var(--mgnt-transition);
    position: relative;
    text-align: center;
    border: 1px solid var(--mgnt-border-color);
}

.template-homepage .mgnt-category-card:hover {
    transform: translateY(-4px);
    border-color: var(--mgnt-secondary-color);
}

.template-homepage .mgnt-category-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: var(--mgnt-secondary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--mgnt-transition);
}

.template-homepage .mgnt-category-card:hover .mgnt-category-icon {
    background: var(--mgnt-primary-color);
}

.template-homepage .mgnt-category-icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.template-homepage .mgnt-category-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--mgnt-text-primary);
    font-weight: 600;
}

.template-homepage .mgnt-category-card p {
    color: var(--mgnt-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.template-homepage .mgnt-subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.template-homepage .mgnt-subcategory-tag {
    background: var(--mgnt-bg-tertiary);
    color: var(--mgnt-text-secondary);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: var(--mgnt-transition);
}

.template-homepage .mgnt-category-card:hover .mgnt-subcategory-tag {
    background: var(--mgnt-secondary-color);
    color: white;
}

/* Özellikler Bölümü */
.template-homepage .mgnt-features-section {
    padding: var(--mgnt-section-padding);
    background: var(--mgnt-bg-secondary);
    position: relative;
    overflow: hidden;
}

.template-homepage .mgnt-features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, 
        transparent 0%,
        var(--mgnt-border-color) 50%,
        transparent 100%
    );
}

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

.template-homepage .mgnt-feature-card {
    background: var(--mgnt-bg-primary);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.template-homepage .mgnt-feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--mgnt-primary-color) 0%, var(--mgnt-secondary-color) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 2px;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.template-homepage .mgnt-feature-card:hover::before {
    opacity: 1;
}

.template-homepage .mgnt-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.template-homepage .mgnt-feature-icon {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    z-index: 2;
}

.template-homepage .mgnt-feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 0;
    background: white;
}

.template-homepage .mgnt-feature-card:hover .mgnt-feature-icon img {
    transform: scale(1.05);
}

.template-homepage .mgnt-feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--mgnt-text-primary);
    font-weight: 600;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.template-homepage .mgnt-feature-card p {
    color: var(--mgnt-text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.template-homepage .mgnt-feature-link {
    color: hsl(300, 2%, 84%);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    background:  hsl(313, 35%, 25%);
    border: 1px solid var(--mgnt-border-color);
    width: auto;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.template-homepage .mgnt-feature-link:hover {
    background: var(--mgnt-secondary-color);
    border-color: var(--mgnt-secondary-color);
    color: white;
}

.template-homepage .mgnt-feature-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.template-homepage .mgnt-feature-link:hover::after {
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .template-homepage .mgnt-features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .template-homepage .mgnt-feature-icon {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .template-homepage .mgnt-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .template-homepage .mgnt-feature-icon {
        height: 400px;
    }

    .template-homepage .mgnt-feature-card {
        padding: 1.5rem;
    }
    
    .template-homepage .mgnt-feature-card h3 {
        font-size: 1.15rem;
    }
    
    .template-homepage .mgnt-feature-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .template-homepage .mgnt-features-grid {
        gap: 0.75rem;
    }

    .template-homepage .mgnt-feature-icon {
        height: 300px;
        margin-bottom: 0.75rem;
    }

    .template-homepage .mgnt-feature-card {
        padding: 0.75rem;
    }

    .template-homepage .mgnt-feature-card h3 {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }

    .template-homepage .mgnt-feature-card p {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
}

/* Ürün Kartları */
.template-homepage .mgnt-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.template-homepage .mgnt-product-card {
    background: var(--mgnt-bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    z-index: 1;
}

.template-homepage .mgnt-product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--mgnt-primary-color) 0%, var(--mgnt-secondary-color) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 2px;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.template-homepage .mgnt-product-card:hover::before {
    opacity: 1;
}

.template-homepage .mgnt-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.template-homepage .mgnt-product-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.template-homepage .mgnt-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 0;
    background: white;
}

.template-homepage .mgnt-product-card:hover .mgnt-product-image img {
    transform: scale(1.05);
}

.template-homepage .mgnt-product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 5;
}

.template-homepage .mgnt-product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--mgnt-text-primary);
    font-weight: 600;
    line-height: 1.3;
}

.template-homepage .mgnt-product-info p {
    color: var(--mgnt-text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Haberler Bölümü */
.template-homepage .mgnt-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.template-homepage .mgnt-news-card {
    background: var(--mgnt-bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    height: 100%;
}

.template-homepage .mgnt-news-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--mgnt-primary-color) 0%, var(--mgnt-secondary-color) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 2px;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.template-homepage .mgnt-news-card:hover::before {
    opacity: 1;
}

.template-homepage .mgnt-news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.template-homepage .mgnt-news-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    z-index: 2;
}

.template-homepage .mgnt-news-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 0;
    background: white;
}

.template-homepage .mgnt-news-card:hover .mgnt-news-image img {
    transform: scale(1.05);
}

.template-homepage .mgnt-news-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.template-homepage .mgnt-news-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
}

.template-homepage .mgnt-news-date .mgnt-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--mgnt-secondary-color);
}

.template-homepage .mgnt-news-date .mgnt-month {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--mgnt-text-secondary);
    margin-top: 0.25rem;
}

.template-homepage .mgnt-news-content h3 {
    font-size: rem;
    margin-bottom: 0.75rem;
    color: var(--mgnt-text-primary);
    font-weight: 600;
    line-height: 1.3;
}

.template-homepage .mgnt-news-content p {
    color: var(--mgnt-text-secondary);
    line-height: 2;
    font-size: 0.60rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .template-homepage .mgnt-product-grid,
    .template-homepage .mgnt-news-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .template-homepage .mgnt-product-image,
    .template-homepage .mgnt-news-image {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .template-homepage .mgnt-product-grid,
    .template-homepage .mgnt-news-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .template-homepage .mgnt-product-image,
    .template-homepage .mgnt-news-image {
        height: 300px;
    }
    
    .template-homepage .mgnt-product-info,
    .template-homepage .mgnt-news-content {
        padding: 1.50rem;
    }
    
    .template-homepage .mgnt-product-info h3,
    .template-homepage .mgnt-news-content h3 {
        font-size: 1.1rem;
    }
    
    .template-homepage .mgnt-product-info p,
    .template-homepage .mgnt-news-content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .template-homepage .mgnt-product-image,
    .template-homepage .mgnt-news-image {
        height: 250px;
    }
}

/* ROI Calculator CTA Section */
.template-homepage .mgnt-cta-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(135deg, var(--mgnt-primary-color) 0%, var(--mgnt-secondary-color) 100%);
    color: white;
    margin: 2rem 0;
}

.template-homepage .mgnt-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.template-homepage .mgnt-cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.template-homepage .mgnt-cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 2rem;
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 3rem;
}

.template-homepage .mgnt-cta-content h2 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.template-homepage .mgnt-cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.template-homepage .mgnt-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.template-homepage .mgnt-btn {
    display: inline-flex;
        align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.1rem;
}

.template-homepage .mgnt-btn-light {
    background: white;
    color: var(--mgnt-primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.template-homepage .mgnt-btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: var(--mgnt-bg-secondary);
}

.template-homepage .mgnt-btn .btn-icon {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .template-homepage .mgnt-cta-section {
        padding: 4rem 0;
    }

    .template-homepage .mgnt-cta-content {
        padding: 2rem;
    }

    .template-homepage .mgnt-cta-content h2 {
        font-size: 2rem;
    }

    .template-homepage .mgnt-cta-content p {
        font-size: 1.1rem;
    }

    .template-homepage .mgnt-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* Makine Kartları Grid */
.mgnt-machines-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.mgnt-machine-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.mgnt-machine-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.mgnt-machine-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mgnt-machine-info {
    padding: 1rem;
}

.mgnt-machine-info h5 {
    font-size: 1rem;
    margin: 0 0 0.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.mgnt-machine-info p {
    font-size: 0.9rem;
    margin: 0 0 1rem;
    line-height: 1.5;
    /* Çok satırlı metin kısıtlaması için alternatif çözüm */
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    display: -webkit-box;
    max-height: 3em; /* line-height * number of lines */
    min-height: 3em; /* Sabit yükseklik için */
}

@media (max-width: 1024px) {
    .mgnt-machines-list {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .mgnt-machines-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media screen and (max-width: 576px) {
    .mgnt-machines-list {
        gap: 0.75rem;
        margin: 1rem 0;
    }

    .mgnt-machine-image {
        height: 160px;
    }

    .mgnt-machine-info {
        padding: 0.75rem;
    }

    .mgnt-machine-info h5 {
        font-size: 0.9rem;
    }

    .mgnt-machine-info p {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
        /* Çok satırlı metin kısıtlaması için alternatif çözüm */
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        display: -webkit-box;
        max-height: 3em; /* line-height * number of lines */
        min-height: 3em; /* Sabit yükseklik için */
    }
}

/* Standard Grid Classes */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--grid-gap-xl);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--grid-gap-xl);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap-xl);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--grid-gap-xl);
}

/* Responsive Grid System */
@media (max-width: 1024px) {
    .grid,
    .grid-2,
    .grid-3,
    .grid-4,
    .mgnt-machines-list,
    .template-homepage .mgnt-features-grid,
    .template-homepage .mgnt-news-grid,
    .template-homepage .mgnt-product-grid,
    .template-homepage .mgnt-categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: var(--grid-gap-lg);
    }
}

@media (max-width: 768px) {
    .grid,
    .grid-2,
    .grid-3,
    .grid-4,
    .mgnt-machines-list,
    .template-homepage .mgnt-features-grid,
    .template-homepage .mgnt-news-grid,
    .template-homepage .mgnt-product-grid,
    .template-homepage .mgnt-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--grid-gap-md);
    }

    /* Content Adjustments */
    .template-homepage .mgnt-features-section {
        padding: 3rem 0;
    }

    .template-homepage .mgnt-cta-section {
        padding: 3rem 1rem;
    }

    /* Image Adjustments */
    .template-homepage .mgnt-solution-image,
    .template-homepage .mgnt-feature-icon,
    .template-homepage .mgnt-product-image,
    .template-homepage .mgnt-news-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .grid,
    .grid-2,
    .grid-3,
    .grid-4,
    .mgnt-machines-list,
    .template-homepage .mgnt-features-grid,
    .template-homepage .mgnt-news-grid,
    .template-homepage .mgnt-product-grid,
    .template-homepage .mgnt-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--grid-gap-sm);
    }

    /* Content Adjustments */
    .template-homepage .mgnt-solution-image,
    .template-homepage .mgnt-feature-icon,
    .template-homepage .mgnt-product-image,
    .template-homepage .mgnt-news-image {
        height: 180px;
        margin-bottom: 1rem;
    }

    .template-homepage .mgnt-machine-info h5 {
        font-size: 1.1rem;
    }

    .template-homepage .mgnt-machine-info p {
        font-size: 0.9rem;
    }
}

/* Solutions Showcase Section - Desktop Fixed */
#solutions-showcase {
    padding: 4rem 0;
    background: var(--mgnt-bg-primary);
    overflow: hidden;
}

#solutions-showcase .mgnt-container {
    max-width: var(--mgnt-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

#solutions-showcase .mgnt-solution-content {
    padding: 2rem;
    background: var(--mgnt-bg-primary);
    border-radius: 1rem;
}

#solutions-showcase .mgnt-solution-content h3 {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--mgnt-text-primary);
    line-height: 1.3;
}

#solutions-showcase .mgnt-solution-content p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--mgnt-text-secondary);
}

#solutions-showcase .mgnt-solution-text {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

#solutions-showcase .mgnt-solution-image {
    flex: 0 0 50%;
    max-width: 50%;
    background: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
}

#solutions-showcase .mgnt-solution-image img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: 0.5rem;
    display: block;
}

#solutions-showcase .mgnt-solution-info {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 1.5rem;
    background: white;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
}

#solutions-showcase .mgnt-solution-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    flex-grow: 1;
}

#solutions-showcase .mgnt-solution-features li {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    padding: 1rem 1rem 1rem 3rem;
    position: relative;
    color: var(--mgnt-text-primary);
    background: var(--mgnt-bg-secondary);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--mgnt-border-color);
}

#solutions-showcase .mgnt-solution-features li:hover {
    transform: translateX(10px);
    background: var(--mgnt-bg-tertiary);
    border-color: var(--mgnt-primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#solutions-showcase .mgnt-solution-features li::before {
    content: "✓";
    color: white;
    position: absolute;
    left: 1rem;
    width: 24px;
    height: 24px;
    background: var(--mgnt-primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

#solutions-showcase .mgnt-solution-features li:hover::before {
    transform: scale(1.1);
    background: var(--mgnt-secondary-color);
}

#solutions-showcase .mgnt-solution-features li:last-child {
    margin-bottom: 5rem;
}

#solutions-showcase .mgnt-btn.mgnt-btn-primary {
    display: center;
    align-items: center;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: white;
    background: var(--mgnt-primary-color);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    gap: 0.5rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    align-self: flex-start;
}

#solutions-showcase .mgnt-solution-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid var(--mgnt-border-color);
}

#solutions-showcase .mgnt-prev-btn,
#solutions-showcase .mgnt-next-btn {
    background: var(--mgnt-primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

#solutions-showcase .mgnt-prev-btn:hover,
#solutions-showcase .mgnt-next-btn:hover {
    background: var(--mgnt-primary-light);
    transform: translateY(-1px);
}

#solutions-showcase .mgnt-solution-dots {
    display: flex;
    gap: 0.5rem;
}

#solutions-showcase .mgnt-solution-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mgnt-text-lighter);
    transition: all 0.2s ease;
}

#solutions-showcase .mgnt-solution-dots .dot.active {
    background: var(--mgnt-primary-color);
    transform: scale(1.2);
}

/* Solutions Showcase - Mobile Responsive */
@media (max-width: 768px) {
    #solutions-showcase {
        padding: 2rem 0;
    }

    #solutions-showcase .mgnt-container {
        padding: 0 0.5rem;
    }

    #solutions-showcase .mgnt-solution-content {
        padding: 0.5rem;
    }

    #solutions-showcase .mgnt-section-header {
        margin-bottom: 0.15rem;
    }

    #solutions-showcase .mgnt-section-header h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    #solutions-showcase .mgnt-section-header h2::after {
        bottom: -0.35rem;
        width: 60px;
        height: 3px;
    }

    #solutions-showcase .mgnt-section-header p {
        font-size: 0.9rem;
        margin: 0.15rem auto 0;
        line-height: 1.2;
    }

    #solutions-showcase .mgnt-solution-content h3 {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
        text-align: center;
    }

    #solutions-showcase .mgnt-solution-content p {
        font-size: 0.9rem;
        text-align: center;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    #solutions-showcase {
        padding: 1.5rem 0;
    }

    #solutions-showcase .mgnt-container {
        padding: 0 0.35rem;
    }

    #solutions-showcase .mgnt-solution-content {
        padding: 0.35rem;
    }

    #solutions-showcase .mgnt-section-header {
        margin-bottom: 0.1rem;
    }

    #solutions-showcase .mgnt-section-header h2 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    #solutions-showcase .mgnt-section-header h2::after {
        bottom: -0.25rem;
        width: 50px;
        height: 2px;
    }

    #solutions-showcase .mgnt-section-header p {
        font-size: 0.85rem;
        margin: 0.1rem auto 0;
        line-height: 1.1;
    }

    #solutions-showcase .mgnt-solution-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.15rem;
    }

    #solutions-showcase .mgnt-solution-content p {
        font-size: 0.85rem;
        margin-bottom: 0.35rem;
        line-height: 1.2;
    }
}

#solutions-showcase .mgnt-solution-info .mgnt-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: white;
    background: var(--mgnt-primary-color);
    border-radius: 0.5rem;
    text-decoration: none !important;
    transition: all 0.3s ease;
    gap: 0.5rem;
    margin-top: auto;
}

.template-homepage .machine-card {
    background: var(--mgnt-bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.template-homepage .machine-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--mgnt-primary-color) 0%, var(--mgnt-secondary-color) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 2px;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.template-homepage .machine-card:hover::before {
    opacity: 1;
}

.template-homepage .machine-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.template-homepage .machine-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    z-index: 2;
}

.template-homepage .machine-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 0;
    background: white;
}

.template-homepage .machine-card:hover .machine-image img {
    transform: scale(1.05);
}

.template-homepage .machine-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    #solutions-showcase .mgnt-section-header {
        margin-bottom: 0.15rem;
    }

    #solutions-showcase .mgnt-solutions-slider {
        margin-top: 0;
        padding-top: 0.15rem;
    }

    #solutions-showcase .mgnt-section-header p {
        margin: 0.15rem auto 0;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    #solutions-showcase .mgnt-section-header {
        margin-bottom: 0.1rem;
    }

    #solutions-showcase .mgnt-solutions-slider {
        margin-top: 0;
        padding-top: 0.1rem;
    }

    #solutions-showcase .mgnt-section-header p {
        margin: 0.1rem auto 0;
        line-height: 1.1;
    }
}



