/* Custom CSS for PrivacyGuide Clone */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Rating Circle Styles */
.rating-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700 0%, #90EE90 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.rating-circle::before {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
}

.rating-number {
    position: relative;
    z-index: 1;
    font-size: 24px;
    font-weight: bold;
    color: #2D3748;
}

/* Smooth transitions */
a,
button {
    transition: all 0.3s ease;
}

/* Hover effects for cards */
.bg-white.rounded-lg:hover {
    transform: translateY(-2px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Sticky banner animation */
#sticky-banner {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .rating-circle {
        width: 60px;
        height: 60px;
    }

    .rating-circle::before {
        width: 52px;
        height: 52px;
    }

    .rating-number {
        font-size: 20px;
    }
}

/* Button hover effects */
.bg-primary-red:hover {
    transform: scale(1.02);
}

/* Shadow variations */
.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* List styling */
ul li::before {
    content: none;
}

/* Link styling */
nav a {
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #E31E24;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Badge styles */
.bg-orange-400 {
    background-color: #FB923C;
}

/* Price styling */
.line-through {
    text-decoration: line-through;
}

/* Footer links */
footer a {
    position: relative;
    display: inline-block;
}

footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #fff;
    transition: width 0.3s ease;
}

footer a:hover::after {
    width: 100%;
}



.rating-bar {
    width: 20px;
    height: 20px;
    background: #e5e7eb;
    border-radius: 3px;
    margin: 0 2px;
}

.rating-bar.filled {
    background: #22c55e;
}

.rating-bar.partial {
    background: #fb923c;
}

.comparison-scroll {
    overflow-x: auto;
}

.comparison-table {
    min-width: 900px;
}



.hamburger-active .line-bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-active .line-bar:nth-child(2) {
    opacity: 0;
}

.hamburger-active .line-bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Slide menu from right */
#nav-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

#nav-menu.active {
    transform: translateX(0);
}

/* Overlay */
#overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

#overlay.active {
    opacity: 1;
    pointer-events: auto;
}