:root {
    --primary: #FF6B35;
    --secondary: #F7931E;
    --accent: #FFD23F;
    --dark: #1A1A2E;
    --light: #FFFEF2;
    --gray: #4A4A68;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--light);
    color: var(--dark);
    overflow-x: hidden;
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Animated background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(247, 147, 30, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 210, 63, 0.08) 0%, transparent 50%);
    z-index: -1;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.05); }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    padding: 1.5rem 0;
    animation: slideDown 0.8s ease-out;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    max-height: calc(100vh - 120px);
}

.hero-content {
    flex: 1;
    max-width: 550px;
    animation: fadeInUp 1s ease-out;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--accent);
    color: var(--dark);
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 480px;
}

.cta-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.email-input {
    display: flex;
    gap: 0.5rem;
    background: white;
    padding: 0.4rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-width: 400px;
}

.email-input input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.7rem 1.2rem;
    font-size: 0.95rem;
    font-family: 'DM Sans', sans-serif;
    background: transparent;
}

.email-input button {
    padding: 0.7rem 1.8rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.email-input button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Hero Image */
.hero-image {
    flex: 1;
    position: relative;
    animation: fadeIn 1.2s ease-out 0.3s backwards;
    max-width: 500px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    transform: rotate(-5deg);
}

.image-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s ease;
}

.image-card:hover {
    transform: translateY(-10px);
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-card:nth-child(1) {
    animation: floatAnimation 3s ease-in-out infinite;
}

.image-card:nth-child(2) {
    animation: floatAnimation 3s ease-in-out infinite 0.5s;
}

.image-card:nth-child(3) {
    animation: floatAnimation 3s ease-in-out infinite 1s;
}

.image-card:nth-child(4) {
    animation: floatAnimation 3s ease-in-out infinite 1.5s;
}

@keyframes floatAnimation {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* Placeholder styling for images */
.placeholder {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
}

/* Footer - Compact and subtle */
.footer {
    background: var(--dark);
    color: var(--light);
    padding: 0.8rem;
    text-align: center;
    animation: slideUp 1s ease-out 0.5s backwards;
}

.footer p {
    font-weight: 400;
    font-size: 0.85rem;
    margin: 0;
}

.footer strong {
    color: var(--accent);
    font-weight: 600;
}

/* Floating elements */
.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: floatSlow 10s ease-in-out infinite;
}

.icon-1 { top: 10%; left: 10%; animation-delay: 0s; }
.icon-2 { top: 20%; right: 15%; animation-delay: 2s; }
.icon-3 { bottom: 30%; left: 5%; animation-delay: 4s; }
.icon-4 { bottom: 20%; right: 10%; animation-delay: 6s; }

@keyframes floatSlow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, -20px) rotate(10deg); }
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 968px) {
    body {
        height: auto;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        max-height: none;
        padding: 2rem 0;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero p {
        max-width: 100%;
    }

    .cta-group {
        justify-content: center;
    }

    .email-input {
        max-width: 100%;
    }

    .image-grid {
        transform: rotate(0deg);
    }

    .floating-icon {
        display: none;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .image-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }

    .footer p {
        font-size: 0.75rem;
    }
}