/* ============================================
   RATE - Modern Landing Page (Rebranded V2)
   Target: 14-25yo, trendy, gossip-focused
   Vibe: Bold, Colorful, Energetic
   ============================================ */

/*** Reset & Base ***/
:root {
    /* Brand Colors - Logo Inspired */
    --pink: #FF006B;
    --purple: #9D4EDD;
    --blue: #00D9FF;
    --yellow: #FFD60A;
    --orange: #FF6B35;
    
    /* Gradients - Vibrant & Bold */
    --gradient-hero: linear-gradient(135deg, #FF006B 0%, #9D4EDD 50%, #00D9FF 100%);
    --gradient-section: linear-gradient(135deg, #9D4EDD 0%, #00D9FF 100%);
    --gradient-card1: linear-gradient(135deg, #FF006B 0%, #FF6B35 100%);
    --gradient-card2: linear-gradient(135deg, #9D4EDD 0%, #00D9FF 100%);
    --gradient-card3: linear-gradient(135deg, #FFD60A 0%, #FF6B35 100%);
    --gradient-button: linear-gradient(135deg, #FF006B 0%, #9D4EDD 100%);
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-secondary);
    font-weight: 400;
    color: #fff;
    background: linear-gradient(135deg, 
        #FF006B 0%,
        #9D4EDD 33%,
        #00D9FF 66%,
        #9D4EDD 0%,
        #FF006B 100%

    );
    background-attachment: fixed;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

p, li, span {
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/*** Navbar - Transparent & Clean ***/
.navbar {
    background: transparent !important;
    backdrop-filter: none;
    box-shadow: none;
    border-bottom: none;
    transition: all 0.3s ease, transform 0.3s ease;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    min-height: 90px;
    position: relative;
    z-index: 999;
}

.navbar.sticky-top {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.navbar-brand img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: rotate(10deg) scale(1.1);
}

.navbar-brand h1 {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.075);
}

.navbar.sticky-top .navbar-brand h1 {
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 600;
    color: #fff !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 999px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.navbar.sticky-top .nav-link {
    color: #ffffff !important;
    text-shadow: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-button);
    transition: width 0.3s ease;
}


/*** Hero Section - Transparent ***/
.hero-header {
    background: transparent !important;
    min-height: 10vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-header::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    top: -300px;
    right: -200px;
    animation: pulse 4s ease-in-out infinite;
}

.hero-header::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    bottom: -200px;
    left: -150px;
    animation: pulse 5s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.055);
    position: relative;
    z-index: 1;
}

.hero-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

/*** Download Buttons - Bold & Vibrant ***/
.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2.5rem;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.151);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

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

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

.download-btn:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 20px 60px var(--purple);
    border-color: var(--purple);
}

.download-btn.primary {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.download-btn i {
    font-size: 2.5rem;
    color: #fff;
}

.download-btn h5,
.download-btn p {
    color: #fff !important;
}

/*** Screenshot Carousel - Modern Cards ***/
.screenshot-carousel .owl-item img {
    border-radius: 35px;
    box-shadow: 0 20px 60px rgba(255, 0, 107, 0.25);
    border: 5px solid #fff;
    transition: all 0.4s ease;
}

.screenshot-carousel .owl-item img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 25px 70px rgba(139, 92, 246, 0.35);
}

/*** Section Titles - Bold & Vibrant ***/
.text-primary-gradient {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: white;
    background-clip: text;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 3rem;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.055);
}

/*** Feature Cards - White background ***/
.feature-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px var(--purple);
    border-color: var(--purple);
}

.feature-item .icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.feature-item:nth-child(1) .icon-circle,
.feature-item:nth-child(4) .icon-circle {
    background: var(--gradient-card1);
}

.feature-item:nth-child(2) .icon-circle,
.feature-item:nth-child(5) .icon-circle {
    background: var(--gradient-card2);
}

.feature-item:nth-child(3) .icon-circle,
.feature-item:nth-child(6) .icon-circle {
    background: var(--gradient-card3);
}

.feature-item .icon-circle::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    top: -100%;
    left: -100%;
    transition: all 0.6s;
}

.feature-item:hover .icon-circle::after {
    top: 100%;
    left: 100%;
}

.feature-item h5 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);

}

