/* 
    BeeSystem - Mobile-First Premium Design
*/

:root {
    --primary-yellow: #FFC400;
    --primary-orange: #FF9100;
    --primary-gradient: linear-gradient(135deg, #FFC400 0%, #FF9100 100%);
    --bg-body: #FFFDF5;
    --bg-white: #FFFFFF;
    --bg-pastel-yellow: #FFF9E6;
    --bg-pastel-orange: #FFF2E6;
    --text-main: #2D2D2D;
    --text-muted: #666666;
    --text-light: #999999;
    --border-light: #F0EAD6;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.03);
    --shadow-card: 0 20px 40px rgba(255, 145, 0, 0.05);
    --shadow-premium: 0 30px 60px rgba(255, 145, 0, 0.1);
    --header-height: 80px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-primary {
    color: var(--primary-orange);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 10px 20px rgba(255, 145, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 145, 0, 0.25);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 2000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

header.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 44px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-orange);
}

/* Hamburger */
.nav-toggle-label {
    display: none;
    padding: 10px;
    cursor: pointer;
    z-index: 3001;
    position: relative;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: var(--text-main);
    height: 2px;
    width: 25px;
    border-radius: 2px;
    position: relative;
    transition: var(--transition);
}

.nav-toggle-label span::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    width: 100%;
}

.nav-toggle-label span::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 100%;
}

.header-demo-btn {
    display: flex;
}

.mobile-only-btn {
    display: none !important;
}

/* Mobile Menu Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Sections */
.section {
    padding: 100px 0;
    overflow: hidden;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(255, 196, 0, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(255, 145, 0, 0.05) 0%, transparent 40%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    letter-spacing: -2px;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-text p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 580px;
    margin-bottom: 40px;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-visual-abstract {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.abstract-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-gradient);
    opacity: 0.08;
    filter: blur(40px);
}

.circle-1 {
    width: 350px;
    height: 350px;
    animation: float 10s infinite alternate;
}

.circle-2 {
    width: 250px;
    height: 250px;
    background: #FF9100;
    animation: float 12s infinite alternate-reverse;
}

.main-icon-container {
    width: 220px;
    height: 220px;
    background: #fff;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: var(--primary-yellow);
    box-shadow: 0 30px 60px rgba(255, 145, 0, 0.15);
    z-index: 5;
    animation: bounce 4s infinite ease-in-out;
}

@keyframes float {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(30px, 30px);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Stats */
.stats {
    background: var(--bg-white);
    padding: 100px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

/* Product Showcase */
.product-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.product-content {
    flex: 1;
    min-width: 280px;
    overflow-wrap: break-word;
}

.product-visual-placeholder {
    flex: 1;
    min-width: 280px;
    height: 450px;
    background: var(--bg-pastel-yellow);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 150px;
    color: rgba(255, 145, 0, 0.1);
    box-shadow: var(--shadow-soft);
}

.product-showcase.reverse {
    flex-direction: row-reverse;
}

.product-showcase.reverse .product-content {
    direction: ltr;
}

.demo-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

/* Career Page Layout */
.career-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
}

.career-form-container {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 40px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 40px;
    border-radius: 30px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-pastel-yellow);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-orange);
    margin-bottom: 25px;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h2 {
    font-size: 3.5rem;
    font-weight: 800;
}

/* Footer */
.footer {
    background: #fff;
    padding: 100px 0 40px;
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-orange);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Logo Slider */
.logo-slider {
    overflow: hidden;
    padding: 60px 0;
    background: #fff;
    white-space: nowrap;
    position: relative;
}

.logo-slider:before,
.logo-slider:after {
    content: "";
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
}

.logo-slider:before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.logo-slider:after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.logo-track {
    display: inline-flex;
    animation: scroll 30s linear infinite;
    gap: 120px;
    align-items: center;
}

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

    100% {
        transform: translateX(-50%);
    }
}

.logo-track img {
    height: 80px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: 0.3s;
}

.logo-track img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-showcase,
    .product-showcase.reverse {
        flex-direction: column;
        text-align: center;
    }

    .product-content,
    .product-visual-placeholder {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .container {
        padding: 0 20px;
    }

    .logo img {
        height: 32px;
    }

    .header-demo-btn {
        display: none !important;
    }

    .nav-toggle-label {
        display: block;
    }

    /* Mobile Sidebar Menu */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 100px;
        gap: 0;
        z-index: 3000;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
    }

    .nav-links a {
        padding: 18px 30px;
        width: 100%;
        font-size: 1.05rem;
        border-bottom: 1px solid #f5f5f5;
        display: block;
    }

    #nav-toggle:checked~.nav-links {
        right: 0;
    }

    .mobile-only-btn {
        display: flex !important;
        margin: 30px 30px 20px;
        width: calc(100% - 60px) !important;
    }

    #nav-toggle:checked~.nav-toggle-label span {
        background: transparent;
    }

    #nav-toggle:checked~.nav-toggle-label span::before {
        transform: rotate(45deg);
        top: 0;
    }

    #nav-toggle:checked~.nav-toggle-label span::after {
        transform: rotate(-45deg);
        top: 0;
    }

    /* Hero adjustments */
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual-abstract {
        display: none;
    }

    /* Typography */
    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .stat-item h2 {
        font-size: 2.5rem;
    }

    .product-visual-placeholder {
        height: 300px;
        font-size: 100px;
    }

    /* Forms */
    .demo-form {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .career-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .career-form-container {
        padding: 30px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        margin-bottom: 40px;
    }

    .footer-brand p {
        margin: 15px auto;
    }

    .logo-track {
        gap: 60px;
    }

    .logo-track img {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}