/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #681CFF;
    --purple-dark: #4D0FCC;
    --purple-light: #8B4DFF;
    --white: #FFFFFF;
    --black: #000000;
    --gray-light: #F5F5F5;
    --gray-medium: #CCCCCC;
    --gray-dark: #666666;
    --text-dark: #333333;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-purple);
}

.logo a {
    display: inline-block;
    text-decoration: none;
    border: none;
}

.logo-img {
    height: 64px;
    width: auto;
    max-width: 160px;
    display: block;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    margin-left: 6rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-purple);
}

.nav-menu a.active {
    color: var(--primary-purple);
    font-weight: 600;
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    margin-top: 70px;
    overflow: hidden;
}

.hero-background-swiper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
}

.hero-background-swiper .swiper-wrapper {
    width: 100%;
    height: 100%;
}

.hero-background-swiper .swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-background-swiper .swiper-slide .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* For fade effect */
.hero-background-swiper.swiper-fade .swiper-slide {
    opacity: 0;
    transition-property: opacity;
}

.hero-background-swiper.swiper-fade .swiper-slide-active,
.hero-background-swiper.swiper-fade .swiper-slide-duplicate-active {
    opacity: 1;
}

/* Ensure first slide is visible before Swiper initializes */
.hero-background-swiper .swiper-slide:first-child {
    opacity: 1 !important;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* Clear image display without blur or scale */
}

/* Hero Banner Pagination */
.hero-background-swiper .swiper-pagination.hero-banner-pagination,
.hero-background-swiper .hero-banner-pagination {
    position: absolute !important;
    top: 50% !important;
    right: 120px !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.5rem !important;
    width: auto !important;
    left: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    text-align: left !important;
}

.hero-background-swiper .swiper-pagination.hero-banner-pagination .hero-banner-bullet,
.hero-background-swiper .hero-banner-pagination .hero-banner-bullet,
.hero-background-swiper .swiper-pagination.hero-banner-pagination .swiper-pagination-bullet,
.hero-background-swiper .hero-banner-pagination .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: #681CFF !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    opacity: 1 !important;
    margin: 0 !important;
    display: block !important;
    position: relative !important;
}

.hero-background-swiper .swiper-pagination.hero-banner-pagination .hero-banner-bullet.active,
.hero-background-swiper .hero-banner-pagination .hero-banner-bullet.active,
.hero-background-swiper .swiper-pagination.hero-banner-pagination .swiper-pagination-bullet-active,
.hero-background-swiper .hero-banner-pagination .swiper-pagination-bullet-active {
    background: #ffffff !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn {
    padding: .8rem 1.8rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    width: auto;
    flex-shrink: 0;
}

a.btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

a.btn.btn-primary {
    color: var(--primary-purple);
}

a.btn.btn-outline {
    color: var(--primary-purple);
}

a.btn.btn-purple {
    color: var(--white);
}

a.btn.btn-login {
    color: var(--white);
}

.btn-primary {
    background: var(--white);
    color: var(--primary-purple);
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--purple-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 44, 191, 0.3);
}

.btn-outline {
    background: var(--white);
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
    font-weight: 600;
}

.btn-outline:hover {
    background: var(--primary-purple);
    color: var(--white);
}

.btn-purple {
    background: var(--primary-purple);
    color: var(--white);
    font-weight: 600;
}

.btn-purple:hover {
    background: var(--purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(104, 28, 255, 0.3);
}

.btn-login {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid var(--white);
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--white);
}

.btn-login .arrow {
    filter: brightness(0) invert(1);
}

.btn-small {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    width: auto !important;
    max-width: none !important;
    align-self: flex-start;
    flex-shrink: 0;
    display: inline-block !important;
}

.arrow {
    width: 16px;
    height: 16px;
    margin-left: 0.5rem;
    vertical-align: middle;
    display: inline-block;
    object-fit: contain;
}

