/* ========================================
   GLOBAL STYLES & RESET
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --white: #FFFFFF;
    --black: #1a1a1a;
    --gray-100: #f5f5f5;
    --gray-200: #e8e8e8;
    --gray-300: #d1d1d1;
    --gray-400: #9a9a9a;
    --gray-500: #6b6b6b;
    --gray-600: #4a4a4a;
    --green-primary: #6CDF70;
    --green-dark: #5bc95f;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

input {
    font-family: inherit;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--black);
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--black);
}

.dropdown-icon {
    width: 12px;
    height: 12px;
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-demo-outlined {
    padding: 10px 20px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    background: var(--white);
    transition: all 0.2s ease;
}

.btn-demo-outlined:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: color 0.2s ease;
}

.language-selector:hover {
    color: var(--black);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Hero Content - Left Side */
.hero-content {
    max-width: 520px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-title .highlight {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12'%3E%3Cpath d='M2 8 Q25 2, 50 6 T98 6' stroke='%231a1a1a' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 460px;
}

/* Email CTA */
.email-cta {
    display: flex;
    align-items: center;
    background: var(--gray-100);
    border-radius: 8px;
    padding: 6px;
    margin-bottom: 48px;
    max-width: 400px;
    border: 1px solid var(--gray-200);
}

.email-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--black);
    outline: none;
}

.email-input::placeholder {
    color: var(--gray-400);
}

.btn-demo {
    padding: 12px 24px;
    background: var(--green-primary);
    color: var(--black);
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.btn-demo:hover {
    background: var(--green-dark);
}

/* Statistics */
.stats-container {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 13px;
    color: var(--gray-500);
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--gray-300);
    align-self: center;
}

/* Rating */
.rating-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    width: 18px;
    height: 18px;
}

.star.filled {
    fill: var(--black);
}

.star.half path {
    stroke: var(--black);
}

.rating-value {
    font-size: 14px;
    font-weight: 600;
    margin-left: 4px;
}

.rating-text {
    font-size: 13px;
    color: var(--gray-400);
}

/* Hero Image - Right Side */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.isometric-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* ========================================
   WHY CHOOSE HASSIA SECTION
   ======================================== */
.why-section {
    padding: 100px 0;
    background: var(--white);
}

.why-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.why-header {
    text-align: center;
    margin-bottom: 60px;
}

.why-title {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--black);
}

.highlight-green {
    color: var(--green-primary);
}

.why-subtitle {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.bento-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.bento-item:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Image Blocks */
.bento-image {
    min-height: 240px;
}

.bento-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
    padding: 24px;
}

.placeholder-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 12px;
}

.placeholder-text {
    font-size: 12px;
    color: var(--gray-400);
    text-align: center;
}

