/* style.css */

:root {
    --bg-dark: #0a0a1a; /* Slightly darker background */
    --bg-card: #1a1a2e;
    --bg-header: #1a2b4c;
    --text-light: #e0e0e0;
    --text-secondary: #b0b3c1;
    --accent-blue: #47c4ff;
    --accent-purple: #7f58e6;
    --accent-gold: gold;
    --border-blue: #2c3e50;
    --border-gold: #a08000;
    --gradient-header: linear-gradient(145deg, #0f1c3f, #1a2a50);
    --gradient-card-free: linear-gradient(135deg, #1a1a2e, #121828);
    --gradient-card-premium: linear-gradient(135deg, #2e1a1a, #1c1111);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
    scroll-behavior: smooth;
    overflow-x: hidden;
    position: relative; /* Needed for bubble positioning */
    cursor: none; /* Hide default cursor for a cleaner effect */
}

/* --- Bubble Effect Styling --- */
.bubble-container {
    position: fixed; /* Fixed position so it stays in viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Allow clicks to pass through */
    z-index: 9999; /* Ensure bubbles are on top */
}

.bubble {
    position: absolute;
    width: 10px; /* Initial size */
    height: 10px;
    background-color: rgba(71, 196, 255, 0.5); /* Blue with transparency */
    border-radius: 50%; /* Make it round */
    pointer-events: none; /* Ensure it doesn't interfere with clicks */
    animation: bubble-fade 1s ease-out forwards; /* Animation */
}

/* Animation Keyframes */
@keyframes bubble-fade {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--move-x, 0), var(--move-y, 0)) scale(0.5); /* Use CSS variables for movement */
        opacity: 0;
    }
}


/* Optional: Add a subtle background pattern or effect */
/*
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('path/to/subtle-pattern.png') repeat; // Replace with a subtle pattern image
    opacity: 0.05; // Adjust opacity
    z-index: -1;
    pointer-events: none; // Ensure it doesn't interfere with clicks
}
*/


.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

/* --- Header (Main Page) --- */
.main-header {
    background: var(--gradient-header);
    padding: 100px 20px 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--accent-blue);
}

.main-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.8rem;
    margin-bottom: 25px;
    color: #fff;
    text-shadow: 0 0 20px var(--accent-blue), 0 0 30px var(--accent-blue), 0 0 40px rgba(71, 196, 255, 0.3);
}

.main-header p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: auto;
    color: var(--text-secondary);
    margin-bottom: 50px;
}

/* --- Section Styling --- */
section {
    padding: 80px 0;
}

h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 50px;
    text-align: center;
    color: #fff;
    position: relative;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: var(--accent-blue);
    margin: 20px auto 0;
    border-radius: 3px;
}

/* --- Plan Sections --- */
.plans {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: stretch;
}

.plan-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 40px;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}


.freemium {
    border-top: 5px solid var(--accent-blue);
    background: var(--gradient-card-free);
}

.premium {
    border-top: 5px solid var(--accent-gold);
    background: var(--gradient-card-premium);
}

.plan-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 25px;
    text-align: center;
}

.freemium h3 { color: var(--accent-blue); }
.premium h3 { color: var(--accent-gold); }


.plan-card p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    text-align: center;
    flex-grow: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.freemium .features-grid {
     grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
     justify-items: stretch;
     align-items: stretch;
}


.feature-item {
    background: rgba(255, 255, 255, 0.07);
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.3s ease, transform 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}


.freemium .feature-item {
     border-left: 4px solid var(--accent-blue);
     color: var(--accent-blue);
     background: rgba(71, 196, 255, 0.15);
     border-color: var(--accent-blue);
}
 .freemium .feature-item i {
     color: var(--accent-blue);
 }

.premium .feature-item {
     border-left: 4px solid var(--accent-gold);
     color: var(--accent-gold);
      background: rgba(255, 215, 0, 0.15);
      border-color: var(--accent-gold);
}
 .premium .feature-item i {
     color: var(--accent-gold);
 }


.buttons {
    text-align: center;
    margin-top: auto;
    padding-top: 20px;
}

.btn {
    display: inline-block;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 8px;
    margin: 10px 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    min-width: 160px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transition: transform 0.5s ease;
    transform: scaleX(0);
    transform-origin: right;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}


.invite {
    background: var(--accent-blue);
    color: var(--bg-dark);
    border: 2px solid var(--accent-blue);
}
.invite:hover {
    background: transparent;
    color: var(--accent-blue);
}

.support {
    background: var(--accent-purple);
    color: white;
    border: 2px solid var(--accent-purple);
}
.support:hover {
    background: transparent;
    color: var(--accent-purple);
}

.premium-btn {
    background: var(--accent-gold);
    color: var(--bg-dark);
    border: 2px solid var(--accent-gold);
}
.premium-btn:hover {
    background: transparent;
    color: var(--accent-gold);
}

/* --- Pricing Tiers (Premium Card) --- */
.pricing-tiers {
    margin-top: 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.pricing-tiers h4 {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-family: 'Orbitron', sans-serif;
}

.pricing-tiers p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 1.5;
}

