/* ===== CSS Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6c63ff;
    --secondary-color: #3a3a52;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(108, 99, 255, 0.1);
}

.nav-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
    background: linear-gradient(135deg, #5854d6 0%, #6a3d8f 100%);
}

/* Dropdown Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.dropdown-item i {
    font-size: 1.8rem;
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-item .fa-google-play {
    color: #34A853;
}

.dropdown-item .fa-apple {
    color: #000;
}

.dropdown-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-label {
    font-size: 0.7rem;
    color: #666;
    font-weight: 400;
}

.dropdown-platform {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Add padding to body to account for fixed navbar */
body {
    padding-top: 70px;
}

/* ===== Parallax Background ===== */
.parallax-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.parallax-element {
    position: absolute;
    transition: transform 0.3s ease-out;
}

.parallax-1 {
    top: 15%;
    left: 18%;
    width: 200px;
    opacity: 0.5;
}

.parallax-2 {
    top: 68%;
    left: 86%;
    width: 150px;
    opacity: 0.5;
}

.parallax-element img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    background: white;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-image {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    margin: 0 auto;
    max-width: 70%;
}

.hero-heading h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.app-store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 35px;
    border-radius: 15px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    min-width: 220px;
}

.store-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.store-button:hover::before {
    opacity: 1;
}

.store-button:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.store-button:active {
    transform: translateY(-2px) scale(1);
}

.store-button i {
    font-size: 2.5rem;
    z-index: 1;
}

.store-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    z-index: 1;
}

.store-label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.store-name {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Google Play Button */
.store-google {
    background: linear-gradient(135deg, #34A853 0%, #0F9D58 100%);
    color: white;
}

.store-google:hover {
    background: linear-gradient(135deg, #3DBB61 0%, #12B865 100%);
}

/* Apple Store Button */
.store-apple {
    background: linear-gradient(135deg, #000000 0%, #2C2C2C 100%);
    color: white;
}

.store-apple:hover {
    background: linear-gradient(135deg, #1A1A1A 0%, #3D3D3D 100%);
}

/* ===== Divider ===== */
.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
    margin: 60px 0;
}

/* ===== Product Section ===== */
.product-section {
    padding: 80px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.product-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.product-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--secondary-color);
    line-height: 1.3;
}

.feature-list p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.feature-list strong {
    font-weight: 600;
}

/* ===== Solutions Section ===== */
.solutions-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.solutions-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--white);
    line-height: 1.3;
}

.solutions-content p {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.8;
}

.icon-list {
    list-style: none;
}

.icon-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.icon-list li:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.icon-list i {
    color: #ffd700;
    font-size: 1.2rem;
}

.solutions-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* ===== Footer ===== */
.footer {
    background: #2d2d44;
    padding: 60px 0 30px;
    color: var(--white);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo img {
    max-width: 200px;
    margin: 0 auto;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    transform: scale(1.2) rotate(360deg);
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.linkedin:hover {
    background: #0077b5;
}

.footer-text {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-links .separator {
    color: rgba(255, 255, 255, 0.3);
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.footer-links a:hover {
    color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.zoom-in {
    animation: zoomIn 0.8s ease-out;
}

/* Scroll Animation Observer */
.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.animated {
    opacity: 1;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-heading h1 {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .product-content h1,
    .solutions-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    /* Navigation Mobile */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 15px 20px;
        border-radius: 0;
    }
    
    .nav-cta {
        margin: 10px 20px;
        display: inline-flex;
        width: auto;
        justify-content: center;
    }
    
    .nav-dropdown {
        width: 100%;
    }
    
    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        min-width: 100%;
    }
    
    .nav-dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 300px;
    }
    
    .dropdown-item {
        justify-content: center;
        padding: 12px 20px;
    }
    
    .hero-image img {
        max-width: 85%;
    }
    
    .hero-heading h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .app-store-buttons {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }
    
    .store-button {
        min-width: 280px;
        width: 100%;
        max-width: 350px;
        justify-content: center;
    }
    
    .product-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-content h1,
    .solutions-content h2 {
        font-size: 1.8rem;
    }
    
    .feature-list p,
    .solutions-content p,
    .icon-list li {
        font-size: 1rem;
    }
    
    .parallax-1,
    .parallax-2 {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-image img {
        max-width: 95%;
    }
    
    .hero-heading h1 {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .store-button {
        min-width: 260px;
        padding: 15px 28px;
    }
    
    .store-button i {
        font-size: 2rem;
    }
    
    .store-name {
        font-size: 1.1rem;
    }
    
    .product-content h1,
    .solutions-content h2 {
        font-size: 1.5rem;
    }
    
    .product-section,
    .solutions-section {
        padding: 40px 0;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
}

/* ===== Performance Optimizations ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

