/*
Theme Name: Moodstone Neon
Theme URI: https://moodstone.com
Author: Antigravity
Description: A bespoke dark and neon aesthetic theme for Moodstone.
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@400;500;700&display=swap');

:root {
    --bg-dark: #07070a;
    --bg-card: rgba(20, 20, 25, 0.7);
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --neon-magenta: #ff00ff;
    --neon-magenta-glow: rgba(255, 0, 255, 0.5);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: #fff;
    margin-top: 0;
}

a {
    color: var(--neon-magenta);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-shadow: 0 0 10px var(--neon-magenta-glow);
}

/* Header & Glassmorphism */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 7, 10, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    height: 40px;
    width: auto;
    /* Optional: Brighten dark logo for dark mode */
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.site-nav a {
    color: var(--text-primary);
    font-weight: 500;
    text-transform: lowercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--neon-magenta);
    box-shadow: 0 0 8px var(--neon-magenta-glow);
    transition: width 0.3s ease;
}

.site-nav a:hover::after {
    width: 100%;
}

/* Main Content Area */
.site-main {
    padding-top: 100px; /* Space for fixed header */
    min-height: 80vh;
}

.page-wrapper {
    padding: 4rem 0;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(90deg, #fff, var(--neon-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: lowercase;
}

.content-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
}

/* Front Page Specifics */
.front-page-hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.front-page-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--neon-magenta-glow) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0.4;
    filter: blur(50px);
}

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

.hero-subtitle {
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    text-transform: lowercase;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.neon-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
    text-transform: lowercase;
    border: 2px solid var(--neon-magenta);
    border-radius: 50px;
    background: transparent;
    box-shadow: 0 0 15px transparent, inset 0 0 15px transparent;
    transition: all 0.3s ease;
}

.neon-btn:hover {
    background: var(--neon-magenta);
    box-shadow: 0 0 20px var(--neon-magenta-glow), inset 0 0 10px var(--neon-magenta-glow);
    color: #fff;
    text-shadow: none;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--glass-border);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    background: #050507;
}

/* WordPress Core Elements */
.aligncenter { text-align: center; }
.alignwide { margin-left: -10%; margin-right: -10%; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; max-width: 100vw; }
img { max-width: 100%; height: auto; }

/* Privacy Policy Accordion */
.neon-accordion {
    margin-top: 3rem;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: rgba(10, 10, 15, 0.5);
    overflow: hidden;
    transition: all 0.3s ease;
}

.neon-accordion[open] {
    background: rgba(20, 20, 25, 0.8);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.1);
    border-color: rgba(255, 0, 255, 0.3);
}

.neon-accordion summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--neon-magenta);
    list-style: none;
    position: relative;
    user-select: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.neon-accordion summary::-webkit-details-marker {
    display: none;
}

.neon-accordion summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--neon-magenta);
    transition: transform 0.3s ease;
}

.neon-accordion[open] summary::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.accordion-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 1rem;
    padding-top: 1.5rem;
}

.accordion-content h2,
.accordion-content h3 {
    color: #fff;
    margin-top: 1.5rem;
    font-size: 1.2rem;
}

/* App Store Badges */
.app-store-badges {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.app-store-badges img {
    height: 50px;
    width: auto;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-store-badges img:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.1);
}

/* App Screenshots Gallery */
.app-screenshots-gallery {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.app-screenshots-gallery::-webkit-scrollbar {
    height: 8px;
}

.app-screenshots-gallery::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.app-screenshots-gallery::-webkit-scrollbar-thumb {
    background: var(--neon-magenta);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

.app-screenshots-gallery img {
    height: 400px;
    width: auto;
    border-radius: 12px;
    scroll-snap-align: start;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-screenshots-gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
}

@media (max-width: 768px) {
    .app-screenshots-gallery img {
        height: 300px;
    }
}

/* Animated SVG Logo */
.moodstone-svg-logo {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
    background-color: #111;
    display: block;
}

.moodstone-svg-logo path {
    fill: #222;
    animation: pulseStone 8s infinite alternate ease-in-out;
}

@keyframes pulseStone {
    0% { fill: #222; }
    20% { fill: #111; }
    40% { fill: var(--neon-magenta); }
    60% { fill: #111; }
    80% { fill: #00ffff; }
    100% { fill: #222; }
}

.moodstone-svg-logo path:nth-child(2n) { animation-delay: 1s; animation-duration: 9s; }
.moodstone-svg-logo path:nth-child(3n) { animation-delay: 2.5s; animation-duration: 7s; }
.moodstone-svg-logo path:nth-child(5n) { animation-delay: 4s; animation-duration: 11s; }
.moodstone-svg-logo path:nth-child(7n) { animation-delay: 0.5s; animation-duration: 10s; }
.moodstone-svg-logo path:nth-child(11n) { animation-delay: 3s; animation-duration: 8.5s; }

/* Override Animated SVG Logo with more colors */

.moodstone-svg-logo path {
    animation: pulseStoneBase 8s infinite alternate ease-in-out;
}

@keyframes pulseStoneBase {
    0%, 100% { fill: #222; }
    33% { fill: #ff00ff; }
    66% { fill: #ffff00; }
}

@keyframes pulseStone1 {
    0%, 100% { fill: #222; }
    20% { fill: #ff00ff; }
    50% { fill: #111; }
    80% { fill: #00ffff; }
}

@keyframes pulseStone2 {
    0%, 100% { fill: #111; }
    30% { fill: #39ff14; }
    60% { fill: #222; }
    90% { fill: #ff9900; }
}

@keyframes pulseStone3 {
    0%, 100% { fill: #222; }
    25% { fill: #9d00ff; }
    50% { fill: #111; }
    75% { fill: #ff69b4; }
}

@keyframes pulseStone4 {
    0%, 100% { fill: #111; }
    25% { fill: #ff0055; }
    50% { fill: #222; }
    75% { fill: #0033ff; }
}

.moodstone-svg-logo path:nth-child(2n) { animation: pulseStone1 9s infinite alternate ease-in-out 1s; }
.moodstone-svg-logo path:nth-child(3n) { animation: pulseStone2 7s infinite alternate ease-in-out 2.5s; }
.moodstone-svg-logo path:nth-child(5n) { animation: pulseStone3 11s infinite alternate ease-in-out 4s; }
.moodstone-svg-logo path:nth-child(7n) { animation: pulseStone4 10s infinite alternate ease-in-out 0.5s; }
.moodstone-svg-logo path:nth-child(11n) { animation: pulseStone2 8.5s infinite alternate ease-in-out 3s; }
.moodstone-svg-logo path:nth-child(13n) { animation: pulseStone3 12s infinite alternate ease-in-out 2s; }

/* Adding explicit green pulses */
@keyframes pulseStone5 {
    0%, 100% { fill: #222; }
    25% { fill: #00ff00; }
    50% { fill: #111; }
    75% { fill: #39ff14; }
}

.moodstone-svg-logo path:nth-child(4n) { animation: pulseStone5 8s infinite alternate ease-in-out 1.5s; }
.moodstone-svg-logo path:nth-child(9n) { animation: pulseStone5 13s infinite alternate ease-in-out 3.5s; }

/* Front Page Logo */
.front-page-logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.front-page-logo-wrapper .moodstone-svg-logo {
    width: 200px;
    height: 200px;
    box-shadow: 0 0 40px rgba(255, 0, 255, 0.4);
}
