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

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(96, 165, 250, 0.3); }
    50% { box-shadow: 0 0 30px rgba(96, 165, 250, 0.6); }
}

@keyframes slide-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

:root {
    --primary-blue: #60a5fa;
    --light-blue: #3b82f6;
    --lighter-blue: #1e3a8a;
    --white: #1e293b;
    --off-white: #0f172a;
    --text-dark: #f1f5f9;
    --text-gray: #cbd5e1;
    --border-color: #334155;
    --dark-bg: #0f172a;
    --card-bg: #1e293b;
    --card-hover: #334155;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.5);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    background-size: 200% 200%;
    animation: gradient-shift 15s ease infinite;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 -1px 0 rgba(59, 130, 246, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    background-image: linear-gradient(135deg, #1e293b 0%, #0f172a 100%), 
                      linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, transparent 100%);
    backdrop-filter: blur(10px);
    transition: box-shadow 0.3s ease;
}

header:hover {
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.3), inset 0 -1px 0 rgba(59, 130, 246, 0.3);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    position: relative;
}

.logo h1 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3), 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: text-shadow 0.3s ease;
}

.logo h1:hover {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5), 0 2px 15px rgba(0, 0, 0, 0.4);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.4rem;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

nav.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav.nav-menu a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    display: block;
    position: relative;
    background: linear-gradient(90deg, transparent, transparent);
    background-size: 200% 100%;
    background-position: 0% 0%;
}

nav.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--light-blue), var(--primary-blue));
    transition: width 0.3s ease;
}

nav.nav-menu a:hover::before,
nav.nav-menu a.active::before {
    width: 100%;
}

nav.nav-menu a:hover,
nav.nav-menu a.active {
    color: var(--primary-blue);
    text-shadow: 0 0 12px rgba(96, 165, 250, 0.6);
    background-position: 100% 0%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1e3a8a 100%);
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
    color: #ffffff;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -10px 30px rgba(0, 0, 0, 0.3);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.6;
    animation: shimmer 20s linear infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.2);
    color: #ffffff;
    animation: slide-in 0.8s ease-out;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.3));
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.15);
    color: #ffffff;
    animation: slide-in 1s ease-out 0.2s both;
}

/* Search Section */
.search-section {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.15) 0%, rgba(59, 130, 246, 0.1) 100%);
    padding: 2.5rem 0;
    margin-top: -2rem;
    position: relative;
    z-index: 100;
}

.search-box {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 12px;
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: slide-in 0.6s ease-out 0.3s both;
}

.search-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.search-box:hover::before {
    left: 100%;
}

.search-box:hover {
    box-shadow: var(--shadow-hover), 0 0 40px rgba(59, 130, 246, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.5);
}

.search-box h3 {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #60a5fa 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
    animation: gradient-shift 3s ease infinite;
    filter: drop-shadow(0 2px 8px rgba(96, 165, 250, 0.4));
}

.search-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

#searchInput {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--text-dark);
    position: relative;
}

#searchInput::placeholder {
    color: var(--text-gray);
    opacity: 0.7;
}

#searchInput:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2), 0 0 20px rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    transform: scale(1.02);
}

button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #3b82f6 100%);
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
    color: var(--dark-bg);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:hover::before {
    width: 300px;
    height: 300px;
}

button:hover {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6), 0 0 30px rgba(96, 165, 250, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: glow 2s ease infinite;
}

button:active {
    transform: translateY(-1px) scale(1.02);
}

.search-results {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: none;
}

/* Service Buttons */
.service-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    max-width: 700px;
    margin: 2rem auto 0;
    flex-wrap: wrap;
}

