:root {
    --primary-color: #F5D90A;
    --primary-hover: #D6BD06;
    --bg-color: #0B0D12;
    --bg-card: #13161D;
    --text-main: #E2E8F0;
    --text-light: #94A3B8;
    --white: #ffffff;
    --border-color: #2D3748;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-color);
    background-image: 
        linear-gradient(rgba(245, 217, 10, 0.12) 1px, transparent 1px), 
        linear-gradient(90deg, rgba(245, 217, 10, 0.12) 1px, transparent 1px);
    background-size: 30px 30px;
    background-attachment: fixed;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

h1, h2, h3, .logo, .badge {
    font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.price, .counter {
    font-family: ui-monospace, SFMono-Regular, Consolas, 'Courier New', monospace;
}

/* Neon Text Effect */
.neon-text {
    color: #fff;
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px var(--primary-color),
        0 0 40px var(--primary-color),
        0 0 80px var(--primary-color);
    animation: neon-flicker 3s infinite alternate;
}

@keyframes neon-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 20px var(--primary-color),
            0 0 40px var(--primary-color),
            0 0 80px var(--primary-color);
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

/* Buttons */
.btn-primary, .btn-large {
    display: inline-block;
    background-color: var(--primary-color);
    color: #000;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(245, 217, 10, 0.4);
}

.btn-primary:hover, .btn-large:hover {
    background-color: var(--primary-hover);
    color: #000;
    box-shadow: 0 0 25px rgba(245, 217, 10, 0.8);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.2rem;
    border-radius: 8px;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: inset 0 0 10px rgba(245, 217, 10, 0.1), 0 0 10px rgba(245, 217, 10, 0.1);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px rgba(245, 217, 10, 0.6);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px max(5%, calc((100% - 1200px) / 2));
    background-color: rgba(11, 13, 18, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(245, 217, 10, 0.5);
}

/* Sections */
section {
    padding: 80px max(5%, calc((100% - 1200px) / 2));
    text-align: center;
}

h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    background-color: transparent;
    padding: 100px max(5%, calc((100% - 1200px) / 2)) 150px; 
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 10;
}

/* Paw prints animation */
.paw-prints {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
    opacity: 0.8;
}

.paw-prints .paw {
    font-size: 1.8rem;
    color: transparent;
    text-shadow: 0 0 0 rgba(245, 217, 10, 0);
    animation: paw-glow 2.5s infinite;
}

.paw-prints .paw:nth-child(even) {
    transform: translateY(20px);
}

@keyframes paw-glow {
    0%, 100% { text-shadow: 0 0 0 rgba(245, 217, 10, 0); }
    50% { text-shadow: 0 0 15px var(--primary-color), 0 0 30px var(--primary-color); color: var(--primary-color); }
}

/* Cards Layout */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 20px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.card:hover, .review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(245, 217, 10, 0.2), 0 0 30px rgba(245, 217, 10, 0.1);
    border-color: rgba(245, 217, 10, 0.4);
}

.card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Pricing */
.pricing {
    background-color: rgba(19, 22, 29, 0.5);
}

.pricing-table {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.price-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 40px 30px;
    width: 320px;
    border: 1px solid var(--border-color);
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(245, 217, 10, 0.2), 0 0 30px rgba(245, 217, 10, 0.1);
    border-color: rgba(245, 217, 10, 0.4);
}

.price-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(245, 217, 10, 0.15);
}

.price-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 0 30px rgba(245, 217, 10, 0.3);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 30px;
}

.price span {
    font-size: 1.2rem;
    color: var(--text-light);
}

.price-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: -20px;
    margin-bottom: 25px;
}

.price-card ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.price-card ul li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}

.price-card ul li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    text-shadow: 0 0 10px var(--primary-color);
}

/* Reviews */
.review-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: left;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.review-card p {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 20px;
}

.review-card .author {
    font-weight: bold;
    color: var(--primary-color);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

details {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px 20px;
    transition: all 0.3s ease;
}

details:hover {
    border-color: rgba(245, 217, 10, 0.4);
    box-shadow: 0 0 15px rgba(245, 217, 10, 0.1);
}

summary {
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    list-style: none;
    position: relative;
    padding-right: 20px;
    color: var(--text-main);
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
}

details[open] summary::after {
    content: "-";
}

details p {
    margin-top: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
footer {
    background: #06080A;
    color: #64748B;
    padding: 60px max(5%, calc((100% - 1200px) / 2)) 30px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-links {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #94A3B8;
    font-size: 1rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(245, 217, 10, 0.5);
}

.copyright {
    font-size: 0.9rem;
    border-top: 1px solid #1E293B;
    padding-top: 30px;
}

/* Subpage content override for dark theme */
.page-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    padding: 40px !important;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
    
    .price-card.popular {
        transform: scale(1);
    }
    .price-card.popular:hover {
        transform: scale(1) translateY(-5px);
    }
    
    .btn-large, .btn-primary {
        display: block;
        width: 100%;
        padding: 16px;
    }
    
    .navbar .btn-primary {
        display: inline-block;
        width: auto;
        padding: 10px 16px;
    }
    
    .price-card {
        width: 100%;
    }
    
    .paw-prints {
        gap: 20px;
    }
    .paw-prints .paw {
        font-size: 1.2rem;
    }
}

/* Accessibility & Focus */
:focus-visible {
    outline: 3px solid var(--primary-color) !important;
    outline-offset: 2px !important;
}
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: #000;
    padding: 8px 16px;
    z-index: 9999;
    font-weight: bold;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 0;
}
html { scroll-behavior: smooth; }
h1, h2, h3, h4, h5, h6, section, [id] {
    scroll-margin-top: 100px;
}
.card p, .review-card p {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Semantic Table */
.pricing-table-container {
    width: 100%;
    overflow-x: auto;
    padding: 20px 0;
}
.pricing-table-semantic {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.pricing-table-semantic caption {
    caption-side: top;
    font-size: 0;
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.pricing-table-semantic th, .pricing-table-semantic td {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-light);
}
.pricing-table-semantic thead th {
    background: rgba(245,217,10,0.05);
    color: var(--primary-color);
    font-size: 1.2rem;
    border-bottom: 2px solid var(--primary-color);
}
.pricing-table-semantic tbody th {
    text-align: left;
    color: #fff;
    font-weight: 500;
}
.pricing-table-semantic tfoot td {
    border-bottom: none;
    padding-bottom: 30px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
