/* ========================================
   ARCHER - Motorcycle Restoration Website
   ======================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #0d1224;
    --bg-card: #111832;
    --bg-card-hover: #162040;
    --cyan: #00e5ff;
    --cyan-dark: #00b8d4;
    --cyan-glow: rgba(0, 229, 255, 0.15);
    --cyan-glow-strong: rgba(0, 229, 255, 0.3);
    --white: #ffffff;
    --gray-100: #e8eaf6;
    --gray-300: #b0bec5;
    --gray-500: #607d8b;
    --gray-700: #37474f;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Playfair Display', serif;
    --transition: all 0.3s ease;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    --border-radius: 12px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--gray-100);
    overflow-x: hidden;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.highlight {
    color: var(--cyan);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 4px;
    color: var(--cyan);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
    color: var(--bg-primary);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 14px 36px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--cyan-glow-strong);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 14px 36px;
    border-radius: 50px;
    border: 2px solid var(--cyan);
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--cyan);
    color: var(--bg-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--cyan-glow-strong);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 3px;
}

.nav-logo i {
    color: var(--cyan);
    font-size: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-300);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--cyan);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-btn {
    background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
    color: var(--bg-primary);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 10px 24px;
    border-radius: 50px;
    transition: var(--transition);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--cyan-glow-strong);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1558981285-6f0c94958bb6?w=1600&h=900&fit=crop') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 14, 26, 0.7) 0%,
            rgba(10, 14, 26, 0.85) 50%,
            rgba(10, 14, 26, 0.98) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
    padding: 0 24px;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 15px;
    letter-spacing: 6px;
    color: var(--cyan);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: 3px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--cyan), #00ffd5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 17px;
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
    animation: bounce 2s infinite;
}

.hero-scroll span {
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--gray-500);
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--cyan), transparent);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-12px);
    }

    60% {
        transform: translateX(-50%) translateY(-6px);
    }
}

/* ===== SERVICES — CARD CAROUSEL WITH SYNCING BACKGROUND ===== */
.services-slider {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Stacked background images */
.ss-backgrounds {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ss-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.2s ease, transform 8s ease;
}

.ss-bg.active {
    opacity: 1;
    transform: scale(1);
}

/* Lighter overlay so background colors show through */
.ss-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg,
            rgba(10, 14, 26, 0.55) 0%,
            rgba(10, 14, 26, 0.35) 50%,
            rgba(10, 14, 26, 0.50) 100%);
}

/* Layout: Left title + Right cards */
.ss-layout {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px 40px 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* Left title */
.ss-left {
    flex-shrink: 0;
    max-width: 340px;
}

.ss-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: 3px;
    color: var(--white);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.ss-left .section-tag {
    text-align: left;
    margin-bottom: 12px;
}

/* Right: Cards container */
.ss-cards-wrap {
    flex: 1;
    overflow: hidden;
    padding: 20px 0;
}

.ss-cards {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: flex-end;
}

/* Individual portrait cards */
.ss-card {
    width: 180px;
    height: 260px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.6;
    filter: brightness(0.7);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.ss-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ss-card:hover img {
    transform: scale(1.05);
}

/* Active card — larger and brighter */
.ss-card.active {
    width: 220px;
    height: 320px;
    opacity: 1;
    filter: brightness(1);
    box-shadow: 0 16px 50px rgba(0, 229, 255, 0.2), 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(0, 229, 255, 0.4);
}

/* Card overlay with title */
.ss-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 14, 26, 0.85) 100%);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.ss-card.active .ss-card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.ss-card-tag {
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--white);
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Bottom navigation dots */
.ss-bottom-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.ss-dots {
    display: flex;
    gap: 12px;
}

.ss-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.ss-dot.active {
    background: var(--cyan);
    border-color: var(--cyan);
    box-shadow: 0 0 14px var(--cyan-glow);
    transform: scale(1.3);
}

.ss-dot:hover {
    border-color: var(--cyan);
}

/* ===== WHAT MAKES US DIFFERENT ===== */
.different {
    padding: 120px 0;
    background: var(--bg-primary);
}

.different-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.diff-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.diff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0;
    transition: var(--transition);
}