/* Arrow in purple button displays as white */
.btn-purple .arrow {
    filter: brightness(0) invert(1);
}

/* Arrow in outline button displays as purple */
.btn-outline .arrow {
    filter: brightness(0) saturate(100%) invert(28%) sepia(95%) saturate(7384%) hue-rotate(258deg) brightness(97%) contrast(102%);
}

/* Arrow in outline button turns white on hover */
.btn-outline:hover .arrow {
    filter: brightness(0) invert(1);
}

/* Arrow in Hero button displays as purple */
.btn-primary .arrow {
    filter: brightness(0) saturate(100%) invert(28%) sepia(95%) saturate(7384%) hue-rotate(258deg) brightness(97%) contrast(102%);
}

/* Arrow in Hero button turns white on hover */
.btn-primary:hover .arrow {
    filter: brightness(0) invert(1);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: var(--white);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    width: 100%;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--gray-light);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.office-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.purple-title {
    color: var(--primary-purple);
}

.center-title {
    text-align: center;
    color: var(--text-dark);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 2rem;
}

.about-buttons {
    display: flex;
    gap: 1rem;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: var(--gray-light);
    margin-bottom: 5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(123, 44, 191, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.purple-icon {
    background: var(--primary-purple);
    color: var(--white);
}

.service-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-dark);
}

/* CTA Banner */
.cta-banner {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('static/background_02.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: bold;
}

.btn-cta {
    background: var(--primary-purple);
    color: var(--white) !important;
}

.btn-cta:hover {
    background: var(--purple-light);
    color: var(--white) !important;
}

.btn-primary.btn-cta {
    color: var(--white) !important;
    background: var(--primary-purple) !important;
}

.btn-primary.btn-cta:hover {
    color: var(--white) !important;
    background: var(--purple-light) !important;
}

.btn-cta .arrow {
    filter: brightness(0) invert(1);
}

/* News Section */
.news-section {
    padding: 4rem 0 5rem;
    background: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.news-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-image-placeholder svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.news-content > * {
    flex-shrink: 0;
}

.news-content .btn,
.news-content .btn-small,
.news-content button.btn,
.news-content a.btn {
    display: inline-block !important;
    align-self: flex-start !important;
    width: auto !important;
    max-width: none !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    text-decoration: none;
    margin-top: auto;
}

.news-content a.btn.btn-primary {
    color: var(--primary-purple) !important;
}

.news-content a.btn.btn-primary:hover {
    color: var(--white) !important;
}

.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gray-dark);
    font-size: 0.9rem;
}

.news-icon,
.news-date {
    font-size: 0.9rem;
}

.news-icon img,
.news-date img {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 0.25rem;
    display: inline-block;
}

.news-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--primary-purple);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    flex-shrink: 0;
}

.news-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    flex-shrink: 0;
}


/* App Banner */
.app-banner {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
    min-height: 500px;
}

.app-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('static/background_05.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.app-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    min-height: 400px;
}

.app-content {
    color: var(--white);
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
}

.app-services {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
}

.app-service-item {
    display: flex;
    flex-direction: row;
    gap: 0.6rem;
    align-items: flex-start;
}

.app-service-icon {
    width: 40px;
    height: 40px    ;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
}

.app-service-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.app-service-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.app-service-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--white);
    margin: 0;
    line-height: 1.4;
}

.app-service-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.app-tip {
    color: var(--primary-purple);
}

.app-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.app-description {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.btn-download .arrow {
    filter: brightness(0) invert(1);
}

.app-downloads {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.2rem;
    width: 100%;
    max-width: 200px;
}

.download-btn {
    width: 100%;
    height: 60px;
    border-radius: 8px;
    background: var(--primary-purple);
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: none;
    padding: 0 1.5rem;
    box-shadow: 0 2px 8px rgba(104, 28, 255, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(104, 28, 255, 0.5);
    background: var(--purple-light);
}

.download-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(104, 28, 255, 0.3);
}

.download-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
}

