:root {
    --bg-dark: #03050a;
    --accent-blue: #00f0ff;
    --accent-glow: rgba(0, 240, 255, 0.6);
    --accent-purple: #ff00ff;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --glass-bg: rgba(10, 15, 30, 0.4);
    --glass-border: rgba(0, 240, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

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

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 240, 255, 0.1), inset 0 0 20px rgba(255, 0, 255, 0.05);
}

/* Header */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(3, 5, 10, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

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

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

nav a {
    color: var(--text-primary);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Buttons */
.btn-primary {
    background: var(--accent-blue);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--accent-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--glass-bg);
}

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

/* Background Gradients */
.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
    filter: blur(100px);
    opacity: 0.3;
    top: -100px;
    right: -100px;
    z-index: -1;
    animation: pulse-glow 8s ease-in-out infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    filter: blur(120px);
    opacity: 0.2;
    bottom: -100px;
    left: -100px;
    z-index: -1;
    animation: pulse-glow 10s ease-in-out infinite alternate-reverse;
}

@keyframes pulse-glow {
    0% {
        opacity: 0.2;
        transform: scale(0.9);
    }

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

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.hero-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Hero Graphics / Animations */
.hero-graphic {
    position: relative;
    width: 500px;
    height: 500px;
}

.floating-element {
    position: absolute;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    animation: float 6s ease-in-out infinite;
}

.floating-element i {
    font-size: 1.2rem;
    color: var(--accent-blue);
    filter: drop-shadow(0 0 8px var(--accent-blue));
}

.el-1 {
    top: 20%;
    left: 0;
    animation-delay: 0s;
}

.el-2 {
    top: 50%;
    right: 10%;
    animation-delay: 2s;
}

.el-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.el-4 {
    top: 5%;
    right: 20%;
    animation-delay: 3s;
}

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

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

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

/* Services */
.services-section {
    padding: 5rem 5%;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #050814 100%);
    position: relative;
}

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

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.5);
}

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

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

/* About Section */
.about-section {
    padding: 5rem 5%;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
}

.about-content {
    max-width: 900px;
    padding: 4rem;
    text-align: center;
}

.about-content h2 {
    margin-bottom: 2rem;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.founder-bio {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(10, 15, 30, 0.4);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 12px;
    margin: 3rem 0;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.05);
}

.founder-icon {
    font-size: 3rem;
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.bio-quote {
    font-style: italic;
    color: var(--text-primary) !important;
    font-size: 1.05rem !important;
    margin-bottom: 0.5rem !important;
}

.bio-name {
    color: var(--text-secondary) !important;
    font-size: 0.95rem !important;
    margin-bottom: 0 !important;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    margin-top: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 5%;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
}

.cta-content {
    max-width: 800px;
    padding: 4rem;
    text-align: center;
    border-color: var(--glass-border);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content h2 {
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-content .btn-primary {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.hover-glow {
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.2), inset 0 0 20px rgba(255, 0, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.5);
}

/* Contact Form */
.contact-section {
    padding: 2rem 5% 6rem;
    display: flex;
    justify-content: center;
    background: var(--bg-dark);
}

.contact-card {
    max-width: 600px;
    width: 100%;
    padding: 3rem;
}

.contact-card h2 {
    margin-bottom: 1rem;
}

.contact-card > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

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

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.w-100 {
    width: 100%;
    margin-top: 1rem;
}

.contact-response-msg {
    margin-top: 1.5rem;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
}

.contact-response-msg.hidden {
    display: none;
}

.contact-response-msg.success {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.contact-response-msg.error {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Chatbot UI */
.chatbot-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-blue);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 0 20px var(--accent-glow);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

#chatbot-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    height: 500px;
    background: rgba(3, 5, 10, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

#chatbot-container.chatbot-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.chatbot-header {
    padding: 1.25rem;
    background: rgba(10, 15, 30, 0.6);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-title {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
}

#chatbot-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.2rem;
}

.chatbot-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 85%;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.message.bot {
    background: rgba(255, 255, 255, 0.05);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.message.user {
    background: var(--accent-blue);
    color: var(--bg-dark);
    font-weight: 500;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chatbot-input {
    padding: 1rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 0.5rem;
    background: rgba(3, 5, 10, 0.5);
}

.chatbot-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    outline: none;
    font-family: inherit;
}

.chatbot-input input:focus {
    border-color: var(--accent-blue);
}

.chatbot-input button {
    background: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 8px;
    width: 45px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.chatbot-input button:hover {
    background: #2563eb;
}

#mic-btn.active {
    background: var(--accent-purple);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 255, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 0, 255, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 255, 0); }
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    align-self: flex-start;
    border-radius: 12px;
    width: fit-content;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

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

/* Mobile Responsiveness */
@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero-graphic {
        display: none;
    }

    .hero-content {
        margin-top: 5rem;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }

    .navbar {
        flex-direction: column;
        padding: 1rem;
        position: absolute;
    }

    nav {
        margin-top: 1rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    nav a {
        margin-left: 0;
    }

    #chatbot-container {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
        z-index: 9999;
    }

    .chatbot-toggle {
        bottom: 20px;
        right: 20px;
    }
}