/* CSS Variables */
:root {
    --bg-color: #050507;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --primary-gradient: linear-gradient(135deg, #00f260 0%, #0575E6 100%);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --card-hover: rgba(255, 255, 255, 0.07);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --accent-green: #00f260;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Background Effects */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.05"/%3E%3C/svg%3E');
    pointer-events: none;
    z-index: -1;
}

.gradient-sphere {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -2;
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.sphere-1 {
    width: 400px;
    height: 400px;
    background: #0575E6;
    top: -100px;
    left: -100px;
}

.sphere-2 {
    width: 500px;
    height: 500px;
    background: #00f260;
    bottom: -150px;
    right: -150px;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(50px, 30px);
    }
}

/* Typography */
h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    font-weight: 700;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(5, 5, 7, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: white;
    letter-spacing: -0.5px;
}

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

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

.nav-links .btn-primary {
    color: #050507;
}

.nav-links .btn-primary-nav {
    background: var(--accent-green);
    color: #050507;
    padding: 10px 24px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-links .btn-primary-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 242, 96, 0.2);
    color: #050507;
    /* Force contrast */
}


/* Page Headers (Common) */
.page-header {
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section (Home) */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Buttons */
.btn-primary {
    background: var(--accent-green);
    color: #050507;
    padding: 12px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 242, 96, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 12px 32px;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: rgba(255, 255, 255, 0.2);
}

.glow {
    position: relative;
}

.glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: scale(0.5);
    pointer-events: none;
}

/* Services Section (Home) */
.services {
    padding: 120px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background: var(--card-hover);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-card .icon-box {
    width: 50px;
    height: 50px;
    background: rgba(0, 242, 96, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent-green);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About Page Specifics */
.about-content {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    padding: 30px;
    text-align: center;
    border-radius: 20px;
}

.stat-card:first-child {
    grid-column: span 2;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--accent-green);
    margin-bottom: 10px;
}

.stat-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.team {
    padding: 100px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    padding: 40px 20px;
    border-radius: 24px;
    text-align: center;
}

.team-initials {
    width: 80px;
    height: 80px;
    background: var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    color: var(--text-main);
    border: 1px solid var(--accent-green);
}

/* Case Studies Page Specifics */
.case-studies {
    padding: 60px 0 100px;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.case-card {
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-image {
    height: 200px;
    width: 100%;
}

.case-content {
    padding: 30px;
    border-top: none;
}

.tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 242, 96, 0.1);
    color: var(--accent-green);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.case-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.case-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.case-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.case-stats div {
    text-align: left;
}

.stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Services Page Specifics */
.services-detail {
    padding: 60px 0 100px;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-text {
    flex: 1;
}

.service-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.service-text .lead {
    font-size: 1.2rem;
    color: var(--accent-green);
    margin-bottom: 20px;
}

.feature-list {
    margin-top: 24px;
    list-style: none;
}

.feature-list li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    color: var(--text-muted);
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-green);
}

.service-visual {
    flex: 1;
    height: 300px;
    /* Placeholder height */
    background: var(--glass-bg);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
}

.cta-section {
    padding-bottom: 100px;
}

.cta-box {
    padding: 80px;
    text-align: center;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-box p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.2rem;
}

/* Contact Page Specifics */
.contact-section {
    padding: 60px 0 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.info-item {
    margin-top: 40px;
}

.info-item h4 {
    color: var(--accent-green);
    margin-bottom: 8px;
}

.contact-form-wrapper {
    padding: 40px;
    border-radius: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

/* Footer (Company Details) */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3);
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 16px;
    font-size: 0.9rem;
}

.footer-info h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.footer-info strong {
    color: white;
}

/* Animation Utilities */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Mobile Responsiveness */
.hamburger {
    display: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70%;
        background: rgba(5, 5, 7, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        border-left: 1px solid var(--glass-border);
    }

    .nav-links.nav-active {
        transform: translateX(0);
        display: flex;
    }

    .nav-links li {
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.4s ease;
    }

    .nav-links.nav-active li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Hamburger Animation */
    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: white;
        margin: 5px 0;
        transition: all 0.3s ease;
    }

    .toggle span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle span:nth-child(2) {
        opacity: 0;
    }

    .toggle span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .service-row {
        flex-direction: column !important;
        gap: 40px;
        text-align: center;
    }

    .feature-list {
        text-align: left;
    }
}

