@import url('variables.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    background: var(--gradient-body);
    color: var(--color-text);
    min-height: 100vh;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--spacing-md);
}

.container-mt-20 {
    margin-top: 20px;
}

.container-mt-40 {
    margin-top: 40px;
}

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

/* Header & Navigation */
#site-header {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    margin: 20px auto 20px auto !important;
    max-width: 1400px !important;
    padding: 0 20px !important;
}

.header {
    background: linear-gradient(135deg, rgba(26, 40, 68, 0.9), rgba(13, 27, 42, 0.9));
    border-radius: 15px;
    padding: 20px 30px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(64, 192, 240, 0.1);
    position: relative;
    overflow: hidden;
    display: block !important;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #40c0f0, transparent);
    opacity: 0.6;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 2.5rem;
    font-weight: 700;
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
}

.tagline {
    text-align: right;
    font-size: 0.9rem;
}

.tagline-main {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    margin-bottom: 5px;
}

.tagline-sub {
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(26, 40, 68, 0.3));
    border: 1px solid rgba(64, 192, 240, 0.3);
    border-radius: 15px;
    padding: 80px 40px;
    text-align: center;
    margin-bottom: 60px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #40c0f0, transparent);
    opacity: 0.8;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.4rem;
    color: #89cff0;
    margin-bottom: 35px;
    text-shadow: 0 0 15px rgba(137, 207, 240, 0.3);
}

.hero .description {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 900px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

/* Brand Philosophy Section */
.philosophy-section {
    background: linear-gradient(135deg, rgba(26, 40, 68, 0.8) 0%, rgba(13, 27, 42, 0.9) 100%);
    border-radius: 20px;
    padding: 60px 40px;
    margin: 60px 0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(64, 192, 240, 0.1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.philosophy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #40c0f0, transparent);
    opacity: 0.6;
}

.brand-pillars {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.pillar {
    font-size: 1.3rem;
    font-weight: 600;
    color: #40c0f0;
    text-shadow: 0 0 15px rgba(64, 192, 240, 0.3);
}

.ceo-quote {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(26, 40, 68, 0.3));
    border: 1px solid rgba(64, 192, 240, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    font-style: italic;
    color: #89cff0;
    font-size: 1.1rem;
    line-height: 1.7;
    backdrop-filter: blur(10px);
}

.dual-advantage {
    text-align: left;
    margin-top: 50px;
}

.dual-advantage h3 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
}

.dual-advantage p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.highlight {
    color: #00b2a9;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 178, 169, 0.3);
}

.electric-highlight {
    color: #40c0f0;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(64, 192, 240, 0.3);
}

/* Search and Filter Section */
.search-filter-section {
    margin: 60px 0 40px;
    text-align: center;
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 30px;
}

.search-input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid rgba(64, 192, 240, 0.3);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(26, 40, 68, 0.8), rgba(13, 27, 42, 0.9));
    color: #ffffff;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #00b2a9;
    box-shadow: 0 0 20px rgba(0, 178, 169, 0.3);
}

.search-input::placeholder {
    color: #89cff0;
    opacity: 0.7;
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #89cff0;
    font-size: 1.2rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    max-width: 100%;
    padding: 10px 20px;
    overflow-x: auto;
}

.filter-btn {
    background: linear-gradient(135deg, rgba(26, 40, 68, 0.8), rgba(13, 27, 42, 0.9));
    color: #89cff0;
    border: 2px solid rgba(64, 192, 240, 0.3);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 0.85rem;
    margin: 5px;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: #00b2a9;
    color: #00b2a9;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #00b2a9, #0291BA);
    color: white;
    border-color: #00b2a9;
}

.results-count {
    color: #89cff0;
    font-size: 0.9rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.no-results {
    background: linear-gradient(135deg, rgba(26, 40, 68, 0.6), rgba(13, 27, 42, 0.8));
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
    border: 2px dashed rgba(64, 192, 240, 0.3);
}

.no-results h3 {
    color: #40c0f0;
    margin-bottom: 15px;
}

.no-results p {
    color: #cccccc;
}
.articles-section {
    margin: 80px 0;
}

.articles-section h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 50px;
    text-align: center;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.article-card {
    background: linear-gradient(135deg, rgba(26, 40, 68, 0.8) 0%, rgba(13, 27, 42, 0.9) 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(64, 192, 240, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #40c0f0, transparent);
    opacity: 0.6;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 178, 169, 0.2);
    border-color: rgba(0, 178, 169, 0.3);
}

.article-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 25px;
}

.article-date {
    color: #89cff0;
    font-size: 0.9rem;
    font-weight: 500;
}

.article-category {
    background: linear-gradient(135deg, rgba(0, 178, 169, 0.2), rgba(64, 192, 240, 0.2));
    color: #40c0f0;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(64, 192, 240, 0.3);
}

.article-card h3 {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    line-height: 1.3;
}

.article-excerpt {
    color: #cccccc;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.article-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    color: #89cff0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-link {
    background: linear-gradient(135deg, rgba(0, 178, 169, 0.2), rgba(64, 192, 240, 0.2));
    color: #40c0f0;
    padding: 12px 25px;
    border: 1px solid rgba(64, 192, 240, 0.3);
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
}

.article-link:hover {
    background: linear-gradient(135deg, rgba(0, 178, 169, 0.3), rgba(64, 192, 240, 0.3));
    border-color: #00b2a9;
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 178, 169, 0.1), rgba(64, 192, 240, 0.1));
    border: 2px solid rgba(0, 178, 169, 0.3);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    margin: 80px 0;
    backdrop-filter: blur(15px);
}

