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

body {
    background-color: #000000;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: #000000;
    border-bottom: 1px solid #222;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-auth {
    display: flex;
    gap: 10px;
}

.btn-pill-auth {
    background-color: #111111;
    border: 1px solid #444444;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 5px rgba(68, 68, 68, 0.4),
        0 0 15px rgba(68, 68, 68, 0.2);
}

.btn-pill-auth:hover {
    box-shadow: 
        0 0 10px rgba(68, 68, 68, 0.6),
        0 0 25px rgba(68, 68, 68, 0.3);
    background-color: #1a1a1a;
    border-color: #555555;
}

/* Terms Banner */
.terms-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(90deg, #111111 0%, #444444 50%, #111111 100%);
    color: #888;
    padding: 12px;
    font-size: 0.8rem;
    border-bottom: 1px solid #333;
}

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

.terms-banner .highlight {
    color: #fff;
    font-weight: bold;
}

.terms-banner a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.close-banner {
    position: absolute;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 140px);
    text-align: center;
    padding: 40px 20px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-subtitle {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.btn-primary {
    background-color: #eeeeee;
    color: #000000;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-primary:hover {
    transform: scale(1.05);
    background-color: #ffffff;
}

/* Windows Logo CSS */
.windows-logo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2px;
    width: 18px;
    height: 18px;
}

.win-square {
    background-color: #000000;
}

/* Features Section */
.features {
    padding: 120px 40px;
    background-color: #000;
}

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

.features-text {
    flex: 1;
}

.features-heading {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.features-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.feature-img {
    width: 100%;
    max-width: 650px;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    background-color: #111;
    aspect-ratio: 16 / 10;
}

/* Section Divider */
.section-divider {
    border: 0;
    height: 1px;
    background: #222;
    margin: 0;
}

/* Script Library Section */
.script-library-section {
    padding: 120px 40px;
    background-color: #000;
}

.script-library-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    overflow: visible;
}

.script-library-image {
    flex: 0 0 45%;
    display: flex;
    justify-content: center;
}

.script-library-img {
    width: 100%;
    max-width: 550px;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
    background-color: #111;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.script-library-text {
    flex: 1 1 55%;
    min-width: 0;
    overflow: visible;
}

.script-hub-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.script-library-heading {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 25px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.script-library-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Pricing Section Styles */
.pricing-section {
    padding: 100px 40px;
    background-color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.pricing-header p {
    color: #888;
    font-size: 1.2rem;
}

.pricing-container {
    display: flex;
    gap: 30px;
    max-width: 1000px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.pricing-card {
    background-color: #111;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 40px;
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.05);
    border-color: #555;
}

.pricing-card.featured {
    border: 1px solid #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.pricing-type {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.pricing-card h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
}

.pricing-tier {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #222;
}

.pricing-tier:last-child {
    border-bottom: none;
}

.tier-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: #eee;
}

.tier-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.pricing-action {
    margin-top: 30px;
}

.btn-buy {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: none;
    background-color: #ffffff;
    color: #000000;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-buy:hover {
    background-color: #ddd;
}

.btn-buy-secondary {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-buy-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #111111;
    color: #eee;
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 1000;
    width: 90%;
    max-width: 500px;
    justify-content: space-between;
}

.cookie-popup p {
    font-size: 0.85rem;
    margin: 0;
}

.btn-cookie-accept {
    background-color: #ffffff;
    color: #000000;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
}

.btn-cookie-accept:hover {
    background-color: #ddd;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .pricing-container {
        flex-direction: column;
        align-items: center;
    }
    .pricing-card {
        width: 100%;
    }
    .pricing-header h1 {
        font-size: 2.5rem;
    }
    .cookie-popup {
        flex-direction: column;
        text-align: center;
        bottom: 10px;
    }
    .script-library-container {
        flex-direction: column;
        text-align: center;
    }
    .script-library-text {
        order: 2;
    }
    .script-library-image {
        order: 1;
    }
}
