:root {
    --primary: #2563eb;
    --primary-light: #60a5fa;
    --secondary: #059669;
    --dark: #1e293b;
    --light: #ffffff;
    --text: #0f172a;
    --text-muted: #475569;
    --border: rgba(255, 255, 255, 0.2);
    --container-width: 1100px;
    --transition: all 0.2s ease;
}

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

::selection {
    background: rgba(37, 99, 235, 0.2);
    color: var(--primary);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    background: url('background.png') no-repeat center center fixed;
    background-size: cover;
}

/* Overlay for readability */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85); /* Light overlay to keep text readable */
    z-index: -1;
}

h1, h2, h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    padding: 1.5rem 0;
    width: 100%;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -1px;
    cursor: pointer;
    transition: var(--transition);
}

.logo:hover {
    color: var(--primary);
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

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

.btn {
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.23);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Hero Section */
.hero {
    padding: 4rem 0 6rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.hero h1 span {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

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

.signup-form {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin-bottom: 1rem;
    background: white;
    padding: 0.4rem;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.signup-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.8rem 1rem;
    color: var(--text);
    outline: none;
    font-size: 1rem;
    width: 100%;
}

.signup-form button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.form-success {
    display: none;
    margin-top: 1.5rem;
    padding: 1.2rem;
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: 12px;
    color: var(--secondary);
    font-weight: 600;
    text-align: center;
    backdrop-filter: blur(10px);
}

.form-success i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.animate-in {
    animation: fadeInUp 0.5s ease-out forwards;
}

/* Hero Image */
.hero-image {
    position: relative;
    max-width: 100%;
}

.image-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.floating-card i {
    color: var(--secondary);
}

.floating-card span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.floating-card:hover {
    transform: translateY(-5px) scale(1.05);
    background: white;
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.card-1 {
    top: 15%;
    left: -2rem;
}

.card-2 {
    bottom: 15%;
    right: -2rem;
}

/* Footer */
footer {
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

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

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-image {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.image-wrapper {
    animation: float 6s ease-in-out infinite;
}

/* Responsive Refinements */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 3rem 0 5rem;
        gap: 3rem;
    }
    
    .hero p {
        margin: 0 auto 2.5rem;
    }
    
    .signup-form {
        margin: 0 auto;
    }

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .card-1 { left: -1rem; }
    .card-2 { right: -1rem; }
}

@media (max-width: 768px) {
    :root {
        --container-width: 100%;
    }

    header {
        padding: 1rem 0;
    }

    .hero h1 {
        font-size: 2.8rem;
        letter-spacing: -1px;
    }

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

@media (max-width: 640px) {
    body::before {
        background: rgba(255, 255, 255, 0.566);
        backdrop-filter: blur(5px);
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero {
        padding: 1.5rem 0 4rem;
        gap: 2.5rem;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .nav-links {
        display: none;
    }
    
    .signup-form {
        flex-direction: column;
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
        padding: 1rem;
        gap: 0.75rem;
        width: 100%;
        border-radius: 20px;
    }

    .signup-form input {
        background: white;
        border-radius: 12px;
        border: 1px solid rgba(0, 0, 0, 0.05);
        padding: 1rem;
        font-size: 1rem;
        text-align: center;
    }

    .signup-form button {
        width: 100%;
        padding: 1rem;
        border-radius: 12px;
        font-size: 1.05rem;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    }
    
    .hero-image {
        margin-top: 1rem;
    }

    .image-wrapper {
        border-radius: 20px;
    }

    .floating-card {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .card-1 {
        top: 10%;
        left: -0.5rem;
    }

    .card-2 {
        bottom: 10%;
        right: -0.5rem;
    }

    .footer-content {
        margin-bottom: 1rem;
    }

    .social-links a {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.1rem;
    }
    
    .badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }

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



