/* =========================================
   RacikIT - CSS Variables & Global Styles
   ========================================= */

:root {
    /* Color Palette */
    --bg-dark: #FFFFFF; /* Deep Navy/Black -> Clean White */
    --bg-secondary: #F8FAFC; /* Dark Grayish Blue -> Light Grayish Blue */
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-glass-hover: rgba(255, 255, 255, 0.9);
    
    --accent-primary: #2563EB; /* Neon Green -> Professional Blue */
    --accent-glow: rgba(37, 99, 235, 0.2);
    --accent-secondary: #3b82f6; /* Tech Blue */
    
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    
    --border-color: rgba(0, 0, 0, 0.08);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --max-width: 1200px;
    --nav-height: 80px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    zoom: 0.9;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

.text-accent {
    color: var(--accent-primary);
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 120px 0;
}

.bg-secondary {
    background-color: var(--bg-secondary);
}

.center {
    text-align: center;
}

.mb-m { margin-bottom: 1.5rem; }
.mb-l { margin-bottom: 2rem; }
.mb-xl { margin-bottom: 3rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: #FFFFFF;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--accent-glow);
    background-color: #1D4ED8;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(0, 0, 0, 0.03);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: #FFFFFF;
    box-shadow: 0 4px 20px var(--accent-glow);
}

/* Glassmorphism Card */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.glass-card:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    transform: translateY(-5px);
}

/* =========================================
   Navbar
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-primary);
    transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: calc(var(--nav-height) + 3rem);
    padding-bottom: 3rem;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}

.hero-bg-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.6;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1;
}

.hero-glow-1 {
    top: -100px;
    right: -100px;
    background: var(--accent-primary);
    width: 800px;
    height: 800px;
    opacity: 0.15;
}

.hero-glow-2 {
    bottom: -200px;
    left: -200px;
    background: #0ea5e9;
    width: 600px;
    height: 600px;
    opacity: 0.15;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 100px;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.section-header {
    margin-bottom: 5rem;
}

.section-header.center {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

/* =========================================
   About Section
   ========================================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Abstract Visual for About */
.visual-card {
    height: 400px;
    display: flex;
    flex-direction: column;
}

.visual-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.dots {
    display: flex;
    gap: 8px;
}

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
}

.dots span:nth-child(1) { background-color: #ef4444; }
.dots span:nth-child(2) { background-color: #f59e0b; }
.dots span:nth-child(3) { background-color: #10b981; }

.visual-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.code-line {
    height: 12px;
    border-radius: 6px;
    background-color: rgba(0, 0, 0, 0.05);
}

.code-line.accent {
    background-color: var(--accent-primary);
    opacity: 0.8;
}

.w-40 { width: 40%; }
.w-60 { width: 60%; }
.w-70 { width: 70%; }
.w-80 { width: 80%; }
.w-90 { width: 90%; }
.w-100 { width: 100%; }

/* =========================================
   Services Section
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    padding: 2.5rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card:hover .service-icon {
    background: var(--accent-primary);
    color: #FFFFFF;
    transform: scale(1.05);
}

.service-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-secondary);
}

/* =========================================
   Why Choose Us Section
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
}

.feature-check {
    color: var(--accent-primary);
    flex-shrink: 0;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-desc {
    color: var(--text-secondary);
}

/* =========================================
   Portfolio Section
   ========================================= */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.portfolio-card {
    padding: 1.5rem;
}

.placeholder-img {
    height: 200px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px dashed rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.placeholder-img svg {
    width: 48px;
    height: 48px;
    opacity: 0.5;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-primary);
    font-weight: 500;
}

.portfolio-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.portfolio-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* =========================================
   Footer Section
   ========================================= */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 6rem 0 2rem;
    border-top: none;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.footer::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--accent-primary);
    filter: blur(120px);
    border-radius: 50%;
    opacity: 0.2;
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .brand-logo .brand-text {
    color: #ffffff;
}

.footer-desc {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    max-width: 400px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #f8fafc;
    font-weight: 600;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: #94a3b8;
    display: inline-block;
}

.footer-links a:hover {
    color: #60a5fa;
    transform: translateX(8px);
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: #94a3b8;
    line-height: 1.6;
}

.contact-list svg {
    color: #60a5fa;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: #60a5fa;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
    font-size: 0.95rem;
}

/* =========================================
   Animations & Utilities
   ========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .about-container { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    /* Mobile Menu Active State */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: #FFFFFF;
        padding: 2rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }
    
    .nav-cta.active {
        display: flex;
        position: absolute;
        top: calc(var(--nav-height) + 250px); /* This might need JS adjustment but we leave it */
        left: 0;
        width: 100%;
        padding: 0 2rem 2rem;
        background: #FFFFFF;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    .hero-title { font-size: 2.5rem; }
    .features-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    
    .hero-actions {
        flex-direction: column;
    }
}

/* =========================================
   Modal Styling
   ========================================= */
.open-modal {
    cursor: pointer;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: #FFFFFF;
    width: 90%;
    max-width: 600px;
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-box {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0,0,0,0.05);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: #EF4444;
    color: #FFFFFF;
}

.modal-content-area h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.modal-content-area h4 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-primary);
}