.service-button {
    flex: 1;
    min-width: 180px;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #3b82f6 100%);
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
    color: var(--dark-bg);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.service-button:hover::before {
    width: 400px;
    height: 400px;
}

.service-button:hover {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6), 0 0 30px rgba(96, 165, 250, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: glow 2s ease infinite;
    border-color: rgba(96, 165, 250, 0.5);
}

.search-results.show {
    display: block;
}

.search-results a {
    display: block;
    padding: 0.75rem;
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.search-results a:hover {
    background: var(--card-hover);
    border-radius: 4px;
}

/* News Section */
.news-section {
    padding: 3rem 0;
    background: var(--dark-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.news-section h2 {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #60a5fa 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    text-align: center;
    animation: gradient-shift 3s ease infinite;
    filter: drop-shadow(0 2px 10px rgba(96, 165, 250, 0.5));
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 12px;
    padding: 0;
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: slide-in 0.6s ease-out both;
    display: flex;
    flex-direction: column;
}

.news-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--dark-bg);
    position: relative;
}

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

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card:nth-child(1) { animation-delay: 0.1s; }
.news-card:nth-child(2) { animation-delay: 0.2s; }
.news-card:nth-child(3) { animation-delay: 0.3s; }
.news-card:nth-child(4) { animation-delay: 0.4s; }
.news-card:nth-child(5) { animation-delay: 0.5s; }
.news-card:nth-child(6) { animation-delay: 0.6s; }

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.news-card:hover::before {
    left: 100%;
}

.news-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: var(--light-blue);
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
}

.news-date {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-card h3 {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    filter: drop-shadow(0 2px 6px rgba(96, 165, 250, 0.4));
    transition: filter 0.3s ease;
}

.news-card:hover h3 {
    filter: drop-shadow(0 2px 10px rgba(96, 165, 250, 0.6));
}

.news-card p {
    color: var(--text-gray);
    margin-bottom: 0;
    line-height: 1.7;
    flex: 1;
}

.read-more {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    margin-top: auto;
    padding-top: 1rem;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--light-blue), var(--primary-blue));
    transition: width 0.3s ease;
}

.read-more:hover::after {
    width: 100%;
}

.read-more:hover {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateX(5px);
}

/* Databank Section */
.databank-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

.databank-section h2 {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #60a5fa 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    text-align: center;
    animation: gradient-shift 3s ease infinite;
    filter: drop-shadow(0 2px 10px rgba(96, 165, 250, 0.5));
}

.databank-section > .container > p {
    margin-bottom: 2rem;
}

.transmission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.transmission-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.75rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.transmission-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    transition: all 0.6s ease;
    opacity: 0;
}

.transmission-card:hover::after {
    top: -20%;
    right: -20%;
    opacity: 1;
}

.transmission-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 40px rgba(59, 130, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: var(--light-blue);
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.4) 0%, #1e293b 50%, rgba(59, 130, 246, 0.2) 100%);
    border-image: linear-gradient(135deg, var(--light-blue), var(--primary-blue)) 1;
}

.manufacturer-section {
    margin: 2.5rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
    background-size: 200% 200%;
    animation: gradient-shift 10s ease infinite;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: slide-in 0.6s ease-out both;
}

.manufacturer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--light-blue), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.manufacturer-section:hover::before {
    opacity: 1;
}

.manufacturer-section:hover {
    box-shadow: var(--shadow-hover), 0 0 30px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
}

.manufacturer-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--light-blue), var(--primary-blue)) 1;
    position: relative;
}

.manufacturer-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.brand-logo {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(96, 165, 250, 0.3));
    transition: all 0.3s ease;
}

.manufacturer-title:hover .brand-logo {
    filter: drop-shadow(0 2px 10px rgba(96, 165, 250, 0.5));
    transform: scale(1.05);
}

.brand-name {
    color: #ffffff !important;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 2px 15px rgba(0, 0, 0, 0.7), 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: text-shadow 0.3s ease;
    display: block;
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.3);
}

.toggle-arrow {
    background: rgba(96, 165, 250, 0.1);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin-left: 1rem;
    flex-shrink: 0;
}

.toggle-arrow:hover {
    background: rgba(96, 165, 250, 0.2);
    border-color: var(--light-blue);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.4);
}