.diff-card:hover::before {
    opacity: 1;
}

.diff-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 229, 255, 0.2);
    background: var(--bg-card-hover);
}

.diff-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--cyan-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.diff-card:hover .diff-icon {
    background: var(--cyan-glow-strong);
    box-shadow: 0 0 30px var(--cyan-glow);
}

.diff-icon i {
    font-size: 28px;
    color: var(--cyan);
}

.diff-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 10px;
    letter-spacing: 1px;
    color: var(--white);
}

.diff-card p {
    font-size: 14px;
    color: var(--gray-300);
}

/* ===== BIKE COLLECTION ===== */
.collection {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.collection-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 10px 28px;
    border-radius: 50px;
    border: 1px solid var(--gray-700);
    background: transparent;
    color: var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--cyan);
    border-color: var(--cyan);
    color: var(--bg-primary);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bike-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.bike-card.hide {
    display: none;
}

.bike-img {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.bike-img img {
    transition: transform 0.6s ease;
}

.bike-card:hover .bike-img img {
    transform: scale(1.1);
}

.bike-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(10, 14, 26, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: var(--transition);
}

.bike-tag {
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--cyan);
    margin-bottom: 8px;
}

.bike-overlay h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.bike-overlay p {
    font-size: 13px;
    color: var(--gray-300);
    margin-bottom: 12px;
}

.bike-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    transition: var(--transition);
}

.bike-link:hover {
    background: var(--cyan);
    color: var(--bg-primary);
}

/* ===== HISTORY ===== */
.history {
    position: relative;
    padding: 160px 0;
    overflow: hidden;
}

.history-bg {
    position: absolute;
    inset: 0;
}

.history-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(10, 14, 26, 0.95) 0%,
            rgba(10, 14, 26, 0.8) 50%,
            rgba(10, 14, 26, 0.6) 100%);
}

.history-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.history-content .section-header {
    text-align: left;
}

.history-text {
    font-size: 16px;
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: 40px;
}

.history-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px 10px;
    background: rgba(0, 229, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 229, 255, 0.1);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    color: var(--cyan);
    display: inline;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--cyan);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--gray-300);
    margin-top: 4px;
    letter-spacing: 1px;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 120px 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 50px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin: 0 12px;
}

.testimonial-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.testimonial-top img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--cyan);
    object-fit: cover;
}

.testimonial-info h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    letter-spacing: 1px;
    color: var(--white);
}

.testimonial-info p {
    font-size: 13px;
    color: var(--cyan);
}

.testimonial-quote {
    margin-left: auto;
    font-size: 36px;
    color: rgba(0, 229, 255, 0.2);
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray-300);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-stars i {
    color: #ffc107;
    font-size: 16px;
    margin-right: 3px;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.test-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--gray-700);
    background: transparent;
    color: var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.test-btn:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: var(--cyan-glow);
}

.test-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan-glow);
}

/* ===== CONTACT ===== */
.contact {
    padding: 120px 0;
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: start;
}

.contact-form-wrap {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    background: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300e5ff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--bg-primary);
    color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.contact-info-card:hover {
    border-color: rgba(0, 229, 255, 0.2);
    transform: translateX(6px);
}

.ci-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: var(--cyan-glow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ci-icon i {
    font-size: 18px;
    color: var(--cyan);
}

.contact-info-card h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 14px;
    color: var(--gray-300);
    line-height: 1.6;
}

/* ===== GALLERY ===== */
.gallery {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.expanding-gallery {
    display: flex;
    width: 100%;
    height: 60vh;
    min-height: 500px;
}

/* Expanding Cards Logic */
.panel {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    flex: 0.5;
    cursor: pointer;
    position: relative;
    transition: flex 0.7s cubic-bezier(0.15, 0.85, 0.35, 1.2), box-shadow 0.4s ease;
    overflow: hidden;
    /* Red borders, exactly like the Spiderman reference */
    border: 2px solid #a00000;
    margin: 0 -1px;
    /* Overlap borders to prevent thicker lines between cards */
}

.panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 14, 26, 0.95) 0%, transparent 50%);
    opacity: 1;
    transition: var(--transition);
}

