/* Core Design System - Light Theme */
:root {
    --bg-dark: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F1F5F9;
    --primary: #7C3AED; /* Vibrant Purple */
    --primary-glow: rgba(124, 58, 237, 0.25);
    --secondary: #A855F7; /* Soft Purple */
    --accent: #C026D3; /* Fuchsia */
    --text-main: #0F172A;
    --text-muted: #475569;
    --border: #E2E8F0;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, .logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

/* Typography & Utilities */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

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

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

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    padding: 0.8rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: #FFFFFF;
    color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

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

.btn-outline:hover {
    background: var(--bg-card);
    border-color: var(--primary);
}

.btn-lg {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

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

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

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

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-main);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
    opacity: 0.3;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

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

.hero-visual img {
    width: 100%;
    max-width: 600px;
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.floating {
    animation: float 6s ease-in-out infinite;
}

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

/* Stats Section */
.stats {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: #F8FAFC;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 500;
}

/* Services Grid */
.services {
    padding: 8rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.service-card:hover .icon-box {
    background: white;
    color: var(--primary);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
}

/* Trust / Process Section */
.trust {
    padding: 8rem 0;
    background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
}

.trust-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.process-steps {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
}

.step-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.1);
    -webkit-text-stroke: 1px var(--primary);
}

.step-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.step-info p {
    color: var(--text-muted);
}

.security-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 2rem;
    border: 1px solid var(--border);
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.security-card i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

/* Tech Stack */
.tech {
    padding: 8rem 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.tech-category {
    background: #F8FAFC;
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
}

.tech-category h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

.tech-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.tech-item i {
    font-size: 2rem;
    color: var(--text-muted);
}

.tech-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.tech-item:hover i {
    color: var(--primary);
    transform: scale(1.1);
}

/* Testimonials */
.testimonials {
    padding: 8rem 0;
    background: #F8FAFC;
}

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

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: #FBBF24;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: var(--bg-card-hover);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid var(--primary);
}

.client-info strong {
    display: block;
    font-size: 1rem;
}

.client-info span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: var(--primary);
}

/* Contact */
.contact {
    padding: 6rem 0 10rem;
}

.contact-card {
    background: var(--gradient);
    padding: 4rem;
    border-radius: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 20px 40px var(--primary-glow);
}

.contact-text h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.contact-text p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    max-width: 500px;
}

.contact-card .gradient-text {
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-action .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    padding: 6rem 0 3rem;
    border-top: 1px solid var(--border);
}

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

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1.5rem;
    max-width: 300px;
}

.footer-links h4, .footer-social h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
}

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

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--primary);
}

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

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Fully Mobile Responsive System */
@media (max-width: 1200px) {
    .container { max-width: 95%; }
}

@media (max-width: 1024px) {
    .hero .container, .trust-layout, .why-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content h1 { font-size: 3.5rem; }
    
    .hero-content p, .hero-actions {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }

    .hero-visual img {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .navbar { padding: 1rem 0; }
    .nav-links { display: none; } /* Handled by JS for mobile menu */
    .mobile-toggle { display: flex; }
    
    .section-header h2 { font-size: 2rem; }
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { font-size: 1.1rem; }
    
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    
    .services-grid, .portfolio-grid, .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card-grid { grid-template-columns: repeat(2, 1fr); }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
        padding: 3rem 1.5rem;
    }

    .contact-text h2 { font-size: 2.2rem; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .footer-brand p { margin: 1.5rem auto; }
    .social-icons { justify-content: center; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2.2rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    
    .stats-grid { grid-template-columns: 1fr; }
    
    .feature-card-grid { grid-template-columns: 1fr; }
    
    .testimonial-slider { padding: 2rem 1.5rem; }
    .testimonial p { font-size: 1.1rem; }
    
    .portfolio-image { height: 200px; }
}

/* Team Section */
.team {
    padding: 8rem 0;
}

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

.team-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 2rem;
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.team-image {
    width: 120px;
    height: 120px;
    background: var(--bg-card-hover);
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid var(--primary);
}

.team-image .img-placeholder {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.5;
}

.team-info h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-info span {
    display: block;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.team-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.team-social {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: var(--bg-card-hover);
    color: var(--text-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Client Marquee */
.clients {
    padding: 3rem 0;
    overflow: hidden;
    background: #F8FAFC;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.client-marquee {
    display: flex;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 4rem;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.marquee-track span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.marquee-track i {
    font-size: 1.5rem;
}

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

/* Why Choose Us */
.why-us {
    padding: 8rem 0;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.feature-item i {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.feature-item h4 {
    margin-bottom: 0.25rem;
}

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

.feature-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.f-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.f-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.f-card.active {
    background: var(--gradient);
    border: none;
}

.f-card.active i, .f-card.active h4 {
    color: white;
}

/* Portfolio */
.portfolio {
    padding: 8rem 0;
    background: #F8FAFC;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.portfolio-item {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.portfolio-image {
    height: 250px;
    background: #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-placeholder {
    font-weight: 700;
    color: #94A3B8;
    font-size: 1.5rem;
}

.portfolio-info {
    padding: 2rem;
}

.portfolio-info span {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.portfolio-info h4 {
    margin: 0.5rem 0;
    font-size: 1.4rem;
}

.portfolio-info p {
    color: var(--text-muted);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* FAQ */
.faq {
    padding: 8rem 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background: white;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: #F1F5F9;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    background: white;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

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