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

:root {
    --primary-color: #00d4aa;
    --secondary-color: #00ff88;
    --dark-teal: #0a4d3e;
    --light-teal: #1a7a66;
    --dark-bg: #0a0f1a;
    --light-bg: #1a1f2a;
    --text-primary: #ffffff;
    --text-secondary: #b8c5d1;
    --border-color: #2a3a4a;
    --card-bg: #1e2835;
    --hover-bg: #253242;
    --gradient-1: linear-gradient(135deg, var(--dark-teal) 0%, var(--primary-color) 100%);
    --gradient-2: linear-gradient(135deg, var(--dark-bg) 0%, var(--light-bg) 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Navigation */
.navbar {
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: var(--gradient-2);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.book-cover-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-cover {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 212, 170, 0.3);
    transition: transform 0.3s ease;
}

.book-cover:hover {
    transform: translateY(-5px) scale(1.02);
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-text .subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.hero-text .author {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-text .description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.hero-text .description p {
    margin-bottom: 1rem;
}

.hero-text .description p:last-child {
    margin-bottom: 0;
}

.hero-text .description strong {
    color: var(--primary-color);
    font-weight: 600;
}

.hero-text .description ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.hero-text .description li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* Purchase Section */
.purchase-section {
    padding: 5rem 0;
    background: var(--dark-bg);
}

.purchase-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Featured Platforms Section */
.featured-platforms {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.featured-platform-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    padding: 1.5rem;
    border-radius: 12px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
}

.featured-platform-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.featured-platform-card.featured-apple:hover {
    border-color: #007AFF;
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.3);
}

.featured-platform-card.featured-kobo:hover {
    border-color: #7324BC;
    box-shadow: 0 10px 30px rgba(115, 36, 188, 0.3);
}

.platform-badge {
    max-width: 180px;
    height: auto;
    display: block;
    margin-bottom: 1rem;
}

.featured-platform-card .platform-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.other-platforms-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 600;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.platform-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.platform-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: var(--hover-bg);
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.2);
}

.platform-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.platform-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.platform-date {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: var(--gradient-2);
    min-height: calc(100vh - 200px);
}

.about-section h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.about-text {
    text-align: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text strong {
    color: var(--primary-color);
}

.placeholder-image,
.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.placeholder-image {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--card-bg);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

/* Press Section */
.press-section {
    padding: 4rem 0;
    background: var(--gradient-2);
    min-height: calc(100vh - 200px);
}

.press-section h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.press-content {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 1.8;
}

.press-for-immediate-release {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.press-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 2.5rem 0 1rem;
    text-align: center;
}

.press-content h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.press-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.press-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
    list-style-type: disc;
}

.press-content li {
    margin-bottom: 0.8rem;
}

.press-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.press-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.press-book-info {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.press-book-info h3 {
    margin-top: 0;
}

.press-book-info p {
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: var(--gradient-2);
    min-height: calc(100vh - 200px);
}

.contact-section h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-section .section-subtitle {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    display: block;
    color: #ff6b6b;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    min-height: 1.25rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--gradient-1);
    border: none;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.3);
}

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

.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.form-message.error {
    display: block;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid #ff6b6b;
    color: #ff6b6b;
}

/* Footer */
footer {
    background: var(--dark-bg);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: auto;
    text-align: center;
}

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
        text-align: center;
    }

    .hero-text .subtitle,
    .hero-text .author,
    .hero-text .description {
        text-align: center;
    }

    .platforms-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .featured-platforms {
        gap: 1.5rem;
    }

    .platform-badge {
        max-width: 150px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

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

    .featured-platforms {
        flex-direction: column;
        align-items: center;
    }

    .featured-platform-card {
        width: 100%;
        max-width: 300px;
    }

    .platform-badge {
        max-width: 160px;
    }
}

    .purchase-section h2,
    .about-section h1,
    .contact-section h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 2rem 0;
    }

    .purchase-section,
    .about-section,
    .contact-section {
        padding: 3rem 0;
    }
}