.panel.active {
    flex: 5;
    z-index: 2;
    /* To put the border above siblings */
}

/* Text styles hidden initially */
.panel h3 {
    position: absolute;
    bottom: 30px;
    left: 40px;
    margin: 0;
    font-family: var(--font-heading);
    font-size: 32px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    opacity: 0;
    z-index: 2;
    transform: translateY(20px);
    transition: all 0.4s ease-in-out;
    white-space: nowrap;
}

.panel-tag {
    position: absolute;
    bottom: 74px;
    left: 40px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--cyan);
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0;
    z-index: 2;
    transform: translateY(20px);
    transition: all 0.4s ease-in-out;
}

/* Show text when active */
.panel.active h3 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.panel.active .panel-tag {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

/* ===== MUSCLE CARS ===== */
.muscle-cars {
    padding: 120px 0;
    background: var(--bg-primary);
}

.muscle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.muscle-card {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.muscle-img {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.muscle-img img {
    transition: transform 0.6s ease;
}

.muscle-card:hover .muscle-img img {
    transform: scale(1.1);
}

.muscle-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 14, 26, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
}

.muscle-overlay h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.muscle-overlay p {
    font-size: 14px;
    color: var(--cyan);
}

/* ===== NEWS ===== */
.news {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 229, 255, 0.2);
}

.news-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-img img {
    transition: transform 0.5s ease;
}

.news-card:hover .news-img img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--cyan);
    color: var(--bg-primary);
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 600;
}

.news-body {
    padding: 24px;
}

.news-category {
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--cyan);
    text-transform: uppercase;
}

.news-body h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    letter-spacing: 1px;
    margin: 10px 0;
    color: var(--white);
    line-height: 1.4;
}

.news-body p {
    font-size: 14px;
    color: var(--gray-300);
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-link {
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--cyan);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.news-link:hover {
    gap: 14px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-newsletter h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.footer-newsletter p {
    color: var(--gray-300);
    font-size: 15px;
    margin-bottom: 28px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 0;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    border-radius: 50px 0 0 50px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--cyan);
}

.newsletter-form button {
    background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
    border: none;
    padding: 14px 24px;
    border-radius: 0 50px 50px 0;
    color: var(--bg-primary);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--cyan);
    box-shadow: 0 0 20px var(--cyan-glow);
}

.footer-main {
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.footer-logo i {
    color: var(--cyan);
    font-size: 26px;
}

.footer-col>p {
    font-size: 14px;
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    transition: var(--transition);
}

.footer-social a:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: var(--cyan-glow);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: var(--gray-300);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--cyan);
    padding-left: 6px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-300);
}

.footer-contact li i {
    color: var(--cyan);
    margin-top: 4px;
    min-width: 16px;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray-500);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: var(--gray-500);
}

.footer-bottom-links a:hover {
    color: var(--cyan);
}

/* ===== FLOATING SOCIAL SHARE BUTTON ===== */
.social-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 998;
    width: 56px;
    height: 56px;
}

.social-float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
    color: var(--bg-primary);
    font-size: 22px;
    cursor: pointer;
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 6px 24px var(--cyan-glow-strong);
}

.social-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px var(--cyan-glow-strong);
}

/* Toggle icons inside the main button */
.social-float-btn .fa-share-alt {
    transition: all 0.3s ease;
}

.social-float-btn .fa-times {
    position: absolute;
    opacity: 0;
    transform: rotate(-90deg);
    transition: all 0.3s ease;
}

.social-float.active .social-float-btn {
    transform: rotate(0deg);
    background: var(--bg-card);
    border: 2px solid var(--cyan);
    color: var(--cyan);
}

.social-float.active .social-float-btn .fa-share-alt {
    opacity: 0;
    transform: rotate(90deg);
}

.social-float.active .social-float-btn .fa-times {
    opacity: 1;
    transform: rotate(0deg);
}