.download-text {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    z-index: 1;
    position: relative;
    letter-spacing: 0.5px;
}


.qr-image {
    width: 180px;
    height: 180px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.qr-placeholder {
    width: 140px;
    height: 140px;
    background: var(--white);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.qr-placeholder::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: 
        repeating-linear-gradient(0deg, #000 0px, #000 6px, transparent 6px, transparent 12px),
        repeating-linear-gradient(90deg, #000 0px, #000 6px, transparent 6px, transparent 12px);
    opacity: 0.4;
    border-radius: 4px;
}

.qr-placeholder::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: #000;
    border-radius: 4px;
    opacity: 0.3;
}

/* Professionals Section */
.professionals-section {
    padding: 5rem 0;
    background: var(--gray-light);
}

.professionals-swiper {
    padding: 2rem 0;
    margin-top: 3rem;
}

.professionals-swiper .swiper-wrapper {
    align-items: stretch;
}

.professionals-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.professional-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
    height: 85%;
    max-height: 100%;
    max-height: 480px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.professional-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(123, 44, 191, 0.2);
}

.professional-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--purple-light) 100%);
    position: relative;
}

.avatar-placeholder::before {
    content: '👤';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    opacity: 0.7;
}

.professional-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.professional-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-dark);
    flex: 1;
    overflow-y: auto;
    overflow: auto;
    min-height: 0;
}

.swiper-pagination.slider-dots {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    bottom: auto !important;
}

.swiper-pagination.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-medium);
    cursor: pointer;
    transition: background 0.3s;
    margin: 0 !important;
    opacity: 1 !important;
}

.swiper-pagination.slider-dots .dot.active {
    background: var(--primary-purple);
}

