/*
Theme Name: James AI Theme
Theme URI: https://agentjames.net/
Author: James AI
Description: A dark modern theme inspired by the James AI dashboard. Implements home page and basic pages.
Version: 1.0
License: GPLv3
*/

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

:root {
    --bg-gradient-start: #2a0a3a;
    --bg-gradient-end: #0a0a2a;
    --container-bg: rgba(26, 10, 42, 0.9);
    --text-light: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent-green: #4CAF50;
    --accent-orange: #ffa500;
    --accent-red: #f44336;
    --card-bg: #3a2a5a;
    --input-bg: #4a3a6a;
    --border-color: #5a3a7a;
    --focus-glow: rgba(255, 165, 0, 0.5);
    --button-hover: #cc8400;
    --header-font: 'Orbitron', sans-serif;
    --body-font: 'Roboto', sans-serif;
}

body {
    font-family: var(--body-font);
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

header {
    background-color: var(--container-bg);
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
header .logo {
    font-family: var(--header-font);
    font-size: 1.8em;
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
header .logo span {
    color: var(--accent-orange);
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}
nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color .3s;
}
nav ul li a:hover {
    color: var(--accent-orange);
}

.hero {
    text-align: center;
    padding: 80px 20px;
    background: url('https://placehold.co/1200x600/1a0a2a/e0e0e0?text=Subtle+Abstract+Network+Background') no-repeat center/cover;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.4);
}
.hero h2 {
    font-family: var(--header-font);
    font-size: 3.5em;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.hero p {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cta-buttons a {
    background-color: var(--accent-orange);
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color .3s, transform .3s;
    box-shadow: 0 4px 15px rgba(255,165,0,.4);
}
.cta-buttons a:hover {
    background-color: var(--button-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,165,0,.6);
}
.cta-buttons a.secondary {
    background-color: transparent;
    border: 2px solid var(--accent-green);
    color: var(--accent-green);
    box-shadow: none;
}
.cta-buttons a.secondary:hover {
    background-color: var(--accent-green);
    color: #fff;
    box-shadow: 0 4px 15px rgba(76,175,80,.4);
}

section {
    padding: 60px 20px;
    text-align: center;
}
section h2 {
    font-family: var(--header-font);
    font-size: 2.8em;
    color: var(--accent-orange);
    margin-bottom: 40px;
    position: relative;
}
section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-green);
    border-radius: 2px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 30px;
    margin-top: 50px;
}
.benefit-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,.3);
    text-align: left;
    transition: transform .3s, box-shadow .3s;
}
.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,.4);
}
.benefit-card .icon {
    font-size: 3em;
    color: var(--accent-green);
    margin-bottom: 15px;
}
.benefit-card h3 {
    font-family: var(--header-font);
    font-size: 1.8em;
    margin-bottom: 10px;
}
.benefit-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

footer {
    background-color: var(--container-bg);
    padding: 30px 20px;
    text-align: center;
    font-size: .9em;
    color: var(--text-muted);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-top: 40px;
}
footer nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 25px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
footer nav ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color .3s;
}
footer nav ul li a:hover {
    color: var(--accent-orange);
}

@media (max-width:768px){
    .hero h2{font-size:2.5em}
    .hero p{font-size:1em}
    header nav{display:none}
    .cta-buttons{flex-direction:column}
    section{padding:40px 15px}
    section h2{font-size:2em}
    .benefits-grid{grid-template-columns:1fr}
}
