/* --- Variables & Reset --- */
:root {
    --primary: #101B3D; /* Deep Midnight Blue */
    --secondary: #4F46E5; /* Royal Indigo */
    --accent: #21C8D8; /* Bright Cyan */
    --bg-light: #F5F8FF; /* Soft Ice White */
    --white: #FFFFFF;
    --text-dark: #172033; /* Dark Charcoal */
    --text-light: #64748B;
    --gradient: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    --shadow: 0 10px 30px rgba(16, 27, 61, 0.08);
    --glass: rgba(255, 255, 255, 0.9);
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    margin-left: 15px;
}

.btn-secondary:hover {
    background: var(--secondary);
    color: var(--white);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.4s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 15px 0;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.dot { color: var(--accent); }

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

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
}

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

.btn-nav {
    background: var(--primary);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 20px;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 5px 0;
    transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at top right, rgba(33, 200, 216, 0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(79, 70, 229, 0.05), transparent 40%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

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

.tech-badge {
    background: rgba(79, 70, 229, 0.1);
    color: var(--secondary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
}

.trust-indicators {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* CSS Only Dashboard Visual */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-card {
    width: 320px;
    height: 200px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(16, 27, 61, 0.15);
    position: relative;
    padding: 20px;
    z-index: 2;
    overflow: hidden;
}

.dash-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10B981;
}

.plate-mockup {
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
}

.plate-mockup span {
    display: block;
    font-size: 0.6rem;
    color: var(--text-light);
    letter-spacing: 2px;
}

.plate-mockup strong {
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: 3px;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    animation: scan 3s infinite linear;
    opacity: 0.7;
}

.data-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 5px;
    border-bottom: 1px dashed rgba(0,0,0,0.1);
    padding-bottom: 5px;
}

.verified { color: #10B981; font-weight: 600; }

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    animation: float 4s ease-in-out infinite;
}

.card-1 { top: 20px; right: 20px; animation-delay: 0s; }
.card-2 { bottom: 40px; left: 0; animation-delay: 2s; }

@keyframes scan {
    0% { top: 0; }
    50% { top: 100%; }
    100% { top: 0; }
}

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

/* --- Highlights & Grids --- */
.highlights { padding: 50px 0; margin-top: -50px; position: relative; z-index: 10; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.highlight-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: 0.3s;
}

.highlight-card:hover { transform: translateY(-5px); }

.icon-box {
    font-size: 2rem;
    margin-bottom: 15px;
    background: var(--bg-light);
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    margin: 0 auto 15px;
}

/* --- Services --- */
.services { padding: 100px 0; }

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0,0,0,0.05);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

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

.service-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

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

.card-icon { font-size: 2.5rem; margin-bottom: 20px; }
.service-card h3 { margin-bottom: 15px; }
.service-card ul { margin-top: 20px; padding-left: 20px; }
.service-card li { list-style: disc; margin-bottom: 8px; color: var(--text-light); font-size: 0.9rem; }

/* --- Stats --- */
.stats-section {
    background: var(--primary);
    padding: 80px 0;
    color: var(--white);
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--accent);
    display: inline-block;
}
.stat-item span { font-size: 2rem; color: var(--accent); }
.stat-item p { font-size: 1rem; opacity: 0.8; margin-top: 10px; }

/* --- Process --- */
.process { padding: 100px 0; }
.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 25px; left: 0; width: 100%; height: 2px;
    background: #E2E8F0;
    z-index: 0;
}

.timeline-item {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 23%;
}

.timeline-number {
    width: 50px; height: 50px;
    background: var(--white);
    border: 2px solid var(--secondary);
    color: var(--secondary);
    border-radius: 50%;
    line-height: 46px;
    font-weight: 700;
    margin: 0 auto 20px;
    transition: 0.3s;
}

.timeline-item:hover .timeline-number {
    background: var(--secondary);
    color: var(--white);
}

/* --- Article --- */
.seo-article { padding: 80px 0; background: var(--white); }
.article-container { max-width: 800px; }
.article-header { margin-bottom: 40px; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.article-header h1 { font-size: 2.2rem; margin-bottom: 10px; }
.meta-info { color: var(--text-light); font-size: 0.9rem; }

.article-content h2 { font-size: 1.8rem; margin: 40px 0 20px; color: var(--primary); }
.article-content h3 { font-size: 1.4rem; margin: 30px 0 15px; color: var(--secondary); }
.article-content p { margin-bottom: 20px; color: #334155; font-size: 1.05rem; }
.article-content a { color: var(--secondary); text-decoration: underline; font-weight: 500; }
.article-content ul { margin-bottom: 20px; padding-left: 20px; }
.article-content li { margin-bottom: 10px; }

/* --- FAQ --- */
.faq-section { padding: 100px 0; background: var(--bg-light); }
.faq-grid { max-width: 800px; margin: 0 auto; }

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-answer p { padding-bottom: 20px; color: var(--text-light); }
.faq-item.active .faq-answer { max-height: 200px; }
.toggle { font-size: 1.5rem; color: var(--accent); }

/* --- Contact --- */
.contact-section { padding: 100px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }

.contact-info h2 { margin-bottom: 20px; }
.info-item { margin-bottom: 20px; }
.info-item .label { display: block; font-weight: 700; color: var(--primary); margin-bottom: 5px; }
.map-btn { margin-top: 20px; }

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: var(--white);
}

/* --- Footer --- */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 20px;
}

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

.footer-brand h3 { color: var(--white); margin-bottom: 15px; }
.footer-brand p { opacity: 0.7; max-width: 300px; }

.footer-links h4, .footer-contact h4 { margin-bottom: 20px; color: var(--accent); }
.footer-links ul li { margin-bottom: 10px; }
.footer-links a { opacity: 0.7; }
.footer-links a:hover { opacity: 1; color: var(--accent); }

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    opacity: 0.5;
    font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; }
    .hero p { margin: 0 auto 30px; }
    .trust-indicators { justify-content: center; }
    .timeline { flex-direction: column; gap: 30px; }
    .timeline::before { display: none; }
    .timeline-item { width: 100%; text-align: left; display: flex; gap: 20px; align-items: flex-start; }
    .timeline-number { margin: 0; min-width: 50px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    }
    .nav-links.active { right: 0; }
    .hamburger { display: block; z-index: 1001; }
    .hero h1 { font-size: 2.5rem; }
}