/* Featured Case Study */
.case-studies-featured {
    padding: 0 0 80px;
}

.featured-case {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.featured-image {
    position: relative;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-case:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.featured-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.7;
}

.featured-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.stat-block {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-green);
    font-family: var(--font-heading);
}

.stat-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Case Card Image */
.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

/* Case Link */
.case-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.case-link:hover {
    color: white;
}

/* Individual Case Study Page */
.case-study-hero {
    padding: 140px 0 60px;
    text-align: center;
}

.case-study-hero .tag {
    margin-bottom: 20px;
}

.case-study-hero h1 {
    font-size: 3rem;
    max-width: 900px;
    margin: 0 auto 30px;
    line-height: 1.2;
}

.case-study-hero p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.case-study-stats {
    padding: 60px 0;
    border-bottom: 1px solid var(--glass-border);
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stats-row .stat-block {
    text-align: center;
}

.stats-row .stat-number {
    font-size: 3rem;
}

.case-study-content {
    padding: 80px 0;
    max-width: 800px;
    margin: 0 auto;
}

.case-study-content h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    margin-top: 50px;
}

.case-study-content h2:first-child {
    margin-top: 0;
}

.case-study-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.case-study-content ul {
    list-style: none;
    margin: 20px 0;
}

.case-study-content ul li {
    padding-left: 24px;
    position: relative;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.case-study-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
}

.case-study-image {
    margin: 40px 0;
    border-radius: 16px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    display: block;
}

@media (max-width: 768px) {
    .featured-case {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 250px;
    }

    .featured-content {
        padding: 30px;
    }

    .featured-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .case-grid {
        grid-template-columns: 1fr;
    }

    .case-study-hero h1 {
        font-size: 2rem;
    }

    .stats-row {
        gap: 30px;
    }

    .stats-row .stat-number {
        font-size: 2rem;
    }
}

/* Services Page Enhancements */
.services-hero {
    padding-bottom: 40px;
}

.platforms-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.platform-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.platform-logo svg {
    width: 32px;
    height: 32px;
}

.platform-logo span {
    font-size: 0.8rem;
    font-weight: 500;
}

.platform-logo:hover {
    color: var(--accent-green);
}

/* Process Section */
.process-section {
    padding: 80px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.process-step {
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.process-step:hover {
    border-color: rgba(0, 242, 96, 0.3);
    transform: translateY(-5px);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Service Icon Badge */
.service-icon-badge {
    width: 60px;
    height: 60px;
    background: rgba(0, 242, 96, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent-green);
}

/* Service Visual Image */
.service-visual-image {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.service-visual-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 350px;
    transition: transform 0.5s ease;
}

.service-visual-image:hover img {
    transform: scale(1.03);
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.2);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    padding: 40px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--glass-border);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.pricing-card.featured {
    border-color: var(--accent-green);
    background: rgba(0, 242, 96, 0.03);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-green);
    color: #050507;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.pricing-features {
    flex: 1;
    margin-bottom: 30px;
}

.pricing-features ul {
    list-style: none;
}

.pricing-features ul li {
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.95rem;
    padding-left: 28px;
    position: relative;
}

.pricing-features ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
}

