/* Navigation Bar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* Logo Styles */
.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.nav-logo-img {
    width: 2rem;
    height: 2rem;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    filter: brightness(0) saturate(100%) invert(72%) sepia(79%) saturate(1200%) hue-rotate(178deg) brightness(105%) contrast(105%);
}

.nav-logo:hover .nav-logo-img {
    transform: rotate(360deg);
    filter: brightness(0) saturate(100%) invert(60%) sepia(90%) saturate(1400%) hue-rotate(178deg) brightness(108%) contrast(108%);
}

.nav-logo:hover {
    transform: scale(1.05);
}

/* Navigation Menu Styles */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.3rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), #0ea5e9);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.nav-link:hover::after {
    width: 100%;
}

/* Button Styles */
.cta-button {
    background: linear-gradient(135deg, var(--secondary-color), #0ea5e9);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(3px);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section Styles */
.hero-section {
    padding: 120px 2rem 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
}

/* Bento Box Layout */
.bento-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0rem;
    position: relative;
}

.bento-box:hover {
    transform: scale(1.01);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: none;
}

/* Full Grid Bento */
.full-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    gap: 0;
    padding: 0;
    margin-bottom: 2rem;
    height: 500px;
    background-image: url('../assets/main-bento.jpg');
    background-size: cover;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.full-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 18, 18, 0.5);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.full-grid:hover::before {
    opacity: 0;
}

/* Half Grid Bento Row */
.bento-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.half-grid {
    display: grid;
    grid-template-rows: 1fr;
    gap: 0;
    padding: 0;
    height: 200px;
}

/* Bento Items */
.bento-item {
    padding: 0rem;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bento-item:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #1a1f25, #181c22);
    transform: scale(1.01);
}

/* Main Item */
.main-item {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(15, 20, 25, 0.2));
    padding: 4rem 6rem;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: .2rem;
    background: linear-gradient(135deg, var(--text-color) 0%, var(--secondary-color) 50%, #7dd3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.1;
    position: relative;
    z-index: 2;
}

.hero-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.8), 0 0 25px rgba(34, 197, 94, 0.6), 0 0 35px rgba(34, 197, 94, 0.4);
    border: 2px solid rgba(34, 197, 94, 0.3);
    position: relative;
}

.status-dot::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 15px rgba(34, 197, 94, 0.8), 0 0 25px rgba(34, 197, 94, 0.6), 0 0 35px rgba(34, 197, 94, 0.4);
    }
    50% {
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.9), 0 0 30px rgba(34, 197, 94, 0.7), 0 0 40px rgba(34, 197, 94, 0.5);
    }
    100% {
        box-shadow: 0 0 15px rgba(34, 197, 94, 0.8), 0 0 25px rgba(34, 197, 94, 0.6), 0 0 35px rgba(34, 197, 94, 0.4);
    }
}

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

.status-text {
    font-size: 0.9rem;
    color: rgba(245, 245, 245, 0.8);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(245, 245, 245, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.5;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.hero-description {
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.hero-description p {
    font-size: 1.1rem;
    color: rgba(245, 245, 245, 0.8);
    line-height: 1.6;
    max-width: 500px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.primary-btn,
.secondary-btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.primary-btn {
    background: linear-gradient(135deg, var(--secondary-color), #0ea5e9);
    color: white;
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.3);
}

.primary-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(56, 189, 248, 0.4);
    background: linear-gradient(135deg, #0ea5e9, var(--secondary-color));
}

.secondary-btn {
    background: transparent;
    color: var(--text-color);
    border: 2px solid rgba(56, 189, 248, 0.4);
    backdrop-filter: blur(10px);
}

.secondary-btn:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: var(--secondary-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.2);
}

/* Feature Items */
.feature-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(15, 20, 25, 0.1));
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 18, 18, 0.7);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.feature-item:hover::before {
    opacity: 0.3;
}

.feature-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--text-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.feature-item p {
    font-size: 1rem;
    color: rgba(248, 250, 252, 0.8);
    line-height: 1.4;
    font-weight: 500;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Stats specific styling */
.feature-item .stats-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
}

.feature-item .stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.feature-item .stat-divider-line {
    width: 1px;
    height: 45%;
    background: linear-gradient(to bottom, transparent, rgba(56, 189, 248, 0.3), transparent);
    flex-shrink: 0;
}

.feature-item .stat-card h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.4vw, 2rem);
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    line-height: 1.1;
    position: relative;
    z-index: 2;
    letter-spacing: -0.3px;
}

