:root {
    --primary-green: #2ecc71;
    --dark-bg: #0b0f1a;
    --glass: rgba(255, 255, 255, 0.22);
    --text-main: #ffffff;
    --text-dim: #94a3b8;
    --section-padding: 100px 5%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /*    font-family: 'Inter', system-ui, sans-serif;*/
    font-family: 'poppins', system-ui, sans-serif;
}

::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-thumb {
    background: #7c7c7c;
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #d3d3d3;
    border-radius: 10px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

body {
    background: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Scroll Reveal Base State */
.reveal {
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

/* Active State (Triggered by JS) */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Optional: Fade out when scrolling away */
.reveal.out {
    opacity: 0;
    transform: translateY(-30px);
}

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--primary-green);
    z-index: 9999;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    padding: 0.5rem 1.3rem;
    border-radius: 12px;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-green);
    color: #000;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.2);
}

.btn-secondary {
    border: 2px solid var(--glass);
    color: #fff;
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: var(--glass);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.9rem 5%;
    background: rgba(11, 15, 26, 0.69);
    backdrop-filter: blur(10px);
    z-index: 1000;
    /*    border-bottom: 1px solid var(--glass);*/
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-toggle {
    display: none;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary-green);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    transition: 0.4s;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.nav-links .btn-primary {
    color: #000;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    padding: 160px 0 100px 0;
    background: radial-gradient(circle at 80% 20%, rgba(46, 204, 113, 0.15) 0%, transparent 40%);
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/hero-img.jpg);
    background-position: bottom;
    background-size: cover;
    opacity: 0.08;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    background: var(--glass);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: var(--primary-green);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.headline {
    font-size: 45px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary-green);
}

.subtext {
    position: relative;
    font-size: 0.9rem;
    color: var(--text-dim);
    margin: 20px 0;
    display: block;
    max-width: 550px;
}

.hero-ctas {
    margin-bottom: 20px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The glowing background blob */
.blob-gradient {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-green);
    filter: blur(80px);
    opacity: 0.2;
    border-radius: 50%;
    z-index: 1;
}

/* The Floating Card */
.tech-card-float {
    position: relative;
    z-index: 2;
    width: 240px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
}

/* Floating Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

/* Inner Card Details */
.pulse-icon {
    width: 10px;
    height: 10px;
    background: var(--primary-green);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    box-shadow: 0 0 10px var(--primary-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 1;
    }

    70% {
        transform: scale(1.5);
        opacity: 0;
    }

    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}

.status-text {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.line {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 12px 0;
}

.line.short {
    width: 60%;
}

.card-stats {
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-dim);
}

/*////////////////////////////////////////*/
/*////////////////////////////////////////*/
/*////////////////////////////////////////*/

/* --- SERVICES SECTION --- */
.services {
    position: relative;
    padding: var(--section-padding);
    background-color: #f5fffc;
    /* Light Gray Background */
    color: #0f172a;
    /* Dark Text */
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-top: 1rem;
    color: var(--dark-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-green);
}

