:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --primary-color: #FFD304;
    --primary-hover: #e6be00;
    --accent-gradient: linear-gradient(135deg, #FFD304 0%, #ffb700 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}


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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn-primary {
    background: var(--accent-gradient);
    color: black;
    /* Changed to black for better contrast on yellow */
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    /* Increased weight */
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 211, 4, 0.3);
    /* Yellow shadow */
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 211, 4, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 20px 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary-color);
}

.logo img {
    filter: brightness(0) invert(1);
    /* Make logo white */
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.nav-btn) {
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-links a:not(.nav-btn):hover {
    color: white;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
    z-index: 2;
}

.badge {
    background: rgba(255, 211, 4, 0.1);
    color: #FFD304;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 211, 4, 0.2);
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.gradient-text {
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-features {
    display: flex;
    gap: 15px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.stats {
    display: flex;
    gap: 50px;
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 3D UI Stack Visual */
.visual-container {
    position: relative;
    width: 400px;
    height: 400px;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    filter: blur(120px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: -1;
    animation: pulse-glow 4s infinite alternate;
}

.floating-card {
    position: absolute;
    width: 320px;
    height: 220px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

/* Back Card: Code */
.card-back {
    background: #1a1a1a;
    top: 0;
    left: 40px;
    transform: rotateY(-20deg) rotateX(10deg) translateZ(-60px);
    opacity: 0.6;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    overflow: hidden;
    animation: float-back 6s ease-in-out infinite;
}

.code-lines span {
    display: block;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    border-radius: 4px;
}

.code-lines span:nth-child(odd) {
    width: 60%;
}

.code-lines span:nth-child(even) {
    width: 80%;
}

/* Middle Card: Wireframe */
.card-mid {
    background: #252525;
    top: 40px;
    left: 20px;
    transform: rotateY(-20deg) rotateX(10deg) translateZ(-30px);
    opacity: 0.8;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 15px;
    animation: float-mid 6s ease-in-out infinite;
    animation-delay: 0.5s;
}

.wireframe-layout .wf-header {
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    border-radius: 4px;
}

.wireframe-layout .wf-body {
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Front Card: Final UI */
.card-front {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    top: 80px;
    left: 0;
    transform: rotateY(-20deg) rotateX(10deg) translateZ(0);
    border: 1px solid rgba(255, 211, 4, 0.3);
    overflow: hidden;
    animation: float-front 6s ease-in-out infinite;
    animation-delay: 1s;
}

.ui-header {
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.ui-content {
    padding: 20px;
}

.ui-hero-img {
    height: 140px;
    /* Increased height significantly */
    background: #1a1a1a;
    border-radius: 8px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    opacity: 0;
    animation: slideshow 18s infinite;
}

/* 6 items, 3s each -> 18s total */
.slide-img:nth-child(1) {
    animation-delay: 0s;
}

.slide-img:nth-child(2) {
    animation-delay: 3s;
}

.slide-img:nth-child(3) {
    animation-delay: 6s;
}

.slide-img:nth-child(4) {
    animation-delay: 9s;
}

.slide-img:nth-child(5) {
    animation-delay: 12s;
}

.slide-img:nth-child(6) {
    animation-delay: 15s;
}

@keyframes slideshow {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }

    2% {
        opacity: 1;
        transform: scale(1);
    }

    15% {
        opacity: 1;
        transform: scale(1);
    }

    17% {
        opacity: 0;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

.ui-hero-img::after {
    /* Removed shimmer to focus on screenshots */
    display: none;
}

.ui-text-lines span {
    display: block;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 8px;
    border-radius: 3px;
}

.ui-text-lines span:first-child {
    width: 90%;
}

.ui-text-lines span:last-child {
    width: 60%;
}

.ui-btn {
    width: 80px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 4px;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(255, 211, 4, 0.2);
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    left: 0;
    width: 100%;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    z-index: 9999;
    pointer-events: none;
}

.float-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    pointer-events: auto;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: float-vertical 3s ease-in-out infinite;
}

.float-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer-btn 3s infinite;
}

.float-btn i {
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
    animation: icon-pulse 2s ease-in-out infinite;
}

.float-btn span {
    position: relative;
    z-index: 1;
}

.float-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.call-btn {
    background: linear-gradient(135deg, var(--primary-color), #e6be00);
    color: black;
    animation: float-vertical 3s ease-in-out infinite, pulse-ripple-yellow 2s infinite;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    animation: float-vertical 3s ease-in-out infinite 1.5s, pulse-ripple-green 2s infinite 1s;
}

/* Remove Tooltips as text is now visible */
.tooltip {
    display: none;
}

@keyframes icon-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Floating Badges */
.float-badge {
    position: absolute;
    background: rgba(30, 30, 30, 0.9);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    animation: float-badge 4s ease-in-out infinite;
    z-index: 10;
}

.float-badge i {
    color: var(--primary-color);
}

.badge-seo {
    top: -20px;
    right: -30px;
    animation-delay: 0s;
}

.badge-speed {
    bottom: 40px;
    right: -40px;
    animation-delay: 1.5s;
}

.badge-mobile {
    bottom: -20px;
    left: 20px;
    animation-delay: 0.8s;
}

/* Animations */
@keyframes float-back {

    0%,
    100% {
        transform: rotateY(-20deg) rotateX(10deg) translateZ(-60px) translateY(0);
    }

    50% {
        transform: rotateY(-20deg) rotateX(10deg) translateZ(-60px) translateY(-10px);
    }
}

@keyframes float-mid {

    0%,
    100% {
        transform: rotateY(-20deg) rotateX(10deg) translateZ(-30px) translateY(0);
    }

    50% {
        transform: rotateY(-20deg) rotateX(10deg) translateZ(-30px) translateY(-12px);
    }
}

@keyframes float-front {

    0%,
    100% {
        transform: rotateY(-20deg) rotateX(10deg) translateZ(0) translateY(0);
    }

    50% {
        transform: rotateY(-20deg) rotateX(10deg) translateZ(0) translateY(-15px);
    }
}

@keyframes float-badge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-glow {
    0% {
        opacity: 0.1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0.2;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.feature-item i {
    color: var(--primary-color);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #128C7E;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.btn-call {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-call:hover {
    background: var(--primary-color);
    color: black;
}

/* Packages Section */
.packages {
    padding: 100px 0;
    background: #0f0f0f;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: start;
}

.package-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.package-card.popular {
    border-color: var(--primary-color);
    background: linear-gradient(180deg, rgba(255, 211, 4, 0.05) 0%, var(--bg-card) 100%);
    transform: scale(1.05);
    z-index: 2;
}

.package-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-color);
    color: black;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 15px;
    border-bottom-left-radius: 15px;
}

.package-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 30px;
}

.package-features {
    margin-bottom: 30px;
}

.package-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.package-features i {
    color: #4ade80;
}

/* References Section */
.references {
    padding: 80px 0;
    background: var(--bg-dark);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.ref-item {
    background: var(--bg-card);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    padding: 15px;
    overflow: hidden;
}

.ref-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    transition: var(--transition);
    opacity: 0.7;
}

.ref-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.ref-item:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: #0f0f0f;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.stars {
    color: #FFD304;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.testimonial-card p {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-card span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--bg-dark);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.faq-item {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: white;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #0f0f0f;
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    background: var(--bg-card);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.contact-info {
    flex: 1;
    padding: 60px;
    background: linear-gradient(135deg, rgba(255, 211, 4, 0.1) 0%, transparent 100%);
    text-align: left;
    /* Reset to left for better layout with map */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-map {
    flex: 1;
    min-height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 15px;
    width: 100%;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD304;
    font-size: 1.2rem;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.contact-item span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.contact-item a,
.contact-item p {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.contact-form-wrapper {
    flex: 1;
    padding: 60px;
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

/* Footer */
footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    /* Removed margin since bottom section is gone */
}

.footer-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    /* Reduced from 100px */
}

.footer-brand h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-brand span {
    color: var(--primary-color);
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition);
}

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

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }

    100% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

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

    .stats {
        justify-content: center;
    }

    .hero-text p {
        margin: 0 auto 40px;
    }

    .why-us-container {
        flex-direction: column;
    }

    .contact-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0a0a0a;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

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

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

    .package-card.popular {
        transform: scale(1);
    }

    .package-card.popular:hover {
        transform: scale(1);
    }

    .contact-map {
        min-height: 300px;
        height: 300px;
    }

    .contact-info {
        padding: 30px;
    }
}