:root {
    --lime: #c8ff00;
    --dark: #0a0a0a;
    --light: #f5f5f3;
    --muted: #888;
    --border: #e5e5e5;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--light);
    color: #111;
    margin: 0;
    padding-top: 72px;
}

/* Yellow text selection */
::selection {
    background: var(--lime);
    color: #111;
}

::-moz-selection {
    background: var(--lime);
    color: #111;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

/* Grid pattern for hero */
.grid-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    height: 72px;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #666;
}

.nav-cta {
    background: #111;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
}

.nav-cta:hover {
    background: #333;
    transform: scale(1.05);
}

.mobile-toggle {
    font-size: 1.5rem;
    color: #111;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-right: -8px;
}

#mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    transform: translateY(-100%);
}

#mobile-menu:not(.hidden) {
    transform: translateY(0);
}

.mobile-nav-link {
    font-weight: 800;
    text-decoration: none;
    color: #111;
    font-size: 2rem;
    letter-spacing: -0.02em;
}

.mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 2rem;
    color: #111;
    background: none;
    border: none;
    cursor: pointer;
}

.lime-highlight {
    position: relative;
    display: inline;
}

.lime-highlight::before {
    content: '';
    position: absolute;
    bottom: 2px;
    left: -4px;
    right: -4px;
    height: 14px;
    background: var(--lime);
    z-index: -1;
    border-radius: 2px;
}

/* Buttons */
.btn-primary {
    background: #111;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn-secondary {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    border-bottom: 2px solid #111;
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.btn-secondary:hover {
    color: #666;
    border-color: #666;
}

/* Social Chips */
.social-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #444;
    text-decoration: none;
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 50px;
    background: white;
    transition: box-shadow 0.2s, transform 0.2s;
}

.social-chip:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

/* Marquee */
.marquee-wrapper {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    background: var(--light);
}

.marquee-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: marquee 22s linear infinite;
}

.marquee-track span {
    font-family: 'DM Mono', 'Courier New', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    color: var(--muted);
    white-space: nowrap;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Cards */
.service-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--lime);
}

.service-card.dark {
    background: #0a0a0a;
    border-color: #1a1a1a;
}

.service-card.dark:hover {
    border-color: var(--lime);
}

.service-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f8f8f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.4rem;
    color: #111;
    transition: background 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    background: var(--lime);
}

.service-card.dark .service-icon-wrapper {
    background: #1a1a1a;
    color: var(--lime);
}

.service-card h3 {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 0 12px;
    transition: color 0.3s ease;
}

.service-card.dark h3 {
    color: white;
}

.service-card p {
    color: #666;
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
}

.service-card.dark p {
    color: #aaa;
}

/* Project Cards */
.project-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 24px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: var(--lime);
}

.project-content {
    padding: 36px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-tag {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: #111;
    background: var(--lime);
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    width: fit-content;
    text-transform: uppercase;
}

.project-title {
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

.project-desc {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 0 24px;
    flex: 1;
}

.stack-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.tech-pill {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
    background: #f9f9f7;
}

.project-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #111;
    text-decoration: none;
    transition: gap 0.2s;
}

.project-link-btn:hover {
    gap: 16px;
}

/* Tech Stack */
.tech-item {
    background: white;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tech-item img {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

.tech-item h3 {
    font-weight: 700;
    margin: 0 0 10px;
    font-size: 1rem;
}

.tech-item p {
    color: #666;
    font-size: 0.87rem;
    line-height: 1.6;
    margin: 0;
}

/* Why Us Stats */
.stat-box {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
    flex: 1;
    background: white;
}

.whyus-card {
    display: flex;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.2s;
}

.whyus-card:hover {
    transform: translateX(4px);
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Deployment */
.deploy-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 18px;
    padding: 28px;
    transition: 0.3s ease;
}

.deploy-card:hover {
    transform: translateY(-6px);
    border-color: #333;
}

.deploy-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.deploy-icon i, .deploy-icon img {
    color: white;
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.deploy-card h4 {
    font-weight: 700;
    color: white;
    margin: 0 0 8px;
    font-size: 1rem;
}

.deploy-card p {
    color: #888;
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.check-item i {
    color: var(--lime);
    font-size: 14px;
}

.check-item span {
    color: white;
    font-size: 0.92rem;
}

/* FAQ Accordion */
.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item.active {
    border-color: var(--lime);
}

.faq-question {
    padding: 20px 24px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    background: white;
    position: relative;
    z-index: 2;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    color: #666;
    font-size: 0.92rem;
    line-height: 1.6;
    padding: 0 24px;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust as needed */
    padding: 0 24px 20px;
}

.faq-icon {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.8rem;
    color: #aaa;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Contact Section */
.contact-method {
    margin-bottom: 24px;
}

.contact-method span {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--muted);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.contact-method a, .contact-method div {
    font-weight: 600;
    color: #111;
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-linkedin {
    background: #0077B5;
    color: white;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* WhatsApp Card */
.wa-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}

.wa-badge {
    width: 64px;
    height: 64px;
    background: #25D366;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
    font-size: 2rem;
}

.wa-btn-lg {
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.2s;
}

.wa-btn-lg:hover { transform: translateY(-2px); }

/* Footer */
footer {
    background: var(--dark);
    color: white;
}

footer h5 {
    color: #555;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    font-weight: 600;
    margin: 0 0 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #888;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

/* Responsiveness */
.hidden {
    display: none !important;
}

.md-flex {
    display: none;
}

@media (min-width: 768px) {
    .md-flex {
        display: flex !important;
    }
    .md-hidden {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .hero-grid { grid-template-columns: 1fr !important; text-align: center; }
    .hero-grid div { display: flex; flex-direction: column; align-items: center; }
    .hero-card { display: none; }
    .services-grid { grid-template-columns: 1fr !important; }
    .tech-grid { grid-template-columns: 1fr 1fr !important; }
    .whyus-grid { grid-template-columns: 1fr !important; }
    .deploy-grid { grid-template-columns: 1fr !important; }
    .deploy-cards-grid { grid-template-columns: 1fr 1fr !important; }
    .about-grid { grid-template-columns: 1fr !important; }
    .contact-grid { grid-template-columns: 1fr !important; }
    .footer-grid { grid-template-columns: 1fr !important; text-align: center; }
    .footer-links { align-items: center; }
    .footer-grid div { display: flex; flex-direction: column; align-items: center; }
}

@media (max-width: 640px) {
    .tech-grid { grid-template-columns: 1fr !important; }
    .deploy-cards-grid { grid-template-columns: 1fr !important; }
}

.open-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 0.85rem;
    color: #444;
    background: white;
}

.lime-bullet::before {
    content: '•';
    color: var(--lime);
    font-size: 1.2rem;
    margin-right: 10px;
}

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #0a66c2;
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
}

.linkedin-btn:hover {
    background: #084d94;
    transform: translateY(-2px);
}

.logo-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(200, 255, 0, 0.25);
    border: 1px solid rgba(200, 255, 0, 0.3);
    width: 100%;
    max-width: 480px;
    transform: translateY(-20px);
}
