/* ==========================================================================
   Sichuan Diyi Technology Co., Ltd. - Stylesheet
   Design System: Tech Modern / Dark Mode / Neon Accents / Glassmorphism
   ========================================================================== */

/* --- Fonts & Base Reset --- */
:root {
    /* Color Palette */
    --bg-base: #030712;
    --bg-primary: #0b1120;
    --bg-secondary: #111827;
    --bg-card: rgba(17, 24, 39, 0.7);
    --border-color: rgba(55, 65, 81, 0.4);
    --border-color-glow: rgba(0, 242, 254, 0.3);
    
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    
    --primary-color: #0284c7;
    --accent-start: #00f2fe;
    --accent-end: #4facfe;
    --accent-gradient: linear-gradient(135deg, var(--accent-start) 0%, var(--accent-end) 100%);
    --accent-glow: 0 0 20px rgba(0, 242, 254, 0.4);
    
    /* Layout Constants */
    --header-height: 80px;
    --border-radius-lg: 16px;
    --border-radius-md: 10px;
    --border-radius-sm: 6px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-base);
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-secondary);
    background-color: var(--bg-base);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img, svg {
    vertical-align: middle;
    max-width: 100%;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Canvas Background --- */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, #0a1128 0%, #030712 100%);
}

main, header, footer {
    position: relative;
    z-index: 2;
}

/* --- Typography Helpers --- */
.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-light {
    color: var(--text-primary);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 500;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    gap: 8px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #030712;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--accent-glow);
}

.btn-secondary {
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-start);
    border-color: rgba(0, 242, 254, 0.3);
}

.btn-secondary:hover {
    background: var(--accent-gradient);
    color: #030712;
    border-color: transparent;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0,0,0,0.1);
    border-top: 2px solid #030712;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hidden {
    display: none !important;
}

/* --- Section Title Header --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-family: 'Outfit', sans-serif;
    color: var(--accent-start);
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-top: 8px;
    font-weight: 700;
}

.section-line {
    width: 50px;
    height: 3px;
    background: var(--accent-gradient);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* --- Header / Navigation --- */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(3, 7, 18, 0.6);
    border-bottom: 1px solid rgba(55, 65, 81, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    transition: var(--transition-smooth);
}

#site-header.scrolled {
    background: rgba(3, 7, 18, 0.85);
    height: 70px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.logo-subtext {
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    color: var(--accent-start);
    font-weight: 600;
    letter-spacing: 2px;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list {
    display: flex;
    gap: 28px;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, rgba(79, 172, 254, 0.05) 50%, transparent 100%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-start);
    box-shadow: 0 0 10px var(--accent-start);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.badge-text {
    font-size: 0.8rem;
    color: var(--accent-start);
    font-weight: 500;
}

.hero-title {
    font-size: 3.4rem;
    line-height: 1.25;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Hero Visual & Graphics */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.tech-globe-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-graphic {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(0, 242, 254, 0.2);
}

.outer-circle {
    width: 100%;
    height: 100%;
    animation: rotateClockwise 25s linear infinite;
    border-color: rgba(79, 172, 254, 0.15);
}

.mid-circle {
    width: 75%;
    height: 75%;
    animation: rotateCounterClockwise 18s linear infinite;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(0, 242, 254, 0.2);
}

.inner-circle {
    width: 50%;
    height: 50%;
    border-color: rgba(79, 172, 254, 0.3);
    border-style: dashed;
    animation: rotateClockwise 12s linear infinite;
}

.core-logo {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(11, 17, 32, 0.9) 0%, rgba(3, 7, 18, 0.95) 100%);
    border: 2px solid var(--accent-start);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--accent-glow);
    z-index: 10;
}

.core-logo svg {
    width: 42px;
    height: 42px;
}

@keyframes rotateClockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateCounterClockwise {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

/* Floating Cards in Hero */
.floating-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 12px 18px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 15;
}

.floating-card .icon-wrapper {
    width: 38px;
    height: 38px;
    background: rgba(0, 242, 254, 0.1);
    border-radius: var(--border-radius-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-start);
}

.floating-card .icon-wrapper svg {
    width: 20px;
    height: 20px;
}

.floating-card .info {
    display: flex;
    flex-direction: column;
}

