/* 
   Liseer Landing Page & Custom Domain CSS 
   Standalone stylesheet to decouple from default theme.
*/

:root {
    /* Colors */
    --primary: #0EA5E9;
    --primary-dark: #0284C7;
    --secondary: #3b9cc1;
    --accent: #0EA5E9;

    --bg-color: #F8FAFC;
    --surface: #ffffff;

    --text-main: #334155;
    --text-light: #64748B;
    --text-muted: #94A3B8;

    /* Spacing & Layout */
    --container-max: 1400px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    max-width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
}

/* --- Layout Components (From Default Theme) --- */

/* Sidebar Layout (used in domain_index.php) */
.theme-default {
    min-height: 100vh;
    background: #f0f0f0;
    /* Default bg, overridden by transparency later */
    padding: 24px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.theme-container {
    max-width: 800px;
    width: 100%;
    padding: 0 20px;
    /* Transparent by default for this new style */
    background: transparent !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Domain Index Hero Background */
.domain-hero-bg {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px 24px 60px;
    margin-top: -24px;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(239, 68, 68, 0.12) 0px, transparent 50%),
        radial-gradient(ellipse at 100% 0%, rgba(245, 158, 11, 0.12) 0px, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(16, 185, 129, 0.06) 0px, transparent 60%),
        #f0f0f0;
    overflow: hidden;
}

.domain-hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(240, 240, 240, 0) 0%, #f0f0f0 100%);
    pointer-events: none;
}

.domain-hero-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px 16px;
}

.domain-hero-title-wrap {
    text-align: center;
    padding: 10px 0 0;
}

/* Sidebar Ads */
.sidebar-ad {
    flex-shrink: 0;
    align-self: flex-start;
    position: sticky;
    top: 20px;
    width: 300px;
    display: flex;
    justify-content: center;
}

.sidebar-ad.stopped {
    position: relative;
    top: auto;
    margin-top: 500px;
}

.sidebar-ad-left {
    order: -1;
    justify-content: flex-end;
}

.sidebar-ad-right {
    order: 1;
    justify-content: flex-start;
}

/* Tablet - Hide ads */
@media (max-width: 1200px) {
    .sidebar-ad {
        display: none;
    }

    .theme-default {
        display: block;
        padding: 16px;
    }

    .theme-container {
        max-width: 100%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .theme-default {
        padding: 10px;
    }

    .theme-container {
        padding: 6px;
    }
}


/* --- Domain Index Key Components --- */

.theme-header {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding-top: 40px;
}

.theme-logo-img {
    height: 60px;
    max-width: 200px;
    object-fit: contain;
}

.theme-share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.2rem;
}

.theme-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    color: var(--primary);
}

.theme-content {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0;
    flex: 1;
}

.theme-footer {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: auto;
}

/* --- List Card Styles (Shared/Consolidated) --- */

/* =========================================
   Unified List Card Styles (Applied to both Index and Domain Index)
   ========================================= */

.list-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    /* Liseer Home Style */
    padding: 16px;
    /* Default for mobile/small */
    margin-bottom: 0px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* Liseer Home Style */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Card Header & Domain Info */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.domain-info {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.4);
    padding: 6px 12px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 0;
}

.domain-favicon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    border-radius: 2px;
}

.card-content-wrapper {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
}

.domain-text {
    font-size: 0.85rem;
    color: #0ea5e9;
    /* Light Blue */
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    /* Ensure text-overflow works on anchor tag */
    max-width: 220px;
    /* Force constraint */
}

/* Content Typography */
.card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
    line-height: 1.35;
}

.card-desc {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Dynamic Line Clamping (controlled by JS data-lines) */
.card-desc[data-lines="1"] {
    -webkit-line-clamp: 1;
    line-clamp: 1;
}

.type-label {
    font-weight: bold;
    font-size: 0.9rem;
}

/* Card Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    /* Liseer Home Style */
    border-top: none;
    /* Liseer Home Style */
}

.visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    /* Liseer Home Style */
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    /* Liseer Home Style */
    color: #475569;
    font-size: 0.78rem;
    /* Liseer Home Style */
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.visit-btn:hover {
    color: #FFFFFF !important;
}

