*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue-primary: #0E46C7;
    --blue-dark: #071C4D;
    --blue-light: #DCE7FF;
    --bg-gray: #F5F7FB;
    --white: #FFFFFF;
    --text-primary: #1D2939;
    --green: #12B76A;
    --yellow: #F4B400;
    --red: #E5484D;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background: var(--bg-gray);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--blue-dark);
    font-weight: 800;
    font-size: 1.25rem;
}

.navbar-brand svg {
    width: 32px;
    height: 32px;
}

.navbar-links {
    display: none;
    gap: 28px;
    align-items: center;
}

.navbar-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.navbar-links a:hover {
    color: var(--blue-primary);
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.navbar-links a:hover::after {
    width: 100%;
}

.navbar-cta {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    white-space: nowrap;
}

.btn-primary {
    background: var(--blue-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--white);
    color: var(--blue-primary);
    border: 1.5px solid var(--blue-light);
}

.btn-secondary:hover {
    border-color: var(--blue-primary);
    background: var(--blue-light);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    padding: 8px 12px;
}

.btn-ghost:hover {
    background: rgba(0, 0, 0, 0.05);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    animation: slideDown 0.3s ease;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-menu a:hover {
    background: var(--blue-light);
    color: var(--blue-primary);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HERO */
.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 40%, #3B82F6 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero h1 span {
    background: linear-gradient(135deg, #FFFFFF 0%, #DCE7FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-search {
    max-width: 600px;
    margin: 0 auto 32px;
    position: relative;
}

.hero-search input {
    width: 100%;
    padding: 18px 24px 18px 52px;
    border: none;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    color: white;
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.hero-search input:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-search svg {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.5);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 48px;
}

.hero-actions .btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-actions .btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    display: block;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.hero-tips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.hero-tip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.hero-tip:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-tip svg {
    width: 14px;
    height: 14px;
}

.floating-cards {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 16px;
    animation: floatCard 6s ease-in-out infinite;
}

.floating-card:nth-child(1) {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    top: 25%;
    right: 5%;
    animation-delay: 1s;
}

.floating-card:nth-child(3) {
    bottom: 20%;
    left: 8%;
    animation-delay: 2s;
}

.floating-card:nth-child(4) {
    bottom: 15%;
    right: 8%;
    animation-delay: 3s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

.floating-card .fc-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 16px;
}

.floating-card .fc-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.7rem;
    font-weight: 500;
}

/* SECTIONS */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--blue-light);
    color: var(--blue-primary);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--blue-dark);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 1.05rem;
    color: #667085;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* QUICK ACCESS */
.quick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.quick-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.quick-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-primary);
}

.quick-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--blue-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.quick-card:hover::after {
    transform: scaleX(1);
}

.quick-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 24px;
}

.quick-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.quick-card p {
    font-size: 0.8rem;
    color: #667085;
    line-height: 1.5;
}

.quick-card-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 0;
    transition: var(--transition);
    color: var(--blue-primary);
}

.quick-card:hover .quick-card-arrow {
    opacity: 1;
    transform: translate(4px, -4px);
}

/* PANORAMA */
.panorama {
    background: var(--white);
}

.panorama-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.panorama-card {
    background: var(--bg-gray);
    border-radius: var(--radius-xl);
    padding: 28px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.panorama-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.panorama-card h3 .icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.tip-list {
    list-style: none;
}

.tip-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.tip-list li:last-child {
    border-bottom: none;
}

.tip-list .check {
    color: var(--green);
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.tip-list .warning {
    color: var(--yellow);
    flex-shrink: 0;
    margin-top: 2px;
}

.tip-list .alert {
    color: var(--red);
    flex-shrink: 0;
    margin-top: 2px;
}

.dept-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.dept-item {
    padding: 10px;
    background: var(--white);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.dept-item:hover {
    background: var(--blue-primary);
    color: white;
}

.dept-item .dept-count {
    display: block;
    font-size: 0.7rem;
    color: #667085;
    font-weight: 400;
    margin-top: 2px;
}

.dept-item:hover .dept-count {
    color: rgba(255, 255, 255, 0.7);
}

/* FEATURED CARS */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

.car-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    cursor: pointer;
}

.car-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.car-image {
    height: 180px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-image svg {
    width: 80px;
    height: 80px;
    opacity: 0.3;
    color: var(--blue-dark);
}

.car-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
}

.car-badge.new {
    background: var(--green);
}

.car-badge.hot {
    background: var(--red);
}

.car-badge.deal {
    background: var(--yellow);
    color: var(--text-primary);
}

.car-info {
    padding: 20px;
}

.car-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.car-info .car-year {
    font-size: 0.8rem;
    color: #667085;
    margin-bottom: 12px;
}

.car-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--blue-primary);
}

