:root {
    --bg-dark: #020617;
    --bg-surface: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.5);
    --accent: #3b82f6; /* Modern Blue */
    --accent-dark: #2563eb;
    --accent-glow: rgba(59, 130, 246, 0.3);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.12);
    --nav-height: 80px;
    --container-width: 1200px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

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

/* --- Premium Backgrounds --- */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 10% 10%, rgba(34, 211, 238, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(56, 189, 248, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 1) 0%, var(--bg-dark) 100%);
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s var(--ease-out);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    color: var(--accent);
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(to bottom, #ffffff 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a:not(.btn) {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.nav-highlight {
    color: var(--accent) !important;
    position: relative;
}

.nav-highlight::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
    border-radius: 2px;
}

/* --- Buttons --- */
.btn {
    padding: 12px 28px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-dark);
    box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 48px var(--accent-glow);
    filter: brightness(1.1);
}

.btn-outline {
    border: 1px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent-glow);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
    padding: 18px 48px;
    font-size: 1.1rem;
    border-radius: 16px;
}

.btn-full {
    width: 100%;
}

/* --- Hero Section --- */
.hero {
    padding: 180px 0 120px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 80px;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.2);
    color: var(--accent);
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 32px;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--accent) 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 550px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

/* Trust Bar */
.trust-bar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trust-bar span {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

.trust-icons {
    display: flex;
    gap: 24px;
}

.trust-icons span {
    font-size: 0.9rem;
    color: var(--text-primary);
    opacity: 0.4;
    transition: opacity 0.3s;
}

.trust-icons span:hover {
    opacity: 1;
    color: var(--accent);
}

/* Hero Image */
.hero-visual {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 32px;
    padding: 1px;
    background: linear-gradient(135deg, var(--glass-border), transparent);
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}

.image-wrapper img {
    width: 100%;
    border-radius: 31px;
    display: block;
}

.hero-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    z-index: -1;
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.1); }
}

/* --- Features --- */
.features {
    padding: 120px 0;
}

.section-tag {
    color: var(--accent);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 12px;
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: -1.5px;
}

.section-title span {
    color: var(--accent);
}

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

.feature-card {
    background: var(--bg-card);
    padding: 48px;
    border-radius: 32px;
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent);
    background: rgba(30, 41, 59, 0.8);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 32px;
}

.feature-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 1.7rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-secondary);
}

/* --- Pricing --- */
.pricing {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent, #080d1a, transparent);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.price-card {
    padding: 48px;
    border-radius: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s var(--ease-out);
}

.price-card.popular {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, rgba(34, 211, 238, 0.05) 100%);
    border-color: var(--accent);
    transform: scale(1.05);
    box-shadow: 0 40px 80px rgba(0,0,0,0.4);
    z-index: 2;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--bg-dark);
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 800;
}

.price-header h3 {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 40px;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.price-features {
    list-style: none;
    margin-bottom: 48px;
    flex: 1;
}

.save-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-top: -30px;
    margin-bottom: 40px;
    text-align: center;
}

.price-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-features li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 800;
}

.dealership-tip {
    margin-top: 60px;
    text-align: center;
    background: rgba(59, 130, 246, 0.05);
    padding: 30px;
    border-radius: 20px;
    border: 1px dashed rgba(59, 130, 246, 0.3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.dealership-tip p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

.dealership-tip a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}

.dealership-tip a:hover {
    text-decoration: underline;
}

/* --- CTA Banner --- */
.cta-banner {
    padding: 100px 0;
}

.cta-inner {
    background: linear-gradient(135deg, #1e293b 0%, #020617 100%);
    padding: 100px 60px;
    border-radius: 40px;
    text-align: center;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.cta-inner h2 {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.cta-inner h2 span {
    color: var(--accent);
}

.cta-inner p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

/* --- Footer --- */
footer {
    padding: 100px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-info p {
    color: var(--text-secondary);
    margin-top: 24px;
    max-width: 300px;
}

.footer-links h4, .footer-legal h4 {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.footer-links a, .footer-legal a {
    display: block;
    text-decoration: none;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* --- Entrance Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s var(--ease-out) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* --- Repository Table (GitHub Style) --- */
.repo-container {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.repo-header {
    padding: 16px 24px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.repo-table {
    width: 100%;
    border-collapse: collapse;
}

.repo-table th {
    text-align: left;
    padding: 12px 24px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border);
    background: rgba(2, 6, 23, 0.4);
}

.repo-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    transition: background 0.2s;
}

.repo-table tr:last-child td {
    border-bottom: none;
}

.repo-table tr:hover td {
    background: rgba(255,255,255,0.02);
}

.file-name {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.file-icon {
    color: var(--accent);
    opacity: 0.8;
}

.version-tag {
    font-family: 'Courier New', Courier, monospace;
    background: rgba(255,255,255,0.05);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--accent);
}

.status-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.status-active { background: rgba(34, 211, 238, 0.1); color: var(--accent); }
.status-process { background: rgba(245, 158, 11, 0.1); color: var(--warning); }

/* --- Responsive --- */
@media (max-width: 1200px) {
    .hero-content h1 { font-size: 3.8rem; }
    .hero-container { gap: 40px; }
}

@media (max-width: 900px) {
    .nav-links { display: none; } /* Mobile Menu Placeholder */
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content h1 { font-size: 3.2rem; }
    .hero-content p { margin: 0 auto 40px; }
    .hero-btns { justify-content: center; }
    .trust-bar { align-items: center; }
    .feature-grid, .pricing-grid { grid-template-columns: 1fr; }
    .price-card.popular { transform: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2.8rem; }
    .section-title { font-size: 2.5rem; }
    .cta-inner h2 { font-size: 2.22rem; }
    .hero-btns { flex-direction: column; }
}
