/* ===================================
   GLOBAL OVERFLOW FIX
   =================================== */

html, body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
    position: relative;
}

/* ===================================
   HERO SECTION STYLES
   =================================== */

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 5rem 0 3rem;
    overflow: hidden;
    background: linear-gradient(135deg, #E8E6F2 0%, #E3E0F0 25%, #DDD9EE 50%, #E3E0F0 75%, #E8E6F2 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* ===================================
   HERO LEFT SECTION
   =================================== */

.hero-left {
    position: relative;
}

.hero-text {
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: #2D3436;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #6C5CE7 0%, #8B7EF0 50%, #A78BFA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: block;
}

.hero-description {
    font-size: 0.875rem;
    line-height: 1.75;
    color: #6B7280;
    max-width: 460px;
    opacity: 0.8;
}

/* ===================================
   SEARCH CONTAINER
   =================================== */

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 400px;
    background: var(--white);
    border-radius: 50px;
    padding: 0.4rem 0.4rem 0.4rem 1.75rem;
    box-shadow: 0 8px 32px rgba(108, 92, 231, 0.12);
    transition: var(--transition-smooth);
}

.search-container:hover {
    box-shadow: 0 12px 40px rgba(108, 92, 231, 0.18);
    transform: translateY(-2px);
}

.search-container:focus-within {
    box-shadow: 0 12px 40px rgba(108, 92, 231, 0.22);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: transparent;
    padding: 0.75rem 0;
    font-family: var(--font-primary);
}

.search-input::placeholder {
    color: #B2BEC3;
}

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #6C5CE7 0%, #7C6CE7 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.25);
}

.search-btn:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

.search-btn:active {
    transform: scale(0.95);
}

/* ===================================
   FLOATING DECORATIVE ELEMENTS - LEFT SIDE
   =================================== */

.floating-element {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.floating-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.15) 0%, rgba(108, 92, 231, 0.08) 100%);
    top: -10%;
    left: -450px;
    opacity: 0.5;
    filter: blur(40px);
}

.floating-circle-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 126, 240, 0.12) 0%, rgba(139, 126, 240, 0.06) 100%);
    bottom: -5%;
    left: -380px;
    opacity: 0.45;
    filter: blur(35px);
}

/* Small decorative dots */
.floating-circle-1::before {
    display: none;
}

.floating-circle-2::after {
    display: none;
}

/* ===================================
   HERO RIGHT SECTION - ILLUSTRATION
   =================================== */

.hero-right {
    position: relative;
}

.hero-illustration {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Platform Base - Hidden */
.platform-base {
    display: none;
}

.platform-base::before {
    display: none;
}

.platform-base::after {
    display: none;
}

/* Character Container */
.character-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.hero-character {
    width: 600px;
    height: auto;
    filter: drop-shadow(0 20px 45px rgba(108, 92, 231, 0.3));
    display: block;
    transform: scale(1.8);
}

/* ===================================
   FLOATING ICONS
   =================================== */

.floating-icon {
    position: absolute;
    animation: floatIconBounce 4s ease-in-out infinite;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.12));
    transition: var(--transition-smooth);
    cursor: pointer;
}

.floating-icon:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.18));
}

.icon-code {
    top: 18%;
    left: 12%;
    animation-delay: 0s;
}

.icon-laptop {
    display: none;
}

.icon-window {
    top: 8%;
    right: 18%;
    animation-delay: 1.2s;
}

.icon-palette {
    bottom: 28%;
    right: 12%;
    animation-delay: 2.4s;
}

.icon-cube {
    top: 12%;
    left: 28%;
    animation-delay: 1.8s;
}

/* Coffee/mug icon */
.icon-coffee {
    display: none;
}

/* ===================================
   BACKGROUND GRADIENTS
   =================================== */

.bg-gradient-1,
.bg-gradient-2,
.bg-gradient-3 {
    display: none;
}

/* ===================================
   ANIMATIONS
   =================================== */



@keyframes floatIconBounce {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-12px) rotate(2deg);
    }

    50% {
        transform: translateY(-20px) rotate(0deg);
    }

    75% {
        transform: translateY(-12px) rotate(-2deg);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media screen and (max-width: 1200px) {
    .hero-title {
        font-size: 3.75rem;
    }

    .hero-illustration {
        height: 600px;
    }

    .platform-base {
        width: 400px;
        height: 140px;
        bottom: 70px;
    }

    .character-container {
        bottom: 100px;
    }

    .floating-circle-1 {
        width: 300px;
        height: 300px;
        left: -150px;
    }

    .floating-circle-2 {
        width: 220px;
        height: 220px;
        left: -110px;
    }
}

@media screen and (max-width: 968px) {
    .hero {
        padding: 7rem 0 3rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-left {
        text-align: center;
    }

    .hero-title {
        font-size: 3.25rem;
    }

    .hero-description {
        max-width: 100%;
        margin: 0 auto;
    }

    .search-container {
        margin: 0 auto;
    }

    .hero-illustration {
        height: 450px;
    }

    .platform-base {
        width: 360px;
        height: 130px;
        bottom: 60px;
    }

    .character-container {
        bottom: 160px;
    }

    .floating-icon {
        transform: scale(0.7);
    }
    
    .floating-icon:hover {
        transform: scale(0.85);
    }

    .floating-circle-1,
    .floating-circle-2 {
        opacity: 0.5;
    }
}

@media screen and (max-width: 768px) {
    .hero {
        padding: 6rem 0 2rem;
    }

    .hero-text {
        margin-top: 2rem;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .search-container {
        max-width: 100%;
    }

    .hero-illustration {
        height: 550px;
    }

    .platform-base {
        width: 300px;
        height: 110px;
        bottom: 50px;
    }

    .hero-character {
        width: 420px !important;
        max-width: 90vw;
    }

    .character-container {
        bottom: 80px;
    }

    .floating-circle-1 {
        width: 240px;
        height: 240px;
        left: -120px;
    }

    .floating-circle-2 {
        width: 180px;
        height: 180px;
        left: -90px;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 5rem 0 2rem;
    }

    .hero-text {
        margin-top: 2.5rem;
    }

    .hero-title {
        font-size: 2.25rem;
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .search-container {
        padding: 0.4rem 0.4rem 0.4rem 1.5rem;
    }

    .search-input {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }

    .search-btn {
        width: 45px;
        height: 45px;
    }

    .hero-illustration {
        height: 500px;
    }

    .platform-base {
        width: 260px;
        height: 95px;
        bottom: 40px;
    }

    .hero-character {
        width: 380px !important;
        max-width: 85vw;
    }

    .character-container {
        bottom: 60px;
    }

    .floating-icon {
        transform: scale(0.5);
    }
    
    .floating-icon:hover {
        transform: scale(0.6);
    }

    .floating-circle-1 {
        width: 200px;
        height: 200px;
        left: -100px;
    }

    .floating-circle-2 {
        width: 150px;
        height: 150px;
        left: -75px;
    }
}

/* ===================================
   DESKTOP ONLY - LARGER IMAGE SIZE
   =================================== */
@media screen and (min-width: 1201px) {
    .hero-character {
        width: 650px !important;
        transform: scale(2.2) !important;
    }
    
    .hero-illustration {
        height: 650px !important;
    }
}