.pricing-tiers p strong {
    color: var(--text-light);
}


/* --- FAQ --- */
.faq h3 {
    font-size: 1.5rem;
    margin-bottom: 18px;
    color: var(--accent-blue);
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq h3:hover {
    color: white;
}

.faq h3 i {
    margin-right: 12px;
    transition: transform 0.3s ease;
}

.faq p {
    margin-bottom: 35px;
    color: var(--text-secondary);
    padding-left: 30px;
    border-left: 3px solid rgba(71, 196, 255, 0.4);
    padding-top: 10px;
}
 .faq p:last-child {
     margin-bottom: 0;
 }


/* --- Testimonials --- */
.testimonials-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
     gap: 30px;
}

.testimonial-item {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-top: 3px solid var(--accent-purple);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.testimonial-item p:first-of-type {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 15px;
    flex-grow: 1;
}
 .testimonial-item p:last-child {
     margin-top: 10px;
     font-style: normal;
     font-weight: 500;
     color: var(--accent-purple);
     text-align: right;
     font-size: 1rem;
 }


/* --- Docs --- */
.docs p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.docs ul {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    margin-top: 25px;
}

.docs li {
    background: rgba(255, 255, 255, 0.07);
    padding: 12px 18px;
    border-radius: 8px;
    font-family: monospace;
    color: var(--accent-blue);
    border-left: 4px solid var(--accent-blue);
    border: 1px solid rgba(71, 196, 255, 0.3);
    transition: background 0.3s ease;
}

.docs li:hover {
    background: rgba(255, 255, 255, 0.1);
}


/* --- Policy/Terms Page Specific Styling --- */
.policy-page .container {
     padding-top: 80px;
     padding-bottom: 80px;
}

.policy-page h2 {
    margin-bottom: 40px;
}

.policy-page h3 {
    font-size: 1.8rem;
    margin-top: 50px;
    margin-bottom: 20px;
    color: var(--accent-blue);
    font-family: 'Orbitron', sans-serif;
}
.policy-page h3:first-of-type {
    margin-top: 0;
}

.policy-page h4 {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 12px;
    color: var(--text-light);
}

.policy-page p {
    margin-bottom: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.policy-page a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}
.policy-page a:hover {
    color: white;
    text-decoration: underline;
}


/* --- Footer --- */
footer {
    background: #0a0a14;
    color: #888;
    text-align: center;
    padding: 30px 20px;
    margin-top: 80px;
    font-size: 0.95rem;
    border-top: 3px solid var(--accent-blue);
}

footer a {
    color: var(--accent-blue);
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}
footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
     .main-header h1 {
         font-size: 3rem;
     }
     h2 {
         font-size: 2.3rem;
     }
     .plan-card {
         padding: 30px;
     }
     .plan-card h3 {
         font-size: 1.8rem;
     }
     .plan-card p {
         font-size: 1.1rem;
     }
     .feature-item {
         font-size: 0.95rem;
         padding: 10px 15px;
         gap: 10px;
     }
     .pricing-tiers h4 {
         font-size: 1.2rem;
     }
     .pricing-tiers p {
         font-size: 1rem;
     }
     .btn {
         padding: 12px 28px;
         font-size: 1rem;
         min-width: 140px;
     }
     .faq h3 {
         font-size: 1.4rem;
     }
     .faq p {
         padding-left: 25px;
     }
     .policy-page h3 {
         font-size: 1.6rem;
     }
     .policy-page h4 {
         font-size: 1.2rem;
     }
}

@media (max-width: 768px) {
    .main-header h1 {
        font-size: 2.5rem;
    }

    .main-header p {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 2rem;
    }

    .plan-card {
        padding: 30px;
    }

    .plan-card h3 {
         font-size: 1.7rem;
    }

     /* Allow auto-fit on smaller screens */
     .features-grid,
     .freemium .features-grid {
         grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
         gap: 15px;
     }


     .btn {
         padding: 12px 25px;
         font-size: 0.9rem;
         min-width: unset;
     }

    .plans {
        flex-direction: column;
        align-items: center;
    }
    .plan-card {
        width: 100%;
        max-width: 450px;
    }

    .testimonials-grid {
         grid-template-columns: 1fr;
    }

    .docs ul {
         grid-template-columns: 1fr;
    }

    footer a {
        display: block;
        margin: 10px 0;
    }

    .policy-page .container {
        padding-top: 40px;
        padding-bottom: 40px;
    }
     .policy-page h3 {
         font-size: 1.5rem;
     }
}

@media (max-width: 480px) {
    .main-header h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .plan-card {
         padding: 25px;
    }

     .plan-card h3 {
         font-size: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
    }
     .feature-item {
         font-size: 0.9rem;
         padding: 8px 12px;
         gap: 8px;
     }
     .pricing-tiers h4 {
         font-size: 1.1rem;
     }
     .pricing-tiers p {
         font-size: 0.95rem;
     }
      .faq h3 {
         font-size: 1.3rem;
     }
      .faq p {
         padding-left: 20px;
     }
      .policy-page h3 {
         font-size: 1.4rem;
     }
      .policy-page h4 {
         font-size: 1.1rem;
     }
}
