/* ========================================
   BrainRooms Homepage Styles
   Primary Color: Cobalt Blue (#0047AB)
   ======================================== */

:root {
    --cobalt-blue: #0047AB;
    --cobalt-blue-dark: #003380;
    --cobalt-blue-light: #1a5dc8;
    --cobalt-blue-hover: #0055cc;
    --white: #ffffff;
    --dark-bg: #0a1628;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.7);
    --accent-gold: #FFD700;
    --gradient-blue: linear-gradient(135deg, #0047AB 0%, #003380 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--dark-bg);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   Promo Banner
   ======================================== */
.promo-banner {
    background: linear-gradient(135deg, #FF8C00 0%, #FF6600 100%);
    padding: 12px 20px;
    text-align: center;
    position: relative;
    z-index: 100;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.promo-icon {
    font-size: 18px;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.promo-badge {
    background: var(--cobalt-blue);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.promo-text {
    color: var(--white);
    font-size: 14px;
}

.promo-text strong {
    font-weight: 700;
}

.promo-btn {
    background: var(--cobalt-blue);
    color: var(--white);
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-btn:hover {
    background: var(--cobalt-blue-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 71, 171, 0.5);
}

/* ========================================
   Navigation Header
   ======================================== */
.main-header {
    background: var(--cobalt-blue);
    padding: 0 40px;
    position: sticky;
    top: 0;
    z-index: 99;
    box-shadow: 0 2px 20px rgba(0, 71, 171, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-left {
    flex: 0 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    color: var(--white);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-right: 20px;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 400;
    /* Regular weight: sleek and elegant */
    letter-spacing: 2px;
    line-height: 1;
    margin: 0;
    /* Engraved Effect: Dark top shadow, Light bottom highlight */
    color: rgba(255, 255, 255, 0.9);
    /* Slightly transparent for better blend */
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.7), 0 1px 1px rgba(255, 255, 255, 0.2);
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding-left: 20px;
    gap: 4px;
    position: relative;
    /* For absolute positioning of arches */
    padding-right: 15px;
    /* Add space for right arch */
}

/* Left Arch (Connecting I to C) */
.logo-text-wrapper::before {
    content: '';
    position: absolute;
    left: 12px;
    /* Positioned near the start of text */
    top: 4px;
    bottom: 4px;
    width: 10px;
    border-left: 1px solid #FFD700;
    border-radius: 50% 0 0 50%;
    /* Curved left shape */
    opacity: 0.8;
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.5);
    /* Inner shadow for arch depth */
}

/* Right Arch (Connecting A to O) */
.logo-text-wrapper::after {
    content: '';
    position: absolute;
    right: 5px;
    top: 4px;
    bottom: 4px;
    width: 10px;
    border-right: 1px solid #FFD700;
    border-radius: 0 50% 50% 0;
    /* Curved right shape */
    opacity: 0.8;
    box-shadow: inset -1px 1px 2px rgba(0, 0, 0, 0.5);
    /* Inner shadow for arch depth */
}

.payoff-line {
    font-family: 'Outfit', sans-serif;
    /* Matched to Title for cohesive clarity */
    font-size: 12px;
    font-weight: 500;
    /* Medium weight for perfect readability */
    font-style: normal;
    font-variant: small-caps;
    letter-spacing: 2px;
    color: #FFD700;
    line-height: 1;
    text-align: center;
    /* Engraved Gold: Darker inset shadow */
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--white);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--white);
}

.btn-signup {
    background: var(--white);
    color: var(--cobalt-blue);
    padding: 10px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
}

.btn-signup:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background:
        linear-gradient(135deg, rgba(0, 71, 171, 0.95) 0%, rgba(10, 22, 40, 0.98) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 900"><rect fill="%230a1628" width="1440" height="900"/><g fill="none" stroke="%230047AB" stroke-width="1" opacity="0.3"><circle cx="200" cy="200" r="100"/><circle cx="400" cy="400" r="150"/><circle cx="1200" cy="300" r="120"/><circle cx="1000" cy="600" r="180"/></g></svg>');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(10, 22, 40, 0.4) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--white);
}

.hero-title em {
    font-style: italic;
    background: linear-gradient(90deg, var(--accent-gold), #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 40px;
}

.hero-description strong {
    color: var(--white);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--white);
    color: var(--cobalt-blue);
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 71, 171, 0.3);
    min-width: 180px;
}

.btn-primary:hover {
    background: var(--accent-gold);
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(5px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--white);
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    min-width: 180px;
}

.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(15px);
        opacity: 0.3;
    }
}

/* Rotating Lightbulb */
.hero-lightbulb {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbulb-icon {
    animation: rotateLightbulb 4s linear infinite;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
}

@keyframes rotateLightbulb {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: 100px 20px;
    background: var(--dark-bg);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    background: linear-gradient(145deg, rgba(0, 71, 171, 0.2), rgba(0, 51, 128, 0.1));
    border: 1px solid rgba(0, 71, 171, 0.3);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 71, 171, 0.3);
    border-color: var(--cobalt-blue);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.feature-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================================
   Footer
   ======================================== */
.main-footer {
    background: linear-gradient(180deg, rgba(0, 51, 128, 0.6) 0%, rgba(0, 35, 90, 0.8) 100%);
    padding: 15px 20px;
    border-top: 1px solid rgba(0, 71, 171, 0.5);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo {
    font-size: 20px;
}

.footer-logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.footer-brand-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-info {
    text-align: right;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 11px;
    margin: 2px 0;
}

.footer-vat {
    font-size: 10px !important;
    opacity: 0.7;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 20px;
    }

    .nav-menu a {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .promo-content {
        flex-direction: column;
        gap: 10px;
    }

    .main-header {
        padding: 0 20px;
    }

    .nav-container {
        flex-wrap: wrap;
        height: auto;
        padding: 15px 0;
        gap: 15px;
    }

    .nav-center {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero {
        min-height: auto;
        padding: 60px 20px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .features {
        padding: 60px 15px;
    }

    .feature-card {
        padding: 30px 20px;
    }
}

/* ========================================
   Footer Specific Overrides (Logo Size)
   ======================================== */
/* ========================================
   Footer Specific Overrides (Logo Size)
   ======================================== */
.main-footer .logo-img {
    width: 32px;
    height: 32px;
    margin-right: 12px;
}

.main-footer .logo-text {
    font-size: 18px;
    letter-spacing: 1px;
    text-shadow: none;
    color: var(--white);
    font-weight: 500;
}

.main-footer .payoff-line {
    display: none;
}

.main-footer .logo-text-wrapper {
    padding: 0;
    gap: 0;
    border: none;
}

.main-footer .logo-text-wrapper::before,
.main-footer .logo-text-wrapper::after {
    display: none;
}