.pricing-features ul li:last-child {
    border-bottom: none;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

.testimonial-quote {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 1px solid var(--accent-green);
}

.testimonial-author strong {
    display: block;
    margin-bottom: 4px;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Mobile Responsiveness for Services */
@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .platforms-bar {
        flex-wrap: wrap;
        gap: 24px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .service-visual-image img {
        min-height: 250px;
    }
}

/* Home Page Premium Redesign */
.home-page {
    background:
        radial-gradient(circle at top left, rgba(5, 117, 230, 0.18), transparent 30%),
        radial-gradient(circle at 85% 15%, rgba(0, 242, 96, 0.12), transparent 25%),
        linear-gradient(180deg, #050507 0%, #090b10 45%, #050507 100%);
}

.home-page .container {
    max-width: 1440px;
    padding: 0 clamp(20px, 3vw, 40px);
}

.section {
    padding: 110px 0;
    position: relative;
}

.section-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #d7dbdf;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 22px;
    white-space: nowrap;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 0 6px rgba(0, 242, 96, 0.12);
}

.hero-premium {
    min-height: 100vh;
    display: block;
    height: auto;
    padding: 160px 0 60px;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 500px);
    gap: clamp(24px, 4vw, 64px);
    align-items: center;
}

.hero-copy {
    max-width: 880px;
}

.hero-copy h1 {
    font-size: clamp(3rem, 4.4vw, 5.2rem);
    line-height: 0.94;
    letter-spacing: -0.05em;
    max-width: none;
    margin-bottom: 24px;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
}

.hero-copy .hero-sub {
    max-width: 660px;
    font-size: 1.12rem;
    line-height: 1.8;
    color: #c7ced4;
}

.hero-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
}

.trust-stat {
    padding: 20px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.trust-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 8px;
}

.trust-stat span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
}

.hero-premium .fade-in-up {
    opacity: 1;
    transform: none;
}

.visual-shell {
    position: relative;
    padding: 22px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(8, 10, 13, 0.7);
    box-shadow: 0 28px 100px rgba(0, 0, 0, 0.35);
}

.visual-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(0, 242, 96, 0.12), transparent 45%, rgba(5, 117, 230, 0.12));
    pointer-events: none;
}

.visual-topbar {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.visual-topbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.visual-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 16px;
}

.signal-card {
    position: relative;
    overflow: hidden;
    min-height: 210px;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.signal-primary {
    min-height: 260px;
}

.signal-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #aab1b8;
    margin-bottom: 14px;
}

.signal-value {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
}

.signal-trend,
.positive {
    color: var(--accent-green);
}

.signal-bars {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: end;
    gap: 10px;
    height: 110px;
}

.signal-bars span {
    display: block;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg, rgba(0, 242, 96, 0.95), rgba(5, 117, 230, 0.4));
    animation: barPulse 4s ease-in-out infinite;
}

.signal-bars span:nth-child(1) {
    height: 38%;
}

.signal-bars span:nth-child(2) {
    height: 52%;
    animation-delay: -0.6s;
}

.signal-bars span:nth-child(3) {
    height: 44%;
    animation-delay: -1.1s;
}

.signal-bars span:nth-child(4) {
    height: 68%;
    animation-delay: -1.8s;
}

.signal-bars span:nth-child(5) {
    height: 82%;
    animation-delay: -0.3s;
}

.signal-bars span:nth-child(6) {
    height: 100%;
    animation-delay: -1.4s;
}

.channel-stack {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.channel-stack span {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    color: #d9dde1;
    overflow: hidden;
}

.channel-stack span::before {
    content: '';
    position: absolute;
    inset: 0;
    width: var(--stack-size);
    background: linear-gradient(90deg, rgba(0, 242, 96, 0.18), rgba(5, 117, 230, 0.2));
}

.channel-stack span {
    isolation: isolate;
}

.channel-stack span::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: inherit;
}

.mini-feed {
    list-style: none;
    display: grid;
    gap: 14px;
    margin-top: 24px;
    color: #d6dce1;
}

.mini-feed li {
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.5;
}

.status-dot {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3b82f6;
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.12);
}

.status-dot.success {
    background: var(--accent-green);
    box-shadow: 0 0 0 6px rgba(0, 242, 96, 0.12);
}

.status-dot.warning {
    background: #f8b84e;
    box-shadow: 0 0 0 6px rgba(248, 184, 78, 0.12);
}

