:root {
    --bg-color: #000416;
    --text-primary: #ffffff;
    --text-secondary: #929292;
    --accent-color: #2997ff;
    --card-bg: #1d1d1f;
    --key-bg: #333336;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 12px rgba(17, 136, 255, 0.5);
}

nav {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 24px;
    height: 52px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.logo {
    font-weight: 700;
    font-size: 23px;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 7px;
}

.logo-icon {
    width: 35px;
    height: 35px;
}

.nav-links {
    display: flex;
    gap: 24px;
    font-size: 15px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

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

.nav-links a.active {
    color: var(--text-primary);
}

.nav-cta {
    background-color: var(--accent-color);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-cta:hover {
    background-color: #0077ed;
    transform: scale(1.05);
}

/* Footer */
footer {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 12px;
    font-size: 12px;
}

.footer-links a:hover {
    text-decoration: underline;
}

footer p {
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

.tagline {
    font-style: italic;
    margin-bottom: 16px;
    font-size: 14px;
    color: #a1a1a6;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 24px 0;
}

.social-icon {
    color: var(--text-secondary);
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.social-icon:hover {
    color: var(--text-primary);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

site-footer,
site-header {
    display: block;
}

/* === Page Specific Styles === */

/* --- index.html --- */
.hero {
    text-align: center;
    padding: 90px 20px 60px;
    max-width: 800px;
    margin: 0 auto;
}

.hero>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero>*.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero h1 {
    font-size: 64px;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin: 0 0 16px;
    background: linear-gradient(180deg, #fff, #bcaec5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 19px;
    line-height: 1.3;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background-color: var(--accent-color);
    color: white;
    padding: 14px 32px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
}

.cta-button:hover {
    background-color: #0077ed;
    transform: scale(1.02);
}

.app-showcase {
    max-width: 1024px;
    margin: 0 auto;
    padding: 40px 24px 0;
    text-align: center;
}

.video-container {
    margin-bottom: 0px;
}

.app-video {
    width: 100%;
    max-width: 700px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.screenshots-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 80px;
}

.screenshots-container .screenshot-item:nth-child(n+3) {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.screenshots-container .screenshot-item:nth-child(n+3) .app-screenshot {
    width: auto;
    max-width: 100%;
}

.showcase-tagline {
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: 16px;
    line-height: 1.4;
    padding: 0 8px;
}

.app-screenshot {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.app-screenshot:hover {
    transform: scale(1.02);
}

.product-label {
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 24px;
}

.app-icon {
    width: 105px;
    height: 105px;
    border-radius: 28px;
    margin-bottom: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.index-footer {
    margin-top: 100px;
}

.features-section {
    max-width: 1024px;
    margin: 0 auto;
    padding: 100px 24px 0;
    text-align: center;
}

.features-section h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    align-items: start;
    text-align: left;
    margin-top: 60px;
}

/* Flexbox override for centered widget cards */
.features-grid.widgets-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    /* 32px */
}

.features-grid.widgets-center .feature-card {
    box-sizing: border-box;
    flex: 0 1 310px;
}

.feature-card {
    background: #111d31;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card.visible:hover {
    transform: scale(1.03);
    transition-duration: 0.2s;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px -2px var(--accent-color);
}

.feature-card-highlight {
    border-color: var(--accent-color);
    background: #111d31;
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    background: var(--accent-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.feature-widget-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 0px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    cursor: zoom-in;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 12px;
    margin-bottom: 12px;
    color: #fff;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 0;
}

.reviews-section {
    max-width: 1024px;
    margin: 0 auto;
    padding: 100px 24px 0;
    text-align: center;
}

.reviews-section h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.reviews-section .subtitle {
    margin-bottom: 60px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 320px);
    justify-content: center;
    gap: 24px;
    text-align: left;
}

.review-card {
    background: #111d31;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease-out;
    opacity: 0;
    transform: translateY(30px);
}

.review-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.stars {
    color: #ffc107;
    font-size: 20px;
    margin-bottom: 16px;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 16px;
    flex-grow: 1;
    margin-bottom: 24px;
}

.reviewer-info {
    margin-top: auto;
}

.reviewer-name {
    font-weight: 600;
    color: #fff;
}

.reviewer-title {
    font-size: 14px;
    color: var(--text-secondary);
}

.reviewer-name-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.verified-checkmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background-color: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.verified-checkmark svg {
    width: 13.5px;
    height: 13.5px;
    fill: none;
    stroke: #111d31;
    stroke-width: 4;
}

/* --- Content Pages (about, privacy, etc.) --- */
.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 90px 24px 60px;
}

.content h1 {
    font-size: 32px;
    margin-bottom: 40px;
    margin-top: 0;
}

.content h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 16px;
    color: #fff;
}

.content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* --- Page Load Animation --- */
.content-container-animate>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.content-container-animate>*.visible {
    opacity: 1;
    transform: translateY(0);
}


/* about.html specifics */
.about-page .content {
    max-width: 700px;
    padding-bottom: 80px;
}

.about-page .content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    margin-top: 0;
}

.about-page .content p {
    font-size: 18px;
    margin-bottom: 24px;
}

.brand-link {
    color: inherit;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.brand-link:hover {
    color: var(--text-primary);
}

/* --- contact.html --- */
.contact-page-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.contact-page .content {
    max-width: 700px;
    text-align: center;
    flex: 1;
    padding-bottom: 80px;
}

.contact-page .content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    margin-top: 0;
}

.contact-page .content p {
    font-size: 18px;
    margin-bottom: 40px;
}

.form-message {
    margin-top: 24px;
    font-size: 18px;
    color: var(--accent-color);
}

.honeypot {
    display: none;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}

input,
textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

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

input:focus,
textarea:focus {
    border-color: var(--accent-color);
}

.contact-button {
    background-color: var(--accent-color);
    color: white;
    padding: 14px 32px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contact-button:hover {
    background-color: #0077ed;
    transform: scale(1.02);
}

/* --- pricing.html --- */
.pricing-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 90px 24px 80px;
    text-align: center;
}

.pricing-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    margin-top: 0;
}

.pricing-header p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 60px;
}

.pricing-no-card {
    margin-top: -55px;
}

.pricing-header p a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.pricing-header p a:hover {
    text-decoration: underline;
}

.pricing-subheading {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.card {
    background: #111d31;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 24px;
    width: 100%;
    max-width: 280px;
    text-align: left;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.card-popular {
    border-color: var(--accent-color);
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.price {
    font-size: 36px;
    font-weight: 700;
}

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

.price .price-asterisk {
    font-size: 26px;
    vertical-align: super;
    font-weight: 400;
    margin-left: 1px;
    color: var(--text-secondary);
}

.tax-note {
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: -5px;
}

.plan-desc {
    color: var(--text-secondary);
    margin-top: 7px;
    margin-bottom: 7px;
}

.tax-disclaimer {
    margin-top: 40px;
    font-size: 15px;
    color: var(--text-secondary);
}

.features {
    list-style: none;
    padding: 0;
    flex-grow: 1;
}

.features li {
    margin-bottom: 10px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.features li svg {
    width: 20px;
    height: 20px;
    fill: var(--accent-color);
    flex-shrink: 0;
}

.buy-button {
    display: block;
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
    box-sizing: border-box;
}

.buy-button.primary {
    background: var(--accent-color);
}

.buy-button:hover {
    opacity: 0.9;
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* --- download.html --- */
.download-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 90px 24px 80px;
    text-align: center;
}

.download-container h1 {
    font-size: 48px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 24px;
}

.download-container p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.download-container .app-icon {
    width: 105px;
    height: 105px;
    margin-bottom: 32px;
}

p.download-os-requirement {
    font-size: 15px;
    margin-top: 20px;
    color: var(--text-secondary);
}

.download-button {
    background-color: var(--accent-color);
    color: white;
    padding: 16px 40px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-block;
    margin-top: 20px;
}

.download-button:hover {
    background-color: #0077ed;
    transform: scale(1.02);
}

.pricing-link {
    color: var(--accent-color);
    text-decoration: none;
}

.pricing-link:hover {
    text-decoration: underline;
}

.first-open-guide {
    max-width: 600px;
    margin: 60px auto 0;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-align: left;
}

.first-open-guide h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 16px;
    color: #fff;
}

.first-open-guide p {
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 1.1em;
}

.first-open-guide .guide-note {
    font-size: 14px;
    margin-top: 16px;
}

.first-open-guide ol {
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

/* --- components.js --- */
.built-by-line {
    font-size: 14px;
    color: #a1a1a6;
    margin-top: -10px;
    margin-bottom: 24px;
    font-style: italic;
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-caption {
    color: #fff;
    margin-top: 16px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    max-width: 90%;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s, opacity 0.3s ease;
    z-index: 2001;
    user-select: none;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.lightbox.controls-hidden {
    cursor: none;
}

.lightbox.controls-hidden .lightbox-nav,
.lightbox.controls-hidden .lightbox-close {
    opacity: 0;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    nav {
        height: auto;
        flex-direction: column;
        padding: 16px 24px;
        gap: 16px;
    }

    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .screenshots-container,
    .features-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    /* Add padding to main content to prevent overlap with taller mobile nav */
    .hero,
    .content,
    .pricing-container,
    .download-container {
        padding-top: 140px;
    }
}