/* Social icon items */
.social-float-item {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--white);
    background: var(--color);
    bottom: 6px;
    right: 6px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.social-float-item:hover {
    transform: scale(1.2) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Radial positions when active — fan out around the button */
.social-float.active .social-float-item {
    opacity: 1;
    transform: scale(1);
}

/* Position each icon in a radial arc (going upward and left from bottom-right) */
.social-float.active .social-float-item:nth-child(2) {
    /* YouTube — directly above */
    bottom: 76px;
    right: 6px;
    transition-delay: 0.05s;
}

.social-float.active .social-float-item:nth-child(3) {
    /* Facebook — upper left diagonal */
    bottom: 60px;
    right: 60px;
    transition-delay: 0.1s;
}

.social-float.active .social-float-item:nth-child(4) {
    /* Instagram — to the left */
    bottom: 6px;
    right: 76px;
    transition-delay: 0.15s;
}

.social-float.active .social-float-item:nth-child(5) {
    /* Twitter — lower left diagonal */
    bottom: -48px;
    right: 60px;
    transition-delay: 0.2s;
}

/* Pulse ring animation on the main button */
.social-float-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--cyan);
    animation: socialPulse 2s ease-out infinite;
}

.social-float.active .social-float-btn::after {
    animation: none;
    opacity: 0;
}

@keyframes socialPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
    border: none;
    color: var(--bg-primary);
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px var(--cyan-glow-strong);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--border-radius);
    object-fit: contain;
}

.lb-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-close:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1400px) {
    .container {
        max-width: 1140px;
    }

    .ss-layout {
        padding: 120px 20px 100px;
        gap: 40px;
    }

    .ss-card {
        width: 140px;
        height: 200px;
    }

    .ss-card.active {
        width: 180px;
        height: 260px;
    }

    .expanding-gallery {
        min-height: 400px;
        height: 50vh;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .section-title {
        font-size: 38px;
    }

    .hero-title {
        font-size: 60px;
    }

    .ss-left {
        max-width: 250px;
    }

    .ss-title {
        font-size: 40px;
    }

    .ss-card {
        width: 110px;
        height: 160px;
    }

    .ss-card.active {
        width: 150px;
        height: 220px;
    }

    .ss-card-tag {
        font-size: 10px;
    }
}

@media (max-width: 1024px) {
    .section-title {
        font-size: 34px;
    }

    .hero-title {
        font-size: 52px;
    }

    .different-grid,
    .collection-grid,
    .muscle-grid,
    .news-grid,
    .footer-grid,
    .history-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 200px;
    }

    .ss-title {
        font-size: 36px;
    }

    .ss-layout {
        gap: 20px;
    }

    .ss-card {
        width: 100px;
        height: 150px;
    }

    .ss-card.active {
        width: 140px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px 40px;
        gap: 20px;
        transition: var(--transition);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-btn {
        display: none;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-title {
        font-size: 38px;
    }

    .different-grid {
        grid-template-columns: 1fr;
    }

    .ss-layout {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 80px;
        gap: 40px;
    }

    .ss-left {
        max-width: 100%;
    }

    .ss-left .section-tag {
        text-align: center;
    }

    .ss-title {
        font-size: 36px;
    }

    .ss-cards {
        justify-content: center;
    }

    .ss-card {
        width: 130px;
        height: 190px;
    }

    .ss-card.active {
        width: 160px;
        height: 240px;
    }

    .collection-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .muscle-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .gallery-item.gi-large {
        grid-column: span 2;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .history-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 30px;
    }

    .section-title {
        font-size: 24px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.gi-large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .history-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-number {
        font-size: 30px;
    }

    .ss-title {
        font-size: 28px;
    }

    .ss-card {
        width: 110px;
        height: 160px;
    }

    .ss-card.active {
        width: 140px;
        height: 210px;
    }

    .ss-cards {
        gap: 10px;
    }
}

/* ========================================
   RESTORATION PAGE SPECIFIC STYLES
   ======================================== */

/* --- Hero Section --- */
.restoration-hero {
    background: url('https://images.unsplash.com/photo-1558981285-6f0c94958bb6?w=1920&h=1080&fit=crop') center/cover no-repeat;
    position: relative;
    padding: 160px 0 100px;
}

.restoration-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 14, 26, 0.95) 0%, rgba(10, 14, 26, 0.85) 50%, rgba(10, 14, 26, 0.4) 100%);
}

.page-hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    gap: 40px;
}

.ph-content {
    max-width: 600px;
}

