/* --- 1. GLOBAL & VARIABLES --- */
:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #475569;
    --border-dark: #1e293b;    /* 5% softer than text-main for lines */
    --border-strong: #e2e8f0;  /* Softer Slate-200 */
    --border-light: #f1f5f9;   /* Slate-100 adjusted for lower contrast */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
    --transition: all 0.2s ease-in-out;
}
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Scroll Progress Bar - Intelligent UX */
.scroll-progress {
    position: fixed; top: 0; left: 0; width: 0%; height: 4px;
    background: var(--primary);
    z-index: 2000;
    transition: width 0.1s ease-out;
    border-bottom: 1px solid var(--text-main);
}

/* Intelligent Grid Pattern for Bg-Alt */
.bg-alt {
    background-image: 
        linear-gradient(var(--border-light) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
    background-size: 50px 50px;
    background-color: var(--bg-alt) !important;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

body {
    font-family: 'Inter', -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-muted);
    line-height: 1.8;
}

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

/* --- 2. LAYOUT: HEADER & NAV --- */
header {
    background: #ffffff;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}
.header-container { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.logo img { height: 40px; }
.nav-links { display: flex; gap: 30px; }
.mobile-nav-toggle { 
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}
.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600; 
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); }

/* --- Layout Components --- */

.section-header { text-align: center; margin-bottom: 80px; }
.section-header h2 { 
    font-size: 2.75rem; font-weight: 800; color: var(--text-main); margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.section-header p { color: var(--text-muted); max-width: 700px; margin: 0 auto; font-size: 1.2rem; }

section { padding: 100px 0; border-bottom: 1px solid var(--border-light); }
section:nth-child(even) { background: var(--bg-alt); }
.hero-banner { overflow: hidden; position: relative; }
/* --- 2. LAYOUT: FOOTER --- */

footer { background: #ffffff; padding: 100px 0 30px; border-top: 4px solid var(--border-dark); }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 70px; margin-bottom: 10px; }
.footer-column h3 { 
    margin-bottom: 30px; font-size: 1rem; text-transform: uppercase; 
    color: var(--text-main); font-weight: 900; letter-spacing: 0.1em;
    border-left: 4px solid var(--primary); padding-left: 15px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { 
    color: var(--text-main); text-decoration: none; transition: var(--transition); 
    font-weight: 600; font-size: 0.95rem; 
}
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-link {
    width: 40px; height: 40px; background: var(--bg-main);
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
    color: var(--text-main); transition: var(--transition);
    border: 2px solid var(--border-strong);
}
.social-link:hover { background: var(--primary); color: white; transform: translateY(-3px); border-color: var(--primary); box-shadow: var(--shadow-sm); }
.copyright { text-align: center; padding-top: 30px; border-top: 1px solid var(--border-light); color: var(--text-muted); font-size: 0.95rem; }

/* Dropdown Menu */
.dropdown { position: relative; display: inline-block; }
.dropdown-content {
    display: none; position: absolute; background: #ffffff;
    min-width: 200px; box-shadow: var(--shadow-md);
    z-index: 1001; border-radius: 8px; 
    border: 2px solid var(--border-strong);
    top: 100%; left: 0; padding: 8px 0; margin-top: 10px;
}
.dropdown-content a { padding: 10px 16px !important; color: var(--text-main); font-size: 0.9rem; }
.dropdown-content a:hover { background: var(--bg-alt); color: var(--primary) !important; }
.dropdown:hover .dropdown-content { display: block; }

/* --- 3. COMPONENTS: BUTTONS --- */

.btn {
    display: inline-block; padding: 14px 36px;
    background: var(--primary);
    color: white; text-decoration: none; border-radius: 6px;
    font-weight: 800; transition: var(--transition); border: none; cursor: pointer;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.btn:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* Marketing Button Variations */
.btn-cta {
    background: var(--border-dark);
    padding: 18px 45px;
    font-size: 1.1rem;
    border: 1px solid var(--border-dark);
}
.btn-cta:hover { background: var(--primary); border-color: var(--primary); }

.btn-outline { 
    background: transparent !important; color: var(--text-main) !important; 
    border: 3px solid var(--border-dark) !important;
    padding: 18px 45px;
}
.btn-outline:hover { background: var(--text-main) !important; color: white !important; }

/* --- 3. COMPONENTS: FORMS --- */
.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 10px; font-weight: 700; color: var(--text-main); }
.form-control {
    width: 100%; padding: 16px; 
    background: #ffffff;
    border: 2px solid var(--border-strong); 
    border-radius: 8px;
    color: var(--text-main); 
    font-family: inherit; 
    transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--primary); }

/* --- 3. COMPONENTS: ALERTS --- */
.alert { padding: 12px; border-radius: 8px; margin-bottom: 20px; font-weight: 500; }
.alert-error { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
/* Intelligent Indicator */
.alert { border-left: 5px solid currentColor; }

/* --- 4. UTILITIES --- */
.hidden { display: none !important; }

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

/* Category Tabs Filtering Buttons */
.category-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 60px; }
.category-tab {
    background: var(--bg-alt);
    border: 2px solid var(--border-strong);
    color: var(--text-muted);
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    outline: none;
}
.category-tab:hover {
    border-color: var(--primary);
    background: var(--bg-main);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.category-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* --- 5. COMPONENTS: CARDS & GRIDS --- */
.card, .product-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

/* Grid Card Normalization */
.products-grid .card, .products-grid .product-card {
    padding: 0; /* Padding is handled by internal .product-content */
}
.card:hover, .product-card:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); transform: translate(-4px, -4px); }
.card h3 { font-weight: 800; letter-spacing: -0.02em; color: var(--text-main); margin-bottom: 15px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

.card-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; }

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

.product-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-content {
    position: relative;
    display: block;
    padding: 25px;
    opacity: 1;
    transition: none;
    z-index: auto;
}
.product-content h3 { color: var(--text-main); font-size: 1.5rem; margin-bottom: 10px; }
.product-content p { color: var(--text-muted); font-size: 1rem; line-height: 1.5; margin-bottom: 15px; }

/* Marketing Content Utilities */
.product-content-marketing { padding: 40px; }
.product-image-marketing { width: 100%; height: 300px !important; }

.product-features { display: block; list-style: none; padding: 0; color: var(--text-muted); }
.product-features li { padding: 5px 0; border-bottom: 1px solid var(--border-light); position: relative; padding-left: 20px; font-size: 0.95rem; }
.product-features li:before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: bold; }

.product-badge {
    position: absolute; top: 15px; right: 15px; background: var(--primary);
    color: white; padding: 5px 12px; border-radius: 20px; font-size: 0.8rem;
    font-weight: 600; box-shadow: var(--shadow-sm); z-index: 2;
}

.product-indicator {
    position: relative; bottom: auto; left: auto; width: auto;
    background: var(--bg-alt); color: var(--primary); font-size: 0.9rem;
    font-weight: 700; padding: 12px 20px; text-align: center;
    transform: none;
    transition: var(--transition);
    text-decoration: none;
    z-index: auto;
    display: block;
    border-top: 1px solid var(--border-light);
}
.product-indicator:hover { background: var(--primary); color: white; }

/* CTA Section - Conversion Block */
.cta-section {
    padding: 80px 0;
    background-color: var(--text-main);
    color: white;
    text-align: center;
    border-top: 4px solid var(--border-dark);
}
.cta-section h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 20px; color: white; }
.cta-section p { font-size: 1.3rem; opacity: 0.9; margin-bottom: 50px; max-width: 800px; margin-left: auto; margin-right: auto; }

