* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #05050a;
    color: #fff;
    overflow-x: hidden;
}

#bg3d {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

#bg3d canvas {
    position: absolute;
    top: 0;
    left: 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

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

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff6b6b;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.55) 0%, rgba(26, 26, 46, 0.55) 50%, rgba(22, 33, 62, 0.55) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(255, 217, 61, 0.1) 0%, transparent 50%);
    animation: float 10s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.5rem;
    color: #b0b0b0;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    text-decoration: none;
    transition: all 0.3s;
}

.social-btn:hover {
    background: #ff6b6b;
    border-color: #ff6b6b;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    color: #0a0a0a;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border-radius: 50px;
    transition: all 0.3s;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}

/* Sections */
section {
    padding: 80px 50px;
}

section h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about {
    background: rgba(17, 17, 17, 0.7);
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ccc;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
}

.stat h3 {
    font-size: 2.5rem;
    color: #ff6b6b;
}

.stat p {
    color: #888;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #1a1a1a;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #ff6b6b;
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.2);
}

.service-card i {
    font-size: 3rem;
    color: #ff6b6b;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: #888;
    line-height: 1.6;
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-email-box {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.contact-email-box:hover {
    border-color: #ff6b6b;
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.15);
}

.contact-email-box > i {
    font-size: 3rem;
    color: #ff6b6b;
    margin-bottom: 15px;
}

.contact-email-box h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.contact-email-box p {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 15px;
}

.email-big {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    word-break: break-all;
}

.copy-btn {
    margin-top: 15px;
    padding: 10px 30px;
    background: transparent;
    border: 1px solid #ff6b6b;
    border-radius: 50px;
    color: #ff6b6b;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.copy-btn:hover {
    background: #ff6b6b;
    color: #fff;
}

.contact-info {
    padding: 40px 20px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #ff6b6b;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #ccc;
}

.contact-info i {
    margin-right: 15px;
    color: #ff6b6b;
    width: 25px;
}

.social-links-footer {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.social-links-footer a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links-footer a:hover {
    background: #ff6b6b;
    border-color: #ff6b6b;
    transform: translateY(-3px);
}

/* Direct Connect */
.connect {
    background: rgba(5, 5, 10, 0.6);
}

.connect-subtitle {
    text-align: center;
    color: #b0b0b0;
    font-size: 1.15rem;
    margin-top: -40px;
    margin-bottom: 50px;
}

.connect-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.connect-card {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 45px 35px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.connect-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.email-card::before {
    background: linear-gradient(90deg, #ff6b6b, #ff8e53);
}

.whatsapp-card::before {
    background: linear-gradient(90deg, #25d366, #128c7e);
}

.connect-card i {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.email-card i {
    color: #ff6b6b;
}

.whatsapp-card i {
    color: #25d366;
}

.connect-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.connect-card p {
    color: #aaa;
    margin-bottom: 25px;
    word-break: break-all;
}

.connect-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s;
}

.email-card .connect-btn {
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    color: #0a0a0a;
}

.whatsapp-card .connect-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
}

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

.email-card:hover {
    border-color: #ff6b6b;
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.25);
}

.whatsapp-card:hover {
    border-color: #25d366;
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.25);
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.chat-header {
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    color: #0a0a0a;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
    transition: all 0.3s;
}

.chat-header:hover {
    transform: translateY(-3px);
}

#chatClose {
    margin-left: 15px;
}

.chat-body {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: #1a1a1a;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.chat-widget.active .chat-body {
    display: flex;
}

.chat-body.active {
    display: flex;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.bot-message,
.user-message {
    margin-bottom: 15px;
    max-width: 85%;
}

.bot-message p {
    background: #111;
    padding: 12px 15px;
    border-radius: 15px;
    border-top-left-radius: 5px;
    font-size: 14px;
    line-height: 1.5;
}

.user-message {
    margin-left: auto;
}

.user-message p {
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    color: #0a0a0a;
    padding: 12px 15px;
    border-radius: 15px;
    border-top-right-radius: 5px;
    font-size: 14px;
    font-weight: 600;
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.quick-replies button {
    background: transparent;
    border: 1px solid #ff6b6b;
    color: #ff6b6b;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
}

.quick-replies button:hover {
    background: #ff6b6b;
    color: #fff;
}

.chat-input {
    display: flex;
    padding: 15px;
    background: #222;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-input input {
    flex: 1;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 10px 20px;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.chat-input input:focus {
    border-color: #ff6b6b;
}

.chat-input button {
    width: 45px;
    height: 42px;
    margin-left: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    border: none;
    border-radius: 50%;
    color: #0a0a0a;
    cursor: pointer;
    transition: all 0.3s;
}

.chat-input button:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    background: #111;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #1a1a1a;
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .hamburger {
        display: flex;
    }

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

    .hero p {
        font-size: 1.1rem;
    }

    section {
        padding: 60px 20px;
    }

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

    .contact-container {
        grid-template-columns: 1fr;
    }

    .connect-cards {
        grid-template-columns: 1fr;
    }

    .connect-subtitle {
        font-size: 1rem;
    }

    .stats {
        flex-direction: column;
        gap: 30px;
    }

    .chat-body {
        width: 300px;
        height: 450px;
        position: fixed;
        bottom: 90px;
        right: 15px;
    }
}