/* Footer */
.footer {
    background: var(--white);
    color: var(--text-dark);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-brand {
    width: 20%;
    display: flex;
    flex-direction: column;
}

.footer-links {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-left: 10rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 72px;
    width: auto;
    max-width: 180px;
    display: block;
    object-fit: contain;
}

.logo-green {
    color: #00D9A5;
}

.logo-black {
    color: var(--text-dark);
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.footer-disclaimer {
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: 0.7;
    margin-top: 1rem;
    color: var(--gray-dark);
}

.footer-heading {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu a {
    color: var(--gray-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu a:hover {
    opacity: 1;
}

.footer-address {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin: 0;
}

.footer-email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.95rem;
    color: var(--gray-dark);
}

.footer-email-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
    color: var(--gray-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-wrapper {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .app-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .app-sidebar {
        width: 100%;
    }
    
    .app-services {
        padding: 1.5rem;
        gap: 2rem;
    }
    
    .app-title {
        font-size: 2rem;
    }
    
    .app-description {
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* About Us Page Styles */
.about-hero {
    position: relative;
    height: 300px;
    min-height: 300px;
    display: flex;
    align-items: center;
    margin-top: 70px;
    overflow: hidden;
}

.about-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('static/background_02.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    filter: brightness(0.6);
}

.about-hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.about-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.btn-about-label {
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-about-label:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.5);
}

/* About Name Section */
.about-name-section {
    padding: 5rem 0;
    background: var(--white);
}

.about-name-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-name-title {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.about-name-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--gray-dark);
}

.about-name-text p {
    margin-bottom: 1.5rem;
}

.about-name-text h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 2rem 0 1rem;
    color: var(--text-dark);
}

.about-name-text strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* About Smith Section */
.about-smith-section {
    padding: 5rem 0;
    background: var(--white);
}

.about-smith-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.about-smith-image {
    width: 100%;
}

.smith-portrait {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-smith-content {
    display: flex;
    flex-direction: column;
}

.about-smith-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-smith-subtitle {
    font-size: 1.2rem;
    color: var(--gray-dark);
    margin-bottom: 2rem;
    font-weight: 500;
}

.about-smith-text {
    font-size: 0.8rem;
    line-height: 2;
    color: var(--gray-dark);
}

.about-smith-text p {
    margin-bottom: 1rem;
}

.about-smith-text h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-smith-text strong {
    font-weight: 600;
    color: var(--text-dark);
}

/* Responsive styles for About page */
@media (max-width: 1024px) {
    .about-smith-wrapper {
        gap: 3rem;
    }
    
    .about-name-title {
        font-size: 2.5rem;
    }
    
    .about-name-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .about-hero {
        height: 300px;
        min-height: 300px;
    }
    
    .about-hero-content,
    .team-hero-content {
        padding-right: 5%;
    }
    
    .about-name-section,
    .about-smith-section {
        padding: 3rem 0;
    }
    
    .about-name-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .about-name-text {
        font-size: 1rem;
        line-height: 1.8;
    }
    
    .about-smith-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-smith-title {
        font-size: 2rem;
    }
    
    .about-smith-subtitle {
        font-size: 1.1rem;
    }
    
    .about-smith-text {
        font-size: 1rem;
        line-height: 1.8;
    }
}

/* Team Page Styles */
.team-hero {
    position: relative;
    height: 400px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    overflow: hidden;
}

.team-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('static/background_02.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    filter: brightness(0.6);
}

.team-hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.team-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Featured Profile Section */
.team-featured-section {
    padding: 5rem 0;
    background: var(--white);
}

.team-featured-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.team-featured-avatar {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    position: relative;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--purple-light) 100%);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.featured-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-avatar-img[src=""],
.featured-avatar-img:not([src]) {
    opacity: 0;
}

.team-member-avatar {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    position: relative;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--purple-light) 100%);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.member-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.member-avatar-img[src=""],
.member-avatar-img:not([src]) {
    opacity: 0;
}


.team-featured-name {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.team-featured-bio {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--gray-dark);
    text-align: left;
}

.team-featured-bio p {
    margin-bottom: 1.5rem;
}

/* Team Members Grid Section */
.team-members-section {
    padding: 5rem 0;
    background: var(--white);
}

.team-members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.team-member-card {
    background: #F7F7F7 !important;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-member-card.active {
    border-color: var(--primary-purple);
    box-shadow: 0 10px 30px rgba(104, 28, 255, 0.2);
}


.team-member-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.team-member-bio {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-dark);
    text-align: left;
}

.team-member-bio p {
    margin: 0;
}

/* Responsive styles for Team page */
@media (max-width: 1024px) {
    .team-members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
}

@media (max-width: 768px) {
    .team-hero {
        height: 250px;
        min-height: 250px;
    }
    
    
    .team-featured-section,
    .team-members-section {
        padding: 3rem 0;
    }
    
    .team-featured-avatar {
        width: 150px;
        height: 150px;
    }
    
    .team-featured-name {
        font-size: 2rem;
    }
    
    .team-featured-bio {
        font-size: 1rem;
        line-height: 1.8;
    }
    
    .team-members-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-member-avatar {
        width: 120px;
        height: 120px;
    }
    
    .team-member-name {
        font-size: 1.3rem;
    }
    
    .team-member-bio {
        font-size: 0.9rem;
    }
}

/* News Page Styles - Uses the same styles as about-hero */
.news-hero {
    position: relative;
    height: 400px;
    min-height: 400px;
    display: flex;
    align-items: center;
    margin-top: 70px;
    overflow: hidden;
}

.news-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('static/background_02.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    filter: brightness(0.6);
}

.news-hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.news-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}


/* Pagination Styles */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 2rem 0;
    width: 100%;
}

.pagination-label {
    background: var(--white) !important;
    color: #9D999B !important;
    font-size: 1rem !important;
    padding: 0.5rem 1rem !important;
    border: 1px solid var(--gray-medium) !important;
    border-radius: 5px !important;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    font-weight: normal;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    box-sizing: border-box;
    margin: 0;
}