.cta-section h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.cta-section p {
    color: #cccccc;
    font-size: 1.3rem;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: linear-gradient(135deg, #00b2a9, #0291BA);
    color: white;
    padding: 18px 35px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 178, 169, 0.3);
    text-decoration: none;
    display: inline-block;
    margin: 0 10px 10px;
}

.cta-button:hover {
    background: linear-gradient(135deg, #0291BA, #00b2a9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 178, 169, 0.4);
}

.cta-secondary {
    background: linear-gradient(135deg, rgba(64, 192, 240, 0.2), rgba(137, 207, 240, 0.2));
    border: 2px solid #40c0f0;
}

.cta-secondary:hover {
    background: linear-gradient(135deg, rgba(64, 192, 240, 0.3), rgba(137, 207, 240, 0.3));
    border-color: #89cff0;
}

/* Future Articles Placeholder */
.coming-soon {
    background: linear-gradient(135deg, rgba(26, 40, 68, 0.6), rgba(13, 27, 42, 0.8));
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 2px dashed rgba(64, 192, 240, 0.3);
    backdrop-filter: blur(10px);
}

.coming-soon h3 {
    color: #40c0f0;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.coming-soon p {
    color: #cccccc;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .article-card {
        padding: 30px 25px;
    }
    
    .brand-pillars {
        flex-direction: column;
        gap: 20px;
    }
    
    .philosophy-section {
        padding: 40px 25px;
    }
    
    .logo-section {
        flex-direction: column;
        text-align: center;
    }
    
    .tagline {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    .hero {
        padding: 50px 25px;
    }
    
    .article-card {
        padding: 25px 20px;
    }
    
    .cta-button {
        padding: 15px 25px;
        font-size: 1rem;
        display: block;
        margin: 10px 0;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .filter-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
    }
    
    .search-input {
        font-size: 1rem;
        padding: 14px 18px 14px 50px;
    }
    
    .search-icon {
        left: 20px;
    }
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.pagination-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    margin: 0 5px;
    padding: 0 12px;
    background: linear-gradient(135deg, rgba(26, 40, 68, 0.8), rgba(13, 27, 42, 0.9));
    color: #89cff0;
    border: 2px solid rgba(64, 192, 240, 0.3);
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-button:hover {
    background: linear-gradient(135deg, rgba(26, 40, 68, 0.9), rgba(13, 27, 42, 1));
    border-color: rgba(64, 192, 240, 0.6);
    box-shadow: 0 0 15px rgba(64, 192, 240, 0.3);
    transform: translateY(-2px);
}

.pagination-button.active {
    background: linear-gradient(135deg, rgba(64, 192, 240, 0.8), rgba(30, 144, 255, 0.9));
    color: white;
    border-color: rgba(64, 192, 240, 0.8);
    box-shadow: 0 0 15px rgba(64, 192, 240, 0.5);
}

.pagination-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    margin: 0 5px;
    font-size: 14px;
    color: #89cff0;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .pagination-container {
        margin: 30px 0;
    }
    
    .pagination-button {
        min-width: 36px;
        height: 36px;
        margin: 0 3px;
        padding: 0 10px;
        font-size: 13px;
    }
    
    .pagination-ellipsis {
        min-width: 36px;
        height: 36px;
        margin: 0 3px;
        font-size: 13px;
    }
    
    .pagination-button.text-button {
        display: none;
    }
    
    .pagination-button.icon-button {
        display: inline-flex;
    }
}

@media (max-width: 480px) {
    .pagination-container {
        margin: 20px 0;
    }
    
    .pagination-button {
        min-width: 32px;
        height: 32px;
        margin: 0 2px;
        padding: 0 8px;
        font-size: 12px;
    }
    
    .pagination-ellipsis {
        min-width: 32px;
        height: 32px;
        margin: 0 2px;
        font-size: 12px;
    }
}
