*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    overflow: hidden;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #0d0d12;
    color: #fff;
}

.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Subtle grid background */
.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

/* Warm ambient glow behind image */
.ambient-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(245, 197, 24, 0.08) 0%, transparent 60%);
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    filter: blur(60px);
    z-index: 1;
    animation: glowPulse 6s ease-in-out infinite;
}

/* Cool accent on left */
.ambient-glow-left {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
    top: 30%;
    left: -5%;
    filter: blur(80px);
    z-index: 1;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.7;
        transform: translateY(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.05);
    }
}

/* Noise texture */
.noise {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.025;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* Content */
.content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 80px;
    height: 100%;
}

.text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
}

.title {
    font-size: clamp(48px, 5.5vw, 76px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: #fff;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.title .accent {
    color: #f5c518;
    position: relative;
}

.divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #f5c518, #fbbf24);
    border-radius: 2px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.subtitle {
    font-size: 17px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.65;
    max-width: 440px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.5s;
}

.subtitle strong {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    background: linear-gradient(135deg, #f5c518 0%, #fbbf24 100%);
    color: #0a0a0f;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    text-decoration: none;
    width: fit-content;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -10px rgba(245, 197, 24, 0.35);
}

.cta-btn:hover::before {
    opacity: 1;
}

.cta-btn span {
    position: relative;
    z-index: 1;
}

.cta-btn .arrow {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.cta-btn:hover .arrow {
    transform: translateX(4px);
}

/* Image block */
.image-block {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    opacity: 0;
    animation: fadeInRight 1s ease forwards;
    animation-delay: 0.4s;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 540px;
    aspect-ratio: 4/3;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 40px 80px -20px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.06);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-wrapper:hover img {
    transform: scale(1.03);
}

.image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(10, 10, 15, 0.3) 100%);
    pointer-events: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .content {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 40px;
        overflow-y: auto;
    }

    .image-block {
        max-height: 40vh;
    }
}

@media (max-width: 640px) {
    .content {
        padding: 32px 24px;
        gap: 32px;
    }

    .title {
        font-size: 40px;
    }

    .cta-btn {
        padding: 16px 28px;
        font-size: 12px;
    }

    .image-wrapper {
        border-radius: 16px;
    }
}