.car-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.car-tag {
    padding: 4px 10px;
    background: var(--bg-gray);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #667085;
}

/* TIPS BOX */
.tips-box {
    background: linear-gradient(135deg, var(--blue-light), #EBF5FF);
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-top: 40px;
}

.tips-box h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--blue-dark);
}

.tips-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
}

.tip-item .tip-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--blue-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.tip-item p {
    font-size: 0.85rem;
    color: var(--text-primary);
    line-height: 1.5;
}

/* SERVICES */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.service-card {
    background: var(--bg-gray);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.service-card:hover {
    background: var(--white);
    border-color: var(--blue-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
}

.service-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.service-card p {
    font-size: 0.8rem;
    color: #667085;
    line-height: 1.5;
}

.service-tips {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.service-tips span {
    display: inline-block;
    padding: 4px 10px;
    background: var(--white);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--blue-primary);
    margin: 3px 4px 3px 0;
}

.service-card:hover .service-tips span {
    background: var(--blue-light);
}

/* TOOLS */
.tools {
    background: linear-gradient(180deg, var(--blue-dark) 0%, var(--blue-primary) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.tools::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.tools .section-label {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.tools .section-title {
    color: white;
}

.tools .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.tool-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: 28px;
    transition: var(--transition);
    cursor: pointer;
}

.tool-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.tool-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tool-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 16px;
}

.tool-card .tool-when {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 6px;
}

.tool-card .tool-when::before {
    content: '💡';
}

/* Calculator Modal */
.calc-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.calc-overlay.active {
    display: flex;
}

.calc-modal {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 32px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.calc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.calc-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.calc-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bg-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.calc-close:hover {
    background: #e2e8f0;
}

.calc-field {
    margin-bottom: 16px;
}

.calc-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.calc-field input,
.calc-field select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #E2E8F0;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
    background: var(--white);
}

.calc-field input:focus,
.calc-field select:focus {
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px var(--blue-light);
}

.calc-result {
    background: var(--blue-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

.calc-result .result-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--blue-primary);
}

.calc-result .result-label {
    font-size: 0.8rem;
    color: #667085;
    margin-top: 4px;
}

.calc-btn {
    width: 100%;
    padding: 14px;
    background: var(--blue-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
    margin-top: 8px;
}

.calc-btn:hover {
    background: var(--blue-dark);
}

/* GUIDES */
.guides {
    background: var(--bg-gray);
}

.guides-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.guide-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: var(--transition);
}

.guide-item:hover {
    box-shadow: var(--shadow-md);
}

.guide-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    gap: 16px;
}

.guide-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.guide-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.guide-header h3 {
    font-size: 0.95rem;
    font-weight: 600;
}

.guide-arrow {
    transition: var(--transition);
    flex-shrink: 0;
    color: #667085;
}

.guide-item.active .guide-arrow {
    transform: rotate(180deg);
}

.guide-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.guide-item.active .guide-body {
    max-height: 1000px;
}

.guide-content {
    padding: 0 24px 20px;
    font-size: 0.85rem;
    color: #667085;
    line-height: 1.8;
}

.guide-content ul {
    list-style: none;
    padding: 0;
}

.guide-content li {
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}

.guide-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--blue-primary);
    font-weight: 600;
}

.guide-alert {
    padding: 12px 16px;
    background: #FFF8E1;
    border-left: 3px solid var(--yellow);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-top: 12px;
    font-size: 0.8rem;
    color: #92400E;
}

/* MAP */
.map-section {
    background: var(--white);
}