/* Thumbnail Stack (Fan Effect) - Shared */
.card-thumbnail-stack {
    position: relative;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    margin-top: 5px;
}

.stacked-thumb {
    position: absolute;
    width: 55px;
    height: 55px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background: #fff;
}

.stacked-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Default Fan Positions */
.thumb-0 {
    z-index: 3;
    top: 0;
    left: 0;
    transform: rotate(-10deg) translateX(-5px);
}

.thumb-1 {
    z-index: 2;
    top: 5px;
    left: 5px;
    transform: rotate(0deg) translateY(-2px);
}

.thumb-2 {
    z-index: 1;
    top: 10px;
    left: 10px;
    transform: rotate(10deg) translateX(5px);
}

/* Hover Fan Effect */
.list-card:hover .thumb-0 {
    transform: rotate(-14deg) translateX(-8px);
}

.list-card:hover .thumb-1 {
    transform: rotate(-3deg) translateY(-4px);
}

.list-card:hover .thumb-2 {
    transform: rotate(25deg) translateX(10px);
}

/* Desktop Spacing (Common) */
@media (min-width: 641px) {
    .list-card {
        padding: 17px;
        gap: 20px;
        margin-bottom: 0px;
    }
}

/* Mobile Adjustments (Common) */
@media (max-width: 640px) {
    .card-content-wrapper {
        flex-direction: row;
        /* Force Horizontal on Mobile for All */
        gap: 10px;
    }

    .card-thumbnail-stack {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
        margin-bottom: 0;
        position: relative;
        margin-left: 2px;
    }

    .stacked-thumb {
        position: absolute;
    }

    .card-text-col {
        flex: 1;
        min-width: 0;
    }

    /* Mobile: Remove pill shape from domain link */
    .domain-info {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }
}


.nomore-data {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-style: italic;
    display: none;
}

/* Loading */
.loading-spinner {
    text-align: center;
    padding: 40px;
    color: #94A3B8;
    /* Changed to Gray */
    display: none;
    width: 100%;
    /* Ensure full width for centering */
}

.loading-spinner.visible {
    display: block;
}


/* --- Landing Page Specifics (index.php) --- */

.main-content {
    padding: 24px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 100;
    margin-top: -120px;
}

.white-container {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 40px;
    padding-bottom: 80px;
    min-height: 80vh;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 2;
    transform: scale(0.88);
    transform-origin: center top;
    max-width: 1400px;
    margin: -40px auto 0;
}

.stacked-card {
    max-width: 1250px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.08);
    height: 80px;
    position: relative;
    z-index: 1;
    transform: scale(0.84);
    transform-origin: center top;
}

.mylist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.explore-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1E293B;
    margin: 0;
    letter-spacing: -0.02em;
}

/* Grid for Landing Page */
.list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* In Landing Page, cards might have slightly different padding or radius, but shared styles mostly work. 
   Modifying overrides for landing page context if needed */
.white-container .list-card {
    min-height: 160px;
}

/* No Results */
.no-results-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #FFFFFF;
    border-radius: 16px;
    text-align: center;
    min-height: 400px;
    width: 80%;
    margin: 40px auto;
}

.no-results-icon {
    font-size: 3.5rem;
    color: #E2E8F0;
    margin-bottom: 24px;
    background: #F8FAFC;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-results-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 12px;
}

.no-results-desc {
    color: #64748B;
    font-size: 1rem;
    max-width: 400px;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Search Styles */
.search-section {
    display: flex;
    align-items: center;
    position: relative;
}

.search-icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    cursor: pointer;
    font-size: 1.1rem;
    border: none;
    background: transparent;
    border-radius: 50%;
    transition: all 0.2s;
}

.search-icon-btn:hover {
    background: #F1F5F9;
    color: #1E293B;
}

.search-box {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    align-items: center;
    gap: 10px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 22px;
    padding: 8px 14px;
    height: 40px;
    min-width: 280px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.2s ease-out;
    z-index: 10;
}