.icon-box {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.service-card p {
    color: #64748b;
    font-size: 1rem;
}

/* Special styling for the Training card */
.highlight-card {
    background: var(--dark-bg);
    color: white;
}

.highlight-card h3 {
    color: white;
}

.highlight-card p {
    color: var(--text-dim);
}

.services-footer {
    text-align: center;
    margin-top: 4rem;
}

.btn-text {
    text-decoration: none;
    color: var(--dark-bg);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/*////////////////////////////////////////*/
/*////////////////////////////////////////*/
/*////////////////////////////////////////*/

/* --- PRODUCTS SECTION --- */
.products {
    padding: var(--section-padding);
    background: #ffffff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.product-card {
    position: relative;
    background: #f8fafc;
    border-radius: 28px;
    padding: 1rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card img {
    position: relative;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.product-card:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    background: white;
}

.product-card .product-info {
    padding: 0rem 1rem 1rem 1rem;
}

/* Status Badges */
.status-badge {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.status-badge.live {
    background: #dcfce7;
    color: #166534;
}

.status-badge.beta {
    background: #fef9c3;
    color: #854d0e;
}

.product-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.product-card p {
    color: #64748b;
    margin-bottom: 2rem;
    min-height: 3rem;
}

/* Features */
.feature-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #334155;
}

.feature-list i {
    color: var(--primary-green);
    font-size: 1.1rem;
}

/* Product Button */
.btn-product {
    text-decoration: none;
    color: var(--dark-bg);
    font-weight: 700;
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 4px;
    transition: 0.3s;
}

.btn-product:hover {
    letter-spacing: 0.5px;
}

.center-cta {
    text-align: center;
}

.btn-secondary.dark {
    color: var(--dark-bg);
    border-color: var(--dark-bg);
}


/*//////////////////////////////////////////////////*/
/*//////////////////////////////////////////////////*/

/* --- WHY GPHIX SECTION --- */
.why-gphix {
    padding: var(--section-padding);
    background: var(--dark-bg);
    color: white;
}

.why-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.why-content .section-title {
    color: white;
    margin-bottom: 3rem;
}

/* Value Points */
.value-points {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.point {
    display: flex;
    gap: 1.5rem;
}

.point-icon {
    font-size: 1.8rem;
    color: var(--primary-green);
    background: rgba(46, 204, 113, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    flex-shrink: 0;
}

.point h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.point p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Stats Grid */
.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem 1.5rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-card.highlight {
    background: var(--primary-green);
    color: var(--dark-bg);
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 600;
}

/*//////////////////////////////////////////////////*/
/*//////////////////////////////////////////////////*/

/* --- PARTNERS SECTION --- */
.partners {
    padding: 80px 0;
    background: #fdfdfd;
    border-top: 1px solid #eee;
    text-align: center;
}

.partners-header {
    margin-bottom: 3rem;
}

.partners-header .subtext {
    margin: 0 auto;
    max-width: 600px;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-items: center;
    opacity: 0.8;
}

.partner-logo img {
    max-width: 140px;
    height: auto;
    filter: grayscale(100%);
    /* Professional grayscale look */
    opacity: 0.6;
    transition: all 0.4s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    /* Color on hover */
    opacity: 1;
    transform: scale(1.1);
}

.partners-cta {
    margin-top: 4rem;
}

.btn-outline {
    text-decoration: none;
    color: var(--dark-bg);
    border: 1px solid #cbd5e1;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    background: rgba(46, 204, 113, 0.05);
}

/*///////////////////////////////////////*/
/*///////////////////////////////////////*/
/*///////////////////////////////////////*/

/* --- TESTIMONIALS --- */
.testimonials {
    padding: var(--section-padding);
    background: #ffffff;
}

.testimonial-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    position: relative;
    background: #f8fafc;
    padding: 3rem;
    border-radius: 32px;
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
    transition: 0.3s ease;
    margin-right: auto;
    margin-left: auto;
    display: block;
}

.testimonial-card:hover {
    background: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: var(--primary-green);
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-green);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    right: 30px;
}

.testimonial-text {
    font-size: 1.1rem;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: var(--dark-bg);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.client-avatar.green {
    background: var(--primary-green);
    color: var(--dark-bg);
}

.client-name {
    font-size: 1rem;
    color: var(--dark-bg);
    margin-bottom: 2px;
}

.client-role {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/*///////////////////////////////////////*/
/*///////////////////////////////////////*/
/*///////////////////////////////////////*/

/* --- STRONG CTA SECTION --- */
.cta-section {
    padding: var(--section-padding);
    background: #ffffff;
    /* White bg makes the dark card pop */
}

.cta-card {
    background: var(--dark-bg);
    padding: 6rem 1rem;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 150%;
    height: 200%;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: white;
    margin: 1.5rem 0;
    line-height: 1.1;
}

.cta-subtext {
    color: var(--text-dim);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.badge.light {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--primary-green);
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Hover tweak for this section specifically */
.cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/*///////////////////////////////////////*/
/*///////////////////////////////////////*/
/*///////////////////////////////////////*/

/* --- FOOTER --- */
.main-footer {
    background: #050810;
    color: white;
    padding: 80px 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 60px;
}

.footer-brand p {
    color: var(--text-dim);
    margin: 1.5rem 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary-green);
    color: var(--dark-bg);
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-dim);
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    font-size: 0.9rem;
    color: var(--text-dim);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

/* Mobile Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
