/* Base Config */
:root {
    --color-platinum: #e5e4e2;
    --color-platinum-dim: #c0c0c0;
    --color-bg-main: #18181b; /* Zinc-900 instead of Black */
    --color-bg-surface: #27272a; /* Zinc-800 for cards */
    --color-text-main: #f4f4f5;
    --color-text-muted: #a1a1aa;
    --color-accent: #d4d4d8;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg-main); }
::-webkit-scrollbar-thumb { background: #52525b; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-platinum); }

/* Animation Utils */
@keyframes slow-zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}
.animate-slow-zoom {
    animation: slow-zoom 20s infinite alternate ease-in-out;
}

@keyframes fade-in-up {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Form Styling */
.glass-form {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
}

/* Input Autofill Fix for Dark Mode */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-text-fill-color: white;
    -webkit-box-shadow: 0 0 0px 1000px #27272a inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* Platinum Button Effect */
.btn-platinum {
    background: #e5e4e2;
    color: #18181b;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-platinum::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    transition: 0.5s;
}

.btn-platinum:hover::before {
    left: 100%;
}

.btn-outline-platinum {
    border: 1px solid rgba(229, 228, 226, 0.3);
    color: var(--color-platinum);
    transition: all 0.3s ease;
}
.btn-outline-platinum:hover {
    border-color: var(--color-platinum);
    background: rgba(229, 228, 226, 0.05);
}

/* Typography & Sections */
h1, h2, h3 { letter-spacing: -0.01em; }

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    width: 100%;
    margin: 0 auto;
}

/* Card Hover Effects */
.feature-card {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.3);
}

/* Comparison Table */
.comparison-row:hover {
    background-color: rgba(255,255,255,0.03);
}

/* Mobile Menu */
.mobile-link {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}
.mobile-link:hover {
    transform: translateX(5px);
    color: var(--color-platinum);
}

::selection {
    background: var(--color-platinum);
    color: var(--color-bg-main);
}

/* Accordion Styles */
.accordion-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid transparent;
}
.accordion-item:hover {
    transform: translateX(10px);
    background-color: rgba(255,255,255,0.05);
    border-left-color: var(--color-platinum);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease-out, transform 0.5s ease;
    opacity: 0;
    transform: translateY(-10px);
}
.accordion-item.active .accordion-content {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 1rem;
    padding-bottom: 0.5rem;
}
.accordion-icon {
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}
.accordion-item.active {
    border-left-color: var(--color-platinum) !important;
    background-color: rgba(255,255,255,0.05);
    box-shadow: 0 4px 20px -5px rgba(0,0,0,0.5);
}

/* Shiny Text Effect - Enhanced Visibility */
.shiny-text {
    background: linear-gradient(
        120deg,
        #4a4a4a 0%,
        #7a7a7a 25%,
        #ffffff 50%,
        #7a7a7a 75%,
        #4a4a4a 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine-animation 3s linear infinite;
    display: inline-block;
    filter: drop-shadow(0 0 2px rgba(255,255,255,0.3));
}

@keyframes shine-animation {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}