.search-box.visible {
    display: flex;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.search-box-icon {
    color: #94A3B8;
    font-size: 0.9rem;
}

.search-box input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9rem;
    color: #1E293B;
}

.search-box input::placeholder {
    color: #94A3B8;
}

.search-close-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: #94A3B8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.search-close-btn:hover {
    background: #F1F5F9;
    color: #64748B;
}

/* --- Search Filter --- */
.search-filter-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border-left: 1px solid #e2e8f0;
    margin-left: 8px;
    padding-left: 8px;
}

.search-filter-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-filter-btn:hover {
    background: #f1f5f9;
    color: #0ea5e9;
}

.search-filter-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    /* Align to right */
    left: auto;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    width: 180px;
    display: none;
    flex-direction: column;
    padding: 8px;
    z-index: 50;
    margin-top: 8px;
}

.search-filter-dropdown.active {
    display: flex;
    animation: fadeIn 0.2s ease;
}

.filter-option {
    padding: 8px 12px;
    text-decoration: none;
    color: #334155;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: background 0.2s;
    font-weight: 500;
}

.filter-option:hover {
    background: #f8fafc;
    color: #0ea5e9;
}

.filter-option.active {
    background: #f0f9ff;
    color: #0ea5e9;
}

/* Adjustments for sticky search */
.sticky-search-box .search-filter-wrapper {
    margin-left: 0;
    padding-left: 8px;
    border-left: 1px solid #e2e8f0;
    border-right: none;
}


/* Landing Header (Scrolls with page) */
.landing-header {
    position: relative;
    width: 100%;
    z-index: 100;
    background: transparent;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    height: 42px;
    width: auto;
    position: relative;
    top: 5px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-dropdown-wrapper {
    position: relative;
}

.header-nav .nav-dropdown-wrapper .dropdown-toggle {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5);
    color: #334155;
}

.header-nav .nav-dropdown-wrapper .dropdown-toggle:hover {
    border-color: var(--primary);
    background: #fff;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 180px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    padding: 8px;
    margin-top: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    pointer-events: none;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.dropdown-item {
    display: block;
    padding: 8px 12px;
    color: #475569;
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 8px;
    transition: background 0.1s;
}

.dropdown-item:hover {
    background: #F8FAFC;
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    border-radius: 8px;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: #475569;
    transition: all 0.2s;
}

/* Sticky Sub-Header */
.sticky-sub-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.sticky-sub-header.visible {
    transform: translateY(0);
}

.sticky-sub-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-sub-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sticky-sub-icon {
    height: 24px;
    width: auto;
}

.sticky-sub-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1E293B;
}

.sticky-sub-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sticky-search-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 1rem;
}

.sticky-search-btn:hover {
    color: var(--primary);
}

.sticky-search-box {
    display: none;
    align-items: center;
    gap: 8px;
    background: #F1F5F9;
    border-radius: 10px;
    padding: 6px 12px;
    flex: 1;
    max-width: 280px;
}

.sticky-search-box.visible {
    display: flex;
}

.sticky-search-box input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.9rem;
    color: #1E293B;
    width: 100%;
    font-family: inherit;
}

.sticky-search-close {
    background: none;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 2px;
    display: flex;
}

.sticky-search-close:hover {
    color: #EF4444;
}


/* Hero Section */
.hero-section {
    max-height: 800px;
    min-height: 670px;
    position: relative;
    margin-top: 0;
    padding-top: 5px;
    padding-bottom: 60px;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(239, 68, 68, 0.2) 0px, transparent 50%),
        radial-gradient(ellipse at 100% 0%, rgba(245, 158, 11, 0.2) 0px, transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(59, 130, 246, 0.2) 0px, transparent 50%),
        radial-gradient(ellipse at 0% 100%, rgba(59, 130, 246, 0.1) 0px, transparent 50%),
        #F1F5F9;
    background-size: 100% 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hero-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, rgba(241, 245, 249, 0) 0%, #F1F5F9 100%);
    z-index: 5;
    pointer-events: none;
}

.hero-slider {
    width: 100%;
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    padding-bottom: 40px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    padding: 0 20px;
    pointer-events: none;
}

