/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #203864;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animated Background Stars */
.stars, .stars2, .stars3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.stars {
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #BFBFBF, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(191,191,191,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #BFBFBF, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(191,191,191,0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, #BFBFBF, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 20s linear infinite;
}

.stars2 {
    background-image: 
        radial-gradient(1px 1px at 40px 60px, #BFBFBF, transparent),
        radial-gradient(1px 1px at 120px 10px, rgba(191,191,191,0.7), transparent),
        radial-gradient(2px 2px at 170px 50px, #BFBFBF, transparent);
    background-repeat: repeat;
    background-size: 250px 120px;
    animation: sparkle 25s linear infinite;
}

.stars3 {
    background-image: 
        radial-gradient(1px 1px at 60px 20px, rgba(191,191,191,0.5), transparent),
        radial-gradient(2px 2px at 10px 80px, #BFBFBF, transparent),
        radial-gradient(1px 1px at 190px 90px, #BFBFBF, transparent);
    background-repeat: repeat;
    background-size: 300px 150px;
    animation: sparkle 30s linear infinite;
}

@keyframes sparkle {
    from { transform: translateY(-100vh); }
    to { transform: translateY(100vh); }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(32, 56, 100, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(191, 191, 191, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #C55A10 0%, #203864 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #C55A10;
}

.cta-nav {
    background: linear-gradient(135deg, #C55A10 0%, #203864 100%);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-nav:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(197, 90, 16, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: radial-gradient(ellipse at bottom, #203864 0%, #203864 70%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 70px;
}

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

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #C55A10 0%, #203864 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #BFBFBF;
    margin-bottom: 30px;
    line-height: 1.6;
}

.release-info {
    margin-bottom: 40px;
}

.coming-soon {
    display: inline-block;
    background: rgba(197, 90, 16, 0.2);
    color: #C55A10;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(197, 90, 16, 0.3);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #C55A10 0%, #203864 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(197, 90, 16, 0.3);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(197, 90, 16, 0.4);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

/* 3D Book Mockup */
.book-mockup {
    position: relative;
    perspective: 1000px;
    animation: float 3s ease-in-out infinite;
}

.book-cover-image {
    width: 280px;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    transform: rotateY(-15deg) rotateX(5deg);
    box-shadow: 
        0 0 0 2px rgba(191,191,191,0.1),
        20px 20px 80px rgba(0,0,0,0.5),
        0 0 50px rgba(197, 90, 16, 0.3);
    transition: transform 0.3s ease;
}

.book-cover-image:hover {
    transform: rotateY(-10deg) rotateX(2deg) scale(1.05);
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    background: #C55A10;
    border-radius: 50%;
    position: relative;
}

.scroll-dot::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, transparent, #C55A10);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* About Section */
.about {
    padding: 120px 0;
    background: linear-gradient(180deg, #203864 0%, #203864 100%);
}

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

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #C55A10 0%, #203864 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lead {
    font-size: 1.3rem;
    color: #BFBFBF;
    margin-bottom: 25px;
    line-height: 1.6;
}

.about-text p {
    color: #BFBFBF;
    margin-bottom: 20px;
    line-height: 1.7;
}

.features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: rgba(191, 191, 191, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(191, 191, 191, 0.1);
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(191, 191, 191, 0.08);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.5rem;
    min-width: 40px;
}

.feature h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #ffffff;
}

.feature p {
    color: #BFBFBF;
    margin: 0;
    line-height: 1.5;
}

.about-visual {
    position: relative;
    height: 400px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.7;
    animation: floatElements 6s ease-in-out infinite;
}

.element-1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #C55A10, #203864);
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.element-2 {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #203864, #C55A10);
    top: 60%;
    right: 30%;
    animation-delay: 2s;
}

.element-3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #C55A10, #203864);
    bottom: 10%;
    left: 40%;
    animation-delay: 4s;
}

@keyframes floatElements {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(-10px) rotate(240deg); }
}

/* Signup Section */
.signup {
    padding: 120px 0;
    background: linear-gradient(135deg, #203864 0%, #C55A10 50%, #203864 100%);
    position: relative;
}

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

.signup-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #ffffff;
}

.signup-text p {
    font-size: 1.1rem;
    color: #BFBFBF;
    margin-bottom: 30px;
    line-height: 1.6;
}

.benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #BFBFBF;
    font-weight: 500;
}

.benefit svg {
    color: #C55A10;
    flex-shrink: 0;
}

/* Form Styles */
.signup-form-container {
    background: rgba(191, 191, 191, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(191, 191, 191, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.signup-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: #ffffff;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #BFBFBF;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(191, 191, 191, 0.1);
    border: 1px solid rgba(191, 191, 191, 0.2);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #C55A10;
    background: rgba(191, 191, 191, 0.15);
    box-shadow: 0 0 0 3px rgba(197, 90, 16, 0.2);
}

.form-group input::placeholder {
    color: #888;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.submit-btn {
    background: linear-gradient(135deg, #C55A10 0%, #203864 100%);
    color: #ffffff;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(197, 90, 16, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(197, 90, 16, 0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Footer */
.footer {
    background: #203864;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(191, 191, 191, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #C55A10 0%, #203864 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.footer-left p {
    color: #BFBFBF;
}

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

.social-links a {
    color: #BFBFBF;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: #C55A10;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(191, 191, 191, 0.1);
    color: #BFBFBF;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .signup-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .about-text h2,
    .signup-text h2 {
        font-size: 2.5rem;
    }
    
    .book-mockup {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .hero-content {
        padding: 0 15px;
        margin-top: 50px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .book-cover-image {
        width: 220px;
        height: 320px;
    }
    
    .about,
    .signup {
        padding: 80px 0;
    }
    
    .about-text h2,
    .signup-text h2 {
        font-size: 2rem;
    }
    
    .features {
        gap: 20px;
    }
    
    .feature {
        padding: 20px;
    }
    
    .signup-form-container {
        padding: 30px 25px;
    }
    
    .about-visual {
        height: 300px;
    }
    
    .element-1 {
        width: 60px;
        height: 60px;
    }
    
    .element-2 {
        width: 45px;
        height: 45px;
    }
    
    .element-3 {
        width: 75px;
        height: 75px;
    }
}

@media (max-width: 480px) {
    .nav-links a {
        font-size: 0.9rem;
    }
    
    .cta-nav {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .book-cover-image {
        width: 180px;
        height: 260px;
    }
    
    .about-text h2,
    .signup-text h2 {
        font-size: 1.8rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .signup-form-container {
        padding: 25px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .stars, .stars2, .stars3 {
        background-size: 400px 200px, 500px 240px, 600px 300px;
    }
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .stars, .stars2, .stars3 {
        animation: none;
    }
    
    .scroll-indicator {
        animation: none;
    }
    
    .book-mockup {
        animation: none;
    }
    
    .floating-elements .element {
        animation: none;
    }
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus {
    outline: 2px solid #C55A10;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .stars, .stars2, .stars3,
    .nav,
    .scroll-indicator,
    .floating-elements {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero {
        background: none;
    }
    
    .about,
    .signup {
        background: none;
    }
}