/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: #0066cc;
    color: white;
}

.btn-primary:hover {
    background-color: #0052a3;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.2rem;
    background-color: #0066cc;
    color: white;
    border-radius: 8px;
}
.btn-large:hover {
    background-color: #0052a3;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
}
.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0066cc;
}

nav a {
    margin: 0 15px;
    color: #555;
    font-weight: 500;
}
nav a:hover {
    color: #0066cc;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #001f3f, #0066cc);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* Grids */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Sections */
section {
    padding: 80px 0;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.card:hover {
    transform: translateY(-5px);
}

.features .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.tags span {
    display: inline-block;
    background: #e9ecef;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-right: 8px;
    margin-top: 10px;
    color: #495057;
}

/* Pricing */
.pricing-card {
    text-align: center;
    border: 1px solid #e9ecef;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0066cc;
    margin: 20px 0;
}

.pricing-card .price span {
    font-size: 1rem;
    color: #6c757d;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f3f5;
    color: #495057;
}

.pricing-card.popular {
    border: 2px solid #0066cc;
    transform: scale(1.05);
}
.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #0066cc;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.faq-item h4 {
    margin-bottom: 10px;
    color: #212529;
}
.faq-item p {
    color: #6c757d;
}

/* Reviews */
.review-card {
    font-style: italic;
    color: #555;
}
.review-card .author {
    margin-top: 15px;
    font-weight: bold;
    font-style: normal;
    color: #333;
    text-align: right;
}

/* Footer */
footer {
    background-color: #212529;
    color: white;
    padding: 40px 0 20px;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    margin: 0 15px;
    color: #adb5bd;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    color: #6c757d;
    font-size: 0.9rem;
    border-top: 1px solid #343a40;
    padding-top: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }
    
    nav {
        margin: 15px 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav a {
        margin: 5px 10px;
    }

    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }

    .pricing-card.popular {
        transform: scale(1);
    }
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }

    .btn, .btn-large {
        width: 100%;
        padding: 15px;
        box-sizing: border-box;
    }
}

/* =========================================
   AURORA LINK THEME OVERRIDES & DECORATIONS
   ========================================= */