.arrow-icon {
    font-size: 1.2rem;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
    display: block;
    line-height: 1;
}

.toggle-arrow.collapsed .arrow-icon {
    transform: rotate(-90deg);
}

.toggle-arrow.expanded .arrow-icon {
    transform: rotate(0deg);
}

.collapse-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

.manufacturer-section.expanded .collapse-content {
    max-height: 5000px;
    opacity: 1;
    transition: max-height 0.5s ease-in, opacity 0.4s ease-in;
}

.manufacturer-header-container::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), transparent);
    transition: width 0.4s ease;
}

.manufacturer-section:hover .manufacturer-header-container::after {
    width: 100%;
}

.transmission-card h3,
.transmission-card h4 {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    filter: drop-shadow(0 2px 6px rgba(96, 165, 250, 0.4));
    transition: filter 0.3s ease;
}

.transmission-card h4 {
    font-size: 1.2rem;
}

.transmission-card:hover h3,
.transmission-card:hover h4 {
    filter: drop-shadow(0 2px 12px rgba(96, 165, 250, 0.7));
}

.transmission-card p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.card-link {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
}

.transmission-card:hover .card-link {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateX(5px);
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.6));
}

/* Vehicle Check Section */
.vehicle-check-section {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.15) 0%, rgba(59, 130, 246, 0.1) 100%);
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.vehicle-check-box {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 12px;
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: slide-in 0.6s ease-out 0.4s both;
}

.vehicle-check-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s ease;
}

.vehicle-check-box:hover::before {
    left: 100%;
}

.vehicle-check-box:hover {
    box-shadow: var(--shadow-hover), 0 0 40px rgba(59, 130, 246, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.5);
}

.vehicle-check-box h2 {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #60a5fa 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 2rem;
    text-align: center;
    animation: gradient-shift 3s ease infinite;
    filter: drop-shadow(0 2px 10px rgba(96, 165, 250, 0.5));
}

.vehicle-check-box > p {
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 2rem;
}

.vehicle-check-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: var(--dark-bg);
    color: var(--text-dark);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2360a5fa' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group input::placeholder {
    color: var(--text-gray);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group select:hover {
    border-color: var(--light-blue);
}

.form-group select option {
    padding: 0.5rem;
    background: var(--dark-bg);
    color: var(--text-dark);
}

.check-button {
    grid-column: 1 / -1;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #3b82f6 100%);
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
    color: var(--dark-bg);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.check-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.check-button:hover::before {
    width: 400px;
    height: 400px;
}

.check-button:hover {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6), 0 0 30px rgba(96, 165, 250, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: glow 2s ease infinite;
}

.vehicle-result {
    margin-top: 2rem;
    padding: 1.5rem;
    display: none;
}

.vehicle-result.show {
    display: block;
}

.vehicle-result.success {
    background: rgba(34, 197, 94, 0.15);
    border: 2px solid #22c55e;
    border-radius: 8px;
    color: var(--text-dark);
}

.vehicle-result.info {
    background: rgba(59, 130, 246, 0.15);
    border: 2px solid var(--light-blue);
    border-radius: 8px;
    color: var(--text-dark);
}

.vehicle-result.warning {
    background: rgba(234, 179, 8, 0.15);
    border: 2px solid #eab308;
    border-radius: 8px;
    color: var(--text-dark);
}

.vehicle-result a:hover {
    border-color: var(--light-blue) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover) !important;
}

@media (max-width: 768px) {
    .vehicle-check-form {
        grid-template-columns: 1fr;
    }
    
    .vehicle-result > div[style*='grid-template-columns'] {
        grid-template-columns: 1fr !important;
    }
}

/* About Section */
.about-section {
    padding: 3rem 0;
    background: var(--dark-bg);
    border-top: 1px solid var(--border-color);
}

.about-section h2 {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #60a5fa 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
    animation: gradient-shift 3s ease infinite;
    filter: drop-shadow(0 2px 10px rgba(96, 165, 250, 0.5));
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--light-blue));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.6);
}

