:root {
    --bg-color: #030305;
    --text-color: #ffffff;
    --text-muted: #9ca3af;
    --primary-gradient: linear-gradient(135deg, #ffdb48 0%, #ff8c00 100%);
    --accent-color: #ffdb48;
    --accent-purple: #ff8c00;
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-border: rgba(255, 255, 255, 0.05);
    --glass-blur: blur(20px);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Background Blob Animation */
.blob-bg {
    position: fixed;
    top: -20vh;
    left: -10vw;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255, 219, 72, 0.1) 0%, rgba(255, 140, 0, 0.08) 40%, rgba(3, 3, 5, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    animation: drift 25s infinite alternate ease-in-out;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(15vw, 15vh) scale(1.2);
    }
}

/* Typography & Utilities */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

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

.accent-text {
    color: var(--accent-color);
    font-weight: bold;
}

/* Base Glassmorphism Class */
.glass-panel {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    background: rgba(3, 3, 5, 0.85);
    backdrop-filter: blur(12px);
    padding: 1rem 5%;
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 38px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

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

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

.nav-links a:hover {
    color: var(--accent-color);
}

/* Buttons */
.btn {
    padding: 0.8rem 1.75rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #000;
    box-shadow: 0 8px 20px rgba(255, 219, 72, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 12px 25px rgba(255, 219, 72, 0.4);
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-outline {
    border: 1px solid rgba(255, 219, 72, 0.5);
    color: var(--accent-color) !important;
    padding: 0.6rem 1.5rem;
}

.btn-outline:hover {
    background: rgba(255, 219, 72, 0.1);
    border-color: var(--accent-color);
}

/* Layout Utilities */
section {
    padding: 120px 5%;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
    text-align: center;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    padding-top: 80px;
    gap: 4rem;
}

.hero-content {
    flex: 1.2;
    max-width: 650px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
}

.hero-graphic {
    flex: 0.8;
    display: flex;
    justify-content: flex-end;
}

/* Mockup Card Component */
.mockup-card {
    background: rgba(20, 20, 25, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    width: 100%;
    max-width: 380px;
    padding: 1.75rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    transform: perspective(1000px) rotateY(-12deg) rotateX(8deg);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s ease;
}

.mockup-card:hover {
    transform: perspective(1000px) rotateY(-4deg) rotateX(2deg) translateY(-10px);
    box-shadow: 0 40px 80px rgba(255, 219, 72, 0.15);
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.bar-chart {
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    overflow: hidden;
}

.bar {
    height: 100%;
    background: var(--primary-gradient);
    width: 0;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(255, 219, 72, 0.5);
}

.animate-bar.in-view {
    animation: fillBar 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.5s;
}

@keyframes fillBar {
    to {
        width: var(--target-width);
    }
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.service-card {
    padding: 3rem 2.5rem;
    text-align: left;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: rgba(255, 219, 72, 0.3);
    box-shadow: 0 20px 40px rgba(255, 219, 72, 0.08);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

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

/* Results / Stats Section */
.results-container {
    padding: 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.results-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-item h4 {
    font-size: 4.5rem;
    display: inline-block;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.stat-item span {
    font-size: 2.5rem;
    color: var(--accent-color);
    font-weight: 800;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-top: 1rem;
    text-transform: uppercase;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.contact-info h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 1.15rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 219, 72, 0.5);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 15px rgba(255, 219, 72, 0.1);
}

.submit-btn {
    margin-top: 1rem;
    padding: 1.2rem;
    font-size: 1.1rem;
    border-radius: 12px;
}

/* Footer Section */
footer {
    padding: 4rem 5% 2rem;
    border-top: 1px solid var(--card-border);
    background: rgba(3, 3, 5, 0.7);
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.social-links {
    display: flex;
    gap: 1.5rem;
}

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

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

/* Base Animations Classes */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

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

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

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

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero {
        gap: 2rem;
    }
}

@media (max-width: 850px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 3rem;
    }

    .hero-content p {
        margin: 0 auto 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-graphic {
        width: 100%;
        justify-content: center;
    }

    .mockup-card {
        transform: none;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .contact-info h2 {
        font-size: 2.5rem;
    }

    .results-container {
        padding: 3rem 2rem;
    }

    .stat-item h4 {
        font-size: 3.5rem;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }

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

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

    .results-container {
        padding: 2rem 1rem;
    }

    .stat-item span {
        font-size: 2rem;
    }
}