.hero-slide:first-child {
    opacity: 1;
    z-index: 10;
    pointer-events: auto;
}

.hero-slide.active {
    opacity: 1;
    z-index: 20;
    pointer-events: auto;
}

.slide-content {
    text-align: center;
    max-width: 800px;
    transform: translateY(0);
}

.hero-footer-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-bottom: 60px;
    z-index: 60;
    position: relative;
}

.text-gradient {
    background: linear-gradient(to right, #EF4444 0%, #F59E0B 40%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.2s;
}

.slide-desc {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 0;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.4s;
}

.hero-slide.active .slide-title,
.hero-slide.active .slide-desc {
    opacity: 1;
    transform: translateY(0);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(15, 23, 42, 0.15);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 12px;
}

.partner-logos-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
}

.partner-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.partner-logo {
    height: 28px;
    opacity: 0.45;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.partner-group-label {
    font-size: 0.6rem;
    font-weight: 600;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-global-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 52px;
    background: #4A8FE7;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: 0 8px 24px -4px rgba(74, 143, 231, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-global-btn:hover {
    transform: translateY(-4px) scale(1.03);
    background: #3A7DD6;
    box-shadow: 0 14px 32px -6px rgba(58, 125, 214, 0.55);
}

.landing-footer {
    background: transparent;
    border-top: none;
    padding: 24px 20px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-icon {
    height: 20px;
    width: auto;
    opacity: 0.6;
}

.footer-copy {
    font-size: 0.75rem;
    color: #94A3B8;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-copy a {
    color: #64748B;
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-sep {
    color: #CBD5E1;
}

@media (max-width: 768px) {
    .list-grid {
        grid-template-columns: 1fr;
    }

    .mylist-header {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .search-section {
        position: static;
    }

    .hero-section {
        padding-top: 0;
        padding-bottom: 80px;
    }

    .hero-slider {
        min-height: 280px;
    }

    .slide-title {
        font-size: 2.1rem;
    }

    .slide-desc {
        font-size: 1.05rem;
        padding: 0 10px;
    }

    .hero-footer-controls {
        padding-bottom: 10px;
        gap: 16px;
    }

    .hero-global-btn {
        padding: 12px 32px;
        font-size: 0.95rem;
    }

    .partner-logos {
        gap: 16px 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .partner-logo {
        height: 24px;
    }

    .partner-group-label {
        font-size: 0.6rem;
    }

    .partner-logos-bar {
        margin-top: 18px;
        gap: 8px;
        padding: 0 16px;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .main-content {
        margin-top: -60px;
        padding: 0 6px;
    }

    .white-container {
        margin-top: -60px;
        padding: 16px 16px;
        border-radius: 16px 16px 0 0;
        margin-left: -20px;
        margin-right: -20px;
    }

    .stacked-card {
        height: 50px;
        max-width: 96%;
    }

    .landing-header .header-nav {
        display: none;
    }

    .header-container {
        padding: 0 12px;
    }

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

    .landing-header .header-nav.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 16px;
        background: #fff;
        border-radius: 14px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
        padding: 12px;
        gap: 4px;
        min-width: 200px;
        z-index: 200;
        border: 1px solid rgba(0, 0, 0, 0.06);
    }

    .landing-header .header-nav.mobile-open .nav-link {
        padding: 10px 14px;
        border-radius: 10px;
        font-size: 0.95rem;
    }

    .landing-header .header-nav.mobile-open .nav-link:hover {
        background: #F1F5F9;
    }

    .landing-header .header-nav.mobile-open .nav-dropdown-wrapper {
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        padding-top: 8px;
        margin-top: 4px;
    }

    .landing-header .header-nav.mobile-open .dropdown-toggle {
        width: 100%;
        justify-content: flex-start;
    }
}

/* =========================================
   Partials / Shared Sub-page Styles
   ========================================= */

/* ---- Shared Landing Page Styles (from partials/_head.php) ---- */
/* Note: Body/Reset might be redundant with index.php styles, ensuring consistency */
body {
    font-family: 'Inter', sans-serif;
    background: #F1F5F9;
    color: #2E3A44;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Hero Background (shared for all sub-pages) */
.landing-hero-bg {
    position: relative;
    margin-top: 0;
    padding-top: 5px;
    padding-bottom: 60px;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(239, 68, 68, 0.2) 0px, transparent 50%),
        radial-gradient(ellipse at 100% 0%, rgba(245, 158, 11, 0.2) 0px, transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(59, 130, 246, 0.2) 0px, transparent 50%),
        radial-gradient(ellipse at 0% 100%, rgba(59, 130, 246, 0.1) 0px, transparent 50%),
        #F1F5F9;
    background-size: 100% 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
}

/* Fade to site background at bottom */
.landing-hero-bg::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, rgba(241, 245, 249, 0) 0%, #F1F5F9 100%);
    z-index: 5;
    pointer-events: none;
}

/* Main Content Card */
.page-main-content {
    position: relative;
    z-index: 100;
    margin-top: -120px;
}

.page-white-container {
    max-width: 1400px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.06);
    min-height: 50vh;
    padding: 40px;
    position: relative;
    z-index: 2;
}

.page-white-container-narrow {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.06);
    min-height: 50vh;
    padding: 40px;
    position: relative;
    z-index: 2;
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(to right, #EF4444 0%, #F59E0B 40%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Shared Mobile */
@media (max-width: 768px) {
    .landing-hero-bg {
        padding-top: 0;
        padding-bottom: 40px;
    }

    .header-container {
        padding: 0 12px;
    }

    /* Navigation handling for mobile is in index.php styles too, but ensuring coverage */
    .landing-header .header-nav {
        display: none;
    }

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

    .landing-header .header-nav.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 16px;
        background: #fff;
        border-radius: 14px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
        padding: 12px;
        gap: 4px;
        min-width: 200px;
        z-index: 200;
        border: 1px solid rgba(0, 0, 0, 0.06);
    }

    .landing-header .header-nav.mobile-open .nav-link {
        padding: 10px 14px;
        border-radius: 10px;
        font-size: 0.95rem;
    }

    .landing-header .header-nav.mobile-open .nav-link:hover {
        background: #F1F5F9;
    }

    .landing-header .header-nav.mobile-open .nav-dropdown-wrapper {
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        padding-top: 8px;
        margin-top: 4px;
    }

    .landing-header .header-nav.mobile-open .dropdown-toggle {
        width: 100%;
        justify-content: flex-start;
    }

    .page-main-content {
        padding: 0 20px;
    }

    .page-white-container {
        padding: 20px 20px;
        border-radius: 16px;
    }
}

/* =========================================
   How It Works Page
   ========================================= */
.hiw-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0F172A;
    text-align: center;
    letter-spacing: -0.03em;
}

/* Specific Hero Override for all sub-pages using this layout */
.landing-hero-bg {
    min-height: 50vh !important;
    padding-bottom: 140px !important;
    margin-bottom: -30px !important;
}

/* Steps area - no white container */
.hiw-steps-area {
    position: relative;
    z-index: 100;
    max-width: 900px;
    margin: -120px auto 0;
    padding: 0 20px;
}

/* Zigzag step cards */
.hiw-step-row {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 0;
    position: relative;
}

.hiw-step-row.right {
    justify-content: flex-end;
}

.hiw-step-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px 32px 28px 48px;
    width: 85%;
    position: relative;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s;
}

.hiw-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hiw-step-num {
    position: absolute;
    left: -22px;
    top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.hiw-step-num.s1 {
    background: linear-gradient(135deg, #EF4444, #F97316);
}

.hiw-step-num.s2 {
    background: linear-gradient(135deg, #F59E0B, #EAB308);
}

.hiw-step-num.s3 {
    background: linear-gradient(135deg, #10B981, #34D399);
}

.hiw-step-num.s4 {
    background: linear-gradient(135deg, #3B82F6, #6366F1);
}

.hiw-step-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 8px;
}

.hiw-step-desc {
    font-size: 0.88rem;
    color: #64748B;
    line-height: 1.7;
    margin-bottom: 14px;
}

/* Feature chips */
.hiw-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hiw-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    background: #F1F5F9;
    color: #475569;
}

.hiw-chip i {
    font-size: 0.65rem;
}

/* Arrow connectors */
.hiw-arrow {
    display: flex;
    justify-content: flex-end;
    padding: 0;
    position: relative;
    height: 120px;
    margin-top: -100px;
    z-index: 10;
    pointer-events: none;
}

.hiw-arrow.left {
    justify-content: flex-start;
}

.hiw-arrow svg {
    width: 80px;
    height: 80px;
    color: #CBD5E1;
    margin-right: 2%;
    transform: rotate(10deg);
}

.hiw-arrow.left svg {
    margin-left: 2%;
    margin-right: 0;
    transform: rotate(-10deg) scaleX(-1);
}

/* CTA Arrow specific */
.hiw-arrow.cta {
    justify-content: flex-start;
    padding: 0;
    height: 100px;
    margin-top: -60px;
}

.hiw-arrow.cta svg {
    margin-left: 2%;
    margin-right: 0;
    transform: rotate(-10deg) scaleX(-1);
    color: #CBD5E1;
}

/* CTA Section - outside white container */
.hiw-cta-area {
    max-width: 900px;
    margin: 48px auto 0;
    padding: 0 20px 60px;
}

.hiw-cta {
    text-align: center;
    padding: 48px 32px;
    background: linear-gradient(135deg, #fff, #EFF6FF);
    border-radius: 24px;
    border: 1px solid rgba(59, 130, 246, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.hiw-cta-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1E293B;
    margin-bottom: 8px;
}

.hiw-cta-desc {
    font-size: 0.9rem;
    color: #64748B;
    margin-bottom: 28px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hiw-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: #4A8FE7;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(74, 143, 231, 0.25);
}

.hiw-cta-btn:hover {
    background: #3A7DD6;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(74, 143, 231, 0.35);
}

@media (max-width: 768px) {
    .hiw-hero-title {
        font-size: 1.8rem;
    }

    .hiw-step-card {
        width: 100%;
        padding-left: 48px;
    }

    .hiw-step-num {
        left: -8px;
    }

    .hiw-step-row,
    .hiw-step-row.right {
        justify-content: center;
        margin-bottom: 24px;
    }

    .hiw-arrow {
        display: none;
    }
}


/* =========================================
   Pricing Page
   ========================================= */
.pricing-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0F172A;
    text-align: center;
    letter-spacing: -0.03em;
}

.pricing-hero-desc {
    font-size: 1rem;
    color: #64748B;
    text-align: center;
    max-width: 500px;
    margin: 12px auto 0;
    line-height: 1.6;
}

/* Pricing grid */
.pricing-area {
    position: relative;
    z-index: 100;
    max-width: 1000px;
    margin: -120px auto 0;
    padding: 0 20px 60px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

/* Card */
.pricing-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Featured card */
.pricing-card.featured {
    border: 2px solid #4A8FE7;
    box-shadow: 0 8px 40px rgba(74, 143, 231, 0.15);
    transform: scale(1.03);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 12px 48px rgba(74, 143, 231, 0.2);
}

/* Best choice tag */
.pricing-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #4A8FE7, #6366F1);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

/* Plan name & icon */
.pricing-plan-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.pricing-plan-icon.beginner {
    background: #F1F5F9;
    color: #64748B;
}

.pricing-plan-icon.pro {
    background: #DBEAFE;
    color: #3B82F6;
}

.pricing-plan-icon.max {
    background: #EDE9FE;
    color: #7C3AED;
}

.pricing-plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 4px;
}

.pricing-plan-sub {
    font-size: 0.8rem;
    color: #94A3B8;
    margin-bottom: 20px;
}

/* Price */
.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 24px;
}

.pricing-price .amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1E293B;
    letter-spacing: -0.03em;
    line-height: 1;
}

.pricing-price .currency {
    font-size: 1.1rem;
    font-weight: 700;
    color: #64748B;
}

.pricing-price .period {
    font-size: 0.85rem;
    color: #94A3B8;
    font-weight: 500;
}

.pricing-free {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1E293B;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 24px;
}

/* Feature list */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: #475569;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    line-height: 1.4;
}

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

.pricing-features li i {
    color: #10B981;
    font-size: 0.75rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.pricing-features li i.fa-xmark {
    color: #CBD5E1;
}

/* CTA button */
.pricing-btn {
    display: block;
    text-align: center;
    padding: 13px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.pricing-btn.outline {
    background: #F1F5F9;
    color: #475569;
    border: 1px solid #E2E8F0;
}

.pricing-btn.outline:hover {
    background: #E2E8F0;
    color: #1E293B;
}

.pricing-btn.primary {
    background: #4A8FE7;
    color: #fff;
    box-shadow: 0 4px 16px rgba(74, 143, 231, 0.25);
}

.pricing-btn.primary:hover {
    background: #3A7DD6;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(74, 143, 231, 0.35);
}

.pricing-btn.purple {
    background: linear-gradient(135deg, #7C3AED, #6366F1);
    color: #fff;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.25);
}

.pricing-btn.purple:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.35);
}

/* Bottom note */
.pricing-note {
    text-align: center;
    margin-top: 32px;
    font-size: 0.8rem;
    color: #94A3B8;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .pricing-hero-title {
        font-size: 1.8rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

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

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


/* =========================================
   About Page
   ========================================= */
.about-section {
    margin-bottom: 48px;
}

.about-section:last-child {
    margin-bottom: 0;
}

.about-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.about-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 12px;
}

.about-text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.8;
    max-width: 720px;
}

.about-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0F172A;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.about-hero-desc {
    font-size: 1.1rem;
    color: #64748B;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.value-card {
    background: #F8FAFC;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.2s;
}

.value-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.value-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.value-icon.red {
    background: #FEE2E2;
    color: #EF4444;
}

.value-icon.yellow {
    background: #FEF3C7;
    color: #F59E0B;
}

.value-icon.blue {
    background: #DBEAFE;
    color: #3B82F6;
}

.value-icon.green {
    background: #D1FAE5;
    color: #10B981;
}

.value-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 8px;
}

.value-desc {
    font-size: 0.85rem;
    color: #64748B;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-hero-title {
        font-size: 1.8rem;
    }

    .about-hero-desc {
        font-size: 0.95rem;
    }

    .about-title {
        font-size: 1.4rem;
    }
}


