@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Poppins:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
    background: #f5f1e8;
}

nav {
    background: linear-gradient(120deg, #ffffff 30%, #118df0 70%, #0e2f66 100%);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.3rem;
    color: white;
}

.logo img {
    height: 35px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
}

nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 0.95rem;
}

nav a:hover {
    color: #f0f0f0;
    text-shadow: 0 0 8px rgba(255,255,255,0.5);
}

.hero {
    background: #f5f1e8;
    color: #1a1a1a;
    padding: 140px 5% 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    min-height: 90vh;
}

.hero::before {
    content: '';
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 650px;
    height: 650px;
    background: #0e2f66;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    z-index: 0;
    opacity: 0.9;
    animation: morph 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    left: 5%;
    bottom: -50px;
    width: 350px;
    height: 350px;
    background: #d4a574;
    border-radius: 73% 27% 62% 38% / 48% 59% 41% 52%;
    z-index: 0;
    opacity: 0.7;
    animation: morph 10s ease-in-out infinite reverse;
}

.blob-1 {
    position: absolute;
    top: 10%;
    right: 35%;
    width: 200px;
    height: 200px;
    background: #4a90e2;
    border-radius: 67% 33% 58% 42% / 49% 61% 39% 51%;
    z-index: 0;
    opacity: 0.4;
    animation: morph 7s ease-in-out infinite;
}

.blob-2 {
    position: absolute;
    bottom: 15%;
    right: 10%;
    width: 250px;
    height: 250px;
    background: #8b6f47;
    border-radius: 41% 59% 65% 35% / 58% 42% 58% 42%;
    z-index: 0;
    opacity: 0.3;
    animation: morph 9s ease-in-out infinite reverse;
}

.blob-3 {
    position: absolute;
    top: 30%;
    left: -5%;
    width: 180px;
    height: 180px;
    background: #5a7fb8;
    border-radius: 55% 45% 48% 52% / 62% 38% 62% 38%;
    z-index: 0;
    opacity: 0.35;
    animation: morph 6s ease-in-out infinite;
}

.blob-4 {
    position: absolute;
    top: 60%;
    left: 25%;
    width: 150px;
    height: 150px;
    background: #c9a87c;
    border-radius: 71% 29% 43% 57% / 52% 68% 32% 48%;
    z-index: 0;
    opacity: 0.25;
    animation: morph 8.5s ease-in-out infinite reverse;
}

.blob-5 {
    position: absolute;
    top: 5%;
    right: 5%;
    width: 220px;
    height: 220px;
    background: #2c5aa0;
    border-radius: 48% 52% 69% 31% / 57% 43% 57% 43%;
    z-index: 0;
    opacity: 0.3;
    animation: morph 11s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% {
        border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    }
    25% {
        border-radius: 42% 58% 70% 30% / 45% 65% 35% 55%;
    }
    50% {
        border-radius: 71% 29% 48% 52% / 64% 32% 68% 36%;
    }
    75% {
        border-radius: 38% 62% 56% 44% / 52% 69% 31% 48%;
    }
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: #4a4a4a;
    animation: fadeInUp 1s 0.2s backwards;
    line-height: 1.8;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s 0.4s backwards;
    position: relative;
    z-index: 1;
}

.phone-mockup {
    width: 100%;
    max-width: 320px;
    background: #2a2a2a;
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.phone-screen {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 30px;
    aspect-ratio: 9/19;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.phone-screen svg {
    width: 65%;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(74, 144, 226, 0.3));
}

.cta-button {
    background: #1a1a1a;
    color: white;
    padding: 16px 45px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1s 0.4s backwards;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.features {
    padding: 100px 5%;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #1a1a1a;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #f5f1e8;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: none;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e8e3d6;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.3rem;
}

.feature-card p {
    color: #4a4a4a;
    line-height: 1.7;
}

.target-users {
    padding: 100px 5%;
    background: #f5f1e8;
}

.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.user-card {
    background: white;
    color: #1a1a1a;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #e8e3d6;
    transition: transform 0.3s, box-shadow 0.3s;
}

.user-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.user-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.user-card h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.user-card p {
    color: #4a4a4a;
}

.download {
    padding: 100px 5%;
    background: white;
    color: #1a1a1a;
    text-align: center;
}

.download-steps {
    max-width: 900px;
    margin: 3rem auto;
    text-align: left;
}

.step {
    background: #f5f1e8;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border: 1px solid #e8e3d6;
}

.step-number {
    display: inline-block;
    background: #1a1a1a;
    color: white;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
    margin-right: 1rem;
}

.download-button {
    background: #1a1a1a;
    color: white;
    padding: 18px 50px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.about {
    padding: 100px 5%;
    background: #f5f1e8;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #e8e3d6;
}

.about-content h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.about-content p {
    color: #4a4a4a;
    margin-bottom: 1rem;
}

footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 3rem 5%;
}

footer p {
    opacity: 0.9;
    margin: 0.5rem 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 140px 5% 80px;
        text-align: center;
        overflow: hidden;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
        margin-top: 3rem;
    }

    .hero::before {
        width: 400px;
        height: 400px;
        right: -100px;
    }

    .hero::after {
        width: 200px;
        height: 200px;
        left: -50px;
    }

    .blob-1, .blob-2, .blob-3, .blob-4, .blob-5 {
        width: 120px;
        height: 120px;
    }

    .blob-1 { top: 5%; right: 20%; }
    .blob-2 { bottom: 10%; right: 5%; width: 150px; height: 150px; }
    .blob-3 { top: 25%; left: -10%; }
    .blob-4 { display: none; }
    .blob-5 { top: 3%; right: 0; width: 130px; height: 130px; }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .phone-mockup {
        max-width: 280px;
        margin: 0 auto;
    }

    nav ul {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    animation: fadeIn 0.3s;
}

.modal-content {
    background: white;
    margin: 10% auto;
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 600px;
    position: relative;
    animation: slideDown 0.3s;
    border: 1px solid #e8e3d6;
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 2rem;
    cursor: pointer;
    color: #1a1a1a;
}

.modal-content h2 {
    color: #1a1a1a;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}