:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-1: #8a2be2; /* Purple */
    --accent-2: #00ffff; /* Cyan */
    --accent-1-rgb: 138, 43, 226;
    --accent-2-rgb: 0, 255, 255;
    --surface: rgba(25, 25, 25, 0.6);
    --surface-border: rgba(255, 255, 255, 0.08);
    --input-bg: rgba(255, 255, 255, 0.05);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --font-main: 'Outfit', sans-serif;
}

body.light-mode {
    --bg-color: #fafafa;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --accent-1: #7c3aed; /* Vibrant Violet */
    --accent-2: #0ea5e9; /* Vibrant Light Blue */
    --accent-1-rgb: 124, 58, 237;
    --accent-2-rgb: 14, 165, 233;
    --surface: rgba(255, 255, 255, 0.7);
    --surface-border: rgba(0, 0, 0, 0.05);
    --input-bg: rgba(255, 255, 255, 0.9);
    --shadow-color: rgba(0, 0, 0, 0.06);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
    cursor: none; /* Custom cursor */
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-2);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    mix-blend-mode: difference;
}

.cursor.hovering {
    width: 50px;
    height: 50px;
    background-color: rgba(var(--accent-2-rgb), 0.2);
}

/* Typography & Utilities */
h1, h2, h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

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

.gradient-text {
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: var(--surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-border);
    transition: padding 0.3s ease, background 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: var(--accent-2);
}

.brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

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

.nav-links a:not(.btn-primary) {
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Buttons */
.btn-primary {
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: none;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--accent-2-rgb), 0.2);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 5%;
    overflow: hidden;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-1);
    top: -100px;
    left: -100px;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-2);
    bottom: -150px;
    right: -100px;
}

.glow-3 {
    width: 300px;
    height: 300px;
    background: #1a0b2e;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Services Section */
.services {
    padding: 10rem 5%;
    position: relative;
}

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

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

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

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(var(--accent-2-rgb), 0.3);
}

.card-image-wrapper {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5,5,5,0) 0%, rgba(5,5,5,1) 100%);
}

.card-content {
    padding: 2.5rem;
    position: relative;
    z-index: 2;
    margin-top: -40px;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-color);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-2);
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.card-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--accent-1);
    transition: gap 0.3s;
}

.service-card:hover .card-link {
    gap: 0.8rem;
    color: var(--accent-2);
}

/* Contact Section */
.contact {
    padding: 8rem 5%;
    display: flex;
    justify-content: center;
}

.contact-box {
    background: linear-gradient(135deg, rgba(var(--accent-1-rgb), 0.1), rgba(var(--accent-2-rgb), 0.1));
    border: 1px solid var(--surface-border);
    border-radius: 30px;
    padding: 5rem 3rem;
    text-align: center;
    max-width: 800px;
    width: 100%;
    backdrop-filter: blur(20px);
}

.contact-box h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

.contact-box p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--surface-border);
    padding: 4rem 5% 2rem;
    background: var(--bg-color);
    transition: background 0.3s ease;
}

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

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

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

.footer-links a {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: color 0.3s;
}

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

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

/* Process Carousel */
.carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 1rem;
}

.carousel-btn {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    color: var(--accent-2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--accent-1);
    color: #fff;
    border-color: var(--accent-1);
    transform: scale(1.1);
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-card {
    flex: 0 0 calc(33.333% - 1.33rem); /* Show 3 at a time, accounting for 2rem gap */
    min-width: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .carousel-card {
        flex: 0 0 calc(50% - 1rem); /* Show 2 at a time on tablets */
    }
}

@media (max-width: 768px) {
    .nav-links a:not(.btn-primary) {
        display: none;
    }
    
    .cursor {
        display: none; /* Hide custom cursor on mobile */
    }
    
    body {
        cursor: auto;
    }
    
    .carousel-card {
        flex: 0 0 100%; /* Show 1 at a time on mobile */
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: var(--input-bg);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-main);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-2);
    box-shadow: 0 0 10px rgba(var(--accent-2-rgb), 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Theme Toggle */
.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Coming Soon Modal */
.coming-soon-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    pointer-events: none;
}

.coming-soon-modal.active {
    pointer-events: auto;
}

.coming-soon-content {
    text-align: center;
    transform: scale(0.8);
}

.coming-soon-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.6));
}

.coming-soon-title {
    font-size: clamp(3rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.coming-soon-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s, transform 0.3s;
}

.coming-soon-close:hover {
    color: var(--accent-2);
    transform: rotate(90deg);
}.theme-toggle:hover {
    color: var(--accent-2);
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    color: var(--text-secondary);
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 300px;
}

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

.faq-question i {
    transition: transform 0.3s ease;
}

/* Newsletter */
.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 0.8rem 1rem;
    border-radius: 50px;
    border: 1px solid var(--surface-border);
    background: var(--input-bg);
    color: var(--text-primary);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-2);
}

/* Testimonials & Logos */
.logos-marquee {
    overflow: hidden;
    white-space: nowrap;
    padding: 2rem 0;
    background: var(--shadow-color);
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
}

.logos-track {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.logos-track i {
    font-size: 2.5rem;
    margin: 0 3rem;
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.3s;
}

.logos-track i:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Original Brand Colors */
.logos-track .fa-facebook { color: #1877F2; }
.logos-track .fa-youtube { color: #FF0000; }
.logos-track .fa-tiktok { color: var(--text-primary); text-shadow: 2px 2px 0 #00f2fe, -2px -2px 0 #ff0050; }
.logos-track .fa-instagram { color: #E1306C; }

/* Custom SVG Logos */
.logos-track .custom-svg {
    height: 2.5rem;
    width: auto;
    margin: 0 3rem;
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.3s;
    display: inline-block;
    vertical-align: middle;
    fill: currentColor;
}
.logos-track .custom-svg:hover {
    opacity: 1;
    transform: scale(1.1);
}

.logos-track .adsense { color: #F4B400; }
.logos-track .admob { color: #EA4335; }
.logos-track .kuaishou { color: #FF5000; }

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

.testimonials {
    padding: 8rem 5%;
    text-align: center;
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card i.fa-quote-left {
    font-size: 3rem;
    color: rgba(var(--accent-2-rgb), 0.1);
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
}

.testimonial-card p.quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Bento Grid Styles */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-item {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.bento-item:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--accent-2-rgb), 0.3);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(var(--accent-2-rgb), 0.1);
    color: var(--accent-2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.bento-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.bento-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive Bento Grid */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-large, .bento-wide {
        grid-column: span 1;
    }
}

/* Portfolio & Blog Card Layout Styles */
.portfolio-card {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    overflow: hidden;
    text-decoration: none;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 24px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--accent-2-rgb), 0.3);
}

.portfolio-img-wrapper {
    height: 240px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.portfolio-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-card:hover .portfolio-img-wrapper img {
    transform: scale(1.08);
}

.portfolio-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.portfolio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    transition: color 0.3s;
}

.portfolio-card:hover .portfolio-info h3 {
    color: var(--accent-2);
}

.portfolio-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.portfolio-tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--accent-1);
    margin-bottom: 0.5rem;
}

/* Portfolio Filter Styles */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    color: var(--text-primary);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(var(--accent-2-rgb), 0.2);
}