.dept-grid-full {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.dept-card {
    background: var(--bg-gray);
    border-radius: var(--radius-xl);
    padding: 24px;
    border: 1px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: var(--text-primary);
}

.dept-card:hover {
    border-color: var(--blue-primary);
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.dept-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.dept-card h3 {
    font-size: 1rem;
    font-weight: 700;
}

.dept-card .dept-tag {
    padding: 4px 10px;
    background: var(--blue-light);
    color: var(--blue-primary);
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 700;
}

.dept-card p {
    font-size: 0.8rem;
    color: #667085;
    margin-bottom: 12px;
    line-height: 1.5;
}

.dept-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dept-feature {
    padding: 4px 10px;
    background: var(--white);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 500;
}

.dept-card:hover .dept-feature {
    background: var(--blue-light);
}

/* EVENTS */
.events {
    background: var(--bg-gray);
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.event-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.event-date {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.event-date-num {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.event-date-info .event-month {
    font-size: 0.8rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.event-date-info .event-type {
    font-size: 0.7rem;
    opacity: 0.6;
}

.event-body {
    padding: 20px;
}

.event-body h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.event-body p {
    font-size: 0.85rem;
    color: #667085;
    line-height: 1.5;
}

.event-meta {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    font-size: 0.75rem;
    color: #667085;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 40px;
}

.community-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    cursor: pointer;
}

.community-card:hover {
    border-color: var(--blue-primary);
    box-shadow: var(--shadow-md);
}

.community-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.community-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
}

.community-info p {
    font-size: 0.75rem;
    color: #667085;
}

/* CTA FINAL */
.cta-final {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 60%, #3B82F6 100%);
    padding: 100px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-final::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.cta-final h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.cta-final p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto 36px;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.cta-buttons .btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-buttons .btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--blue-primary);
    border: none;
}

.cta-buttons .btn-primary:hover {
    background: var(--blue-light);
    box-shadow: var(--shadow-lg);
}

/* FOOTER */
.footer {
    background: var(--blue-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
}

.footer-col h4 {
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 6px 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.8rem;
}

/* ANIMATIONS */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (min-width: 640px) {
    .quick-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dept-grid-full {
        grid-template-columns: repeat(3, 1fr);
    }

    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .community-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 32px;
    }

    .navbar-links {
        display: flex;
    }

    .navbar-cta {
        display: block;
    }

    .mobile-toggle {
        display: none;
    }

    .section {
        padding: 100px 0;
    }

    .floating-cards {
        display: block;
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .panorama-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .dept-grid-full {
        grid-template-columns: repeat(3, 1fr);
    }

    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cars-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .dept-grid-full {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-gray);
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* Utility */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 16px;
}

.mt-4 {
    margin-top: 32px;
}

@media (max-width: 640px) {
    .dept-grid-full {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* FLOATING OPINION BUTTON */
.btn-opinion-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--blue-primary);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-opinion-float:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: var(--blue-dark);
}

.opinion-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1002;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.opinion-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.opinion-modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 450px;
    padding: 32px;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s ease;
}

.opinion-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 20px;
    color: #667085;
    cursor: pointer;
    transition: var(--transition);
}

.opinion-modal-close:hover {
    color: var(--text-primary);
}

.opinion-modal h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--blue-dark);
}

.opinion-modal p.desc {
    font-size: 0.9rem;
    color: #667085;
    margin-bottom: 24px;
}

.opinion-emojis {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.opinion-emoji {
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.5;
    filter: grayscale(100%);
    text-align: center;
}

.opinion-emoji span {
    display: block;
    font-size: 0.7rem;
    margin-top: 4px;
    font-weight: 600;
    color: #667085;
}

.opinion-emoji:hover,
.opinion-emoji.selected {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.15);
}

.opinion-emoji.selected span {
    color: var(--blue-primary);
}

.opinion-textarea {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    padding: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    resize: none;
    height: 100px;
    transition: var(--transition);
    margin-bottom: 8px;
}

.opinion-textarea:focus {
    outline: none;
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px var(--blue-light);
}

.opinion-char-count {
    font-size: 0.75rem;
    color: #667085;
    text-align: right;
    margin-bottom: 20px;
}

.opinion-email-group {
    margin-bottom: 24px;
}

.opinion-email-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-primary);
    cursor: pointer;
    margin-bottom: 12px;
}

.opinion-email-input {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    font-family: inherit;
    font-size: 0.95rem;
    display: none;
}

.opinion-email-input.active {
    display: block;
}

.opinion-btn-submit {
    width: 100%;
    padding: 12px;
    background: var(--blue-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.opinion-btn-submit:hover {
    background: var(--blue-dark);
}

.opinion-btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.opinion-success {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.opinion-success-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.opinion-success h4 {
    font-size: 1.2rem;
    color: var(--blue-dark);
    margin-bottom: 8px;
}

.opinion-success p {
    font-size: 0.95rem;
    color: #667085;
}

.ux-logo {
    width: 38px;
    height: auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}