.feature-item .stat-card p {
    font-size: 0.7rem;
    color: rgba(248, 250, 252, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* CTA Item */
.cta-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(15, 20, 25, 0.1));
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.cta-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 18, 18, 0.7);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cta-item:hover::before {
    opacity: 0.3;
}

.cta-content {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.cta-item h3 {
    font-size: clamp(1rem, 1.8vw, 1.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, var(--text-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-item p {
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.8);
    margin-bottom: 1rem;
    line-height: 1.4;
    position: relative;
    z-index: 2;
    font-weight: 400;
}

.hero-cta {
    background: linear-gradient(135deg, var(--secondary-color), #0ea5e9);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.3);
    position: relative;
    z-index: 2;
    text-decoration: none;
}

.hero-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(56, 189, 248, 0.4);
    background: linear-gradient(135deg, #0ea5e9, var(--secondary-color));
}

/* Scroll state */
.navbar.scrolled {
    background: rgba(15, 20, 25, 0.98);
    box-shadow: 0 2px 25px rgba(0, 0, 0, 0.25);
}

/* ── Responsive: Navbar + Hero ───────────────────── */
@media (max-width: 1024px) {
    .hero-section {
        padding: 100px 1.5rem 3rem;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description p {
        font-size: 1rem;
    }

    .main-item {
        padding: 3rem 4rem;
    }

    .bento-row {
        gap: 1.5rem;
    }
}

@media (max-width: 830px) {
    .cta-button {
        display: none;
    }
}

@media (max-width: 900px) {
    .bento-row {
        gap: 1rem;
    }

    .half-grid {
        height: 180px;
    }

    .feature-item .stats-container {
        padding: 1rem 1.5rem;
    }

    .feature-item .stat-card h3 {
        font-size: 1.1rem;
    }

    .cta-item p {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1.2rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(15, 20, 25, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s ease;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
        padding: 1rem 0 2rem;
        gap: .5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 0;
    }

    .nav-link::after {
        bottom: 1rem;
    }

    .nav-button {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    /* Hamburger Animation */
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu .cta-button {
        margin-top: 1rem;
        width: 80%;
        justify-content: center;
    }

    .hero-section {
        padding: 90px 1rem 2rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        margin-bottom: 2rem;
    }

    .hero-description p {
        font-size: 0.95rem;
    }

    .hero-actions {
        gap: 1rem;
        justify-content: center;
    }

    .hero-status {
        justify-content: center;
    }

    .primary-btn,
    .secondary-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .full-grid {
        height: auto;
        margin-bottom: 1.5rem;
    }

    .main-item {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        gap: 2rem;
        padding: 2rem 1.5rem;
        min-height: 400px;
    }

    .bento-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .half-grid {
        height: auto;
    }

    .feature-item {
        padding: 1.5rem;
    }

    .feature-item .stats-container {
        flex-direction: row;
        padding: 1.25rem 0.75rem;
    }

    .cta-item {
        padding: 1.5rem;
    }

    .cta-item h3 {
        font-size: 1.4rem;
    }

    .cta-item p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .hero-cta {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .nav-logo span {
        display: none;
    }

    .nav-logo-img {
        width: 1.8rem;
        height: 1.8rem;
        margin-right: 0;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .hero-section {
        padding: 80px 0.8rem 1.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-description p {
        font-size: 0.9rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.9rem 1.5rem;
    }

    .main-item {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
        min-height: 350px;
        justify-content: center;
    }

    .bento-row {
        gap: 1rem;
        margin-top: 1rem;
    }

    .feature-item {
        padding: 1.2rem;
    }

    .feature-item .stats-container {
        flex-direction: row;
        padding: 1rem 0.5rem;
    }

    .cta-item {
        padding: 1.2rem;
    }

    .cta-item h3 {
        font-size: 1.2rem;
    }

    .cta-item p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .hero-cta {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
}
