/* BrainyTech - Hero Section Styles */
/* Main landing hero section with animations and interactive elements */

/* Hero Section */
.heroMultiLang {
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.heroGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.heroContent {
    position: relative;
    z-index: 10;
}

/* Company Badge */
.companyBadge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--color-border);
    border-radius: 60px;
    margin-bottom: 32px;
}

[data-theme="dark"] .companyBadge {
    background: linear-gradient(135deg, rgba(14, 31, 64, 0.85), rgba(7, 15, 32, 0.9));
    border: 1px solid rgba(30, 58, 138, 0.4);
    box-shadow: inset 0 1px 0 rgba(59, 130, 246, 0.12);
}

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

.logoIcon {
    width: 36px;
    height: 36px;
    background: transparent;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
}

.logoText {
    font-weight: 700;
    font-size: 16px;
    color: var(--color-text);
}

.companyTagline {
    font-size: 13px;
    color: var(--color-text-secondary);
    font-weight: 600;
    padding-left: 16px;
    border-left: 2px solid var(--color-border);
}

.badgeIcon {
    font-size: 16px;
}

.heroTitle {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 28px;
    color: var(--color-text);
    letter-spacing: -0.02em;
    min-height: 150px;
}

.typeCursor {
    display: inline-block;
    width: 3px;
    height: 1.1em;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    margin-left: 4px;
    vertical-align: text-bottom;
    animation: cursorBlink 0.9s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(92, 23, 243, 0.6);
    border-radius: 1px;
}

