:root {
    --bg-color: #07090E;
    --text-main: #FFFFFF;
    --text-muted: #94A3B8;
    --primary: #6B21A8;
    --primary-hover: #581C87;
    --secondary: rgba(255, 255, 255, 0.05);
    --secondary-hover: rgba(255, 255, 255, 0.1);
    --accent: #00F0FF;
    --glass-bg: rgba(15, 20, 35, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

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

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

/* Background Gradients */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.6;
    animation: drift 20s infinite alternate linear;
}

.glow-1 {
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.25) 0%, rgba(11, 15, 25, 0) 70%);
}

.glow-2 {
    bottom: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, rgba(11, 15, 25, 0) 70%);
    animation-delay: -5s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(150px, 80px);
    }
}

/* Typography & Utilities */
.gradient-text {
    background: linear-gradient(135deg, var(--accent), #D8B4FE);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 20px rgba(107, 33, 168, 0.4);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 33, 168, 0.6);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-main);
}

.btn-ghost:hover {
    color: var(--accent);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 14px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 16px 0;
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.5px;
}

.logo i {
    color: #D8B4FE;
    font-size: 20px;
}

.nav-links {
    display: flex;
    gap: 36px;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 32px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: white;
}

.auth-buttons {
    display: flex;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(107, 33, 168, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: #D8B4FE;
    margin-bottom: 24px;
}

.hero-text h1 {
    font-size: 64px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 28px;
    letter-spacing: -1.5px;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 500px;
}

.cta-group {
    display: flex;
    gap: 16px;
}

/* Phone Mockup Animation */
.hero-visual {
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.phone-mockup {
    width: 320px;
    height: 650px;
    background: #000;
    border-radius: 44px;
    border: 8px solid #1E293B;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7), 0 0 50px rgba(107, 33, 168, 0.3);
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.phone-screen {
    background: #0F172A;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 48px 24px 20px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-name {
    font-size: 14px;
    font-weight: 600;
    color: #F8FAFC;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-name i {
    color: #D8B4FE;
}

.chat-body {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}

.message {
    max-width: 85%;
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

.message.ai {
    background: #1E293B;
    color: #F1F5F9;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.message.user {
    background: var(--primary);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    animation-delay: 0.8s;
}

.message.typing {
    animation-delay: 1.6s;
    display: flex;
    gap: 4px;
    align-items: center;
    height: 48px;
}

.dot {
    width: 6px;
    height: 6px;
    background: #94A3B8;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

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

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

@keyframes bounce {

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

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

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }

    from {
        opacity: 0;
        transform: translateY(10px);
    }
}

.chat-input {
    padding: 20px;
    background: #1E293B;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-input input {
    flex: 1;
    background: #334155;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    border-radius: 20px;
    color: white;
    font-size: 13px;
    outline: none;
    transition: all 0.3s ease;
}

.chat-input input:focus {
    border-color: rgba(138, 43, 226, 0.5);
}

.chat-input button {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.chat-input button:hover {
    color: white;
}

.voice-btn {
    color: var(--accent) !important;
}

.send-btn {
    color: #D8B4FE !important;
}

/* Features */
.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 18px;
}

.features {
    padding: 120px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 40px;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(138, 43, 226, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(107, 33, 168, 0.2), rgba(0, 240, 255, 0.05));
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--accent);
    margin-bottom: 28px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 15px;
}

/* Bottom CTA */
.bottom-cta {
    padding: 100px 0;
}

.bottom-cta-content {
    text-align: center;
    padding: 80px 24px;
    background: linear-gradient(180deg, rgba(107, 33, 168, 0.1) 0%, rgba(15, 20, 35, 0.6) 100%);
}

.bottom-cta-content h2 {
    font-size: 40px;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.bottom-cta-content p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 18px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px;
    background: #040609;
}

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

.footer-brand p {
    color: var(--text-muted);
    margin-top: 20px;
    max-width: 280px;
    font-size: 15px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.link-column h4 {
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
}

.link-column a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 16px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.link-column a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 32px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-text p {
        margin: 0 auto 40px;
    }

    .cta-group {
        justify-content: center;
    }

    .hero-visual {
        justify-content: center;
    }

    .phone-mockup {
        transform: rotate(0);
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .auth-buttons {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 44px;
    }

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

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

    .btn {
        width: 100%;
    }

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