/* Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-bg: #1a2b34;
    --secondary-bg: #152229;
    --accent-yellow: #f1c40f;
    --accent-cyan: #00d2d3;
    --text-white: #ffffff;
    --card-bg: #2c3e50;
    --input-bg: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-white);
    opacity: 0;
    animation: fadeInMain 0.5s ease-out forwards;
}

@keyframes fadeInMain {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Navbar Modern Styles */
.glass-navbar {
    background: rgba(26, 43, 52, 0.98) !important;
    /* Almost solid */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 0;
    /* Slightly reduced padding */
    transition: all 0.3s ease;
    z-index: 1050;
    /* Ensure it stays on top */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    /* Stronger shadow */
}

.navbar-brand {
    font-size: 1.6rem;
    /* Slightly larger */
}

.brand-logo-text {
    font-weight: 900;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan) 50%, var(--accent-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 210, 211, 0.4);
    /* Nice glow */
    font-family: 'Poppins', sans-serif;
}

.brand-icon {
    font-size: 1.4rem;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #ff9f43 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(241, 196, 15, 0.5));
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    border-radius: 50px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white) !important;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link i {
    opacity: 0.7;
    transition: opacity 0.3s;
}

.nav-link:hover i {
    opacity: 1;
}

/* Dropdown Animation */
.dropdown-menu {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #2c3e50;
    /* Fallback */
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    margin-top: 15px !important;
    /* Spacing from nav */
}

.dropdown-item {
    padding: 10px 20px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: 25px;
    /* Slide effect */
    color: var(--accent-cyan) !important;
}

/* Navbar Toggler */
.navbar-toggler {
    outline: none !important;
    box-shadow: none !important;
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-bg);
    padding: 80px 0;
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-highlight-cyan {
    color: var(--accent-cyan);
}

.text-highlight-yellow {
    color: var(--accent-yellow);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #aab7c4;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-description {
    color: #aab7c4;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Unlock Form Card */
.unlock-card {
    background-color: #1e272e;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-label {
    color: #ecf0f1;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.form-select,
.form-control {
    background-color: var(--input-bg);
    border: none;
    height: 50px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.btn-unlock {
    background: linear-gradient(90deg, #2980b9, #2c3e50);
    color: white;
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-unlock:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Video Section */
.video-section {
    padding: 60px 0;
    background-color: var(--primary-bg);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 50px;
}

.video-card {
    background-color: #1e272e;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
}

.video-thumbnail {
    position: relative;
    height: 200px;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-content {
    padding: 20px;
}

.badge-router {
    background-color: var(--accent-cyan);
    color: #000;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: inline-block;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.video-desc {
    font-size: 0.9rem;
    color: #bdc3c7;
}

/* Brand Marquee Section */
.brand-marquee-section {
    padding: 20px 0;
    background-color: var(--primary-bg);
    overflow: hidden;
}

.marquee-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 2rem;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    min-width: 100%;
    gap: 2rem;
    animation: scroll 20s linear infinite;
}

.brand-card {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    /* No padding as requested, or minimal */
    transition: transform 0.3s ease;
}

.brand-card:hover {
    transform: scale(1.1);
}

.brand-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - 2rem));
    }
}

/* Flip Card Styles */
.flip-container {
    perspective: 1000px;
}

.flipper {
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.flip-container.flipped .flipper {
    transform: rotateY(180deg);
}

.front,
.back {
    width: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    top: 0;
    left: 0;
}

.front {
    z-index: 2;
    transform: rotateY(0deg);
}

.back {
    transform: rotateY(180deg);
    position: absolute;
    top: 0;
}

/* Bootstrap Button Overrides */
.btn-primary {
    background-color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: #1a2b34;
    /* Dark text on light cyan */
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #00b5b6;
    border-color: #00b5b6;
    color: #1a2b34;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--accent-cyan);
    color: #1a2b34;
}

/* Clean Reviews Design */
.reviews-section {
    background: #000 !important;
    padding: 80px 0;
}

.reviews-carousel {
    padding: 20px 0 50px;
}

/* Box-Type Reviews Design */
.review-card {
    background: #111 !important;
    border: 1px solid #333 !important;
    border-radius: 4px !important;
    /* Sharp boxy corners */
    padding: 25px !important;
    height: 100%;
    position: relative;
    transition: all 0.2s ease;
}

.review-card:hover {
    border-color: #555 !important;
    background: #151515 !important;
}

.review-card .stars {
    color: #ffc107;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.review-card .device-info {
    font-weight: 700;
    color: #fff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.review-card .comment {
    color: #bbb;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: 60px;
}

.review-card .reviewer-meta {
    border-top: 1px solid #222;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-card .reviewer-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
}

.review-card .reviewer-location {
    color: #555;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
}

.swiper-pagination-bullet {
    background: #fff !important;
    opacity: 0.2;
}

.swiper-pagination-bullet-active {
    background: var(--accent-cyan) !important;
    opacity: 1;
}