/* === The Command Guru Landing Page Styles === */
:root {
    --deep-blue: #002b54;
    --electric-purple: #7b2ff7;
    --neon-green: #00e58a;
    --white: #ffffff;
    --dark-bg: #031321;
    --card-bg: #092034;
    --border-radius: 1rem;
    --font-main: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background: var(--deep-blue);
    color: var(--white);
    line-height: 1.6;
    padding-top: 72px;
}

img {
    max-width: 100%;
    height: auto;
}

/* Utilities */
.container {
    width: min(1200px, 90%);
    margin-inline: auto;
}

.container.narrow {
    width: min(800px, 90%);
}

.text-center {
    text-align: center;
}

/* SITE HEADER */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: rgba(3,19,33,0.85);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--white);
}

/* HERO */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 90vh;
    text-align: center;
    overflow: hidden;
    padding-top: 0;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,43,84,0.9) 0%, rgba(3,19,33,0.9) 100%);
    /* Placeholder for animation or video background */
    background-image: url('https://source.unsplash.com/random/1920x1080?technology');
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
}
.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}
.logo {
    max-width: 320px;
    height: auto;
    margin-bottom: 0;
    border-radius: 0.5rem;
}
.headline {
    font-size: clamp(2rem, 5vw + 1rem, 4rem);
    font-weight: 700;
    margin-top: 0;
}
.subhead {
    max-width: 650px;
    color: #cdd8e4;
    font-size: 1.125rem;
}
.btn-accent {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: var(--electric-purple);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,229,138,0.4);
}
.btn-lg {
    font-size: 1.1rem;
}

/* SECTIONS */
.section {
    padding: 4rem 0;
    background: var(--dark-bg);
}
.section.dark {
    background: #001627;
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}
.section-text {
    color: #cdd8e4;
}

/* MODULE GRID */
.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}
.module-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: default;
}
.module-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 16px rgba(0,229,138,0.25);
}
.module-card .icon {
    font-size: 2.3rem;
    color: var(--neon-green);
    margin-bottom: 1rem;
}
.module-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Featured module cards */
.module-card.featured {
    position: relative;
    border: 2px solid var(--electric-purple);
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(123, 47, 247, 0.1) 100%);
}

.module-card.featured:hover {
    box-shadow: 0 6px 16px rgba(123, 47, 247, 0.4);
}

/* Module badges */
.module-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--electric-purple);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* BULLET LIST */
.bullet-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.bullet-list li {
    padding-left: 1.4rem;
    position: relative;
}
.bullet-list li::before {
    content: '»';
    position: absolute;
    left: 0;
    color: var(--neon-green);
}

/* CTA FOOTER */
.cta-footer {
    background: var(--card-bg);
    padding: 4rem 0 2rem;
    text-align: center;
}
.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.cta-text {
    color: #cdd8e4;
    margin-bottom: 2rem;
}
.footer-links {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-link {
    color: #cdd8e4;
    font-size: 0.9rem;
    text-decoration: none;
}
.footer-link:hover {
    color: var(--neon-green);
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .btn-accent {
        width: 100%;
    }
    .logo {
        max-width: 180px;
    }
}

/* The Command Guru - Custom Styles */

/* Adjustments for the hero banner */
.hero {
    min-height: 90vh;
    background: linear-gradient(180deg,#002b54 0%, #003a6f 100%);
    background-size: cover;
    background-position: center;
    position: relative;
    color: #ffffff;
}

/* Ensure hero text stands out */
.hero h1,
.hero p {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Testimonials carousel adjustments */
#testimonialCarousel blockquote {
    font-style: italic;
}

/* Centered pill-style top navbar */
.navbar.custom-nav {
    width: auto;
    left: 50%;
    transform: translateX(-50%);
    top: 1rem;
    padding: 0.5rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Hero logo size */
.hero-logo {
    width: 140px;
    height: auto;
}

/* Brand pill under logo */
.brand-pill {
    background: #ffffff;
    color: #003a6f;
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    border-radius: 0.75rem;
    display: inline-block;
    font-size: 1.25rem;
}

/* Features card style */
#features .card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

#features .card-title {
    font-weight: 600;
}

.navbar.custom-nav .container {
    width: auto;
}

/* NAV LINKS */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #cdd8e4;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}
.nav-link:hover {
    color: var(--neon-green);
}

.btn-nav {
    padding: 0.55rem 1.2rem;
    background: var(--electric-purple);
    color: var(--white);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,229,138,0.3);
}

/* DEMO REQUEST FORM */
.demo-form {
    max-width: 800px;
    margin: 3rem auto 2rem;
    background: var(--dark-bg);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    border: 1px solid rgba(0,229,138,0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-label {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-input {
    background: var(--card-bg);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--white);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--neon-green);
    box-shadow: 0 0 0 3px rgba(0,229,138,0.1);
}

.form-input::placeholder {
    color: #6b7280;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    text-align: center;
}

.form-submit button {
    margin-bottom: 1rem;
}

.form-note {
    color: #cdd8e4;
    font-size: 0.9rem;
    margin: 0;
}

/* Form validation states */
.form-input:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #ef4444;
}

.form-input:valid:not(:focus):not(:placeholder-shown) {
    border-color: var(--neon-green);
}

/* Error message styling */
.form-error {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group.error .form-error {
    display: block;
}

.form-group.error .form-input {
    border-color: #ef4444;
}

/* Success message */
.form-success {
    background: rgba(0,229,138,0.1);
    border: 1px solid var(--neon-green);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
    color: var(--neon-green);
    text-align: center;
    display: none;
}

.form-success.show {
    display: block;
}

/* Loading state */
.form-submit button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-submit button.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid transparent;
    border-top: 2px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive form */
@media (max-width: 768px) {
    .demo-form {
        padding: 1.5rem;
        margin: 2rem auto 1rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group-full {
        grid-column: 1;
    }
} 