:root {
    --primary-gradient: linear-gradient(135deg, #e61c8d 0%, #ff9800 100%);
    --primary-pink: #e61c8d;
    --primary-orange: #ff9800;
    --light-bg: #ffffff;
    --off-white: #f3f4f6;
    --text-main: #1a1a1a;
    --text-muted: #616161;
    --card-bg: #ffffff;
    --border-color: rgba(0, 0, 0, 0.12);
    --shadow-subtle: 0 4px 12px rgba(0, 0, 0, 0.05);
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;
}

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

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

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: 1.6rem;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2.4rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--text-main);
    color: white;
}

.btn-primary:hover {
    background: #333333;
    transform: none;
}

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

.btn-secondary:hover {
    background: rgba(0,0,0,0.05);
    transform: none;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-subtle);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -1px;
}

.logo-o {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: inline-block;
    position: relative;
    margin-right: 1px;
    align-self: center;
}

.logo-o::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
}

/* Navigation & Dropdowns */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-main);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0;
}

.nav-links a:not(.btn):hover {
    color: var(--primary-pink);
}

.nav-links i {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    min-width: 200px;
    padding: 1rem 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1001;
}

.dropdown-menu a {
    display: block !important;
    padding: 0.7rem 1.5rem !important;
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
    font-weight: 400 !important;
}

.dropdown-menu a:hover {
    background: var(--off-white);
    color: var(--text-main) !important;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown:hover .dropdown-trigger {
    color: var(--primary-pink);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero Section: Microsoft Style */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 140px 0 60px;
    background-color: #ffffff;
}

.hero-box {
    background-color: var(--off-white);
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.hero-text {
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -1px;
    color: var(--text-main);
    font-weight: 700;
    background: none;
    -webkit-text-fill-color: initial;
    background-clip: initial;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.5;
}

.hero-visual {
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.visual-pattern {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(rgba(255,255,255,0.2) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: rotate(15deg);
}

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

/* Background Technical Accents */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.shape-1 {
    top: -100px;
    right: -5%;
    width: 600px;
    height: 600px;
    background: rgba(230, 28, 141, 0.08);
}

.shape-2 {
    bottom: -150px;
    left: -5%;
    width: 700px;
    height: 700px;
    background: rgba(255, 152, 0, 0.06);
}

.hero-visual {
    display: none;
}

.hero .overline {
    color: var(--primary-pink);
    border-color: var(--border-color);
}

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

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Section Spacing */
.section {
    padding: 10rem 0;
}

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

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

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

.service-card {
    padding: 2.5rem;
    background: white;
    border-radius: var(--radius-sm);
    border-bottom: 3px solid transparent;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.1);
    border-bottom-color: var(--primary-pink);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: transparent;
    color: var(--primary-pink);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
    box-shadow: none;
}

.service-icon i {
    width: 32px;
    height: 32px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.service-features {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    font-weight: 500;
}

.service-features li i {
    color: var(--primary-pink);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Banner CTA */
.banner {
    background-color: var(--off-white);
}

.banner-content {
    padding: 5rem 3rem;
    text-align: center;
    background: white;
    border-radius: 35px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
}

.banner-content h2 {
    font-size: 2.5rem;
}

.banner-content p {
    color: var(--text-muted);
    margin: 1.5rem auto 2.5rem;
    max-width: 700px;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: #ffffff;
    padding: 6rem 0 2rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 5rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 380px;
    font-size: 1.05rem;
}

.footer h4 {
    color: var(--text-main);
    margin-bottom: 1.8rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-links ul li, .footer-contact ul li {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
    font-weight: 500;
}

.footer-links a {
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-pink);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-contact i {
    color: var(--primary-orange);
    width: 20px;
    height: 20px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
}

/* Corporate Patterns */
.bg-dots {
    background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
    background-size: 30px 30px;
}

.bg-light-gray {
    background-color: #fafbfc;
}

.overline {
    display: block;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-pink);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}


/* Bento Grid Pillars */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.pillar-item {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-subtle);
    border-left: none;
    border-top: 4px solid var(--off-white);
    transition: all 0.2s ease;
}

.pillar-item:nth-child(1) { grid-column: span 2; }
.pillar-item:nth-child(2) { grid-column: span 2; }
.pillar-item:nth-child(3) { grid-column: span 2; }
.pillar-item:nth-child(4) { grid-column: span 2; }

.pillar-item:hover {
    border-top-color: var(--primary-orange);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}
@media (min-width: 1024px) {
    .pillar-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
    .pillar-item:nth-child(2) { grid-column: span 2; }
    .pillar-item:nth-child(3) { grid-column: span 1; }
    .pillar-item:nth-child(4) { grid-column: span 1; }
}

.pillar-item h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.pillar-item p {
    color: var(--text-muted);
}


/* Updated Typography */
h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
}

/* Animations JS */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: #a0aec0;
    z-index: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* Responsive */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        transition: right 0.5s cubic-bezier(0.7, 0, 0.3, 1);
        box-shadow: -15px 0 40px rgba(0,0,0,0.1);
        z-index: 1000;
        padding: 6rem 2rem 2rem 2rem;
        overflow-y: auto;
        gap: 0; /* Remove default gap to use explicit padding */
    }
    
    .nav-links.active {
        right: 0;
    }

    .nav-links > a:not(.btn) {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--off-white);
        font-size: 1.1rem;
    }

    .nav-links .btn {
        width: 100%;
        margin-top: 1.5rem;
    }

    .dropdown {
        width: 100%;
        border-bottom: 1px solid var(--off-white);
    }

    .dropdown-trigger {
        justify-content: space-between;
        width: 100%;
        padding: 1rem 0 !important;
        font-size: 1.1rem !important;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 1rem 1rem;
        opacity: 1;
        visibility: visible;
        display: none;
        border-left: 2px solid var(--off-white);
        margin-top: 0;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 0.7rem 1rem !important;
        font-size: 0.95rem !important;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

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

    .hero-text {
        padding: 3rem 1.5rem;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

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

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

    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .pillar-item:nth-child(n) {
        grid-column: span 1;
    }

    .container {
        padding: 0 1rem;
    }

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

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

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