@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --bg-dark: #020408;
    --bg-card: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(12px);

    --accent-gold: #3B82F6;
    --accent-gold-gradient: linear-gradient(135deg, #60A5FA 0%, #1D4ED8 100%);
    --accent-silver: #94A3B8;
    --accent-silver-gradient: linear-gradient(135deg, #CBD5E1 0%, #64748B 100%);

    --text-main: #FFFFFF;
    --text-muted: #94A3B8;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Base Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Base Responsive Utilities */
@media (max-width: 400px) {
    :root {
        --base-font-size: 14px;
    }
}

/* Navbar (Kaizen style) */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo span {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition-smooth);
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.menu-toggle:hover {
    color: var(--accent-gold);
    transform: scale(1.1);
}

/* Hero Section */
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at top, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
    overflow: hidden;
}

/* Kaizen Badge with Glowing Border - Full Perimeter Calibration */
.hero .badge {
    position: relative;
    background: transparent;
    /* Changed from #000 */
    padding: 0.7rem 2.5rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    display: inline-block;
    margin-bottom: 2rem;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero .badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    /* Huge width/height to ensure the diagonal always covers the corners of a long button */
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    background: conic-gradient(from 0deg,
            transparent 0 340deg,
            var(--accent-gold) 350deg,
            #fff 360deg);
    animation: rotate 6s linear infinite;
    z-index: -2;
    filter: blur(4px);
}

.hero .badge::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: #050505;
    border-radius: 100px;
    z-index: -1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    /* Reduced max size for better desktop balance */
    font-weight: 800;
    line-height: 1.1;
    /* Increased line-height for better readability */
    max-width: 1000px;
    margin: 0 auto 1.5rem auto;
    /* Ensure centering */
}

.hero h1 span {
    background: var(--accent-gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
    /* Ensure centering and better spacing */
}

/* Buttons (Futuristic) */
.btn {
    padding: 1rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    text-align: center;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    /* Wraps on small screens */
}

.btn-primary {
    background: var(--accent-gold-gradient);
    color: #000;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.5);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

/* Hero Trust Badges (Device Mockup) */
/* Hero Trust Badges (Device Mockup) */
.hero-trust {
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Vertically center in the available space */
    width: 100%;
    flex-grow: 1;
    /* Take up remaining vertical space to center between buttons and ticker */
    padding: 0 5%;
}

.hero-trust img {
    width: 100%;
    max-width: 1000px;
    /* Much larger to show the devices clearly */
    height: auto;
    object-fit: contain;
    max-height: 45vh;
    /* Prevent it from being too tall on small vertical screens */
    opacity: 1;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    /* Add depth instead of grayscale */
    transition: var(--transition-smooth);
}

.hero-trust:hover img {
    transform: translateY(-5px);
}

/* Floating Icons (Hero) */
.floating-icons {
    margin-top: 50px;
    display: flex;
    gap: 30px;
    font-size: 1.5rem;
    opacity: 0.5;
    justify-content: center;
}

/* Ticker (Iron Pay style) */
.ticker-wrap {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    overflow: hidden;
    margin-top: 0;
    z-index: 2;
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: ticker 25s linear infinite;
}

.ticker-item {
    padding: 0 50px;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Glass Card Grid */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 120px 0;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 4rem;
    text-align: center;
    line-height: 1.2;
}

.section-title span {
    color: var(--accent-gold);
}

.glass-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    padding: 3rem 2rem;
    border-radius: 30px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-10px);
}

.glass-card i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.glass-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.glass-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Timeline Section Styles */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--accent-gold-gradient);
    box-shadow: 0 0 15px var(--accent-gold);
    transition: height 0.3s ease;
}

.timeline-items {
    position: relative;
    z-index: 2;
}

.timeline-item {
    position: relative;
    padding-left: 100px;
    padding-bottom: 5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 31px;
    /* Centralizado na linha de 2px a 40px left */
    top: 35px;
    /* Alinhado com o título do card */
    width: 20px;
    height: 20px;
    background: var(--bg-dark);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 3;
    transition: var(--transition-smooth);
}

.timeline-item.visible .timeline-dot {
    border-color: var(--accent-gold);
    background: var(--accent-gold);
    box-shadow: 0 0 15px var(--accent-gold);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    padding: 3rem;
    border-radius: 30px;
    transition: var(--transition-smooth);
    width: 100%;
    position: relative;
}