.pagination-label:hover {
    background: var(--white) !important;
    border-color: var(--gray-dark) !important;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-page {
    min-width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    color: var(--gray-dark) !important;
    font-size: 1rem !important;
    border-radius: 50% !important;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-weight: normal;
    text-align: center;
    box-sizing: border-box;
    margin: 0;
}

.pagination-page:hover {
    color: var(--primary-purple) !important;
    background: transparent !important;
}

.pagination-page.active {
    background: var(--primary-purple) !important;
    color: var(--white) !important;
    min-width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
}

.pagination-ellipsis {
    color: var(--gray-dark);
    padding: 0 0.5rem;
    font-size: 1rem;
}

.pagination-arrow {
    min-width: auto !important;
    height: auto !important;
    padding: 0.5rem !important;
    border: none !important;
    background: transparent !important;
    color: #9D999B !important;
    font-size: 1.2rem !important;
    border-radius: 0 !important;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-weight: normal;
    text-align: center;
    box-sizing: border-box;
    margin: 0;
}

.pagination-arrow:hover:not(:disabled) {
    color: var(--primary-purple) !important;
    background: transparent !important;
}

.pagination-arrow:disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    color: #9D999B !important;
}

/* Responsive styles for News page */
@media (max-width: 1024px) {
    .news-hero-content,
    .team-hero-content,
    .about-hero-content {
        padding-right: 5%;
    }
}

@media (max-width: 768px) {
    .news-hero {
        height: 300px;
        min-height: 300px;
    }
    
    .pagination {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .pagination-label {
        margin-right: 0;
    }
    
    .pagination-pages {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .news-section .news-grid {
        grid-template-columns: 1fr;
    }
}

/* News Detail Page Styles */
.news-detail-section {
    padding: 3rem 0 5rem;
    background: var(--white);
}

.news-detail-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.news-detail-article {
    background: var(--white);
}

.news-detail-nav {
    margin-bottom: 2.5rem;
}

.news-detail-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-dark);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    padding: 0.5rem 0;
}

.news-detail-back-btn:hover {
    color: var(--primary-purple);
}

.news-detail-back-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s;
}

.news-detail-back-btn:hover svg {
    transform: translateX(-3px);
}

.news-detail-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-light);
}

.news-detail-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--gray-dark);
    font-size: 0.95rem;
    font-weight: 400;
    flex-wrap: wrap;
}

.news-detail-author,
.news-detail-date {
    display: inline;
    color: var(--gray-dark);
}

.news-detail-date {
    text-transform: none;
    letter-spacing: 0.5px;
}

.news-detail-separator {
    color: var(--gray-dark);
    font-size: 0.95rem;
    margin: 0 0.25rem;
}

.news-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--text-dark);
    line-height: 1.3;
    letter-spacing: -0.8px;
    margin-top: 0.5rem;
}

.news-detail-image {
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 2.5rem;
    margin-top: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.news-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.news-detail-image:hover img {
    transform: scale(1.02);
}

.news-detail-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-dark);
    max-width: 100%;
    background: var(--white);
    padding: 0;
    margin-top: 2rem;
}

.news-detail-body p {
    margin-bottom: 1.5rem;
    text-align: left;
    word-spacing: 0.02em;
}

.news-detail-body p:first-child {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.85;
    margin-bottom: 2rem;
    padding-bottom: 0;
    border-bottom: none;
}

.news-detail-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 2.5rem 0 1.2rem;
    color: var(--text-dark);
    padding-top: 0;
    position: relative;
    padding-left: 0;
    border-left: none;
}

.news-detail-body h3:first-of-type {
    margin-top: 2rem;
}

.news-detail-body strong {
    font-weight: 600;
    color: var(--text-dark);
}

.news-detail-body ul,
.news-detail-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.news-detail-body li {
    margin-bottom: 1rem;
    line-height: 1.9;
}

.news-detail-body blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: var(--gray-light);
    border-left: 4px solid var(--primary-purple);
    border-radius: 5px;
    font-style: italic;
    color: var(--gray-dark);
}