.ph-title {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
    letter-spacing: 2px;
}

.ph-desc {
    font-size: 16px;
    color: var(--gray-300);
    margin-bottom: 40px;
    line-height: 1.8;
}

.ph-buttons {
    display: flex;
    gap: 20px;
}

.ph-images {
    position: relative;
    width: 500px;
    height: 400px;
}

.ph-img-main {
    width: 80%;
    height: 80%;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: absolute;
    top: 0;
    right: 0;
    border: 2px solid rgba(0, 229, 255, 0.2);
}

.ph-img-overlap {
    width: 60%;
    height: 60%;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    position: absolute;
    bottom: 0;
    left: 0;
    border: 3px solid var(--bg-primary);
}

/* --- Stats Section --- */
.restoration-stats {
    padding: 80px 0;
    background: var(--bg-primary);
}

.container-narrow {
    max-width: 1000px;
    margin: 0 auto;
}

.r-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.r-stat-box {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.r-stat-box:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 255, 0.2);
}

.r-stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 5px;
}

.r-stat-title {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.r-stat-icon-wrap {
    display: flex;
    gap: 15px;
    margin-bottom: 24px;
}

.r-icon-box {
    width: 40px;
    height: 40px;
    background: var(--cyan-glow);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.r-stat-desc {
    font-size: 14px;
    color: var(--white);
    font-weight: 600;
}

.r-stat-desc span {
    font-size: 13px;
    color: var(--gray-300);
    font-weight: 400;
    display: block;
    margin-top: 5px;
}

.r-check-list {
    margin-bottom: 20px;
}

.r-check-list li {
    font-size: 14px;
    color: var(--gray-300);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.r-check-list i {
    color: var(--cyan);
    font-size: 12px;
}

.mt-3 {
    margin-top: 20px;
}

.progress-bar-wrap {
    margin-top: 20px;
}

.progress-label {
    display: block;
    font-size: 13px;
    color: var(--white);
    margin-bottom: 8px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--cyan);
    border-radius: 3px;
}

/* --- Process Grid --- */
.process-images {
    padding: 20px 0;
    background: var(--bg-primary);
}

.p-img-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.p-img-grid img {
    height: 300px;
    width: 100%;
    object-fit: cover;
    filter: grayscale(40%) brightness(0.8);
    transition: var(--transition);
}

.p-img-grid img:hover {
    filter: grayscale(0%) brightness(1.1);
}

/* --- Restoration Steps --- */
.restoration-steps {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 180px;
    background: var(--bg-card);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.1);
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--cyan-glow);
    color: var(--cyan);
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--white);
    margin-bottom: 12px;
}

.step-text {
    font-size: 13px;
    color: var(--gray-300);
}

/* --- Promo Banner --- */
.promo-banner {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.promo-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1544636331-e26879cd4d9b?w=1920&h=1080&fit=crop') center/cover fixed;
}

.promo-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 14, 26, 0.95) 0%, rgba(10, 14, 26, 0.7) 100%);
}

.promo-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.promo-title {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.promo-desc {
    font-size: 16px;
    color: var(--gray-100);
    margin-bottom: 30px;
}

.promo-list {
    margin-bottom: 40px;
}

.promo-list li {
    font-size: 15px;
    color: var(--white);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.promo-list i {
    color: var(--cyan);
}

.promo-actions {
    display: flex;
    gap: 20px;
}

/* --- Video Gallery --- */
.video-gallery-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.v-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 200px;
    cursor: pointer;
}

.v-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.v-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 26, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.v-card:hover .v-overlay {
    background: rgba(10, 14, 26, 0.4);
}

.v-card:hover img {
    transform: scale(1.05);
}

.v-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.v-play-btn {
    width: 50px;
    height: 50px;
    background: #e50914;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.v-card:hover .v-play-btn {
    transform: scale(1.1);
    background: #ff0a16;
}

/* --- Pricing --- */
.restoration-pricing {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.p-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.p-header-text h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--white);
    margin-bottom: 5px;
}

.p-header-text p {
    font-size: 12px;
    color: var(--gray-500);
}