.timeline-item.visible .timeline-content {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(59, 130, 246, 0.05);
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(15px);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.timeline-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.timeline-item.visible .timeline-icon-box {
    background: var(--accent-gold-gradient);
    color: #000;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.timeline-number-pill {
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(to right, #fff, #a0a0a0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Responsividade Mobile Timeline */
@media (max-width: 768px) {
    .timeline-container {
        padding: 1rem 0;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        padding-left: 55px;
        padding-bottom: 3rem;
    }

    .timeline-dot {
        left: 13px;
        /* Centralizado na linha de 2px a 20px left */
        top: 25px;
        width: 16px;
        height: 16px;
    }

    .timeline-content {
        padding: 2rem;
        border-radius: 20px;
    }

    .timeline-header {
        margin-bottom: 1.5rem;
    }

    .timeline-icon-box {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        border-radius: 12px;
    }

    .timeline-content h3 {
        font-size: 1.3rem;
    }

    .timeline-content p {
        font-size: 0.95rem;
    }
}





/* Utility Classes */
.text-center {
    text-align: center;
}

/* CTA Section */
.final-cta {
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    text-align: center;
    /* Explicitly set to center */
}

.final-cta h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin: 0 auto 2rem auto;
    max-width: 800px;
}

.final-cta p {
    margin: 0 auto 3rem auto;
    max-width: 600px;
}

/* WhatsApp Floating (Premium) */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
    z-index: 1001;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Responsive Optimization */
@media (max-width: 1024px) {
    .container {
        width: 92%;
    }

    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    nav {
        width: 95%;
        padding: 0.6rem 1.2rem;
        top: 15px;
        flex-wrap: wrap;
        /* Allow wrapping if needed, though we position items absolutely */
    }

    .logo {
        font-size: 1.2rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: flex;
        position: absolute;
        top: 120%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(20px);
        padding: 2rem;
        gap: 1.5rem;
        border-radius: 20px;
        border: 1px solid var(--glass-border);
        text-align: center;

        /* Animation State: Hidden */
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: var(--transition-smooth);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

    .nav-links a {
        font-size: 1.1rem;
        display: block;
        padding: 0.5rem;
    }

    /* Hide the 'Contato' button on very small screens to save space if needed */
    .nav-cta {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }

    .hero {
        padding-top: 130px;
    }

    .hero h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }

    .section-padding {
        padding: 80px 0;
    }

    .glass-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
        /* Add side padding for grid on mobile usually handled by container but extra safety */
    }

    .glass-card {
        padding: 2rem 1.5rem;
    }

    .floating-icons {
        gap: 20px;
        font-size: 1.2rem;
    }

    .ticker-item {
        padding: 0 20px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .nav-cta {
        display: none;
        /* Hide top contact button on very small screens */
    }

    .nav-right {
        gap: 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero .badge {
        padding: 0.6rem 1.5rem;
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
}

/* --- Services Redesign (Section 2) --- */

.services-redesign {
    position: relative;
    overflow: visible;
    /* Allow glow to bleed into next section */
}

/* Shared "One Section" Glow Effect */
.services-redesign::before {
    content: '';
    position: absolute;
    bottom: -40%;
    /* Extend deep into section 3 */
    left: -20%;
    width: 90vw;
    height: 1000px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.06) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.services-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Left Content */
.text-left {
    text-align: left;
    margin-bottom: 2rem;
}

.services-redesign .section-title {
    font-size: 2rem;
    /* Further reduced to strictly fit on 2 lines */
    line-height: 1.3;
}

.services-sub {
    font-size: 1rem;
    /* Reduced from 1.25rem */
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 90%;
}

.growth-box {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-left: 4px solid var(--accent-gold);
    border-radius: 12px;
}

.growth-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.growth-header i {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.growth-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-main);
}

.growth-text {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
    margin-bottom: 1.5rem;
}

/* Premium Wave Chart Styles */
.chart-wrapper.wave-chart {
    margin-top: 2rem;
    padding-top: 0;
    border-top: none;
    position: relative;
    height: 180px;
    background: radial-gradient(circle at center, rgba(0, 210, 255, 0.03) 0%, transparent 70%);
    border-radius: 12px;
    overflow: visible;
}

.wave-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.2));
}

.chart-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.glow-point {
    width: 12px;
    height: 12px;
    background: #00d2ff;
    border-radius: 50%;
    box-shadow: 0 0 15px #00d2ff, 0 0 30px rgba(0, 210, 255, 0.5);
    position: relative;
}

.glow-point::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

.glow-point.active {
    background: #fff;
    box-shadow: 0 0 20px #fff, 0 0 40px var(--accent-gold);
}