.floating-card .title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.floating-card .desc {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.card-1 {
    top: 10%;
    left: -10%;
    animation: float1 6s ease-in-out infinite;
}

.card-2 {
    bottom: 20%;
    right: -15%;
    animation: float2 7s ease-in-out infinite;
}

.card-3 {
    top: 50%;
    left: -20%;
    animation: float3 8s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(-1deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px) rotate(1deg); }
    50% { transform: translateY(-15px) rotate(-1deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

/* Mouse Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-start);
    border-radius: 2px;
    animation: scrollWheel 1.6s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(6px); opacity: 0.3; }
    100% { transform: translateY(0); opacity: 1; }
}

/* --- About Us Section --- */
.about-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
    border-top: 1px solid rgba(55, 65, 81, 0.1);
    border-bottom: 1px solid rgba(55, 65, 81, 0.1);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-text-content h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.about-lead {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-body {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.value-icon {
    width: 46px;
    height: 46px;
    background: rgba(79, 172, 254, 0.08);
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: var(--border-radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-end);
    flex-shrink: 0;
}

.value-icon svg {
    width: 22px;
    height: 22px;
}

.value-info h4 {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.value-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Stats Layout */
.about-stats-content {
    display: flex;
    justify-content: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 35px 20px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition-smooth);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-start);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.1);
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stat-suffix {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent-start);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 12px;
    font-weight: 500;
}

/* --- Services Section --- */
.services-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 242, 254, 0.05);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 54px;
    height: 54px;
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: var(--border-radius-md);
    color: var(--accent-start);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--accent-gradient);
    color: #030712;
    border-color: transparent;
    box-shadow: var(--accent-glow);
}

.service-card-title {
    font-size: 1.4rem;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 16px;
}

.service-card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid rgba(55, 65, 81, 0.2);
    padding-top: 20px;
}

.service-features li {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-start);
}

/* --- News & Case Studies Section --- */
.news-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-6px);
    border-color: rgba(79, 172, 254, 0.3);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.news-image-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-accent {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    filter: blur(25px);
    opacity: 0.15;
    transition: var(--transition-smooth);
}

.va-1 {
    background: var(--accent-start);
    top: 10%;
    right: 10%;
}

.va-2 {
    background: #a855f7;
    bottom: 10%;
    left: 10%;
}

.va-3 {
    background: #e11d48;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.news-card:hover .visual-accent {
    opacity: 0.35;
    transform: scale(1.2);
}

.category-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(3, 7, 18, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-primary);
    backdrop-filter: blur(6px);
}

.news-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-date {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.news-title {
    font-size: 1.15rem;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.news-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    font-size: 0.9rem;
    color: var(--accent-start);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-more .arrow {
    transition: var(--transition-fast);
}

.news-card:hover .read-more {
    color: var(--text-primary);
}

.news-card:hover .read-more .arrow {
    transform: translateX(4px);
}

/* --- Contact Section --- */
.contact-section {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
}

.contact-bg-glow {
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.08) 0%, transparent 60%);
    filter: blur(30px);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info-panel h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-intro {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-item .icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-start);
    flex-shrink: 0;
}

.contact-item .icon svg {
    width: 20px;
    height: 20px;
}

.detail-content h4 {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 6px;
}

.detail-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Contact Form Panel */
.contact-form-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group label .required {
    color: #ef4444;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background: rgba(3, 7, 18, 0.6);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: var(--border-radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    outline: none;
    width: 100%;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--accent-start);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
    background: rgba(3, 7, 18, 0.8);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23d1d5db' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.form-group.error input,
.form-group.error textarea {
    border-color: #ef4444;
}

.error-msg {
    color: #ef4444;
    font-size: 0.78rem;
    display: none;
    margin-top: 2px;
}

.form-group.error .error-msg {
    display: block;
}

