/* ==================== ROOT & VARIABLES ==================== */
:root {
    --bg: #030303;
    --accent: #00f2fe;
    --secondary: #25d366;
    --text-main: #ffffff;
    --text-sub: rgba(255, 255, 255, 0.6);
    --card-bg: #0d0d0d;
    --font-head: 'Syne', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
}

/* ==================== BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4%;
}

/* ==================== CUSTOM CURSOR ==================== */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
}

.cursor-follower {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(0, 242, 254, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: 0.1s ease-out;
}

/* ==================== PRELOADER ==================== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-content {
    text-align: center;
}

.reveal-text {
    font-family: var(--font-head);
    font-size: 3rem;
    letter-spacing: 10px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 20px;
}

.progress-bar-container {
    width: 300px;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--accent);
    transition: width 1.5s ease-in-out;
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1rem 2rem;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--secondary);
}

.brand-text {
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-sub);
    font-weight: 500;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.join-btn {
    background: var(--text-main);
    color: var(--bg);
    padding: 0.6rem 1.4rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.join-btn:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-2px);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    min-height: 100vh;
    padding-top: 150px;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, #ffffff05 1px, transparent 1px);
    background-size: 40px 40px;
}

.blob-gradient {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.1) 0%, transparent 70%);
    filter: blur(80px);
}

.hero-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.badge {
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.main-title {
    font-family: var(--font-head);
    font-size: clamp(3rem, 10vw, 6rem);
    line-height: 1;
    font-weight: 800;
    margin-bottom: 2rem;
}

.outlined {
    -webkit-text-stroke: 1px var(--text-main);
    color: transparent;
}

.hero-para {
    color: var(--text-sub);
    font-size: 1.2rem;
    max-width: 550px;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
    padding: 1.2rem 2.5rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.3);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 1.2rem 2.5rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-5px);
}

.frame {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    width: 450px;
}

.main-img {
    width: 100%;
    display: block;
    filter: grayscale(0.5);
    transition: 0.5s;
}

.main-img:hover {
    filter: grayscale(0);
}

.floating-card {
    position: absolute;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.c1 {
    top: 20%;
    right: -50px;
}

.c2 {
    bottom: 10%;
    left: -50px;
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
    padding: 100px 0;
    background: #080808;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.about-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.about-card h3 {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-card p {
    color: var(--text-sub);
    line-height: 1.8;
}

/* ==================== SHOWCASE/PROJECTS SECTION ==================== */
.showcase {
    padding: 100px 0;
}

.section-head {
    margin-bottom: 5rem;
    text-align: center;
}

.sub-title {
    font-family: var(--font-head);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.head-text {
    color: var(--text-sub);
    font-size: 1.1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    padding: 4rem 2rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    transition: 0.3s;
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
}

.card-num {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    font-weight: 800;
    opacity: 0.05;
}

.card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 2rem;
}

.card h3 {
    font-family: var(--font-head);
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-sub);
    line-height: 1.8;
}

/* ==================== GALLERY SECTION ==================== */
.gallery-section {
    padding: 100px 0;
    background: #080808;
}

.mySwiper {
    padding: 50px 0;
}

.swiper-slide {
    width: 350px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet {
    background: var(--accent);
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    padding: 100px 0;
}

.contact-content {
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.contact-item {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.contact-item i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-sub);
}

/* ==================== PRIVACY SECTION ==================== */
.privacy-section {
    padding: 100px 0;
    background: #080808;
}

.privacy-content {
    background: var(--card-bg);
    padding: 4rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    max-width: 900px;
    margin: 4rem auto;
}

.privacy-content p {
    color: var(--text-sub);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.privacy-content h4 {
    color: var(--accent);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

/* ==================== FOOTER ==================== */
footer {
    padding: 100px 0 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5rem;
}

.footer-info h3 {
    font-family: var(--font-head);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.footer-info p {
    color: var(--text-sub);
    margin-bottom: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 2rem;
}

.footer-social a {
    color: var(--text-main);
    font-size: 1.5rem;
    transition: 0.3s;
}

.footer-social a:hover {
    color: var(--accent);
}

.bottom-bar {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-sub);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .hero-flex {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-para {
        margin: 1.5rem 0 2rem;
    }

    .hero-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .frame {
        width: 100%;
        max-width: 400px;
        margin: 40px auto;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    .navbar {
        width: 96%;
        top: 10px;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }

    .sub-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .navbar {
        padding: 0.8rem 1rem;
    }

    .join-btn {
        padding: 0.5rem 1rem;
        font-size: 0.7rem;
    }
}