:root {
    --primary: #000000; /* Black from logo text */
    --primary-light: #333333;
    --accent: #53A5EB; /* Light blue from logo abstract shape */
    --accent-light: #8DC6EE;
    --surface: #ffffff;
    --surface-alt: #F2F8FC; /* Soft blueish white */
    --text-main: #111827;
    --text-muted: #6B7280;
    --border: #E5E7EB;
    --error: #EF4444;
    --success: #10B981;
    
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(83, 165, 235, 0.15);
    
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--surface-alt);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Blurs / Glassmorphism */
/* Hidden by default on mobile, shown on tablet/desktop */
.blob {
    display: none;
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.6;
}

.blob-1 {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--accent-light);
    animation: drift 20s infinite alternate;
}

.blob-2 {
    bottom: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: #BFE2FC;
    animation: drift 25s infinite alternate-reverse;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, -50px) scale(1.1); }
}

/* Base Layout (Mobile First) */
.container {
    flex: 1;
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

header {
    margin-bottom: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.hero {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.hero-text {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 1rem 0.35rem 0.5rem;
    border: 1px solid rgba(83, 165, 235, 0.3);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-sm);
}

.badge .dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(83, 165, 235, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(83, 165, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(83, 165, 235, 0);
    }
}

h1 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.tagline {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Form Styles (Mobile First) */
.subscribe-form {
    margin-bottom: 2.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
    gap: 1rem;
    transition: var(--transition);
}

input[type="email"] {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    padding: 1rem 1.5rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    outline: none;
    transition: var(--transition);
}

input[type="email"]:focus {
    box-shadow: 0 0 0 3px rgba(83, 165, 235, 0.2);
    border-color: var(--accent-light);
}

input[type="email"]::placeholder {
    color: #9CA3AF;
}

button[type="submit"] {
    width: 100%;
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

button[type="submit"]:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

button[type="submit"]:active {
    transform: translateY(0);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    padding-left: 1rem;
    transition: opacity 0.3s;
}

.form-message.success {
    color: var(--success);
}

.form-message.error {
    color: var(--error);
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--surface);
    color: var(--primary);
    border-radius: 50%;
    font-size: 1.25rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Hero Image Section */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease-out 0.2s both;
    width: 100%;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid rgba(255, 255, 255, 0.8);
    transform: none;
    transition: var(--transition);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Minimal Footer */
footer {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.privacy-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.privacy-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* ========================================= */
/* Media Queries (Mobile First -> Desktop)   */
/* ========================================= */

/* Small Tablets / Large Phones */
@media (min-width: 480px) {
    .image-wrapper {
        max-width: 400px;
    }
}

/* Tablets */
@media (min-width: 768px) {
    .container {
        padding: 2rem;
    }
    
    .content {
        padding: 3rem;
    }

    .blob {
        display: block; /* Show blobs on larger screens */
    }

    header {
        margin-bottom: 4rem;
    }
    
    .logo {
        justify-content: flex-start;
    }
    
    .brand-logo {
        height: 48px;
    }

    .hero {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: center;
        text-align: left;
    }

    .hero-text {
        max-width: none;
        margin: 0;
    }

    h1 {
        font-size: 3rem;
    }

    .tagline {
        font-size: 1.125rem;
        margin-bottom: 3rem;
    }

    .social-links {
        justify-content: flex-start;
    }

    .form-message {
        padding-left: 1rem;
    }
    
    .input-group {
        flex-direction: row;
        background: var(--surface);
        border-radius: var(--radius-full);
        padding: 0.5rem;
        box-shadow: var(--shadow-md);
        border: 1px solid var(--border);
        gap: 0;
    }
    
    .input-group:focus-within {
        box-shadow: 0 0 0 3px rgba(83, 165, 235, 0.2);
        border-color: var(--accent-light);
    }
    
    input[type="email"] {
        flex: 1;
        border: none;
        background: transparent;
        padding: 1rem 1.5rem;
        box-shadow: none;
    }
    
    input[type="email"]:focus {
        box-shadow: none;
    }
    
    button[type="submit"] {
        width: auto;
    }

    .image-wrapper {
        max-width: 400px;
        transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    }

    .image-wrapper:hover {
        transform: perspective(1000px) rotateY(0) rotateX(0);
    }

    footer {
        padding: 2rem;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Desktops */
@media (min-width: 1024px) {
    .hero {
        gap: 4rem;
    }
    
    h1 {
        font-size: 3.5rem;
    }

    .image-wrapper {
        max-width: 500px;
    }
}