/* Hub Diagram (Center Block) */
.bento-hub {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hub-diagram {
    position: relative;
    width: 100%;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hub-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.brain-icon {
    width: 80px;
    height: 80px;
}

.hub-icon {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.hub-icon svg {
    width: 32px;
    height: 32px;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
}

.hub-icon span {
    font-size: 10px;
    color: var(--gray-500);
    font-weight: 500;
}

.hub-icon-1 {
    top: 15%;
    left: 15%;
}

.hub-icon-2 {
    top: 15%;
    right: 15%;
}

.hub-icon-3 {
    bottom: 15%;
    left: 15%;
}

.hub-icon-4 {
    bottom: 15%;
    right: 15%;
}

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Text Blocks */
.bento-text {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 223, 112, 0.1);
    border-radius: 12px;
    margin-bottom: 16px;
}

.bento-feature-icon {
    width: 24px;
    height: 24px;
}

.bento-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.bento-description {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Responsive Bento Grid */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .bento-top-center {
        grid-column: span 2;
    }

    .bento-bottom-center {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .why-section {
        padding: 60px 0;
    }

    .why-container {
        padding: 0 20px;
    }

    .why-title {
        font-size: 32px;
    }

    .why-subtitle {
        font-size: 16px;
    }

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

    .bento-top-center,
    .bento-bottom-center {
        grid-column: span 1;
    }

    .bento-item {
        border-radius: 16px;
    }

    .bento-text {
        padding: 24px;
    }
}

/* ========================================
   COOKIE BANNER
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 16px 24px;
    z-index: 1001;
    max-width: 800px;
    width: calc(100% - 48px);
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cookie-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-icon {
    width: 28px;
    height: 28px;
}

.cookie-title {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.cookie-text {
    font-size: 13px;
    color: var(--gray-500);
    flex: 1;
}

.cookie-link {
    color: var(--black);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-link:hover {
    color: var(--gray-600);
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-accept,
.btn-reject {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-accept {
    background: var(--gray-100);
    color: var(--black);
    border: 1px solid var(--gray-200);
}

.btn-accept:hover {
    background: var(--gray-200);
}

.btn-reject {
    background: var(--black);
    color: var(--white);
}

.btn-reject:hover {
    background: var(--gray-600);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-subtitle {
        max-width: 560px;
    }

    .email-cta {
        max-width: 420px;
        width: 100%;
    }

    .stats-container {
        justify-content: center;
    }

    .rating-container {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .isometric-image {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 0 20px;
        height: 64px;
    }

    .nav-links {
        display: none;
    }

    .logo-text {
        font-size: 20px;
    }

    .btn-demo-outlined {
        padding: 8px 16px;
        font-size: 13px;
    }

    .language-selector {
        display: none;
    }

    .hero {
        padding-top: 64px;
        min-height: auto;
    }

    .hero-container {
        padding: 40px 24px 60px;
        gap: 32px;
    }

    .hero-title {
        font-size: 36px;
        line-height: 1.15;
        margin-bottom: 16px;
    }

    .hero-title .highlight::after {
        height: 6px;
        bottom: 0;
    }

    .hero-subtitle {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 28px;
    }

    .email-cta {
        padding: 8px;
        border-radius: 12px;
        max-width: 100%;
        margin-bottom: 40px;
    }

    .email-input {
        padding: 14px 16px;
        font-size: 16px;
        /* Prevents iOS zoom */
    }

    .btn-demo {
        padding: 14px 20px;
        font-size: 15px;
        border-radius: 8px;
    }

    .stats-container {
        gap: 24px;
        margin-bottom: 20px;
    }

    .stat-value {
        font-size: 32px;
    }

    .stat-label {
        font-size: 12px;
    }

    .stat-divider {
        height: 40px;
    }

    .rating-container {
        flex-wrap: wrap;
        gap: 6px;
    }

    .rating-value {
        font-size: 15px;
    }

    .rating-text {
        font-size: 12px;
        width: 100%;
        text-align: center;
        margin-top: 4px;
    }

    .isometric-image {
        max-width: 85%;
    }

    /* Cookie Banner Mobile */
    .cookie-banner {
        bottom: 16px;
        left: 16px;
        right: 16px;
        transform: none;
        width: auto;
        border-radius: 16px;
        padding: 16px 20px;
    }

    .cookie-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .cookie-left {
        justify-content: center;
    }

    .cookie-text {
        font-size: 12px;
        width: 100%;
        margin: 0;
    }

    .cookie-actions {
        width: 100%;
        display: flex;
        gap: 8px;
    }

    .btn-accept,
    .btn-reject {
        flex: 1;
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        height: 56px;
    }

    .logo-icon {
        width: 24px;
        height: 24px;
    }

    .logo-text {
        font-size: 18px;
    }

    .hero-container {
        padding: 32px 20px 50px;
    }

    .hero-title {
        font-size: 28px;
        letter-spacing: -0.02em;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .email-cta {
        flex-direction: column;
        gap: 10px;
        padding: 16px;
        border-radius: 16px;
        background: var(--white);
        border: 1px solid var(--gray-200);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    }

    .email-input {
        width: 100%;
        text-align: center;
        border: 1px solid var(--gray-200);
        border-radius: 10px;
        padding: 16px;
        background: var(--gray-100);
    }

    .btn-demo {
        width: 100%;
        padding: 16px;
        font-size: 16px;
        border-radius: 10px;
    }

    .stats-container {
        flex-direction: row;
        gap: 16px;
        padding: 20px;
        background: var(--gray-100);
        border-radius: 16px;
        margin-bottom: 20px;
    }

    .stat-item {
        flex: 1;
        align-items: center;
        text-align: center;
    }

    .stat-value {
        font-size: 26px;
    }

    .stat-label {
        font-size: 11px;
        line-height: 1.3;
    }

    .stat-divider {
        width: 1px;
        height: 50px;
    }

    .rating-container {
        background: var(--gray-100);
        padding: 14px 20px;
        border-radius: 12px;
        justify-content: center;
    }

    .stars {
        gap: 4px;
    }

    .star {
        width: 20px;
        height: 20px;
    }

    .isometric-image {
        max-width: 95%;
    }

    /* Cookie Banner Extra Small */
    .cookie-banner {
        bottom: 12px;
        left: 12px;
        right: 12px;
        padding: 14px 16px;
    }

    .cookie-title {
        font-size: 13px;
    }

    .cookie-text {
        font-size: 11px;
    }

    .btn-accept,
    .btn-reject {
        padding: 10px 12px;
        font-size: 13px;
    }
}