.heroGradient {
    background: linear-gradient(135deg, #5C17F3, #9D4EDD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .heroGradient {
    color: #FFFCB8;
    background: none;
    -webkit-text-fill-color: #FFFCB8;
}

.heroSubtitle {
    font-size: 64px;
    font-weight: 900;
    color: var(--color-text-secondary);
    margin-top: 8px;
}

.heroDescription {
    font-size: 19px;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    max-width: 560px;
}

/* Tech Stack Preview */
.heroTechStack {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
    padding: 20px 28px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 2px solid var(--color-border);
    border-radius: 16px;
}

[data-theme="dark"] .heroTechStack {
    background: rgba(255, 255, 255, 0.03);
}

.techStackLabel {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.techStackIcons {
    display: flex;
    gap: 16px;
}

.techStackIcon {
    width: 32px;
    height: 32px;
    color: var(--color-text-secondary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.techStackIcon:hover {
    color: var(--color-primary);
    transform: translateY(-4px);
}

.techStackIcon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.techStackIcon svg path {
    fill: currentColor;
}

/* Hero Stats Bar */
.heroStats {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
}

.statItemHero {
    display: flex;
    align-items: center;
    gap: 12px;
}

.statIconWrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(92, 23, 243, 0.1), rgba(157, 78, 221, 0.1));
    border-radius: 10px;
    color: var(--color-primary);
}

.statIconWrapper svg {
    width: 22px;
    height: 22px;
}

.statContent {
    display: flex;
    flex-direction: column;
}

.statNumber {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #5C17F3, #9D4EDD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 2px;
}

.statLabel {
    font-size: 12px;
    color: var(--color-text-secondary);
    font-weight: 600;
}

/* Tech Stack Icons */
.techStackIcons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 32px 0;
    padding: 20px 0;
}

.techIcon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    backdrop-filter: none;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

[data-theme="dark"] .techIcon {
    background: transparent;
}

.techIcon svg {
    width: 100%;
    height: 100%;
    color: var(--color-text-secondary);
    transition: all 0.3s ease;
}

.techIcon:hover {
    transform: translateY(-5px);
    background: transparent;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
}

.techIcon:hover svg {
    color: var(--color-primary);
}

/* Staggered animation for tech icons */
.techIcon:nth-child(1) {
    animation-delay: 0.1s;
}

.techIcon:nth-child(2) {
    animation-delay: 0.2s;
}

.techIcon:nth-child(3) {
    animation-delay: 0.3s;
}

.techIcon:nth-child(4) {
    animation-delay: 0.4s;
}

.techIcon:nth-child(5) {
    animation-delay: 0.5s;
}

.techIcon:nth-child(6) {
    animation-delay: 0.6s;
}

.heroButtons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.btnHeroPrimary, .btnHeroSecondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btnHeroPrimary {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow:
        0 8px 24px rgba(30, 58, 138, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .btnHeroPrimary {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    border: 1px solid rgba(59, 130, 246, 0.4);
    box-shadow:
        0 8px 24px rgba(30, 58, 138, 0.5),
        inset 0 1px 0 rgba(59, 130, 246, 0.2);
}

.btnHeroPrimary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btnHeroPrimary span {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.btnHeroPrimary svg {
    position: relative;
    z-index: 1;
}

.btnHeroPrimary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 32px rgba(30, 58, 138, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .btnHeroPrimary:hover {
    box-shadow:
        0 12px 32px rgba(59, 130, 246, 0.6),
        inset 0 1px 0 rgba(59, 130, 246, 0.25);
}

.btnHeroPrimary:hover::before {
    opacity: 1;
}

.btnHeroPrimary:hover span,
.btnHeroPrimary:hover svg {
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.btnHeroSecondary {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

[data-theme="dark"] .btnHeroSecondary {
    background: linear-gradient(135deg, rgba(14, 31, 64, 0.7), rgba(7, 15, 32, 0.75));
    border: 1px solid rgba(30, 58, 138, 0.35);
    color: #f1f5f9;
    box-shadow: inset 0 1px 0 rgba(59, 130, 246, 0.12);
    backdrop-filter: blur(5px);
}

.btnHeroSecondary:hover {
    background: rgba(30, 58, 138, 0.15);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-3px);
}

[data-theme="dark"] .btnHeroSecondary:hover {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.4), rgba(14, 31, 64, 0.5));
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow:
        0 8px 24px rgba(30, 58, 138, 0.3),
        inset 0 1px 0 rgba(59, 130, 246, 0.2);
}

/* Hero Visual */
.heroVisual {
    position: relative;
    height: 600px;
}

.heroVisualCard {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Abstract Shapes */
.abstractShape {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(135deg, rgba(92, 23, 243, 0.1), rgba(157, 78, 221, 0.1));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(92, 23, 243, 0.2);
    animation: morphing 8s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.abstractShape:hover {
    transform: scale(1.15) translateZ(50px);
    z-index: 10;
    background: linear-gradient(135deg, rgba(92, 23, 243, 0.25), rgba(157, 78, 221, 0.25));
    border-color: rgba(92, 23, 243, 0.5);
    box-shadow: 0 20px 60px rgba(92, 23, 243, 0.4);
    animation-play-state: paused;
}

.shapeContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 1;
    transform: scale(1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.abstractShape:hover .shapeContent {
    transform: scale(1.1);
}

.shapeIcon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5C17F3, #9D4EDD);
    border-radius: 50%;
    color: white;
    box-shadow: 0 8px 24px rgba(92, 23, 243, 0.4);
}

.shapeIcon svg {
    width: 24px;
    height: 24px;
}

.shapeText {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.shape1 {
    width: 180px;
    height: 180px;
    top: 5%;
    left: 5%;
    animation-delay: 0s;
}

.shape2 {
    width: 140px;
    height: 140px;
    top: 6.5%;
    right: 12%;
    animation-delay: 2s;
}

.shape3 {
    width: 170px;
    height: 170px;
    bottom: 8%;
    left: 8%;
    animation-delay: 4s;
}

.shape4 {
    width: 180px;
    height: 180px;
    top: 35.5%;
    right: -2%;
    animation-delay: 6s;
}

.shape5 {
    width: 160px;
    height: 160px;
    bottom: 3%;
    right: 15%;
    animation-delay: 3s;
}

/* Floating Tech Badges */
.floatingBadges {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
}

/* Central Core */
.centralCore {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.coreInner {
    position: relative;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(30, 58, 138, 0.6);
    animation: corePulseAnim 3s ease-in-out infinite;
}

[data-theme="dark"] .coreInner {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.4), rgba(59, 130, 246, 0.3));
    border: 2px solid rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.corePulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(30, 58, 138, 0.4);
    animation: pulseRing 2s ease-out infinite;
}

[data-theme="dark"] .corePulse {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: none;
}

.coreIcon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.coreIcon svg {
    width: 100%;
    height: 100%;
}

@keyframes corePulseAnim {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Orbits */
.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px dashed rgba(92, 23, 243, 0.1);
}

[data-theme="dark"] .orbit {
    border: 2px dashed rgba(139, 92, 246, 0.2);
    box-shadow: none;
}

.orbit1 {
    width: 280px;
    height: 280px;
    animation: orbitRotate 20s linear infinite;
}

.orbit2 {
    width: 380px;
    height: 380px;
    animation: orbitRotate 30s linear infinite reverse;
}

.orbit3 {
    width: 480px;
    height: 480px;
    animation: orbitRotate 40s linear infinite;
}

@keyframes orbitRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Gradient Blob */
.gradientBlob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle,
        rgba(92, 23, 243, 0.15) 0%,
        rgba(157, 78, 221, 0.1) 50%,
        transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: pulse 4s ease-in-out infinite;
}

[data-theme="dark"] .gradientBlob {
    background: radial-gradient(circle,
        rgba(139, 92, 246, 0.12) 0%,
        rgba(139, 92, 246, 0.06) 50%,
        transparent 70%);
    filter: blur(60px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