.modal-content-area p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.portfolio-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* CSS Prototypes (Wireframes) */
.css-prototype {
    width: 100%;
    height: 200px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}
.css-proto-header {
    height: 30px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 6px;
}
.css-proto-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}
.css-proto-dot.red { background: #ef4444; }
.css-proto-dot.yellow { background: #f59e0b; }
.css-proto-dot.green { background: #10b981; }

.css-proto-body {
    display: flex;
    flex: 1;
}
.css-proto-sidebar {
    width: 25%;
    background: #f1f5f9;
    border-right: 1px solid #e2e8f0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.css-proto-line {
    height: 6px;
    background: #e2e8f0;
    border-radius: 4px;
    width: 100%;
}
.css-proto-content {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.css-proto-row {
    display: flex;
    gap: 10px;
}
.css-proto-box {
    flex: 1;
    height: 40px;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}
.css-proto-chart-bar {
    width: 15%;
    background: #3b82f6;
    border-radius: 4px 4px 0 0;
    margin-top: auto;
}

/* Disclaimer Alert */
.disclaimer-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.15);
    padding: 1.2rem;
    border-radius: 12px;
    margin: 1.5rem auto 0;
    text-align: left;
    max-width: 650px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.disclaimer-alert i {
    color: var(--accent-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Hero Chips & Buttons */
.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-glass {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 100px;
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-glass:hover {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.hero-chips {
    margin-top: 4rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 100px;
    font-weight: 600;
    color: var(--text-secondary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    font-size: 0.95rem;
    animation: float 6s ease-in-out infinite;
}

.chip-1 { animation-delay: 0s; }
.chip-2 { animation-delay: 2s; }
.chip-3 { animation-delay: 4s; }

.chip i {
    width: 18px;
    height: 18px;
    color: var(--accent-primary);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* CSS Dashboard Graphic */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.hero-dashboard {
    height: 450px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(37, 99, 235, 0.08);
    transform: rotateY(-8deg) rotateX(5deg);
    transition: transform 0.5s ease;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: visible;
}

.hero-dashboard:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.hero-dashboard-body {
    display: flex;
    flex: 1;
    padding: 1.5rem;
    gap: 1.5rem;
}

.hero-sidebar {
    width: 30%;
    background: rgba(37, 99, 235, 0.03);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-dashboard-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-top-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.hero-card-mini {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.hero-main-chart {
    flex: 1;
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 8px;
}

.hero-chart-bar {
    width: 15%;
    background: rgba(37, 99, 235, 0.15);
    border-radius: 4px 4px 0 0;
}

.hero-floating-badge {
    position: absolute;
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 100px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    border: 1px solid rgba(0,0,0,0.05);
    z-index: 10;
    animation: float 6s ease-in-out infinite;
}
.hero-floating-badge i {
    color: var(--accent-primary);
    width: 18px;
    height: 18px;
}
.badge-1 { top: 15%; left: -30px; }
.badge-2 { bottom: 15%; right: -30px; animation-delay: 2s; }

/* =========================================
   Media Queries (Mobile Responsiveness)
   ========================================= */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
        padding-top: 4rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }

    .services-grid, .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .services-grid, .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .section-padding {
        padding: 80px 0;
    }
    
    .hero-visual {
        display: none; /* Hide complex dashboard on small phones */
    }
}
