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

:root {
    --primary-purple: #5B3A99;
    --primary-blue: #2E5B8C;
    --accent-light: #7B68EE;
    --dark-bg: #1a1a2e;
    --darker-bg: #0f0f1e;
    --text-light: #e0e0e0;
    --text-muted: #a0a0a0;
}

body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: linear-gradient(135deg, #4a2c6f 0%, #2b4c6f 100%);
    overflow-x: hidden;
}

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

/* Back to Portfolio Banner */
.back-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 30, 0.98);
    z-index: 3000;
    border-bottom: 2px solid var(--accent-light);
}

.back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--accent-light);
    background: rgba(123, 104, 238, 0.1);
}

.back-link svg {
    flex-shrink: 0;
}

/* Demo Watermark */
.demo-watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 10rem;
    font-weight: 900;
    color: rgba(123, 104, 238, 0.03);
    z-index: 1;
    pointer-events: none;
    letter-spacing: 2rem;
}

/* Header */
.header {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    z-index: 2000;
    padding: 1.5rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    padding: 1.2rem 2.5rem;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1100px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.logo svg {
    stroke: var(--accent-light);
}

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

.logo small {
    font-size: 0.5em;
    color: var(--accent-light);
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-light);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-light);
}

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

.btn-login {
    padding: 0.75rem 1.75rem;
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-light);
}

.btn-signup {
    padding: 0.75rem 1.75rem;
    background: var(--accent-light);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-signup:hover {
    background: #6B58D8;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(123, 104, 238, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: transparent;
    padding: 150px 0 50px;
}

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

.hero-label {
    display: inline-block;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 2rem;
    color: white;
    letter-spacing: -3px;
}

.hero-title .outline {
    color: transparent;
    -webkit-text-stroke: 2.5px white;
    -webkit-text-fill-color: transparent;
    display: block;
    letter-spacing: -3px;
}

.hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.btn-cta {
    padding: 0.9rem 2.2rem;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: white;
    color: var(--primary-purple);
}

.demo-notice-small {
    color: #7B68EE;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 1.5rem;
}

.hero-right {
    position: relative;
}

.feature-card {
    position: relative;
    padding: 0;
}

.play-icon {
    position: absolute;
    top: 5px;
    left: 0;
    width: 48px;
    height: 48px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.play-icon svg {
    margin-left: 2px;
}

.feature-text {
    margin-left: 75px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: white;
    font-weight: 500;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.navigation-dots {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    width: 8px;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--darker-bg);
}

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

.section-label {
    display: inline-block;
    color: var(--accent-light);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: white;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
}

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

.feature-item {
    background: rgba(26, 26, 46, 0.5);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(123, 104, 238, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.feature-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-light);
    box-shadow: 0 20px 40px rgba(123, 104, 238, 0.2);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    stroke: var(--accent-light);
}

.feature-item h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
}

.feature-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

.demo-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-light);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Service Section */
.service {
    padding: 6rem 0;
    background: var(--dark-bg);
}

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

.service-list {
    margin-top: 2rem;
}

.service-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.step-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-light);
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.step-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

.chat-window {
    background: rgba(15, 15, 30, 0.8);
    border-radius: 20px;
    border: 1px solid rgba(123, 104, 238, 0.3);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.chat-header {
    background: rgba(91, 58, 153, 0.3);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(123, 104, 238, 0.2);
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #4CAF50;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-header span {
    font-weight: 600;
    color: white;
}

.chat-messages {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-height: 300px;
}

.message {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.message.user {
    flex-direction: row-reverse;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.message.user .avatar {
    background: var(--primary-blue);
}

.bubble {
    background: rgba(26, 26, 46, 0.6);
    padding: 1rem 1.25rem;
    border-radius: 15px;
    max-width: 70%;
    color: var(--text-light);
    line-height: 1.5;
}

.message.user .bubble {
    background: var(--accent-light);
    color: white;
}

.chat-input {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(123, 104, 238, 0.2);
}

.chat-input input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(123, 104, 238, 0.3);
    border-radius: 25px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.chat-input input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Stats Section */
.stats {
    padding: 5rem 0;
    background: var(--darker-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(26, 26, 46, 0.3);
    border-radius: 20px;
    border: 1px solid rgba(123, 104, 238, 0.2);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-light), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

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

.demo-tag-inline {
    font-size: 0.7rem;
    color: var(--accent-light);
    font-weight: 700;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    padding: 1rem 2.5rem;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-purple);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 4rem 0 2rem;
}

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

.footer-brand h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-brand p {
    color: var(--accent-light);
    margin-bottom: 0.5rem;
}

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

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

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

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

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

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

.social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(123, 104, 238, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 1px solid rgba(123, 104, 238, 0.3);
}

.social-icons a:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(123, 104, 238, 0.2);
    text-align: center;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }

    .nav-links,
    .auth-buttons {
        display: none;
    }

    .hero-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .demo-watermark {
        font-size: 5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }
}