.about-section p {
    max-width: 800px;
    margin: 0 auto 1rem;
    text-align: center;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: var(--text-gray);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    position: relative;
    box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.3);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

footer p {
    margin: 0.5rem 0;
}

/* News Article Page */
.news-article-page {
    padding: 3rem 0;
    background: var(--dark-bg);
    min-height: 70vh;
}

.news-article-header {
    max-width: 900px;
    margin: 0 auto 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.back-link {
    display: inline-block;
    color: var(--primary-blue);
    text-decoration: none;
    margin-bottom: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--light-blue);
    transform: translateX(-5px);
}

.news-article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.news-article-meta .news-date {
    color: var(--primary-blue);
}

.news-article-header h1 {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #60a5fa 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    margin: 0;
    animation: gradient-shift 3s ease infinite;
    filter: drop-shadow(0 2px 10px rgba(96, 165, 250, 0.5));
}

.news-article-image {
    max-width: 900px;
    margin: 0 auto 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.news-article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.news-article-content {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-gray);
    line-height: 1.8;
}

.news-article-content h2 {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 8px rgba(96, 165, 250, 0.4));
}

.news-article-content h3 {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.news-article-content p {
    margin-bottom: 1.5rem;
}

.news-article-content ul,
.news-article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.news-article-content li {
    margin-bottom: 0.75rem;
}

.news-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.news-article-content th,
.news-article-content td {
    padding: 1rem;
    border: 1px solid var(--border-color);
    text-align: left;
}

.news-article-content th {
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-dark);
    font-weight: 600;
}

.news-article-footer {
    max-width: 900px;
    margin: 3rem auto 0;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.back-to-news-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #3b82f6 100%);
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
    color: var(--dark-bg);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    margin: 2rem auto 0;
    display: block;
    text-align: center;
    max-width: 300px;
}

.back-to-news-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

@media (max-width: 768px) {
    .news-article-header h1 {
        font-size: 1.8rem;
    }
    
    .news-article-content h2 {
        font-size: 1.5rem;
    }
    
    .news-article-content h3 {
        font-size: 1.2rem;
    }
    
    .news-article-image {
        margin-bottom: 2rem;
    }
    
    .news-article-content table {
        font-size: 0.9rem;
    }
    
    .news-article-content th,
    .news-article-content td {
        padding: 0.75rem 0.5rem;
    }
}

main {
    position: relative;
    z-index: 1;
    animation: fade-in 0.8s ease-out;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav.nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--card-bg);
        box-shadow: var(--shadow-hover);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid var(--border-color);
    }

    nav.nav-menu.active {
        max-height: 500px;
    }

    nav.nav-menu ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    nav.nav-menu li {
        border-bottom: 1px solid var(--border-color);
    }

    nav.nav-menu li:last-child {
        border-bottom: none;
    }

    nav.nav-menu a {
        padding: 1rem 20px;
        border-bottom: none;
    }

    nav.nav-menu a:hover,
    nav.nav-menu a.active {
        background: rgba(59, 130, 246, 0.1);
        border-bottom: none;
        border-left: 4px solid var(--primary-blue);
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .search-box {
        padding: 1.5rem;
    }

    .search-container {
        flex-direction: column;
    }

    button {
        width: 100%;
    }
    
    .service-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .service-button {
        width: 100%;
        min-width: auto;
    }

    .news-grid,
    .transmission-grid {
        grid-template-columns: 1fr;
    }

    .news-section h2,
    .databank-section h2,
    .about-section h2,
    .vehicle-check-box h2 {
        font-size: 1.5rem;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .search-section {
        padding: 2rem 0;
    }
    
    .news-section,
    .databank-section,
    .vehicle-check-section,
    .about-section {
        padding: 2rem 0;
    }
    
    .manufacturer-section {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .news-image {
        height: 180px;
    }
    
    .brand-logo {
        height: 32px;
        max-width: 100px;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .manufacturer-header {
        gap: 0.75rem;
    }
}

