/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #512BD4 0%, #6B3FD4 100%);
    color: white;
    padding: 1.2rem 0;
    box-shadow: 0 4px 12px rgba(81, 43, 212, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo i {
    font-size: 2rem;
    color: #fff;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

header h1 {
    font-size: 2rem;
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.5px;
}

header nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

header nav a {
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

header nav a i {
    font-size: 0.9rem;
}

header nav a:hover,
header nav a.active {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #512BD4 0%, #7B52E8 50%, #9B6EF8 100%);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: -50px;
    animation-delay: 3s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: 30%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(50px, -50px) rotate(120deg);
    }
    66% {
        transform: translate(-30px, 30px) rotate(240deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(to right, #fff, #e8e0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.store-badge {
    height: 65px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.store-badge:hover {
    transform: scale(1.08) translateY(-3px);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

.hero-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 250px;
    height: 450px;
    background: linear-gradient(145deg, #6B3FD4, #512BD4);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: phoneFloat 3s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.phone-mockup i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.features h3 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #512BD4;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 3rem;
    font-weight: 300;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(81, 43, 212, 0.1);
    transition: all 0.4s ease;
    text-align: center;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(81, 43, 212, 0.2);
    border-color: #512BD4;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #512BD4, #7B52E8);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg);
}

.feature-card h4 {
    color: #512BD4;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8e0ff 100%);
    position: relative;
}

.about h3 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #512BD4;
    font-weight: 800;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.25rem;
    text-align: center;
    color: #555;
    line-height: 1.8;
}

/* Policy Pages */
.policy {
    padding: 4rem 0;
    background-color: white;
    min-height: 60vh;
}

.policy .container {
    max-width: 900px;
}

.policy h2 {
    color: #512BD4;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 4px solid #512BD4;
    font-weight: 800;
}

.policy h3 {
    color: #512BD4;
    font-size: 1.9rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.policy p {
    margin-bottom: 1.2rem;
    line-height: 1.9;
    font-size: 1.05rem;
}

.policy ul {
    margin-bottom: 1.8rem;
    padding-left: 2.5rem;
}

.policy li {
    margin-bottom: 0.8rem;
    line-height: 1.9;
    font-size: 1.05rem;
}

.policy a {
    color: #512BD4;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.policy a:hover {
    text-decoration: underline;
    color: #7B52E8;
}

.policy strong {
    color: #333;
    font-weight: 700;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 0;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: #7B52E8;
    transform: translateY(-2px);
}

.footer-links a.partner-login {
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer-links a.partner-login:hover {
    opacity: 1;
}

footer p {
    text-align: center;
    opacity: 0.7;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero-graphic {
        display: none;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    header nav {
        margin-top: 1rem;
        width: 100%;
    }

    header nav a {
        font-size: 0.9rem;
        padding: 0.5rem 0.8rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .features h3,
    .about h3 {
        font-size: 2.2rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .policy h2 {
        font-size: 2.2rem;
    }

    .policy h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .logo {
        flex-direction: row;
    }

    header h1 {
        font-size: 1.6rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .features,
    .about {
        padding: 3rem 0;
    }

    .features h3,
    .about h3 {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .store-badge {
        height: 50px;
    }
}