.float-icon {
    margin-bottom: 30px;
    /* Push it above the dot */
    width: 40px;
    height: 40px;
    background: rgba(15, 20, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(4px);
}

.float-icon.delay-1 {
    animation-delay: 1.5s;
}

.revenue-badge {
    position: absolute;
    bottom: 25px;
    /* Above the dot */
    right: -20px;
    /* Adjust alignment */
    background: rgba(10, 15, 25, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 180px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    animation: slideUp 0.8s ease-out forwards;
}

.revenue-badge i {
    font-size: 1.2rem;
    background: rgba(255, 215, 0, 0.1);
    padding: 8px;
    border-radius: 8px;
}

.revenue-badge div {
    display: flex;
    flex-direction: column;
}

.revenue-badge strong {
    color: #ffd700;
    font-size: 1rem;
    line-height: 1.2;
}

.revenue-badge span {
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes pulse-ring {
    0% {
        width: 100%;
        height: 100%;
        opacity: 1;
    }

    100% {
        width: 300%;
        height: 300%;
        opacity: 0;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Right Content (Notifications Panel) */
.notifications-panel {
    background: rgba(15, 15, 20, 0.6);
    /* Slightly darker/more opaque base */
    backdrop-filter: blur(20px);
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 0 !important;
    /* Override glass-card padding */
}

.panel-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.online-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.8rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #52c41a;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(82, 196, 26, 0.4);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(82, 196, 26, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(82, 196, 26, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(82, 196, 26, 0);
    }
}

.status-text {
    font-size: 0.75rem;
    color: #52c41a;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.panel-header h4 {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-main);
    margin: 0;
}

.notification-list {
    padding: 0;
}

.notif-item {
    display: flex;
    align-items: center;
    /* Vertically center content */
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 0.3s ease;
    cursor: default;
}

.notif-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.notif-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    margin-right: 15px;
    flex-shrink: 0;
    text-transform: uppercase;
}

.notif-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center text vertically in flex item */
}

.notif-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 2px;
    line-height: 1.2;
}

.notif-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.2;
}

.notif-time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    margin-left: 10px;
    white-space: nowrap;
}

.stats-row {
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.2);
    justify-content: space-between;
}

.stat-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0.5rem;
    border-radius: 12px;
    text-align: center;
}

.stat-card span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card strong {
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
}


