/* =========================================
   PSEO Custom CSS - Premium Dark Theme
   ========================================= */

:root {
    /* Brand Colors */
    --pseo-primary: #ff3c00;
    /* Vibrant Orange/Red */
    --pseo-secondary: #ffffff;
    --pseo-accent: #00d2ff;
    /* Cyan for tech vibes */

    /* Backgrounds */
    --pseo-bg-dark: #0a0a0a;
    --pseo-bg-darker: #050505;
    --pseo-bg-card: rgba(255, 255, 255, 0.03);
    --pseo-bg-card-hover: rgba(255, 255, 255, 0.05);

    /* Text */
    --pseo-text-main: #ffffff;
    --pseo-text-muted: rgba(255, 255, 255, 0.7);

    /* Gradients */
    --pseo-gradient-primary: linear-gradient(135deg, #ff3c00 0%, #ff8800 100%);
    --pseo-gradient-dark: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    --pseo-gradient-glow: radial-gradient(circle at center, rgba(255, 60, 0, 0.15) 0%, transparent 70%);

    /* Borders */
    --pseo-border-light: rgba(255, 255, 255, 0.1);

    /* Spacing */
    --section-spacing: 120px;
}

/* Base Overrides - Enforce White Text */
body.agntix-dark {
    background-color: var(--pseo-bg-dark);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #ffffff !important;
}

p,
span,
li,
a {
    color: #ffffff;
}

.text-muted,
.pseo-text-muted,
.text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* =========================================
   Utilities
   ========================================= */

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

.pseo-section {
    padding: var(--section-spacing) 0;
    position: relative;
    overflow: hidden;
}

/* Glassmorphism Card */
.pseo-card {
    background: var(--pseo-bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--pseo-border-light);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pseo-card:hover {
    background: var(--pseo-bg-card-hover);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Text Gradients */
.text-gradient {
    background: var(--pseo-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    color: transparent !important;
    /* Override white enforcement */
}

/* =========================================
   Typography
   ========================================= */

.pseo-headline {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.pseo-headline span {
    color: var(--pseo-primary);
}

.pseo-subheadline {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.pseo-section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* =========================================
   Components
   ========================================= */

/* Buttons */
.pseo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    gap: 10px;
    color: #ffffff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backface-visibility: hidden;
}

.pseo-btn:hover {
    transform: translateY(-3px) scale(1.02);
}

.pseo-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.pseo-btn-primary {
    background: var(--pseo-primary);
    box-shadow: 0 10px 25px rgba(255, 60, 0, 0.3);
    border: 1px solid transparent;
}

.pseo-btn-primary:hover {
    background: #ff5722;
    /* Lighter/Brighter orange */
    box-shadow: 0 15px 35px rgba(255, 60, 0, 0.5);
    color: white !important;
}

.pseo-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.pseo-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    color: white !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.pseo-btn-white {
    background: #ffffff;
    color: #000000 !important;
    border: 1px solid #ffffff;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

.pseo-btn-white:hover {
    background: #f0f0f0;
    color: #000000 !important;
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Hero Section (Split Layout & Grid) */
.pseo-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--pseo-bg-darker);
    position: relative;
    padding-top: 140px;
    padding-bottom: 100px;
}

.pseo-hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    /* padding-right: 40px; */
}

/* Pill Badge (matches "Next group starts..." style) */
.pseo-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 60, 0, 0.3);
    border-radius: 100px;
    padding: 8px 8px 8px 20px;
    font-size: 0.9rem;
    color: var(--pseo-primary);
    background: rgba(255, 60, 0, 0.05);
    margin-bottom: 30px;
}

.pseo-pill-circle {
    width: 32px;
    height: 32px;
    background: var(--pseo-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Hero Right Side Grid */
.pseo-hero-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 2;
}

/* Hero Cards */
.pseo-hero-card-primary {
    background: #ff3c00;
    /* Orange/Red from reference */
    border-radius: 30px;
    padding: 40px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(255, 60, 0, 0.2);
}

.pseo-hero-card-dark {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 30px 40px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Hero Form inside Primary Card */
.pseo-hero-form input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px 20px;
    color: white;
    width: 100%;
    margin-bottom: 15px;
    font-size: 1rem;
}

.pseo-hero-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.pseo-hero-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

.pseo-hero-form button {
    background: white;
    color: var(--pseo-primary);
    border: none;
    padding: 15px 30px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pseo-hero-form button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: #ffffff;
    /* Explicitly keep white */
    filter: brightness(1.05);
}

.pseo-hero-form button:active {
    transform: translateY(-1px) scale(0.98);
}

/* Chart Line Animation (Simple CSS approximation) */
.chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    opacity: 0.3;
    pointer-events: none;
}

.chart-badge {
    position: absolute;
    top: 40px;
    right: 40px;
    background: #FFD700;
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Benefits Grid */
.pseo-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.pseo-benefit-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 60, 0, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--pseo-primary);
    font-size: 24px;
}

.pseo-benefit-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.pseo-benefit-desc {
    color: var(--pseo-text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Features / Details */
.pseo-feature-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 100px;
}

.pseo-feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.pseo-feature-content {
    flex: 1;
}

.pseo-feature-image {
    flex: 1;
}

/* Location Badge */
.pseo-location-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--pseo-accent);
}

/* FAQ Accordion */
.pseo-accordion {
    max-width: 800px;
    margin: 60px auto 0;
}

.pseo-accordion-item {
    border-bottom: 1px solid var(--pseo-border-light);
    margin-bottom: 20px;
}

.pseo-accordion-trigger {
    width: 100%;
    text-align: left;
    padding: 20px 0;
    background: none;
    border: none;
    color: var(--pseo-text-main);
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.pseo-accordion-trigger:hover {
    color: var(--pseo-primary);
}

.pseo-accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.pseo-accordion-content {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    color: var(--pseo-text-muted);
}

.pseo-accordion-inner {
    padding-bottom: 30px;
    line-height: 1.7;
}

.pseo-accordion-item.active .pseo-accordion-content {
    height: auto;
}

.pseo-accordion-item.active .pseo-accordion-icon {
    transform: rotate(45deg);
    color: var(--pseo-primary);
}

/* CTA Section */
.pseo-cta-box {
    background: var(--pseo-gradient-primary);
    border-radius: 40px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pseo-cta-content {
    position: relative;
    z-index: 2;
}

.pseo-cta-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.pseo-cta-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 991px) {
    .pseo-headline {
        font-size: 3rem;
    }

    .pseo-hero {
        padding-top: 100px;
        text-align: center;
    }

    .pseo-hero-content {
        text-align: center;
        margin-bottom: 60px;
    }

    .pseo-subheadline {
        margin-left: auto;
        margin-right: auto;
    }

    .d-flex.flex-wrap.gap-3 {
        justify-content: center;
    }

    .pseo-feature-row {
        flex-direction: column;
        gap: 40px;
    }

    .pseo-feature-row:nth-child(even) {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .pseo-headline {
        font-size: 2.5rem;
    }

    .pseo-section {
        padding: 80px 0;
    }

    .pseo-card {
        padding: 30px;
    }
}