/* Partner Card UI */
.partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.partner-logo {
    position: relative; inset: auto; display: flex; align-items: center;
    justify-content: center; padding: 30px; transition: var(--transition);
    z-index: 1;
}
.partner-logo img { max-width: 80%; max-height: 80%; object-fit: contain; transition: var(--transition); filter: grayscale(0); opacity: 1; }

.partner-indicator {
    position: relative; bottom: auto; left: auto; width: auto;
    background: var(--bg-alt); color: var(--primary); font-size: 0.9rem; font-weight: 700;
    padding: 12px 20px; text-align: center; transform: none;
    transition: var(--transition); z-index: auto;
    display: block; border-top: 1px solid var(--border-light);
}
.partner-indicator:hover { background: var(--primary); color: white; }

/* Partner Subpages Hero */
.partner-hero {
    padding: 220px 0 140px;
    background-color: #0f172a; /* Midnight Blue */
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    color: white;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.partner-logo-large {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    background: #ffffff;
    padding: 20px;
    box-shadow: var(--shadow-md);
}
.partner-logo-large:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.partner-logo-large img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.partner-description { font-size: 1.4rem; font-weight: 500; color: #ffffff; margin-bottom: 40px; max-width: 850px; margin: 0 auto; }
.partner-content { background: #ffffff; padding: 80px 60px; margin-top: -100px; position: relative; z-index: 1; border: 1px solid var(--border-light); border-radius: 20px; box-shadow: var(--shadow-hover); animation: fadeIn 0.8s ease-out; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; margin: 50px 0; }
.feature-card {
    background: #ffffff; border-radius: 12px; padding: 40px 30px;
    border: 2px solid var(--border-strong); transition: var(--transition);
    text-align: center; position: relative; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.feature-card:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); transform: translate(-4px, -4px); }
.feature-icon { font-size: 3.5rem; color: var(--primary); margin-bottom: 25px; transition: var(--transition); z-index: 1; }
.feature-card h3 { font-size: 1.6rem; margin-bottom: 15px; z-index: 1; color: var(--text-main); font-weight: 700; }
.feature-card p { color: var(--text-muted); font-size: 1rem; z-index: 1; transition: var(--transition); line-height: 1.6; }

.back-link { display: inline-flex; align-items: center; gap: 10px; color: var(--primary); text-decoration: none; margin-bottom: 30px; transition: var(--transition); font-weight: 600; }
.back-link:hover { gap: 15px; }

.section-divider { height: 1px; background: var(--border-light); margin: 60px 0; }
.tagline { font-size: 1.8rem; font-weight: 800; color: var(--text-main); text-align: center; margin: 20px 0; letter-spacing: 0.02em; }
.highlight-box {
    background: var(--bg-alt);
    border-left: 4px solid var(--primary);
    padding: 35px;
    border-radius: 12px;
    margin: 40px 0;
}
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 40px 0; }

.image-section { margin: 60px 0; }
.image-section-header { text-align: center; margin-bottom: 50px; }
.image-content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.image-content.reverse { direction: rtl; }
.image-content.reverse > * { direction: ltr; }
.image-container {
    border-radius: 12px; overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-strong);
    transition: var(--transition);
    position: relative;
}
.image-container img { width: 100%; height: auto; display: block; transition: transform 0.3s ease; }
.image-container:hover { border-color: var(--primary); }
.image-container:hover img { transform: scale(1.05); }
.image-list { list-style: none; margin: 25px 0; }
.image-list li { padding: 8px 0; border-bottom: 1px solid var(--border-light); color: var(--text-muted); position: relative; padding-left: 25px; font-size: 0.95rem; }
.image-list li:before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: bold; }

