@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --bg-color: #0d0d0d;
    --card-bg: rgba(255, 255, 255, 0.05);
    --accent-color: #ef4444; /* Premium Red */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 800px;
}

header {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 30px 0 10px;
    z-index: 10;
}

.logo-link {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 4px 12px rgba(239, 68, 68, 0.2));
}

.logo-link:hover {
    transform: scale(1.1);
}

.logo-link img {
    width: 80px;
    height: 80px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.025em;
    text-align: center;
}

.subtitle {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 300;
}

.search-box {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    background: var(--card-bg);
    padding: 8px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 20px;
    color: white;
    font-size: 1rem;
    outline: none;
}

input::placeholder {
    color: #475569;
}

button {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

button:active {
    transform: translateY(0);
}

.hidden {
    display: none !important;
}

/* Result Card */
.card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(20px);
    animation: slideUp 0.6s cubic-bezier(0, 0, 0.2, 1);
}

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

.header-info {
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.model-title {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.spec-value {
    font-weight: 600;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--glass-border);
}

.section-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-secondary);
    letter-spacing: 0.2em;
    margin: 40px 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title::after {
    content: '';
    height: 1px;
    flex: 1;
    background: linear-gradient(to right, var(--glass-border), transparent);
}

.packages-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
}

.package-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 8px;
}

.package-name {
    font-weight: 500;
}

.package-price {
    color: var(--accent-color);
    font-weight: 600;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.feature-group {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
}

.group-header {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 8px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    line-height: 1.4;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.msrp-footer {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.msrp-label {
    font-weight: 600;
    font-size: 1.2rem;
}

.warranty-info {
    max-width: 300px;
}

.msrp-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
    display: block;
    margin-top: 4px;
    text-shadow: 0 0 20px rgba(227, 31, 36, 0.2);
}

.notices-section {
    margin-top: 64px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px dashed var(--glass-border);
    border-radius: 12px;
}

.notice-item {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 4px;
    line-height: 1.4;
    text-transform: uppercase;
}
.loader {
    width: 48px;
    height: 48px;
    border: 3px solid var(--glass-border);
    border-bottom-color: var(--accent-color);
    border-radius: 50%;
    margin: 40px auto;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Ad Slots */
.ad-slot {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.ad-label {
    position: absolute;
    top: 4px;
    right: 8px;
    font-size: 0.6rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    font-weight: 600;
}

.ad-top {
    max-width: 728px;
    height: 90px;
    margin: 0 auto 40px;
}

.ad-bottom {
    max-width: 100%;
    min-height: 250px;
    margin-top: 60px;
}

.ad-slot:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}
/* Layout Wrapper */
.layout-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
}

.ad-sidebar {
    width: 160px;
    min-height: 600px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    position: sticky;
    top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ad-sidebar:hover {
    background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 768px) {
}

/* Footer Styling */
footer {
    margin-top: 80px;
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}
