:root {
    --primary: #FF4B4B;
    --primary-light: #FF6B6B;
    --secondary: #FFA6A6;
    --bg-color: #090A0F;
    --bg-gradient: radial-gradient(ellipse at top right, #1a1525 0%, #090A0F 100%);
    --surface: rgba(255, 255, 255, 0.03);
    --surface-hover: rgba(255, 255, 255, 0.08);
    --text-main: #FFFFFF;
    --text-muted: #94A3B8;
    --border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Noto Sans SC', sans-serif;
}

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

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

/* Glassmorphism utility */
.glass-panel {
    background: var(--surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
button {
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s ease;
    border-radius: 50px;
    font-weight: 500;
    padding: 10px 24px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 75, 75, 0.3);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 75, 75, 0.4);
}

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

.btn-outline:hover {
    background: var(--surface-hover);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(9, 10, 15, 0.8);
    backdrop-filter: blur(15px);
    padding: 15px 5%;
    border-bottom: 1px solid var(--border);
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.navbar .logo span {
    font-weight: 300;
    color: var(--text-muted);
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.nav-actions {
    display: flex;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    color: white;
    font-size: 1.5rem;
    padding: 0;
}

.mobile-menu {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 5% 60px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s infinite alternate ease-in-out;
}

.orb-1 {
    top: -10%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: var(--primary);
    animation-delay: 0s;
}

.orb-2 {
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: #6D28D9;
    animation-delay: -5s;
}

.orb-3 {
    top: 40%;
    left: 30%;
    width: 300px;
    height: 300px;
    background: #C026D3;
    opacity: 0.2;
    animation-delay: -2s;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-30px) scale(1.1); }
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.hero-text-wrapper {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 75, 75, 0.1);
    color: var(--primary-light);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 75, 75, 0.2);
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-search-box {
    display: flex;
    background: var(--surface);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    padding: 8px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.hero-search-box:focus-within {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 75, 75, 0.15);
}

.hero-search-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    padding: 0 20px;
    font-size: 1rem;
}

.hero-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-search {
    background: var(--primary);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.btn-search:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 75, 75, 0.4);
}

.quick-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.quick-tags span {
    font-size: 0.85rem;
    padding: 6px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-tags span:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Chat Mockup Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.chat-mockup {
    width: 100%;
    max-width: 420px;
    height: 500px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.chat-mockup:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.chat-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: white;
    background: rgba(255, 255, 255, 0.02);
}

.chat-header i {
    color: #4CAF50;
}

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

.chat-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.5;
    animation: slideUp 0.3s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
}

.chat-bubble.user {
    align-self: flex-end;
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-bubble.ai {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-bottom-left-radius: 4px;
    animation-delay: 0.3s;
}

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

.typing .dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    margin-right: 4px;
    animation: typing 1.4s infinite ease-in-out;
}

.typing .dot:nth-child(1) { animation-delay: 0s; }
.typing .dot:nth-child(2) { animation-delay: 0.2s; }
.typing .dot:nth-child(3) { animation-delay: 0.4s; margin-right: 0;}

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

/* Common Section */
.section {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Features Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: var(--surface-hover);
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 75, 75, 0.1);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.icon-wrapper.orange { background: rgba(249, 115, 22, 0.1); color: #F97316; }
.icon-wrapper.pink { background: rgba(236, 72, 153, 0.1); color: #EC4899; }
.icon-wrapper.blue { background: rgba(59, 130, 246, 0.1); color: #3B82F6; }
.icon-wrapper.purple { background: rgba(168, 85, 247, 0.1); color: #A855F7; }
.icon-wrapper.green { background: rgba(34, 197, 94, 0.1); color: #22C55E; }

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* How It Works */
.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.step-line {
    position: absolute;
    top: 25px;
    left: 5%;
    width: 90%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0.1) 100%);
    z-index: 0;
}

.step-item {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 30%;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--bg-color);
    border: 2px solid var(--primary);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 75, 75, 0.2);
}

.step-text h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

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

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 5% 30px;
    background: rgba(0, 0, 0, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 15px;
}

.footer-brand .logo i { color: var(--primary); }

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.link-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-col h4 {
    margin-bottom: 10px;
    color: white;
}

.link-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.link-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        padding-top: 150px;
    }
    .hero h1 { font-size: 3.5rem; }
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .quick-tags { justify-content: center; }
    .chat-mockup { margin-top: 40px; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-menu-btn { display: block; }
    
    .mobile-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(9, 10, 15, 0.95);
        backdrop-filter: blur(15px);
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid var(--border);
    }
    .mobile-menu a {
        color: white;
        text-decoration: none;
        padding: 10px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .hero h1 { font-size: 2.8rem; }
    
    .steps-container {
        flex-direction: column;
        gap: 40px;
    }
    .step-line { display: none; }
    .step-item { width: 100%; }
    .footer-links { flex-wrap: wrap; gap: 30px; }
}
