:root {
    --primary-color: #6B3CC9;
    --secondary-color: #F3F3F3;
    --text-color: #333333;
    --white: #FFFFFF;
}

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

body {
    line-height: 1.6;
    color: var(--text-color);
}

/* Header Styles */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 2rem;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    padding: 120px 5% 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* Features Section */
.features {
    padding: 80px 5%;
    background: var(--secondary-color);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.features h2:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.features h2:hover:after {
    width: 100px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 3rem 2rem;
    height: 400px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 10px 20px rgba(107, 60, 201, 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(107, 60, 201, 0.1) 50%,
        transparent 100%
    );
    z-index: -1;
    transform: translateX(-100%) translateY(-100%);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: translateX(0) translateY(0);
}

.feature-card i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    display: inline-block;
    position: relative;
}

.feature-card:hover i {
    transform: scale(1.3);
    animation: iconPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes iconPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1.3); }
}

.feature-card h3 {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.feature-card p {
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    max-width: 280px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Add 3D flip effect */
.feature-card-content {
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover .feature-card-content {
    transform: translateZ(30px);
}

/* Update shimmer effect */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(107, 60, 201, 0.15),
        transparent
    );
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Update floating animation */
@keyframes float {
    0% {
        transform: translateY(0) scale(1.3);
    }
    50% {
        transform: translateY(-10px) scale(1.3);
    }
    100% {
        transform: translateY(0) scale(1.3);
    }
}

/* Add floating animation for icons */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.feature-card:hover i {
    animation: float 2s ease-in-out infinite;
}

/* Footer Styles */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.social-links a {
    display: inline-block;
    margin-right: 1rem;
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Responsive Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 2px 0;
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    nav {
        padding: 1rem 3%;
    }

    .hero {
        padding: 100px 3% 60px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 3%;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1rem 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        animation: slideDown 0.3s ease;
    }

    .nav-links a {
        margin: 0;
        padding: 1rem 2rem;
        text-align: center;
        width: 100%;
        border-bottom: 1px solid rgba(107, 60, 201, 0.1);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    /* Hamburger animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 5% 40px;
        min-height: auto;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin: 1rem 0;
    }

    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .cta-primary, .cta-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
        margin: 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        padding: 0 5%;
    }

    .feature-card {
        height: auto;
        min-height: 350px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
        min-height: 300px;
    }

    .feature-card i {
        font-size: 2.5rem;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }
}

/* Button Styles */
.cta-buttons {
    margin-top: 2rem;
}

.cta-primary, .cta-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

.cta-primary {
    background: var(--primary-color);
    color: var(--white);
}

.cta-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-primary:hover, .cta-secondary:hover {
    transform: translateY(-2px);
}

/* Update responsive styles for features grid */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

/* About Section */
.about {
    padding: 80px 5%;
    background: linear-gradient(135deg, var(--white) 0%, var(--secondary-color) 100%);
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.about h2:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.about h2:hover:after {
    width: 100px;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.about-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-description p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.stat-info p {
    font-size: 1rem;
    color: var(--text-color);
}

.about-features {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.about-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.about-highlights li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.about-highlights li:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(107, 60, 201, 0.15);
}

.about-highlights li i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* About Section Mobile Responsive */
@media (max-width: 768px) {
    .about-stats {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .about-highlights {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .about-highlights li {
        font-size: 1rem;
    }

    .about-text p {
        font-size: 1rem;
    }
}

/* Download Section */
.download {
    padding: 80px 5%;
    background: var(--white);
    text-align: center;
}

.download h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.download p {
    color: var(--text-color);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.app-buttons {
    display: flex;
    justify-content: center;
}

.app-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 250px;
    justify-content: center;
}

.app-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(107, 60, 201, 0.3);
}

.app-button i {
    font-size: 2rem;
}

.button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.button-text span:first-child {
    font-size: 0.8rem;
    opacity: 0.9;
}

.button-text span:last-child {
    font-size: 1.2rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .app-buttons {
        flex-direction: column;
        align-items: center;
    }

    .app-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
} 