/* TireCare Index - Neon Purple Utility Style */

:root {
    --bg-primary: #2B0A5A;
    --bg-secondary: #3A0B7A;
    --bg-tertiary: #1F0A3F;
    --accent-yellow: #FFC94A;
    --accent-purple: #B56BFF;
    --text-light: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.72);
    --bg-light: #F6F2FF;
    --text-dark: #1C1A22;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(43, 10, 90, 0.98);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    z-index: 9999;
    border-top: 2px solid var(--accent-yellow);
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.cookie-content a {
    color: var(--accent-yellow);
    text-decoration: underline;
}

.cookie-btn {
    background: var(--accent-yellow);
    color: var(--bg-primary);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 201, 74, 0.4);
}

/* Top Bar */
.top-bar {
    background: rgba(31, 10, 63, 0.9);
    color: var(--text-secondary);
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(181, 107, 255, 0.2);
}

/* Header */
.main-header {
    background: rgba(43, 10, 90, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(181, 107, 255, 0.3);
    transition: all 0.3s ease;
}

.main-header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-yellow);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-yellow);
}

.search-btn {
    background: transparent;
    border: 1px solid var(--accent-purple);
    color: var(--text-light);
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--accent-purple);
    box-shadow: 0 0 20px rgba(181, 107, 255, 0.5);
}

.btn-primary {
    background: var(--accent-yellow);
    color: var(--bg-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 201, 74, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--text-light);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.2);
}

/* Burger Menu */
.burger-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 1rem 0;
    gap: 1rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu-link {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 0;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-menu-link:hover {
    color: var(--accent-yellow);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(181, 107, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    top: -200px;
    left: -200px;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-yellow);
    top: 50%;
    right: -150px;
    animation-delay: 2s;
}

.hero-glow-3 {
    width: 350px;
    height: 350px;
    background: var(--accent-purple);
    bottom: -100px;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.neon-underline {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 120px;
    height: 4px;
    background: var(--accent-yellow);
    box-shadow: 0 0 20px rgba(255, 201, 74, 0.8);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: var(--accent-purple);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-yellow);
    animation: bounce 2s infinite;
}

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

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-light);
}

.about-section {
    background: var(--bg-primary);
    position: relative;
}

.diagonal-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 50px,
        rgba(181, 107, 255, 0.03) 50px,
        rgba(181, 107, 255, 0.03) 52px
    );
    opacity: 0.5;
}

.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
}

.disclaimer-box {
    background: rgba(255, 201, 74, 0.1);
    border-left: 4px solid var(--accent-yellow);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.disclaimer-box ul {
    list-style: none;
    padding: 0;
}

.image-frame {
    position: relative;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid var(--accent-yellow);
    border-radius: 20px;
    z-index: -1;
}

/* Materials Section */
.materials-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.material-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(181, 107, 255, 0.3);
    border-radius: 18px;
    padding: 2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-light);
    display: block;
}

.material-card:hover {
    border-color: var(--accent-yellow);
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(255, 201, 74, 0.3);
}

.material-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 201, 74, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-yellow);
    transition: all 0.3s ease;
}

.material-card:hover .material-icon {
    background: var(--accent-yellow);
    color: var(--bg-primary);
    transform: scale(1.1) rotate(5deg);
}

.material-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.material-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Checklist Section */
.checklist-section {
    background: var(--bg-secondary);
}

.checklist-item {
    margin-bottom: 1.5rem;
}

.checklist-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.checklist-checkbox {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
    margin-top: 0.25rem;
    cursor: pointer;
    accent-color: var(--accent-yellow);
    flex-shrink: 0;
}

.checklist-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

.checklist-text strong {
    color: var(--text-light);
}

/* Marking Section (Tabs) */
.marking-section {
    background: var(--bg-primary);
}

.tabs-header {
    display: flex;
    gap: 1rem;
    border-bottom: 2px solid rgba(181, 107, 255, 0.3);
    margin-bottom: 2rem;
    overflow-x: auto;
}

.tab-button {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 1rem 2rem;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-yellow);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-button.active {
    color: var(--accent-yellow);
}

.tab-button.active::after {
    transform: scaleX(1);
}

.tab-button:hover {
    color: var(--text-light);
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-panel.active {
    display: block;
}

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

/* Scenarios Slider */
.scenarios-section {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.slider-container {
    position: relative;
    max-width: 100%;
}

.slider-wrapper {
    overflow: hidden;
    margin: 0 3rem;
}

.slider-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
}

.scenario-card {
    min-width: 350px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(181, 107, 255, 0.3);
    border-radius: 18px;
    padding: 2rem;
    flex-shrink: 0;
}

.scenario-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-yellow);
}

.scenario-temp {
    color: var(--accent-purple);
    font-weight: 600;
    margin-bottom: 1rem;
}

.scenario-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.scenario-limitations {
    background: rgba(255, 201, 74, 0.1);
    border-left: 4px solid var(--accent-yellow);
    padding: 1rem;
    border-radius: 8px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid var(--accent-yellow);
    color: var(--accent-yellow);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-arrow:hover {
    background: var(--accent-yellow);
    color: var(--bg-primary);
}

.slider-arrow-left {
    left: 0;
}

.slider-arrow-right {
    right: 0;
}

/* FAQ Section */
.faq-section {
    background: var(--bg-light);
    color: var(--text-dark);
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(43, 10, 90, 0.05);
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: #555;
    line-height: 1.8;
}

/* Team Section */
.team-section {
    background: var(--bg-secondary);
}

.team-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(181, 107, 255, 0.3);
    border-radius: 18px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    border-color: var(--accent-yellow);
    transform: translateY(-8px);
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: rgba(255, 201, 74, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--accent-yellow);
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--accent-purple);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.team-link {
    color: var(--accent-yellow);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.team-link:hover {
    text-decoration: underline;
}

/* Contact Section */
.contact-section {
    background: var(--bg-primary);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-light);
}

.form-input {
    width: 100%;
    padding: 0.875rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(181, 107, 255, 0.3);
    border-radius: 10px;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-yellow);
    background: rgba(255, 255, 255, 0.15);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-error {
    color: #ff6b6b;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-error.show {
    display: block;
}

.consent-checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-yellow);
    cursor: pointer;
    flex-shrink: 0;
}

.form-disclaimer {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 201, 74, 0.1);
    border-left: 4px solid var(--accent-yellow);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--bg-tertiary);
    border-top: 2px solid rgba(181, 107, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(181, 107, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-yellow);
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-yellow);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .slider-wrapper {
        margin: 0 1rem;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .scenario-card {
        min-width: 280px;
    }

    .tabs-header {
        justify-content: flex-start;
    }

    .tab-button {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .top-bar .flex {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}
/* Helpers for policy/thankyou pages */
.text-accent { color: var(--accent-yellow); }
.border-accent { border-color: var(--accent-yellow); }
.bg-accent { background: var(--accent-yellow); color: var(--bg-primary); }

.page-body { background: var(--bg-primary); color: var(--text-light); }

/* Optional: make default links readable on dark pages */
.page-body a { color: var(--accent-yellow); }
.page-body a:hover { text-decoration: underline; }