/* Responsive for Redesign */
@media (max-width: 900px) {
    .services-grid-new {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .text-left {
        text-align: center;
    }

    .services-sub {
        text-align: center;
        margin: 0 auto 3rem auto;
    }

    .growth-box {
        text-align: left;
        /* Keep box content aligned left for readability */
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Showcase Section (Section 4) */
.showcase-section {
    background-color: var(--bg-dark);
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.showcase-title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
}

.showcase-title span {
    color: var(--accent-gold);
}

.showcase-text {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.showcase-text strong {
    color: var(--text-main);
}

.showcase-cta {
    margin-top: 2rem;
}

/* Audience Section (Section 6) */
.audience-section {
    background-color: var(--bg-dark);
    position: relative;
    z-index: 1;
    padding: 120px 0;
    overflow: hidden;
}

.audience-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.audience-section .section-title {
    color: var(--text-main);
    text-align: center;
    margin-bottom: 5rem;
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    white-space: nowrap;
}

@media (max-width: 900px) {
    .audience-section .section-title {
        white-space: normal;
    }
}

.audience-section .section-title span {
    color: var(--accent-gold);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.audience-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.audience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.05), transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.audience-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(59, 130, 246, 0.1);
}

.audience-card:hover::before {
    opacity: 1;
}

.audience-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.audience-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    color: var(--accent-gold);
    font-size: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.audience-card:hover .audience-icon {
    background: var(--accent-gold);
    color: #000;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.audience-card h3 {
    font-size: 1.25rem;
    color: var(--text-main);
    font-weight: 700;
    margin: 0;
}

.audience-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 2;
}

.audience-footer {
    text-align: center;
    position: relative;
    z-index: 2;
}

.audience-footer p {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.audience-footer p strong {
    color: var(--text-main);
}

@media (max-width: 768px) {
    .audience-grid {
        grid-template-columns: 1fr;
    }

    .audience-card {
        padding: 2rem;
    }
}

.laptop-mockup {
    width: 105%;
    margin-left: 0;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    transform: perspective(1500px) rotateY(-10deg) rotateX(2deg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-visual:hover .laptop-mockup {
    transform: perspective(1500px) rotateY(-5deg) rotateX(2deg) translateY(-10px);
}

@media (max-width: 900px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .showcase-visual {
        order: -1;
        /* Image first on mobile */
    }

    .laptop-mockup {
        transform: none;
    }

    .showcase-visual:hover .laptop-mockup {
        transform: translateY(-10px);
    }
}

/* --- About Us Section (Section 4) --- */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
    position: relative;
}

.profile-frame {
    width: 100%;
    max-width: 400px;
    height: 500px;
    position: relative;
    border-radius: 20px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1f2e 0%, #0f1016 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--accent-gold);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Optional animated overlay for placeholder */
.profile-placeholder::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.frame-decor {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    border-bottom: 4px solid var(--accent-gold);
    border-right: 4px solid var(--accent-gold);
    border-radius: 0 0 20px 0;
    z-index: -1;
}

.about-text {
    font-size: 0.95rem;
    /* Reduced from 1.1rem */
    color: var(--text-muted);
    line-height: 1.6;
    /* Slightly tighter line height */
    margin-bottom: 1rem;
    /* Reduced spacing between paragraphs */
}

.about-stats {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 1.5rem;
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.glass-card-flat {
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 2rem;
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 5px;
    background: var(--accent-gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
}

.margin-top-2 {
    margin-top: 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

}

/* Pillars Styles (Global) */
.about-pillars {
    margin-top: 2rem;
    display: flex;
    flex-direction: row;
    /* Horizontal layout */
    justify-content: center;
    /* Centered */
    gap: 1.5rem;
    flex-wrap: wrap;
    /* Wrap on small screens */
}

.pillar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    /* Pill shape */
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pillar-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-gold);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.pillar-item i {
    font-size: 1.1rem;
    color: var(--accent-gold);
}

.pillar-item span {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 500;
    white-space: nowrap;
}

@media (max-width: 900px) {

    .about-image {
        order: -1;
        /* Image first on mobile */
    }

    .profile-frame {
        height: 400px;
    }
}

/* Final CTA Redesign */
.final-cta {
    position: relative;
    padding-bottom: 120px;
}

.final-cta .container {
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 6rem 2rem;
    border-radius: 40px;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.final-cta h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.final-cta p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    border-radius: 100px;
}

/* Footer Section */
footer {
    background: #020202;
    border-top: 1px solid var(--glass-border);
    padding: 100px 0 40px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 80px;
}

.footer-brand .logo {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: var(--accent-gold);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 1.2rem;
}

.footer-links ul li a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    font-size: 1rem;
}

.footer-links ul li a:hover {
    color: var(--text-main);
    padding-left: 8px;
}

.footer-social h4 {
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: var(--accent-gold);
}

.social-icons {
    display: flex;
    gap: 1.2rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 1px solid var(--glass-border);
}

.social-icons a:hover {
    background: var(--accent-gold);
    color: #000;
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Testimonials Styles */
.testimonials-section {
    background: linear-gradient(to bottom, transparent, rgba(59, 130, 246, 0.02), transparent);
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 0.5rem;
}

.testimonial-rating i {
    color: var(--accent-gold);
    font-size: 0.9rem !important;
}

.testimonial-author {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-author strong {
    color: var(--text-main);
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Glow Effects for Cards */
.glow-gold:hover {
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
}

.glow-silver:hover {
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Mobile Ticker Speed */
@media (max-width: 768px) {
    .ticker {
        animation: ticker 15s linear infinite;
    }

    .ticker-item {
        padding: 0 20px;
        /* Reduce padding on mobile to see more items */
    }
}

/* Portfolio Section */
.portfolio-section {
    background-color: #050505;
    /* Solid dark background */
    padding: 60px 0;
    /* Reduced padding to frame the tall cards better */
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.portfolio-carousel-container {
    width: 100%;
    position: relative;
    padding: 60px 0;
    overflow: hidden;
}

.portfolio-grid-fixed {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .portfolio-grid-fixed {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 0 !important;
        margin-top: 0;
        width: 100%;
    }
}

.portfolio-item {
    width: 100%;
    height: 380px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    background: #000;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .portfolio-item {
        flex: 0 0 280px !important;
        height: 400px !important;
        margin-right: 15px;
    }

    .overflow-hidden-mobile {
        overflow: hidden !important;
        padding: 0;
    }
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fill the card completely */
    object-position: top;
    /* Show the hero section/top of the page */
    display: block;
    /* Removed transition for scale */
}

.portfolio-overlay {
    display: none;
    /* Removed completely */
}

.portfolio-overlay span {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.portfolio-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

@media (max-width: 768px) {
    .portfolio-item {
        width: 320px;
        /* Smaller width for mobile */
        height: 450px;
        /* Smaller height for mobile */
    }

    .portfolio-overlay span {
        font-size: 1.1rem;
    }
}

/* FAQ Section */
.faq-section {
    background-color: var(--bg-dark);
}

.faq-container {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    margin-bottom: 1.2rem;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(59, 130, 246, 0.3);
}

.faq-question {
    padding: 1.5rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
}

.faq-question i {
    color: var(--accent-gold);
    transition: transform 0.4s ease;
}

.faq-answer {
    padding: 0 2.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
    color: var(--text-muted);
    line-height: 1.8;
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-gold);
}

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
    max-height: 500px;
    transition: all 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .faq-question {
        padding: 1.2rem 1.5rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 1.5rem;
    }
}
