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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
    margin-bottom: 15px;
    color: #1a1a1a;
}

/* Navbar */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}
.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: #007bff;
}

/* Typography & Utilities */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin: 60px 0 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #007bff;
    margin: 10px auto 0;
    border-radius: 2px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0056b3;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: #007bff;
    border-color: #007bff;
}

.btn-outline:hover {
    background-color: #007bff;
    color: #fff;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.card.bg-dark {
    background: #2c3e50;
    color: #fff;
}
.card.bg-dark h3 {
    color: #fff;
}

/* Pricing Section */
.price-card {
    text-align: center;
    position: relative;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.price-card.popular {
    border: 2px solid #007bff;
    transform: scale(1.05);
}
.price-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.price-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #007bff;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.price-card .price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #007bff;
    margin: 20px 0;
}

.price-card .price span {
    font-size: 1rem;
    color: #666;
}

.price-card ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
    flex-grow: 1;
}

.price-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
}

.price-card ul li:last-child {
    border-bottom: none;
}

/* Reviews */
.review-card {
    font-style: italic;
    color: #555;
    background: #fff;
}
.review-card .author {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: #333;
    font-style: normal;
    text-align: right;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.faq-item h4 {
    margin-bottom: 10px;
    color: #007bff;
}

/* Footer */
footer {
    background: #343a40;
    color: #fff;
    padding: 40px 20px;
    margin-top: 60px;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

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

.copyright {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Page content box for subpages */
.page-content-box {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }
    
    .nav-links {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero {
        padding: 60px 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .price-card.popular {
        transform: scale(1);
    }
    .price-card.popular:hover {
        transform: scale(1) translateY(-5px);
    }
    
    .btn {
        display: flex;
        width: 100%;
        margin-top: 15px;
        min-height: 50px;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links a {
        display: block;
        margin: 5px 0;
        padding: 10px 0;
    }
    
    .page-content-box {
        padding: 20px;
    }
}

/* --- PARTICLE PAW VISUAL STYLE OVERRIDES --- */
body {
    color: #E0F2FE !important;
    background: #070A12 radial-gradient(circle at center, #0B1220 0%, #070A12 100%) !important;
    background-attachment: fixed !important;
}
h1, h2, h3, h4 {
    color: #38BDF8 !important;
}
.navbar {
    background: rgba(7, 10, 18, 0.8) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}
.nav-links a {
    color: #E0F2FE !important;
}
.nav-links a:hover {
    color: #38BDF8 !important;
}
.logo {
    color: #38BDF8 !important;
}
.hero {
    background: transparent !important;
}
.card, .review-card, .faq-item, .page-content-box {
    background: rgba(255, 255, 255, 0.03) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(56, 189, 248, 0.15) !important;
    color: #E0F2FE !important;
}
.card h3, .faq-item h4 {
    color: #38BDF8 !important;
}
.card.bg-dark {
    background: rgba(56, 189, 248, 0.08) !important;
}
.price-card {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.price-card.popular {
    border: 2px solid #38BDF8 !important;
}
.price-card .badge {
    background: #38BDF8 !important;
    color: #070A12 !important;
}
.price-card .price {
    color: #38BDF8 !important;
}
.price-card .price span {
    color: rgba(224, 242, 254, 0.6) !important;
}
.price-card ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.review-card .author {
    color: rgba(224, 242, 254, 0.8) !important;
}
footer {
    background: rgba(7, 10, 18, 0.8) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.btn-primary {
    background-color: #38BDF8 !important;
    color: #070A12 !important;
}
.btn-primary:hover {
    background-color: #7DD3FC !important;
    box-shadow: 0 5px 15px rgba(56, 189, 248, 0.4) !important;
}
.btn-outline {
    color: #38BDF8 !important;
    border-color: #38BDF8 !important;
    background: transparent !important;
}
.btn-outline:hover {
    background-color: #38BDF8 !important;
    color: #070A12 !important;
}
.section-title::after {
    background: #38BDF8 !important;
}

/* Nav Actions Styling */
@media (max-width: 768px) {
    .nav-actions {
        margin-top: 15px;
        width: 100%;
        display: flex;
    }
    .nav-actions .btn {
        width: 100%;
        min-height: 50px !important;
    }
}

/* Accessibility & SEO Fixes (Phase 2) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #38BDF8;
    color: #070A12;
    padding: 8px 16px;
    z-index: 9999;
    transition: top 0.3s;
    text-decoration: none;
    font-weight: bold;
}
.skip-link:focus {
    top: 0;
}
*:focus-visible {
    outline: 2px solid #38BDF8;
    outline-offset: 2px;
}
section[id] {
    scroll-margin-top: 80px;
}
/* details reset */
details.faq-item summary {
    font-size: 1.1rem;
    font-weight: 600;
    color: #E0F2FE;
    list-style: none;
    outline: none;
    cursor: pointer;
    margin-bottom: 0;
    transition: color 0.3s ease;
}
details.faq-item summary::-webkit-details-marker {
    display: none;
}
details.faq-item[open] summary {
    margin-bottom: 15px;
    color: #38BDF8;
}
