/**
 * WordPress ATX Theme Styles
 *
 * @package WordPress_ATX
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --bg-card-hover: #1a1a1a;
    --accent: #c9ff00;
    --accent-hover: #b8e600;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-muted: #737373;
    --border: #262626;
    --border-light: #404040;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --container-max: 80rem;
    --container-padding: 1rem;
}

@media (min-width: 768px) {
    :root {
        --container-padding: 2rem;
    }
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0.5rem 0 0 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-top: 1rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--accent);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--border-light);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--text-muted);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

@media (min-width: 768px) {
    .header-content {
        height: 5rem;
    }
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 2.5rem;
    width: auto;
}

.logo-text {
    display: none;
    flex-direction: column;
}

@media (min-width: 640px) {
    .logo-text {
        display: flex;
    }
}

.logo-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-heading);
    line-height: 1.2;
}

.logo-title .accent {
    color: var(--accent);
}

.logo-subtitle {
    font-size: 0.625rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
}

.nav-link {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-cta {
    padding: 0.625rem 1.25rem;
    background-color: var(--accent);
    color: #000;
    font-weight: 600;
    border-radius: 9999px;
    transition: background-color 0.2s ease;
}

.nav-cta:hover {
    background-color: var(--accent-hover);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    padding: 0.5rem;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.menu-icon {
    width: 1.5rem;
    height: 1.5rem;
}

/* Mobile Menu */
.mobile-menu {
    padding: 1rem 0;
    border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
    }
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav .nav-cta {
    text-align: center;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.gradient-hero {
    background: radial-gradient(ellipse at top, #1a1a1a 0%, #0a0a0a 70%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.8), #0a0a0a);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 5rem var(--container-padding);
}

.hero-text {
    max-width: 48rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(201, 255, 0, 0.1);
    border: 1px solid rgba(201, 255, 0, 0.3);
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.hero-badge span {
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-title .accent {
    color: var(--accent);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 0 0 2rem 0;
    max-width: 42rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.5rem;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--accent);
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-section {
    padding: 5rem 0;
    background-color: var(--bg-dark);
}

@media (min-width: 768px) {
    .services-section {
        padding: 8rem 0;
    }
}

.services-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    transition: border-color 0.2s ease;
}

.service-card:hover {
    border-color: rgba(201, 255, 0, 0.3);
}

.service-icon-wrap {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(201, 255, 0, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 1.5rem;
    transition: background-color 0.2s ease;
}

.service-card:hover .service-icon-wrap {
    background-color: rgba(201, 255, 0, 0.2);
}

.service-icon {
    width: 2rem;
    height: 2rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
}

.service-description {
    color: var(--text-secondary);
    margin: 0 0 1.5rem 0;
}

.service-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.feature-check {
    width: 1rem;
    height: 1rem;
    color: var(--accent);
    flex-shrink: 0;
}

/* ==========================================================================
   Why Us Section
   ========================================================================== */

.why-us-section {
    padding: 5rem 0;
    background-color: var(--bg-card);
}

@media (min-width: 768px) {
    .why-us-section {
        padding: 8rem 0;
    }
}

.why-us-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .why-us-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.why-us-content .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.why-us-content .section-description {
    text-align: left;
    margin-left: 0;
    margin-bottom: 2rem;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
}

.benefit-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(201, 255, 0, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.benefit-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background-color: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
}

/* ==========================================================================
   Process Section
   ========================================================================== */

.process-section {
    padding: 5rem 0;
    background-color: var(--bg-dark);
}

@media (min-width: 768px) {
    .process-section {
        padding: 8rem 0;
    }
}

.process-timeline {
    position: relative;
}

.timeline-line {
    display: none;
    position: absolute;
    top: 2rem;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--border);
}

@media (min-width: 768px) {
    .timeline-line {
        display: block;
    }
}

.process-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.process-step {
    position: relative;
}

.step-number {
    width: 4rem;
    height: 4rem;
    background-color: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.step-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
    padding: 5rem 0;
    background-color: var(--bg-card);
}

@media (min-width: 768px) {
    .contact-section {
        padding: 8rem 0;
    }
}

.contact-grid {
    display: grid;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-content .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.contact-content .section-description {
    text-align: left;
    margin-left: 0;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon-wrap {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(201, 255, 0, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--accent);
}

.contact-label {
    color: var(--text-primary);
    font-weight: 500;
}

.contact-link {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--accent);
}

.contact-text {
    color: var(--text-secondary);
}

.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
}

.partner-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #0ecad4;
}

.partner-badge span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Contact Form */
.contact-form-wrap {
    background-color: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label, .wpforms-container .wpforms-form .wpforms-field-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-input, .form-textarea{
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-textarea {
    resize: none;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background-color: var(--accent);
    color: #000;
    font-weight: 600;
    font-size: 1.125rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.form-submit:hover {
    background-color: var(--accent-hover);
}

.form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-message {
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

.form-success {
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-success p {
    color: #4ade80;
    margin: 0;
}

.form-error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.form-error p {
    color: #f87171;
    margin: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 2rem;
    height: 2rem;
    background-color: var(--accent);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #000;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    max-width: 24rem;
}

.footer-attribution {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-attribution a {
    color: var(--accent);
}

.footer-attribution a:hover {
    text-decoration: underline;
}

.footer-heading {
    color: var(--text-primary);
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.social-link:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.hidden {
    display: none !important;
}

.accent {
    color: var(--accent);
}

/* ==========================================================================
   WordPress Core Styles
   ========================================================================== */

.entry-header {
    margin-bottom: 2rem;
    padding-top: 8rem;
}

.entry-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.entry-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content a {
    color: var(--accent);
}

.entry-content a:hover {
    text-decoration: underline;
}