/* =========================================
   Contact Page
   ========================================= */
.contact-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0F172A;
    text-align: center;
    letter-spacing: -0.03em;
}

.contact-intro {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 36px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #F8FAFC;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.2s;
}

.contact-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-card-icon.blue {
    background: #DBEAFE;
    color: #3B82F6;
}

.contact-card-icon.green {
    background: #D1FAE5;
    color: #10B981;
}

.contact-card-icon.yellow {
    background: #FEF3C7;
    color: #F59E0B;
}

.contact-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 4px;
}

.contact-card-text {
    font-size: 0.85rem;
    color: #64748B;
    line-height: 1.5;
}

.contact-card-text a {
    color: #0EA5E9;
    text-decoration: none;
    font-weight: 500;
}

.contact-card-text a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    margin-top: 8px;
}

.form-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 20px;
}

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

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    color: #1E293B;
    background: #F8FAFC;
    transition: all 0.2s;
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #0EA5E9;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #94A3B8;
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: #4A8FE7;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.form-submit:hover {
    background: #3A7DD6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 143, 231, 0.3);
}

@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 1.8rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   Privacy Policy Page
   ========================================= */
.policy-section {
    margin-bottom: 32px;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 10px;
}

.policy-text {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.8;
}

.policy-text a {
    color: #0EA5E9;
    text-decoration: underline;
}

.policy-text a:hover {
    color: #0284C7;
}

.policy-text ul {
    padding-left: 20px;
    margin: 8px 0;
}

.policy-text ul li {
    margin-bottom: 4px;
}

.policy-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0F172A;
    text-align: center;
    letter-spacing: -0.03em;
}

@media (max-width: 768px) {
    .policy-hero-title {
        font-size: 1.8rem;
    }
}