/* Cyberpunk Theme for ZipTok Website */

:root {
    --primary-color: #00f3ff;
    --secondary-color: #ff00e6;
    --accent-color: #fffc00;
    --dark-bg: #0a0a12;
    --darker-bg: #050508;
    --text-color: #e0e0e0;
    --text-secondary: #a0a0a0;
    --glow-shadow: 0 0 10px rgba(0, 243, 255, 0.7), 0 0 20px rgba(0, 243, 255, 0.5), 0 0 30px rgba(0, 243, 255, 0.3);
    --neon-shadow: 0 0 5px rgba(255, 0, 230, 0.7), 0 0 10px rgba(255, 0, 230, 0.5), 0 0 15px rgba(255, 0, 230, 0.3);
}

/* Base Styles */
body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 18, 0.9) 0%, rgba(5, 5, 8, 0.95) 100%);
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-shadow: var(--glow-shadow);
}

.container {
    position: relative;
    z-index: 1;
}

/* Navbar Styles */
.navbar {
    background-color: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--primary-color);
    text-shadow: var(--glow-shadow);
    letter-spacing: 2px;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary-color);
    text-shadow: var(--glow-shadow);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-color: var(--darker-bg);
    position: relative;
    overflow: hidden;
    padding-top: 76px; /* Navbar height */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 243, 255, 0.1) 0%, rgba(5, 5, 8, 0) 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    max-width: 100%;
    max-height: 90%;
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    transform: perspective(1000px) rotateY(15deg);
    transition: all 0.5s ease;
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(-15deg);
    box-shadow: var(--glow-shadow);
}

/* Glitch Text Effect */
.glitch-text {
    position: relative;
    color: var(--primary-color);
    text-shadow: var(--glow-shadow);
    animation: glitch 5s infinite alternate;
}

@keyframes glitch {
    0%, 100% {
        text-shadow: var(--glow-shadow);
    }
    33% {
        text-shadow: 0 0 10px rgba(255, 0, 230, 0.7), 0 0 20px rgba(255, 0, 230, 0.5), 0 0 30px rgba(255, 0, 230, 0.3);
        transform: skewX(0.5deg);
    }
    66% {
        text-shadow: 0 0 10px rgba(255, 252, 0, 0.7), 0 0 20px rgba(255, 252, 0, 0.5), 0 0 30px rgba(255, 252, 0, 0.3);
        transform: skewX(-0.5deg);
    }
}

/* Button Styles */
.btn {
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.75rem 1.5rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

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

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

.btn-primary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    color: var(--darker-bg);
    border-color: var(--primary-color);
}

.btn-outline-secondary {
    background-color: transparent;
    border: 2px solid var(--text-secondary);
    color: var(--text-secondary);
}

.btn-outline-secondary:hover {
    background-color: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-glow {
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.btn-glow:hover {
    box-shadow: var(--glow-shadow);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--dark-bg);
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.neon-line {
    height: 2px;
    width: 100px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 1.5rem;
    box-shadow: var(--glow-shadow);
}

.feature-item {
    margin-bottom: 5rem;
    position: relative;
    align-items: center;
}

.feature-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
    mask-image: radial-gradient(ellipse 50% 50% at center, black 40%, transparent 100%);
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
}

.feature-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.2) 0%, rgba(255, 0, 230, 0.2) 100%);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 1;
}

.feature-image:hover::before {
    opacity: 1;
}

.feature-image img {
    aspect-ratio: 9/16;
    object-fit: contain;
    transition: all 0.5s ease;
}

.feature-image:hover img {
    transform: scale(1.05);
}

.feature-content {
    padding: 2rem;
}

.feature-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(10, 10, 18, 0.9) 0%, rgba(5, 5, 8, 0.95) 100%), url('https://picsum.photos/id/1/1920/1080') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 243, 255, 0.2) 0%, rgba(5, 5, 8, 0) 70%);
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background-color: var(--darker-bg);
    padding: 4rem 0 2rem;
    position: relative;
    border-top: 1px solid rgba(0, 243, 255, 0.2);
}