.feature-item p {
    color: #fff;
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/*** Process/Steps - Timeline Style ***/
.process-item {
    background: linear-gradient(135deg, #fff 0%, #FFF5FA 100%);
    border-radius: 30px;
    padding: 3rem 2rem;
    position: relative;
    border: 3px solid rgba(255, 0, 107, 0.1);
    transition: all 0.4s ease;
}

.process-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(255, 0, 107, 0.2);
}

.process-item .step-number {
    width: 100px;
    height: 100px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.process-item:nth-child(1) .step-number {
    background: var(--gradient-primary);
}

.process-item:nth-child(2) .step-number {
    background: var(--gradient-secondary);
}

.process-item:nth-child(3) .step-number {
    background: var(--gradient-accent);
}

/*** Testimonials - Card Style ***/
.testimonial-item {
    background: #fff;
    border-radius: 25px;
    padding: 2.5rem;
    border: 3px solid rgba(255, 0, 107, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(255, 0, 107, 0.2);
}

.testimonial-item img {
    width: 85px;
    height: 85px;
    border-radius: 20px;
    border: 4px solid var(--primary);
    padding: 0.3rem;
    object-fit: cover;
}

.testimonial-item h5 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1A1A1A;
}

.testimonial-item p:first-of-type {
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
}

.testimonial-item p:last-of-type {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    font-style: italic;
}

/*** Footer - Transparent with gradient ***/
.footer {
    background: transparent !important;
    padding: 1rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: transparent; /* ensure no overlay */
}

.footer .btn-social {
    width: 55px;
    height: 55px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.footer .btn-social:hover {
    background: rgba(252, 252, 252, 0.4);
    border-color: var(--purple);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 214, 10, 0.4);
}

.footer .copyright {
    color: rgba(255, 255, 255, 0.9);
}

.footer .border-bottom {
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #fff !important;
}

/*** Animations ***/
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

.slideInDown {
    animation-name: slideInDown;
}

.fadeIn {
    animation-name: fadeIn;
}

.fadeInUp {
    animation-name: fadeInUp;
}

/*** Utility Classes ***/
body .bg-light {
    background: rgba(255, 255, 255, 0.05) !important;
}

.bg-primary-gradient {
    background: var(--gradient-button) !important;
}

.bg-secondary-gradient {
    background: var(--gradient-section) !important;
}

.text-white {
    color: #fff !important;
}

.rounded-circle {
    border-radius: 50% !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
}

.shadow {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
}

/* Container backgrounds - Transparent for smooth gradient */
.container-xxl.py-5,
.container-xxl {
    background: transparent;
    position: relative;
}

/* NO overlay on any section */
.container-xxl.py-5 > * {
    position: relative;
    z-index: 1;
}

/* Main container */
.container-xxl.bg-white {
    background: transparent !important;
}

/*** Responsive ***/
@media (max-width: 992px) {
    .hero-header h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .navbar-brand {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .hero-header h1 {
        font-size: 2rem;
        letter-spacing: -1px;
    }
    
    .hero-header p {
        font-size: 1.1rem;
    }
    
    .download-btn {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/*** Back to Top Button ***/
.back-to-top {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 0, 107, 0.3);
}

.back-to-top:hover {
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 15px 40px rgba(255, 0, 107, 0.4);
}

/*** Spinner - Fix infinite loading ***/
#spinner {
    z-index: 9999;
    background: var(--gradient-hero) !important;
    pointer-events: none;
}

#spinner.show {
    opacity: 1;
    visibility: visible;
}

#spinner:not(.show) {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.spinner-grow {
    background: var(--gradient-button) !important;
    width: 3rem !important;
    height: 3rem !important;
}

/* Process Steps */
.process-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.process-item:hover {
    border-color: var(--purple);
    background: rgba(255, 255, 255, 0.1);
}

.process-item h5 {
    color: #fff;
}

.process-item p {
    color: rgba(255, 255, 255, 0.85);
}

/* Testimonials */
.testimonial-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.testimonial-item:hover {
    border-color: var(--purple);
    background: rgba(255, 255, 255, 0.1);
}

.testimonial-item h5 {
    color: #fff;
}

.testimonial-item p {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* About section */
#about h1,
#about h5 {
    color: #fff;
}

#about p {
    color: rgba(255, 255, 255, 0.9);
}

/* Contact section */
#contact h1,
#contact h5,
#contact h6 {
    color: #fff;
}

/* Screenshot section */
.screenshot-carousel img {
    border: 3px solid var(--pink);
}

/* Hide Owl Carousel navigation dots and arrows for testimonials */
.owl-carousel .owl-nav,
.owl-carousel .owl-dots {
    display: none !important;
}

/* Small spacing between feature cards and testimonial section */
#review {
    margin-top: 2.5rem;
}

/* Back to top button - Fixed position */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-button);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(255, 214, 10, 0.6);
    border-color: var(--yellow);
}

.back-to-top i {
    color: #fff;
    font-size: 1.2rem;
}

/* Legal pages (terms & policy) - centralized styling
   - White text with dark shadow (rgba black 0.4)
   - Dark translucent container for readability
   - Link color and hover
*/
.hero-privacy {
    background: transparent;
    padding: 100px 0 60px;
    text-align: center;
    color: #fff;
}

.privacy-container {
    max-width: 960px;
    margin: 2.5rem auto;
    padding: 2.25rem;
    background: rgba(0, 0, 0, 0.45) !important; /* dark glass for white text */
    backdrop-filter: blur(8px);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 18px 50px rgba(0,0,0,0.45);
    color: #fff !important;
}

.privacy-container h1,
.privacy-container h2,
.privacy-container h3,
.privacy-container h4,
.privacy-container h5,
.privacy-container h6,
.privacy-container p,
.privacy-container li,
.privacy-container strong {
    color: #fff !important;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4) !important;
}

.privacy-container ul {
    padding-left: 1.25rem;
}

.privacy-container a {
    color: var(--yellow) !important;
    text-decoration: underline;
}

.privacy-container a:hover {
    color: var(--pink) !important;
    text-decoration: none;
}

/* Ensure code blocks / pre are readable */
.privacy-container pre,
.privacy-container code {
    color: rgba(255,255,255,0.95) !important;
    background: rgba(255,255,255,0.03) !important;
}