.p-icon-box {
    width: 60px;
    height: 60px;
    background: var(--cyan-glow);
    color: var(--cyan);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.p-warranty-list {
    margin-bottom: 30px;
}

.w-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--gray-100);
    margin-bottom: 15px;
    font-size: 15px;
}

.w-item i {
    color: var(--cyan);
}

.w-divider {
    margin: 20px 0;
}

.w-note {
    font-size: 13px;
    color: var(--gray-300);
    margin-top: 15px;
    font-style: italic;
}

.p-card-action {
    text-align: center;
}

/* --- Mini Reviews --- */
.mini-reviews {
    padding: 80px 0;
    background: var(--cyan);
}

.mini-reviews .section-title {
    color: var(--bg-primary);
}

.mini-reviews .highlight {
    color: var(--white);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.r-card {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.r-stars {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 14px;
}

.r-text {
    font-size: 14px;
    color: var(--gray-100);
    margin-bottom: 20px;
    font-style: italic;
}

.r-author {
    font-size: 13px;
    color: var(--cyan);
    font-weight: 600;
}

/* Responsive specific to restoration page */
@media (max-width: 1200px) {
    .page-hero-container {
        gap: 30px;
    }

    .ph-title {
        font-size: 52px;
    }

    .ph-images {
        width: 400px;
        height: 320px;
    }
}

@media (max-width: 992px) {
    .page-hero-container {
        flex-direction: column;
        text-align: center;
    }

    .ph-images {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .ph-buttons {
        justify-content: center;
    }

    .r-stats-grid {
        grid-template-columns: 1fr;
    }

    .p-img-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .review-grid {
        grid-template-columns: 1fr;
    }

    .promo-content {
        text-align: center;
        margin: 0 auto;
    }

    .promo-list {
        display: inline-block;
        text-align: left;
    }

    .promo-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .ph-title {
        font-size: 42px;
    }

    .steps-container {
        flex-direction: column;
    }

    .p-card-header {
        flex-direction: column;
        text-align: center;
    }

    .p-img-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   COLOR-SHIFT PAGE SPECIFIC STYLES
   ======================================== */

.container-medium {
    max-width: 1000px;
}

/* --- Hero Banner --- */
.cs-hero {
    position: relative;
    height: 400px;
    margin-top: 80px;
    /* offset for fixed navbar */
    overflow: hidden;
}

.cs-hero-bg {
    position: absolute;
    inset: 0;
}

.cs-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.2);
}

.cs-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, var(--bg-primary) 100%);
}

/* --- Introduction --- */
.cs-intro {
    padding: 60px 0 40px;
    background: var(--bg-primary);
}

.cs-intro-container {
    max-width: 700px;
    margin: 0 auto;
}

.cs-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.cs-desc {
    font-size: 16px;
    color: var(--gray-300);
    line-height: 1.8;
}

.text-center {
    text-align: center;
}

/* --- Swatch Grid --- */
.cs-swatches {
    padding: 20px 0 80px;
    background: var(--bg-primary);
}

.swatch-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
    justify-items: center;
}

.swatch-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    padding: 10px;
    border-radius: var(--border-radius);
    border: 1px solid transparent;
}

.swatch-item img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.swatch-name {
    font-size: 11px;
    color: var(--gray-300);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.swatch-item:hover,
.active-swatch {
    background: rgba(0, 229, 255, 0.05);
    border-color: rgba(0, 229, 255, 0.2);
    transform: translateY(-3px);
}

.swatch-item:hover img,
.active-swatch img {
    border-color: var(--cyan);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.swatch-item:hover .swatch-name,
.active-swatch .swatch-name {
    color: var(--cyan);
}

/* --- Promo Overlay Wrapper --- */
.cs-promo {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.cs-promo-wrapper {
    display: flex;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.cs-promo-img-left {
    width: 400px;
    height: 400px;
    position: relative;
    z-index: 2;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 4px solid var(--bg-primary);
}

.cs-promo-img-right {
    position: relative;
    flex: 1;
    height: 500px;
    margin-left: -100px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cs-promo-img-right img {
    position: absolute;
    inset: 0;
}

.cs-promo-img-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(10, 14, 26, 0.95) 70%, rgba(10, 14, 26, 0.95) 100%);
    z-index: 1;
}

.cs-promo-text {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 400px;
}

.cs-promo-text h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--cyan);
    margin-bottom: 20px;
    line-height: 1.2;
}

.cs-promo-text p {
    font-size: 14px;
    color: var(--gray-100);
    margin-bottom: 30px;
    line-height: 1.7;
}

.cs-promo-actions {
    display: flex;
    gap: 15px;
}

.cs-promo-actions .btn-primary,
.cs-promo-actions .btn-secondary {
    padding: 10px 24px;
    font-size: 13px;
}

/* --- Stats Box Section --- */
.cs-stats {
    padding: 80px 0;
    background: var(--bg-primary);
}

.cs-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.cs-stat-box {
    background: transparent;
    padding: 40px;
    border-radius: 4px;
    /* Harder edge for this specific design */
    border: 1px solid rgba(0, 229, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.05) inset;
    transition: var(--transition);
}

.cs-stat-box:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.1) inset;
}