.signal-orbit {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-core,
.orbit-node {
    position: absolute;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

.orbit-core {
    width: 88px;
    height: 88px;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.12);
}

.orbit-ring-a {
    width: 180px;
    height: 180px;
    animation: rotateRing 18s linear infinite;
}

.orbit-ring-b {
    width: 250px;
    height: 250px;
    animation: rotateRing 24s linear infinite reverse;
}

.orbit-node {
    padding: 10px 16px;
    font-size: 0.85rem;
}

.orbit-node-a {
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-node-b {
    bottom: 40px;
    left: 28px;
}

.orbit-node-c {
    bottom: 48px;
    right: 24px;
}

.marquee-wrap {
    margin-top: 54px;
    padding: 18px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-track {
    display: flex;
    gap: 28px;
    width: max-content;
    color: #d2d8de;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    animation: marqueeMove 28s linear infinite;
}

.marquee-track span::before {
    content: '•';
    margin-right: 28px;
    color: var(--accent-green);
}

.section-header.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 30px;
    align-items: end;
}

.section-header.split h2,
.section-header h2 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    margin-bottom: 0;
}

.section-header.split p,
.section-header p {
    max-width: 720px;
    color: #b6bec6;
    line-height: 1.8;
}

.proof-section {
    padding-top: 70px;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 44px;
}

.proof-card {
    padding: 28px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 260px;
}

.proof-index {
    display: inline-block;
    margin-bottom: 22px;
    font-family: var(--font-heading);
    color: var(--accent-green);
    font-size: 1.2rem;
}

.proof-card h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
    line-height: 1.25;
}

.proof-card p {
    color: var(--text-muted);
}

.operating-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 36px;
    align-items: start;
}

