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

:root {
    --primary-color: #FF6B9D;
    --secondary-color: #FF8A5C;
    --background-dark: #1A1A1A;
    --background-light: #2A2A2A;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --text-muted: #808080;
    --border-color: #333333;
    --gradient-bg: linear-gradient(135deg, #1A1A1A 0%, #2A2A2A 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background-dark);
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 138, 92, 0.1) 0%, transparent 50%);
}

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

/* Centered Content Layout */
.centered-content {
    text-align: center;
}

/* Header */
.header {
    padding: 1rem 0;
    background: var(--background-dark);
    border-bottom: 1px solid var(--border-color);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.logo circle,
.logo path {
    stroke: var(--primary-color);
    fill: var(--primary-color);
}

.logo circle:last-child {
    fill: var(--background-dark);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: var(--gradient-bg);
}

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

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

/* Section Styles */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 16px;
}

/* Featured Section */
.featured {
    background: var(--background-light);
}

.anime-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.anime-card {
    background: var(--background-dark);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.anime-card:hover {
    transform: translateY(-4px);
}

.anime-poster {
    width: 100%;
    height: 200px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.anime-info {
    padding: 20px;
}

.anime-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.anime-info p {
    color: var(--text-secondary);
}

.anime-card h3 {
    padding: 20px 20px 8px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.anime-card p {
    padding: 0 20px 20px;
    color: var(--text-secondary);
}

/* Release Timeline */
.release-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.release-item {
    display: flex;
    gap: 32px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
}

.release-item:last-child {
    border-bottom: none;
}

.release-date {
    flex-shrink: 0;
    width: 80px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.release-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.release-info p {
    color: var(--text-secondary);
}

/* Popular Section */
.popular {
    background: var(--background-light);
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.popular-item {
    background: var(--background-dark);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    transition: transform 0.3s ease;
}

.popular-item:hover {
    transform: translateY(-4px);
}

.rank {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.popular-img {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    margin: 16px 0;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.popular-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Premium Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.feature-item {
    text-align: center;
    padding: 32px 24px;
    background: var(--background-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.feature-icon {
    margin: 0 auto 24px;
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 157, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
}

/* Subscription Tiers */
.subscription-tiers {
    background: var(--background-light);
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.tier-card {
    background: var(--background-dark);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    border: 2px solid var(--border-color);
    position: relative;
}

.featured-tier {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.tier-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 32px;
}

.price span {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.features-list {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

.features-list li {
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 24px;
}

.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.features-list li:last-child {
    border-bottom: none;
}

/* Calendar Preview */
.calendar-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.calendar-feature {
    text-align: center;
    padding: 32px 24px;
    background: var(--background-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.calendar-feature .feature-icon {
    margin: 0 auto 24px;
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 157, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-feature h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.calendar-feature p {
    color: var(--text-secondary);
}

/* How It Works */
.how-it-works {
    background: var(--background-light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    margin-top: 48px;
}

.step {
    text-align: center;
    padding: 32px 24px;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 24px;
}

.step h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contacts */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    margin-top: 48px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 32px;
    background: var(--background-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.contact-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 157, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--background-dark);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
}

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

.footer-brand {
    flex: 1;
    max-width: 300px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 16px;
}

.footer-navigation {
    display: flex;
    gap: 48px;
    flex: 2;
    justify-content: flex-end;
}

.footer-section {
    min-width: 120px;
}

.footer-section h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-links .contact-info {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

.contact-info {
    color: var(--text-secondary);
}

.link-group h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 12px;
}

.link-group a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background: var(--background-dark);
    margin: 5% auto;
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    border: 1px solid var(--border-color);
    position: relative;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--text-secondary);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--primary-color);
}

.modal-content h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--text-primary);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--background-light);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: var(--background-dark);
    border-top: 2px solid var(--primary-color);
    padding: 24px;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-text {
    flex: 1;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: none;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.cookie-btn.accept {
    background: var(--primary-color);
    color: white;
}

.cookie-btn.accept:hover {
    background: var(--secondary-color);
}

.cookie-btn.decline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.cookie-btn.decline:hover {
    background: var(--background-light);
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .cookie-actions {
        justify-content: center;
    }
}

/* Ensure proper spacing for main content */
.main-content {
    padding-top: 0;
}

/* Fix section spacing */
section {
    margin-bottom: 0;
}

section + section {
    margin-top: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .anime-grid {
        grid-template-columns: 1fr;
    }
    
    .popular-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tiers-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-tier {
        transform: none;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }
    
    .footer-navigation {
        justify-content: center;
        flex-wrap: wrap;
        gap: 32px;
    }
    
    .footer-brand {
        max-width: none;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 24px;
        width: 95%;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}