body {
    background: linear-gradient(135deg, #04101A, #061724);
    background-attachment: fixed;
    color: #E6F7FF;
}

h1, h2, h3, h4, .page-content h2, .page-content h3 {
    background: linear-gradient(to right, #2DD4BF, #A78BFA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

h2 {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.hero h1, .card h3 { display: block; }
.hero h1 { width: fit-content; margin-inline: auto; }
.page-content h2, .page-content h3 { display: block; width: 100%; text-align: left; margin-left: 0; margin-right: 0; border-bottom: none; }

.hero p, .faq-item p, .pricing-card ul li, .review-card p {
    color: rgba(230, 247, 255, 0.8);
}
.faq-item h4 {
    -webkit-text-fill-color: #E6F7FF;
    color: #E6F7FF;
    background: none;
}
.pricing-card .price {
    background: linear-gradient(to right, #2DD4BF, #A78BFA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.pricing-card .price span {
    -webkit-text-fill-color: rgba(230, 247, 255, 0.6);
}

.card, .faq-item, .page-content {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(45, 212, 191, 0.3);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.card:hover {
    border-color: rgba(45, 212, 191, 0.7);
}

.tags span {
    background: rgba(167, 139, 250, 0.15);
    color: #A78BFA;
    border: 1px solid rgba(167, 139, 250, 0.3);
}

.pricing-card { border: 1px solid rgba(45, 212, 191, 0.3); }
.pricing-card.popular {
    border: 2px solid #2DD4BF;
    background: rgba(255, 255, 255, 0.09);
}
.badge { background: linear-gradient(90deg, #2DD4BF, #A78BFA); color: #04101A; }

header {
    background: rgba(4, 16, 26, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    box-shadow: none;
}
.logo {
    background: linear-gradient(to right, #2DD4BF, #A78BFA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
nav a { color: rgba(230, 247, 255, 0.8); }
nav a:hover { color: #2DD4BF; }

.btn-primary, .btn-large {
    background: linear-gradient(90deg, #2DD4BF, #A78BFA);
    color: #04101A;
    border: none;
    box-shadow: 0 4px 15px rgba(45, 212, 191, 0.2);
}
.btn-primary:hover, .btn-large:hover {
    background: linear-gradient(90deg, #3EE5D0, #B89CFA);
    box-shadow: 0 6px 20px rgba(45, 212, 191, 0.4);
    color: #04101A;
}
.btn-outline {
    border: 2px solid #2DD4BF;
    color: #2DD4BF;
    background: transparent;
}
.btn-outline:hover {
    background: rgba(45, 212, 191, 0.1);
    border-color: #A78BFA;
    color: #A78BFA;
}

.hero {
    background: transparent;
    position: relative;
    z-index: 1;
}

.review-card .author { color: #2DD4BF; }
.pricing-card ul li { border-bottom: 1px solid rgba(255, 255, 255, 0.05); }

footer {
    background: rgba(4, 16, 26, 0.9);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.page-content strong { color: #2DD4BF; }
.page-content p { color: rgba(230, 247, 255, 0.8); }

/* -----------------------------------------
   BACKGROUND ANIMATIONS
   ----------------------------------------- */
.bg-decorative {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -999;
    pointer-events: none;
    overflow: hidden;
}

.aurora-band {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.4;
}
.band-1 {
    width: 60vw; height: 40vh;
    background: #2DD4BF;
    top: -10vh; left: -10vw;
    animation: auroraSway1 13s ease-in-out infinite alternate;
}
.band-2 {
    width: 50vw; height: 50vh;
    background: #A78BFA;
    top: -10vh; right: -10vw;
    animation: auroraSway2 17s ease-in-out infinite alternate-reverse;
}
.band-3 {
    width: 80vw; height: 40vh;
    background: #0066cc;
    bottom: -15vh; left: 10vw;
    animation: auroraSway3 21s ease-in-out infinite alternate;
}
@keyframes auroraSway1 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    100% { transform: translate(5vw, 5vh) scale(1.1); opacity: 0.5; }
}
@keyframes auroraSway2 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    100% { transform: translate(-5vw, 8vh) scale(1.15); opacity: 0.6; }
}
@keyframes auroraSway3 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.2; }
    100% { transform: translate(8vw, -5vh) scale(1.05); opacity: 0.4; }
}

.stars .star {
    position: absolute;
    width: 3px; height: 3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 5px #fff, 0 0 8px #2DD4BF;
    animation: starTwinkle 3.5s ease-in-out infinite;
}
.star-1 { top: 15%; left: 20%; animation-delay: 0s; }
.star-2 { top: 25%; right: 15%; animation-delay: 0.5s; }
.star-3 { top: 55%; left: 10%; animation-delay: 1s; }
.star-4 { top: 65%; right: 25%; animation-delay: 1.5s; }
.star-5 { top: 85%; left: 30%; animation-delay: 2s; }
.star-6 { top: 40%; left: 50%; animation-delay: 2.5s; }
@keyframes starTwinkle {
    0%, 100% { opacity: 0.1; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.3); }
}

.comet-container {
    position: absolute;
    top: 5%; left: -10%;
    width: 150px; height: 2px;
    transform: rotate(35deg);
    animation: cometShoot 9s infinite;
}
.comet {
    width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0), #2DD4BF, #fff);
    border-radius: 50%;
}
@keyframes cometShoot {
    0% { transform: translate(0, 0) scaleX(0); opacity: 0; }
    5% { transform: translate(35vw, 35vh) scaleX(1); opacity: 0.9; }
    10% { transform: translate(70vw, 70vh) scaleX(0); opacity: 0; }
    100% { transform: translate(70vw, 70vh) scaleX(0); opacity: 0; }
}

.link-line-container {
    position: absolute;
    bottom: 25%; left: 0;
    width: 100%; height: 1px;
    background: rgba(45, 212, 191, 0.1);
}
.link-dot {
    position: absolute;
    top: -1px; left: 0;
    width: 40px; height: 3px;
    background: #2DD4BF;
    border-radius: 4px;
    box-shadow: 0 0 10px #2DD4BF, 0 0 20px #A78BFA;
    animation: linkTravel 11s linear infinite;
}
@keyframes linkTravel {
    0% { transform: translateX(-5vw); opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { transform: translateX(105vw); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .aurora-band, .star, .comet-container, .link-dot {
        animation: none !important;
    }
}


/* ── FAQ: details/summary native styles ──────────────────── */
details.faq-item,
details.faq-item-art {
    cursor: pointer;
}
details.faq-item summary,
details.faq-item-art summary.faq-q {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
}
details.faq-item summary::after,
details.faq-item-art summary::after {
    content: '+';
    color: #2DD4BF;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-left: 10px;
    transition: transform 0.3s;
}
details[open].faq-item summary::after,
details[open].faq-item-art summary::after {
    transform: rotate(45deg);
}
details.faq-item-art > .faq-a {
    display: block;
}

/* ── scroll-margin-top: compensate for sticky header ─────── */
:target,
section[id],
div[id] {
    scroll-margin-top: 80px;
}

/* ── Skip link (keyboard / a11y) ─────────────────────────── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: #2DD4BF;
    color: #04101A;
    padding: 10px 20px;
    font-weight: bold;
    z-index: 9999;
    border-radius: 0 0 6px 6px;
    transition: top 0.2s;
    text-decoration: none;
}
.skip-link:focus {
    top: 0;
    outline: 3px solid #A78BFA;
    outline-offset: 2px;
}

/* ── Focus styles (keyboard navigation) ──────────────────── */
a:focus-visible,
button:focus-visible,
details:focus-visible,
summary:focus-visible {
    outline: 2px solid #2DD4BF;
    outline-offset: 3px;
    border-radius: 4px;
}