.systems-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; margin: 40px 0; }
.system-card {
    background: #ffffff;
    border-radius: 12px; padding: 30px;
    border: 2px solid var(--border-strong); transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.system-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.system-label { display: inline-block; background: var(--primary); color: white; padding: 4px 10px; border-radius: 4px; font-weight: 700; margin-bottom: 15px; font-size: 0.85rem; }

/* Client Logos */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 40px;
}
.client-logo {
    background: #ffffff;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: var(--transition);
    border: 2px solid var(--border-light);
    overflow: hidden;
    padding: 25px;
}
.client-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: var(--transition);
}
.client-logo:hover { background: var(--bg-alt); border-color: var(--primary); }
.client-logo:hover img { filter: grayscale(0%) opacity(1); transform: scale(1.05); }

/* Gallery Grid & Item Styles */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; margin: 50px 0; }

/* Masonry Variant for non-uniform images */
.masonry-grid { column-count: 3; column-gap: 30px; margin: 50px 0; }
.masonry-grid .gallery-item { break-inside: avoid; margin-bottom: 30px; aspect-ratio: auto; }
.masonry-grid .gallery-item img { height: auto; }
@media (max-width: 992px) { .masonry-grid { column-count: 2; } }
@media (max-width: 576px) { .masonry-grid { column-count: 1; } }

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 2px solid var(--border-light);
    transition: var(--transition); /* Keep transition for hover effects */
    background: #ffffff;
}
.gallery-item:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay h4 { color: var(--primary); font-size: 1.4rem; margin-bottom: 5px; }
.gallery-overlay p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.4; }

/* --- 6. ADMIN PANEL UI --- */
table {
    width: 100%; border-collapse: separate; border-spacing: 0; background: #ffffff;
    border-radius: 12px; overflow: hidden; margin: 30px 0;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}
