:root {
    --primary: #ff4757;
    --secondary: #2f3542;
    --text: #1e272e;
    --bg-light: #ffffff;
    --bg-off: #f1f2f6;
    --gradient: linear-gradient(135deg, #ff6b81 0%, #ff4757 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn {
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: var(--gradient);
    color: white !important;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    color: #747d8c;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.store-btn img {
    height: 50px;
    transition: transform 0.2s;
}

.store-btn:hover img {
    transform: scale(1.05);
}

/* Hero Visuals */
.hero-image {
    perspective: 1000px;
}

.mockup-phone {
    width: 300px;
    height: 600px;
    background: var(--secondary);
    border-radius: 40px;
    border: 8px solid #2f3542;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    transform: rotateY(-15deg) rotateX(10deg);
    transition: transform 0.5s ease;
}

.mockup-phone:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.screen {
    width: 100%;
    height: 100%;
    background: #f1f2f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-ui {
    width: 90%;
}

.message {
    padding: 1rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.received {
    background: white;
    border-bottom-left-radius: 2px;
}

.sent {
    background: var(--gradient);
    color: white;
    border-bottom-right-radius: 2px;
    margin-left: auto;
}

.bg-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 129, 0.05) 0%, rgba(255, 71, 87, 0.1) 100%);
    clip-path: polygon(20% 0%, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

/* Features */
.features {
    padding: 100px 0;
    background: var(--bg-off);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: #747d8c;
}

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    color: #747d8c;
    border-top: 1px solid #eee;
}

/* Mobile */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        margin: 0 auto 2.5rem;
    }

    .cta-group {
        justify-content: center;
    }

    .bg-shape {
        width: 100%;
        clip-path: none;
        height: 50%;
        top: auto;
        bottom: 0;
    }

    .mockup-phone {
        display: none;
        /* Hide 3D phone on mobile for simplicity/performance or aesthetics */
    }
}