/* --- Footer --- */
.site-footer {
    background: var(--bg-base);
    border-top: 1px solid rgba(55, 65, 81, 0.3);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 50px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-slogan {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 320px;
    line-height: 1.6;
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 22px;
    letter-spacing: 1px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--accent-start);
    padding-left: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(55, 65, 81, 0.15);
    padding: 30px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-icp {
    font-size: 0.82rem;
}

.footer-icp a {
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    border-bottom: 1px dotted transparent;
}

.footer-icp a:hover {
    color: var(--accent-start);
    border-color: var(--accent-start);
}

/* --- Toast Notification --- */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(11, 17, 32, 0.9);
    border: 1px solid var(--accent-start);
    box-shadow: 0 10px 40px rgba(0, 242, 254, 0.15);
    border-radius: var(--border-radius-lg);
    padding: 16px 24px;
    z-index: 2000;
    transform: translateY(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.toast-container.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.toast-icon {
    color: var(--accent-start);
    display: flex;
    align-items: center;
}

.toast-text-group {
    display: flex;
    flex-direction: column;
}

.toast-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.toast-message {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* --- Milestone Timeline --- */
.timeline-container {
    margin-top: 40px;
    border-top: 1px solid rgba(55, 65, 81, 0.2);
    padding-top: 30px;
}

.timeline-title {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 24px;
}

.timeline {
    position: relative;
    border-left: 2px solid rgba(0, 242, 254, 0.15);
    padding-left: 20px;
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.timeline-item {
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -27px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-start);
    border: 2px solid var(--bg-secondary);
    box-shadow: 0 0 6px var(--accent-start);
    transition: var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
    background: var(--text-primary);
    box-shadow: var(--accent-glow);
    transform: scale(1.2);
}

.timeline-date {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: var(--accent-start);
    font-weight: 700;
    margin-bottom: 4px;
}

.timeline-content {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- FAQ Accordion --- */
.faq-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.faq-accordion-group {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(0, 242, 254, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 22px 28px;
    text-align: left;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}

.faq-icon-toggle {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    color: var(--accent-start);
    transition: var(--transition-smooth);
    line-height: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    padding: 0 28px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    padding-bottom: 22px;
}

/* FAQ Active State */
.faq-item.open {
    border-color: rgba(0, 242, 254, 0.35);
    background: rgba(17, 24, 39, 0.85);
}

.faq-item.open .faq-answer {
    max-height: 500px;
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

.faq-item.open .faq-icon-toggle {
    transform: rotate(45deg);
    color: var(--text-primary);
}

/* --- News Detail Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    padding: 24px;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 720px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 254, 0.1);
    position: relative;
    transform: scale(0.9);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-overlay.open .modal-container {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.5rem;
    line-height: 32px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-fast);
    z-index: 10;
    outline: none;
}

.modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}

.modal-header {
    padding: 35px 35px 20px;
    border-bottom: 1px solid rgba(55, 65, 81, 0.2);
}

.modal-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.8rem;
}

.modal-category {
    color: var(--accent-start);
    font-weight: 600;
}

.modal-date {
    color: var(--text-muted);
}

.modal-title {
    font-size: 1.4rem;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.4;
}

.modal-body {
    padding: 30px 35px;
    overflow-y: auto;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex-grow: 1;
}

.modal-body p {
    margin-bottom: 16px;
}

.modal-body h4 {
    color: var(--text-primary);
    font-size: 1.05rem;
    margin: 24px 0 12px;
    font-weight: 600;
}

.modal-body ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-body ul li {
    color: var(--text-secondary);
}

.modal-footer {
    padding: 20px 35px 30px;
    border-top: 1px solid rgba(55, 65, 81, 0.2);
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}

/* ==========================================================================
   Responsive Adaptation (Media Queries)
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-visual {
        order: -1; /* Place graphic on top for tablet/mobile */
        margin-top: 20px;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .news-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Mobile Navigation Drawer style */
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 280px;
        height: calc(100vh - var(--header-height));
        background: rgba(11, 17, 32, 0.98);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        align-items: stretch;
        padding: 40px 30px;
        gap: 40px;
        transition: var(--transition-smooth);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 24px;
    }
    
    .nav-link {
        font-size: 1.1rem;
        display: block;
    }
    
    .nav-cta {
        margin-top: auto;
    }
    
    .nav-cta .btn {
        width: 100%;
    }
    
    /* Hamburger Menu animations */
    .menu-toggle.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .service-card {
        padding: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-panel {
        padding: 24px;
    }
    
    .footer-links-group {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* FAQ & Modal Mobile Adaptations */
    .faq-question {
        padding: 16px 20px;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-answer p {
        padding-bottom: 16px;
    }

    .modal-overlay {
        padding: 16px;
    }

    .modal-container {
        border-radius: var(--border-radius-md);
    }

    .modal-header {
        padding: 24px 20px 15px;
    }

    .modal-title {
        font-size: 1.2rem;
    }

    .modal-body {
        padding: 15px 20px;
        font-size: 0.9rem;
    }

    .modal-footer {
        padding: 15px 20px 24px;
    }
}
