/*
 * Theme Name: Cyber Accounting
 * Description: A 1-page aesthetic cyberpunk landing page for the Record Label Accounting plugin.
 * Version: 1.0.1
 * Author: Antigravity
 */

/* ==========================================================================
   CSS Variables (Cyberpunk Palette)
   ========================================================================== */
   :root {
    --bg-color: #050505;
    --bg-grid: rgba(0, 243, 255, 0.03);
    
    --neon-cyan: #00f3ff;
    --neon-magenta: #ff00ea;
    --neon-yellow: #fcee0a;
    
    --text-main: #e0e0e0;
    --text-muted: #8892b0;
    
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

/* ==========================================================================
   Base
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

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

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

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

.text-center { text-align: center; }
.neon-text-magenta { color: var(--neon-magenta); text-shadow: 0 0 5px rgba(255, 0, 234, 0.5); }

/* ==========================================================================
   Cyber Grid Background
   ========================================================================== */
.cyber-grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(var(--bg-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 20s linear infinite;
    opacity: 0.5;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px) translateZ(-200px); }
}

/* ==========================================================================
   Typography & Glitch
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    color: var(--text-main);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 3px;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
}

.glitch {
    position: relative;
    color: var(--text-main);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--neon-magenta);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--neon-cyan);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% { clip: rect(21px, 9999px, 93px, 0); }
  5% { clip: rect(69px, 9999px, 60px, 0); }
  10% { clip: rect(81px, 9999px, 69px, 0); }
  15% { clip: rect(28px, 9999px, 5px, 0); }
  20% { clip: rect(23px, 9999px, 12px, 0); }
  25% { clip: rect(82px, 9999px, 62px, 0); }
  30% { clip: rect(88px, 9999px, 7px, 0); }
  35% { clip: rect(22px, 9999px, 13px, 0); }
  40% { clip: rect(81px, 9999px, 61px, 0); }
  45% { clip: rect(98px, 9999px, 80px, 0); }
  50% { clip: rect(83px, 9999px, 10px, 0); }
  55% { clip: rect(74px, 9999px, 99px, 0); }
  60% { clip: rect(58px, 9999px, 69px, 0); }
  65% { clip: rect(84px, 9999px, 94px, 0); }
  70% { clip: rect(5px, 9999px, 59px, 0); }
  75% { clip: rect(31px, 9999px, 63px, 0); }
  80% { clip: rect(96px, 9999px, 7px, 0); }
  85% { clip: rect(83px, 9999px, 61px, 0); }
  90% { clip: rect(67px, 9999px, 21px, 0); }
  95% { clip: rect(57px, 9999px, 56px, 0); }
  100% { clip: rect(76px, 9999px, 45px, 0); }
}

@keyframes glitch-anim2 {
  0% { clip: rect(65px, 9999px, 100px, 0); }
  5% { clip: rect(52px, 9999px, 74px, 0); }
  10% { clip: rect(79px, 9999px, 85px, 0); }
  15% { clip: rect(75px, 9999px, 5px, 0); }
  20% { clip: rect(67px, 9999px, 61px, 0); }
  25% { clip: rect(14px, 9999px, 79px, 0); }
  30% { clip: rect(1px, 9999px, 66px, 0); }
  35% { clip: rect(86px, 9999px, 30px, 0); }
  40% { clip: rect(23px, 9999px, 98px, 0); }
  45% { clip: rect(85px, 9999px, 72px, 0); }
  50% { clip: rect(71px, 9999px, 75px, 0); }
  55% { clip: rect(2px, 9999px, 48px, 0); }
  60% { clip: rect(30px, 9999px, 16px, 0); }
  65% { clip: rect(59px, 9999px, 50px, 0); }
  70% { clip: rect(41px, 9999px, 62px, 0); }
  75% { clip: rect(2px, 9999px, 82px, 0); }
  80% { clip: rect(47px, 9999px, 73px, 0); }
  85% { clip: rect(3px, 9999px, 27px, 0); }
  90% { clip: rect(26px, 9999px, 55px, 0); }
  95% { clip: rect(42px, 9999px, 97px, 0); }
  100% { clip: rect(38px, 9999px, 49px, 0); }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.cyber-btn {
    display: inline-block;
    padding: 15px 30px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    cursor: pointer;
    border: none;
    background: transparent;
    transition: all 0.3s ease;
}

.primary-glitch {
    color: var(--bg-color);
    background: var(--neon-yellow);
    box-shadow: 4px 4px 0 var(--neon-cyan);
}

.primary-glitch:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--neon-cyan), 0 0 20px rgba(252, 238, 10, 0.5);
    color: var(--bg-color);
    text-shadow: none;
}

.primary-glitch::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 2px solid var(--neon-yellow);
    transform: translate(6px, 6px);
    z-index: -1;
    transition: all 0.3s ease;
}

.primary-glitch:hover::after {
    transform: translate(8px, 8px);
    border-color: var(--neon-cyan);
}

.secondary-glitch {
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
    box-shadow: inset 0 0 10px rgba(0, 243, 255, 0.2), 0 0 10px rgba(0, 243, 255, 0.2);
    background: rgba(0, 243, 255, 0.05);
}

.secondary-glitch:hover {
    background: var(--neon-cyan);
    color: var(--bg-color);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.8);
    text-shadow: none;
}

.btn-neon {
    padding: 8px 15px;
    font-family: var(--font-heading);
    border: 1px solid var(--neon-magenta);
    color: var(--neon-magenta);
    font-size: 0.9rem;
    text-transform: uppercase;
    background: rgba(255, 0, 234, 0.05);
}

.btn-neon:hover {
    background: var(--neon-magenta);
    color: var(--bg-color);
    box-shadow: 0 0 15px var(--neon-magenta);
    text-shadow: none;
}

/* ==========================================================================
   Header
   ========================================================================== */