.cs-stat-number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 5px;
}

.cs-stat-title {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 30px;
}

.cs-stat-header {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    align-items: center;
}

.cs-icon-box {
    width: 45px;
    height: 45px;
    background: var(--cyan);
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.cs-stat-desc {
    font-size: 14px;
    color: var(--cyan);
    font-weight: 600;
}

.cs-stat-desc span {
    font-size: 12px;
    color: var(--gray-300);
    font-weight: 400;
    display: block;
    margin-top: 4px;
    line-height: 1.5;
}

.cs-check-list {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.cs-check-list li {
    font-size: 13px;
    color: var(--gray-100);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cs-check-list i {
    color: var(--cyan);
    font-size: 10px;
}

/* --- Signature Paint Process --- */
.cs-process {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.text-capitalize {
    text-transform: capitalize;
}

.cs-steps-flex {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    justify-content: center;
}

.cs-step-card {
    flex: 1;
    max-width: 350px;
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.cs-step-card:hover {
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateY(-5px);
}

.cs-step-num {
    background: var(--cyan-glow);
    color: var(--cyan);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    padding: 8px 16px;
    display: inline-block;
    border-radius: 4px;
    margin-bottom: 20px;
}

.cs-step-title {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--cyan);
    margin-bottom: 15px;
    line-height: 1.3;
}

.cs-step-text {
    font-size: 13px;
    color: var(--gray-300);
    line-height: 1.7;
}

/* --- Reviews Specific --- */
.cs-reviews {
    padding: 80px 0;
    background: var(--bg-primary);
    /* Dark bg unlike restoration page cyan */
}

.cs-review-flex {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.cs-r-card {
    flex: 1;
    background: var(--bg-card);
    padding: 30px 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cs-r-stars {
    color: var(--cyan);
    /* Cyan stars in this layout */
    margin-bottom: 15px;
    font-size: 12px;
}

.cs-r-text {
    font-size: 14px;
    color: var(--gray-100);
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.6;
}

.cs-r-author {
    font-size: 12px;
    color: var(--gray-300);
    font-weight: 600;
}

/* --- Projects Video Grid --- */
.cs-projects {
    padding: 80px 0 120px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(0, 229, 255, 0.1) 100%);
}

.cs-video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.cs-v-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 180px;
    cursor: pointer;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.cs-v-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.cs-v-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 26, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cs-v-card:hover .cs-v-overlay {
    background: rgba(10, 14, 26, 0.3);
}

.cs-v-card:hover img {
    transform: scale(1.05);
}

.cs-v-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.cs-v-play {
    width: 45px;
    height: 45px;
    background: #e50914;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.cs-v-card:hover .cs-v-play {
    transform: scale(1.1);
    background: #ff0a16;
}

/* Responsive specific to color-shift page */
@media (max-width: 1200px) {
    .cs-promo-wrapper {
        max-width: 900px;
    }

    .cs-promo-img-left {
        width: 320px;
        height: 320px;
    }

    .cs-promo-text h2 {
        font-size: 28px;
    }

    .cs-promo-text p {
        font-size: 13px;
        margin-bottom: 20px;
    }
}

@media (max-width: 992px) {
    .swatch-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .cs-promo-wrapper {
        flex-direction: column;
    }

    .cs-promo-img-left {
        width: 100%;
        height: 300px;
        margin-bottom: -50px;
    }

    .cs-promo-img-right {
        margin-left: 0;
        width: 100%;
        height: auto;
        min-height: 400px;
    }

    .cs-promo-img-right::before {
        background: linear-gradient(180deg, rgba(10, 14, 26, 0.9) 0%, rgba(10, 14, 26, 0.95) 100%);
    }

    .cs-promo-text {
        position: relative;
        right: 0;
        top: 0;
        transform: none;
        padding: 80px 30px 40px;
        max-width: 100%;
        text-align: center;
    }

    .cs-promo-actions {
        justify-content: center;
    }

    .cs-stats-grid {
        grid-template-columns: 1fr;
    }

    .cs-steps-flex,
    .cs-review-flex {
        flex-direction: column;
        align-items: center;
    }

    .cs-step-card {
        max-width: 100%;
        width: 100%;
    }

    .cs-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cs-title {
        font-size: 42px;
    }

    .swatch-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cs-video-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   AUTHENTICATION PAGE (LOGIN/SIGNUP)
   ======================================== */

.login-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    overflow: hidden;
    position: relative;
    font-family: var(--font-body);
}

.login-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(circle at center, rgba(10, 14, 26, 1) 0%, rgba(5, 7, 12, 1) 100%);
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 10s infinite ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--cyan);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: #0077ff;
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.1);
    }
}

.login-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.login-logo i {
    color: var(--cyan);
}

.auth-card {
    background: rgba(15, 20, 35, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 229, 255, 0.05) inset;
    overflow: hidden;
    position: relative;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    animation: scanline 4s linear infinite;
}

@keyframes scanline {
    0% {
        left: -100%;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        left: 200%;
        opacity: 0;
    }
}

/* Auth Toggle Switch */
.auth-toggle {
    display: flex;
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.toggle-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 0;
    color: var(--gray-300);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.toggle-btn.active {
    color: var(--bg-primary);
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: var(--cyan);
    border-radius: 30px;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: var(--cyan-glow);
}

/* Forms */
.auth-form {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.auth-form.active-form {
    display: block;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--white);
    margin-bottom: 8px;
}

.form-header p {
    font-size: 13px;
    color: var(--gray-300);
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cyan);
    font-size: 16px;
    z-index: 2;
}

.input-group input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 15px 14px 45px;
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--cyan);
    background: rgba(0, 229, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
}