.footer h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.footer p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-shadow: var(--glow-shadow);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--text-secondary);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: var(--glow-shadow);
    transform: translateY(-3px);
}

.social-links .bi{
    display: flex;
}

.copyright {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.copyright a {
    color: var(--text-secondary);
}

.copyright a:hover {
    color: var(--primary-color);
}

/* Tutorial Page Styles */
.tutorial-section {
    padding: 8rem 0 6rem;
    background-color: var(--dark-bg);
    overflow-x: hidden;
}

.tutorial-slider {
    margin: 3rem 0;
}

.tutorial-slide {
    padding: 2rem;
    background-color: rgba(5, 5, 8, 0.7);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.slide-img{
    aspect-ratio: 1 / 1;
}

.tutorial-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.tutorial-slide h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.slick-dots li button:before {
    color: var(--text-secondary);
}

.slick-dots li.slick-active button:before {
    color: var(--primary-color);
}

.slick-prev, .slick-next {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 243, 255, 0.2);
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
}

.slick-prev:hover, .slick-next:hover {
    background-color: var(--primary-color);
}

.slick-prev:before, .slick-next:before {
    font-family: 'bootstrap-icons';
    font-size: 20px;
}

.slick-prev:before {
    content: '\F284';
}

.slick-next:before {
    content: '\F285';
}

.policy-section{
    padding: 8rem 0 6rem;
}

/* Contact Page Styles */
.contact-section {
    padding: 8rem 0 6rem;
    background-color: var(--dark-bg);
    position: relative;
}

.contact-form {
    background-color: rgba(5, 5, 8, 0.7);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-control {
    background-color: rgba(10, 10, 18, 0.7);
    border: 1px solid rgba(160, 160, 160, 0.3);
    color: var(--text-color);
    border-radius: 0;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: rgba(10, 10, 18, 0.9);
    border-color: var(--primary-color);
    box-shadow: var(--glow-shadow);
    color: var(--text-color);
}

.form-label {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-text {
    color: var(--text-secondary);
}

/* Privacy & Terms Page Styles */
.legal-section {
    padding: 8rem 0 6rem;
    background-color: var(--dark-bg);
}

.legal-content {
    background-color: rgba(5, 5, 8, 0.7);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.legal-content h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
}

.legal-content h3 {
    color: var(--text-color);
    margin: 2rem 0 1rem;
}

/* FAQ Section Styles */
.faqs-section {
    margin-top: 5rem;
}

.accordion {
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.accordion-item {
    background-color: rgba(5, 5, 8, 0.7);
    border: 1px solid rgba(0, 243, 255, 0.2);
    margin-bottom: 1rem;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
    border-color: var(--primary-color);
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-button {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-color);
    background-color: rgba(10, 10, 18, 0.8);
    padding: 1.25rem 1.5rem;
    box-shadow: none;
    border: none;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(10, 10, 18, 0.9);
    box-shadow: inset 0 0 10px rgba(0, 243, 255, 0.1);
    text-shadow: var(--glow-shadow);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e0e0e0'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300f3ff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.accordion-body {
    background-color: rgba(5, 5, 8, 0.5);
    color: var(--text-secondary);
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 243, 255, 0.1);
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero {
        height: auto;
        padding: 120px 0 0px;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero-image {
        margin-top: 0rem;
    }

    .hero-image img {
        transform: perspective(1000px) rotateY(15deg) scale(0.9);
    }

    .features{
        padding-bottom: 0;
    }
    
    .feature-content {
        padding: 2rem 0;
    }
    
    .feature-item {
        margin-bottom: 3rem;
    }
}

@media (max-width: 767.98px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero .lead {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .feature-item {
        margin-bottom: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
}

/* Animation Keyframes */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

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

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}