.cyber-header {
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    padding: 20px 0;
    position: relative;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
}

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

.brand {
    display: flex;
    flex-direction: column;
}

.brand .glitch {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--neon-cyan);
}

.brand-sub {
    font-size: 0.7rem;
    letter-spacing: 5px;
    color: var(--text-muted);
}

.cyber-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.cyber-nav a:not(.btn-neon) {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 150px 0 100px;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(224, 224, 224, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 600px;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-section {
    padding: 100px 0;
    background: linear-gradient(0deg, rgba(5,5,5,1) 0%, rgba(5,5,5,0) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 243, 255, 0.1);
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 20px; height: 2px;
    background: var(--neon-cyan);
    transition: width 0.3s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 20px; height: 2px;
    background: var(--neon-magenta);
    transition: width 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(0, 243, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-card:hover::before,
.feature-card:hover::after {
    width: 100px;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--neon-cyan);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ==========================================================================
   Panel / CTA
   ========================================================================== */
.cta-section {
    padding: 100px 0;
}

.cyber-panel {
    border: 1px solid var(--neon-yellow);
    padding: 60px;
    background: repeating-linear-gradient(
        45deg,
        rgba(252, 238, 10, 0.02),
        rgba(252, 238, 10, 0.02) 10px,
        rgba(0, 0, 0, 0) 10px,
        rgba(0, 0, 0, 0) 20px
    );
    position: relative;
    border-radius: 2px;
}

.cyber-panel::before {
    content: 'SYS_MSG';
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--bg-color);
    padding: 0 10px;
    color: var(--neon-yellow);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    border: 1px solid var(--neon-yellow);
}

.cyber-panel h2 {
    color: var(--neon-yellow);
    margin-bottom: 20px;
}

.cyber-panel p {
    color: var(--text-main);
    margin-bottom: 40px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.cyber-footer {
    border-top: 1px solid rgba(255, 0, 234, 0.2);
    padding: 40px 0;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-copy {
    margin-top: 10px;
    letter-spacing: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .cyber-nav { display: none; }
}

/* ==========================================================================
   Page Content Wrapper (Native Pages)
   ========================================================================== */
.page-content-wrapper {
    background: rgba(5, 5, 5, 0.85);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 4px;
    padding: 40px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
    backdrop-filter: blur(5px);
    margin-top: 30px;
}

.page-content-wrapper a:not(.cyber-btn):not(.btn-neon) {
    text-decoration: underline;
}

.page-content-wrapper a:not(.cyber-btn):not(.btn-neon):hover {
    text-decoration: none;
}