th, td { padding: 18px 24px; text-align: left; border-bottom: 1px solid var(--border-light); }
th { background: var(--bg-alt); color: var(--text-main); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-bottom: 40px; }
.stat-card {
    background: #ffffff; 
    padding: 40px 30px; 
    border-radius: 12px;
    border: 1px solid var(--border-strong); 
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.stat-card:hover { border-color: var(--primary); transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.stat-number { font-size: 3.5rem; font-weight: 900; color: var(--primary); display: block; line-height: 1; margin-bottom: 15px; letter-spacing: -0.05em; }
.stat-label { color: var(--text-muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* Client Trust Bar - Auto-scroll Marquee */
.trust-bar {
    overflow: hidden;
    padding: 60px 0;
    background: var(--bg-main);
    white-space: nowrap;
    position: relative;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.trust-track {
    display: inline-flex;
    animation: scroll 80s linear infinite;
    width: max-content;
    align-items: center;
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.trust-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 80px;
    margin: 0 50px;
}
.trust-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5);
    transition: var(--transition);
}
.trust-logo:hover img { filter: grayscale(0%) opacity(1); transform: scale(1.1); }

.tabs { display: flex; gap: 10px; margin-bottom: 30px; border-bottom: 2px solid var(--border-strong); }
.tab-link {
    background: transparent; border: none; color: var(--text-muted);
    padding: 15px 25px; cursor: pointer; font-weight: 700; transition: var(--transition);
    border-bottom: 4px solid transparent;
}
.tab-link:hover { color: var(--primary); }
.tab-link.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

.status-badge {
    padding: 4px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
}
.status-unread, .status-failed { background: #fee2e2; color: #b91c1c; }
.status-read, .status-sent, .status-active { background: #d1fae5; color: #065f46; }

/* Admin Header */
.admin-header {
    background: #ffffff;
    padding: 20px 0;
    border-bottom: 3px solid var(--border-dark);
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
}
.admin-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.admin-header .logo img {
    height: 40px;
}
.admin-header .user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}
.admin-header .user-info span {
    color: var(--text-main);
    font-weight: 700;
}

/* Admin Content Wrapper */
.admin-content-wrapper {
    padding-bottom: 80px; /* Space for footer */
    background: var(--bg-alt);
}

/* Login Form */
.login-form-container {
    background: #ffffff;
    padding: 50px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    width: 100%;
    max-width: 450px;
    margin: 100px auto;
    box-shadow: var(--shadow-hover);
}
.login-form-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-main);
}
.login-form-container .form-group input {
    width: 100%;
    padding: 16px;
    background: #ffffff;
    border: 2px solid var(--border-strong);
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
}
.login-form-container .form-group input:focus {
    outline: none; /* Already defined in form-control:focus */
    border-color: var(--primary);
    box-shadow: none;
}
.login-form-container .btn {
    width: 100%;
    padding: 14px;
}

/* Setup Page Styles (moved from setup.php) */
.setup-container {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    width: 100%;
    max-width: 500px;
    margin: 100px auto; /* Center setup form */
    box-shadow: var(--shadow-hover);
}
.setup-container .help-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* --- 7. ANIMATIONS --- */
/* Removed old animations like float, glitch-skew, scanLine */

/* --- 8. RESPONSIVE --- */
@media (max-width: 992px) {
    .footer-content { grid-template-columns: 1fr 1fr; }
    .two-column, .image-content, .image-content.reverse, .systems-grid { grid-template-columns: 1fr; }
}
.btn-logout { background: var(--text-main) !important; color: white !important; font-size: 0.7rem; padding: 10px 20px; border-radius: 4px; border: 1px solid var(--border-dark); }
.btn-logout:hover { background: #000 !important; transform: none; box-shadow: var(--shadow-sm); }

.partner-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
.partner-content .image-text h3 { color: var(--text-main); font-weight: 800; margin-bottom: 15px; }
.partner-content .system-card h4 { color: var(--text-main); }
.partner-content .system-card p { color: var(--text-muted); }
.partner-content .highlight-box h3 { color: var(--text-main); }
.partner-content .highlight-box p a { color: var(--primary); }
.partner-content .faq-container .feature-card h4 { color: var(--text-main); }
.partner-content .faq-container .feature-card p { color: var(--text-muted); }
.partner-content .faq-container .feature-card p a { color: var(--primary); }
.partner-content .text-center h3 { color: var(--text-main); }
.partner-content .text-center p { color: var(--text-muted); }

/* Index Page Specific */
.hero-banner .hero-banner-content span { color: var(--primary); font-weight: 900; text-transform: uppercase; letter-spacing: 0.3em; display: block; margin-bottom: 20px; font-size: 0.85rem; }
.hero-banner .hero-banner-content h1 { font-size: 4rem; line-height: 1; letter-spacing: -0.04em; }
.hero-banner .hero-banner-content p { font-size: 1.5rem; max-width: 900px; margin: 30px auto 50px; }
.hero-banner .hero-buttons .btn { padding: 20px 50px; font-size: 1.1rem; }
.hero-banner .hero-buttons .btn:last-child { background: transparent; color: var(--text-main); border: 3px solid var(--text-main); margin-left: 20px; }
.hero-banner .hero-buttons .btn:last-child:hover { background: var(--border-dark); color: white; }

.section-header h2.marketing-h2 { font-weight: 900; text-transform: uppercase; }
.section-header p.marketing-p { font-weight: 600; }

.partners-grid .partner-card { border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); }
.partners-grid .partner-card .partner-logo { padding: 40px; }

/* Setup Page Specific */
.setup-container .logo img { height: 50px; }
.setup-container .success a { color: var(--primary); }
.admin-header { background: #ffffff; padding: 15px 0; border-bottom: 3px solid var(--text-main); }
.admin-header .logo img { height: 40px; }
.admin-header .user-info span { font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; }
.admin-header .user-info .btn-logout { background: var(--border-dark); font-size: 0.75rem; padding: 10px 20px; border: 2px solid var(--border-dark); }

.stat-label { font-weight: 700; color: var(--text-muted); }

.filter-bar { margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 15px; align-items: flex-end; }
.filter-bar .form-group label { font-weight: 600; color: var(--text-main); }
.filter-bar .form-control { padding: 8px 12px; font-size: 0.9rem; }
.filter-bar .btn { padding: 10px 20px; font-size: 0.9rem; }
.filter-bar .btn-reset-filter { background: var(--bg-alt); color: var(--text-main); border: 1px solid var(--border-light); }
.filter-bar .btn-export { background: #10b981; }

table select.form-control-small { padding: 8px 12px; font-size: 0.9rem; font-weight: 600; color: var(--text-main); }
table .btn-small { padding: 8px 16px; font-size: 0.85rem; }
table .btn-danger { background: #ef4444; }
table .btn-success { background: #10b981; }

.login-form-container h2 { font-weight: 900; letter-spacing: -0.05em; text-transform: uppercase; }
.login-form-container .btn-authorize { width: 100%; padding: 18px; font-size: 1.1rem; }

/* Contact Page Specific */
.contact-info .contact-item { border-color: var(--border-light); padding: 25px; display: flex; align-items: flex-start; gap: 20px; }
.contact-info .contact-icon { color: var(--primary); font-size: 1.5rem; margin-top: 5px; }
.contact-info .contact-details h3 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 8px; color: var(--text-muted); font-weight: 800; }
.contact-info .contact-details p { font-weight: 700; color: var(--text-main); font-size: 0.95rem; line-height: 1.4; }

/* Setup Page Specific */

/* Partner Page Specific */
.partner-hero .tagline { color: var(--primary); font-weight: 900; letter-spacing: 0.2em; margin-bottom: 20px; }
.partner-hero h1 { font-size: 3.5rem; font-weight: 900; }
.partner-hero .btn { padding: 20px 40px; }
.partner-content h2 { font-weight: 900; text-transform: uppercase; margin-bottom: 30px; color: var(--text-main); }
.partner-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
.partner-content .image-text h3 { color: var(--text-main); font-weight: 800; margin-bottom: 15px; }
.partner-content .system-card h4 { color: var(--text-main); }
.partner-content .system-card p { color: var(--text-muted); }
.partner-content .highlight-box h3 { color: var(--text-main); }
.partner-content .highlight-box p a { color: var(--primary); }
.partner-content .faq-container .feature-card h4 { color: var(--text-main); }
.partner-content .faq-container .feature-card p { color: var(--text-muted); }
.partner-content .faq-container .feature-card p a { color: var(--primary); }
.partner-content .text-center h3 { color: var(--text-main); }
.partner-content .text-center p { color: var(--text-muted); }