.pwd-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-300);
    cursor: pointer;
    z-index: 2;
    transition: var(--transition);
}

.pwd-toggle:hover {
    color: var(--cyan);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.terms-group {
    justify-content: flex-start;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    font-size: 12px;
    color: var(--gray-100);
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 16px;
    width: 16px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: var(--transition);
}

.checkbox-container:hover input~.checkmark {
    border-color: var(--cyan);
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--cyan);
    border-color: var(--cyan);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid var(--bg-primary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-pwd {
    color: var(--cyan);
    font-size: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.forgot-pwd:hover {
    text-shadow: 0 0 8px var(--cyan);
}

.terms-group a {
    color: var(--cyan);
    text-decoration: none;
    margin-left: 4px;
}

.auth-submit-btn {
    width: 100%;
    background: transparent;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    padding: 14px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.auth-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cyan);
    z-index: 1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.auth-submit-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.auth-submit-btn span,
.auth-submit-btn i {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.auth-submit-btn:hover span,
.auth-submit-btn:hover i {
    color: var(--bg-primary);
}

/* Loading State for Button */
.auth-submit-btn.loading {
    pointer-events: none;
    border-color: rgba(0, 229, 255, 0.5);
}

.auth-submit-btn.loading::before {
    background: rgba(0, 229, 255, 0.2);
    transform: scaleX(1);
    animation: pulse 1.5s infinite;
}

.form-message {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Update Nav for User Profile */
.nav-user {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid transparent;
}

.nav-user i {
    color: var(--cyan);
    font-size: 16px;
}

.nav-user:hover {
    background: rgba(0, 229, 255, 0.05);
    border-color: rgba(0, 229, 255, 0.2);
    color: var(--cyan);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}