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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1419 100%);
    color: #fff;
    overflow-x: hidden;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: float 25s infinite ease-in-out;
}

.orb1 {
    width: 600px;
    height: 600px;
    background: #2d3e82;
    top: -300px;
    left: -200px;
}

.orb2 {
    width: 500px;
    height: 500px;
    background: #4a5f9d;
    bottom: -250px;
    right: -150px;
    animation-delay: 8s;
}

.orb3 {
    width: 400px;
    height: 400px;
    background: #f4a261;
    top: 40%;
    right: 10%;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(80px, -80px) scale(1.15);
    }
    66% {
        transform: translate(-80px, 80px) scale(0.9);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 10;
}

header {
    padding: 25px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
    font-size: 26px;
    font-weight: 900;
    background: linear-gradient(135deg, #a9ea66 0%, #95a24b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content h1 {
    font-size: 68px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #667eea 0%, #4ba278 50%, #b4fb93 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    animation: fadeInUp 0.8s ease;
}

.hero-content .subtitle {
    font-size: 26px;
    color: #a8b2d1;
    margin-bottom: 35px;
    font-weight: 400;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-content .description {
    font-size: 18px;
    color: #8892b0;
    margin-bottom: 45px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.email-form {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.email-input {
    flex: 1;
    padding: 20px 28px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    background: rgba(17, 24, 44, 0.6);
    color: #fff;
    font-size: 17px;
    outline: none;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.email-input:focus {
    border-color: #667eea;
    background: rgba(17, 24, 44, 0.8);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

.email-input::placeholder {
    color: #6b7694;
}

.submit-btn {
    padding: 20px 45px;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 35px rgba(39, 174, 96, 0.4);
    white-space: nowrap;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(39, 174, 96, 0.6);
    background: linear-gradient(135deg, #229954 0%, #1e8449 100%);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.privacy-note {
    font-size: 13px;
    color: #6b7694;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.book-showcase {
    position: relative;
    animation: fadeInRight 0.8s ease 0.3s both;
}

.book-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
    transition: transform 0.5s ease;
}

.book-image:hover {
    transform: translateY(-15px) scale(1.03);
}

.badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: linear-gradient(135deg, #f4a261 0%, #e76f51 100%);
    color: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 10px 30px rgba(244, 162, 97, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

.features {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.25);
}

.section-title {
    text-align: center;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.feature-card {
    background: rgba(17, 24, 44, 0.5);
    padding: 40px 35px;
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.4s;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(17, 24, 44, 0.7);
    border-color: #667eea;
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.25);
}

.feature-icon {
    font-size: 42px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #ccd6f6;
    font-weight: 700;
}

.feature-card p {
    color: #8892b0;
    line-height: 1.6;
    font-size: 16px;
}

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

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

.footer {
    background: rgba(0, 0, 0, 0.4);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    font-size: 22px;
    font-weight: 900;
    background: linear-gradient(135deg, #a9ea66 0%, #95a24b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.footer-tagline {
    color: #8892b0;
    margin-bottom: 25px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a8b2d1;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-links a:hover {
    background: rgba(102, 126, 234, 0.15);
    color: #764ba2;
    border-color: #667eea;
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: #ccd6f6;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #8892b0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.footer-column ul li a:hover {
    color: #667eea;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    color: #6b7694;
    font-size: 14px;
}

/* Media Queries */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-content .subtitle {
        font-size: 22px;
    }

    .book-showcase {
        display: flex;
        justify-content: center;
    }

    .book-image {
        max-width: 350px;
    }

    .badge {
        top: -15px;
        right: 10px;
        font-size: 14px;
        padding: 12px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-brand {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 38px;
    }

    .hero-content .subtitle {
        font-size: 20px;
    }

    .email-form {
        flex-direction: column;
    }

    .submit-btn {
        width: 100%;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 40px 0 20px;
    }
}