.news-detail-body a {
    color: var(--primary-purple);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.news-detail-body a:hover {
    border-bottom-color: var(--primary-purple);
}

/* Responsive styles for News Detail page */
@media (max-width: 768px) {
    .news-detail-section {
        padding: 2rem 0 3rem;
    }
    
    .news-detail-content {
        max-width: 100%;
    }
    
    .news-detail-nav {
        margin-bottom: 2rem;
    }
    
    .news-detail-title {
        font-size: 1.6rem;
        line-height: 1.3;
        letter-spacing: -0.5px;
    }
    
    .news-detail-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .news-detail-meta {
        font-size: 0.85rem;
    }
    
    .news-detail-image {
        height: 280px;
        border-radius: 8px;
        margin-bottom: 2rem;
    }
    
    .news-detail-body {
        font-size: 1rem;
        line-height: 1.8;
    }
    
    .news-detail-body p:first-child {
        font-size: 1.05rem;
    }
    
    .news-detail-body h3 {
        font-size: 1.25rem;
        margin: 2rem 0 1rem;
    }
    
    .news-detail-meta {
        flex-direction: row;
        gap: 0.75rem;
        font-size: 0.85rem;
    }
    
    .news-detail-separator {
        display: none;
    }
}

/* Contact Us Page Styles */
.contact-hero {
    position: relative;
    height: 400px;
    min-height: 400px;
    display: flex;
    align-items: center;
    margin-top: 70px;
    overflow: hidden;
}

.contact-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('static/background_02.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    filter: brightness(0.6);
}

.contact-hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.contact-section {
    padding: 4rem 0 5rem;
    background: var(--white);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-find-title {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--gray-dark);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.contact-company-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 2px;
}

.contact-info-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.contact-info-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}

.contact-info-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.4;
    display: block;
}

.contact-info-value {
    font-size: 1rem;
    color: var(--gray-dark);
    line-height: 1.5;
    font-weight: 400;
    display: block;
}

/* Responsive styles for Contact page */
@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-content {
        max-width: 100%;
        padding: 0 1.5rem;
    }
    
    .contact-find-title {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .contact-company-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
        line-height: 1.3;
    }
    
    .contact-info-list {
        gap: 2rem;
    }
    
    .contact-info-item {
        gap: 1rem;
    }
    
    .contact-info-icon {
        width: 24px;
        height: 24px;
        margin-top: 0;
    }
    
    .contact-info-label {
        font-size: 0.95rem;
    }
    
    .contact-info-value {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .contact-company-title {
        font-size: 1.75rem;
    }
    
    .contact-info-list {
        gap: 1.5rem;
    }
}

/* System Page Styles */
body.system-page {
    background: #0a0a0f;
    color: var(--white);
}


.system-content {
    padding: 5rem 0;
    background: #0a0a0f;
}

.system-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
}

.system-image {
    position: sticky;
    top: 100px;
}

.system-ai-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 20px rgba(104, 28, 255, 0.3));
}

.system-text {
    color: var(--white);
}

.system-greeting {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.system-intro {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.system-subtitle {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    color: var(--white);
}

.system-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.system-features li {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 1.2rem;
    padding-left: 1.8rem;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

.system-features li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.6);
    font-weight: normal;
    font-size: 1rem;
}

.system-features li strong {
    color: var(--white);
    font-weight: 600;
}

.system-description {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.system-stats {
    background: linear-gradient(135deg, rgba(104, 28, 255, 0.15) 0%, rgba(104, 28, 255, 0.05) 100%);
    padding: 2rem;
    border-radius: 8px;
    margin: 2.5rem 0;
    border-left: 4px solid var(--primary-purple);
}

.system-stats-text {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--white);
    margin: 0;
}

.system-stats-text strong {
    color: var(--primary-purple);
}

.system-closing {
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 2.5rem;
}