.os-panel {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 22px;
    padding: 24px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.os-sidebar {
    display: grid;
    gap: 10px;
}

.os-tab {
    appearance: none;
    width: 100%;
    padding: 14px 16px;
    text-align: left;
    border-radius: 16px;
    color: #d8dde2;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.os-tab.is-active,
.os-tab:hover {
    background: rgba(0, 242, 96, 0.08);
    border-color: rgba(0, 242, 96, 0.24);
    color: white;
}

.os-content {
    position: relative;
    min-height: 300px;
}

.os-screen {
    display: none;
    padding: 28px;
    height: 100%;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.os-screen.is-active {
    display: block;
}

.os-screen h3 {
    font-size: 2rem;
    margin-bottom: 14px;
    letter-spacing: -0.04em;
}

.os-screen p {
    color: #bec5cc;
    margin-bottom: 22px;
    line-height: 1.75;
}

.os-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

.os-list li {
    position: relative;
    padding-left: 24px;
    color: #dbe0e4;
}

.os-list li::before {
    content: '';
    position: absolute;
    top: 0.6em;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 0 6px rgba(0, 242, 96, 0.1);
}

.showcase-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: 40px;
    padding: 36px;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-copy h2 {
    font-size: clamp(2rem, 3.8vw, 3.4rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    margin-bottom: 18px;
}

.showcase-copy p {
    color: #c1c8cf;
    line-height: 1.8;
    margin-bottom: 28px;
}

.showcase-metrics {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.showcase-metrics strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 0.95;
    margin-bottom: 6px;
}

.showcase-metrics span {
    color: var(--text-muted);
}

.showcase-visual {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-panel {
    width: min(100%, 420px);
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.chart-header,
.chart-legend {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #d7dce1;
    font-size: 0.88rem;
}

.chart-area {
    position: relative;
    height: 240px;
    margin: 26px 0;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255, 255, 255, 0.05) 40px);
    overflow: hidden;
}

.chart-line {
    position: absolute;
    inset: auto 20px 36px 20px;
    height: 120px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0, 242, 96, 0.18), rgba(0, 242, 96, 0.85), rgba(5, 117, 230, 0.88));
    clip-path: polygon(0% 76%, 18% 74%, 35% 58%, 52% 62%, 68% 36%, 84% 28%, 100% 0%, 100% 100%, 0% 100%);
    opacity: 0.85;
}

.chart-point {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 0 8px rgba(0, 242, 96, 0.14);
}

.point-a {
    left: 28%;
    bottom: 82px;
}

.point-b {
    left: 48%;
    bottom: 88px;
}

.point-c {
    left: 67%;
    bottom: 130px;
}

.point-d {
    right: 12%;
    bottom: 154px;
}

.chart-legend i {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.chart-legend span:last-child i {
    background: linear-gradient(180deg, rgba(0, 242, 96, 0.9), rgba(5, 117, 230, 0.8));
}

.floating-stat {
    position: absolute;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.floating-stat span {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.floating-stat strong {
    font-size: 1.6rem;
    font-family: var(--font-heading);
}

.floating-stat:not(.secondary) {
    top: 22px;
    right: 0;
}

.floating-stat.secondary {
    left: 8px;
    bottom: 30px;
}

.premium-grid {
    gap: 22px;
}

.premium-grid .service-card {
    min-height: 260px;
    padding: 30px;
    border-radius: 28px;
}

.premium-grid .icon-box {
    width: 58px;
    height: 58px;
    font-weight: 700;
    font-family: var(--font-heading);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
}

.testimonial-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 22px;
}

.quote-panel,
.faq-card {
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.quote-panel {
    padding: 34px;
}

.quote-panel blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 3vw, 2.8rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
    margin-bottom: 26px;
}

.quote-author strong {
    display: block;
    margin-bottom: 8px;
}

.quote-author span,
.faq-card p {
    color: var(--text-muted);
}

.faq-stack {
    display: grid;
    gap: 18px;
}

.faq-card {
    padding: 26px;
}

.faq-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.cta-stage {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    padding: 42px;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(0, 242, 96, 0.12), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.cta-stage h2 {
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    margin-bottom: 12px;
}

.cta-stage p {
    max-width: 720px;
    color: #bfc7ce;
}

.cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

@keyframes marqueeMove {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes barPulse {
    0%,
    100% {
        transform: scaleY(0.92);
        opacity: 0.8;
    }

    50% {
        transform: scaleY(1.06);
        opacity: 1;
    }
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(16px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 1440px) {
    .hero-premium {
        padding-top: 145px;
    }

    .hero-layout {
        grid-template-columns: minmax(0, 1.2fr) minmax(300px, 440px);
        gap: clamp(24px, 3vw, 48px);
    }

    .hero-copy {
        max-width: 820px;
    }

    .hero-copy h1 {
        font-size: clamp(3rem, 5.2vw, 4.8rem);
        max-width: none;
    }

    .hero-copy .hero-sub {
        max-width: 62ch;
    }

    .hero-visual {
        max-width: 440px;
    }

    .hero-trust {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .hero-layout,
    .operating-layout,
    .showcase-card,
    .testimonial-layout,
    .section-header.split {
        grid-template-columns: 1fr;
    }

    .proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-copy h1 {
        font-size: clamp(2.8rem, 6vw, 4.2rem);
        max-width: none;
    }

    .visual-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-stage {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 980px) {
    .hero-copy h1 {
        max-width: none;
    }

    .hero-visual {
        max-width: min(100%, 720px);
    }

    .hero-trust {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .section {
        padding: 82px 0;
    }

    .hero-premium {
        padding-top: 130px;
    }

    .hero-copy h1 {
        font-size: 2.9rem;
        max-width: none;
    }

    .hero-copy,
    .hero-copy .hero-sub {
        max-width: none;
    }

    .proof-grid,
    .visual-grid {
        grid-template-columns: 1fr;
    }

    .hero-trust {
        grid-template-columns: 1fr;
    }

    .os-panel {
        grid-template-columns: 1fr;
    }

    .os-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .showcase-card,
    .cta-stage,
    .quote-panel,
    .os-panel,
    .visual-shell {
        padding: 24px;
    }

    .showcase-visual {
        min-height: 320px;
    }

    .floating-stat:not(.secondary) {
        right: 10px;
    }

    .floating-stat.secondary {
        left: 10px;
        bottom: 10px;
    }

    .marquee-wrap {
        margin-top: 42px;
    }
}

@media (max-width: 560px) {
    .hero-buttons,
    .cta-actions,
    .os-sidebar {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .hero-premium {
        padding-top: 116px;
    }

    .hero-copy h1 {
        font-size: clamp(2.3rem, 12vw, 3.2rem);
        line-height: 1;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .showcase-metrics {
        gap: 18px;
    }

    .showcase-metrics strong,
    .trust-stat strong {
        font-size: 2rem;
    }

    .orbit-ring-b {
        width: 210px;
        height: 210px;
    }

    .orbit-ring-a {
        width: 150px;
        height: 150px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gradient-sphere,
    .signal-bars span,
    .orbit-ring,
    .marquee-track,
    [data-parallax] {
        animation: none !important;
        transform: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}
