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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-brand h1 {
    color: #0066CC;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #0066CC;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0066CC;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 25%, #667eea 50%, #764ba2 75%, #f093fb 100%);
    color: white;
    text-align: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 40%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    filter: blur(1px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -30%;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
    animation: float 12s ease-in-out infinite reverse;
    filter: blur(2px);
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.2;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
}

.shape-1 {
    top: 8%;
    left: 8%;
    width: 140px;
    height: 140px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1), rgba(124, 58, 237, 0.3));
    border-radius: 50%;
    animation: float 10s ease-in-out infinite, pulse 4s ease-in-out infinite;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.shape-2 {
    top: 15%;
    right: 12%;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(96, 165, 250, 0.4), rgba(255, 255, 255, 0.1));
    transform: rotate(45deg);
    animation: float 7s ease-in-out infinite reverse, spin 20s linear infinite;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.shape-3 {
    bottom: 15%;
    left: 15%;
    width: 120px;
    height: 120px;
    background: linear-gradient(225deg, rgba(255, 255, 255, 0.2), rgba(168, 85, 247, 0.4), rgba(255, 255, 255, 0.05));
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: float 12s ease-in-out infinite, pulse 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.shape-4 {
    bottom: 25%;
    right: 8%;
    width: 110px;
    height: 110px;
    background: linear-gradient(315deg, rgba(255, 255, 255, 0.28), rgba(240, 147, 251, 0.5), rgba(255, 255, 255, 0.08));
    border-radius: 25px;
    animation: float 9s ease-in-out infinite reverse, pulse 5s ease-in-out infinite;
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.shape-5 {
    top: 50%;
    left: 5%;
    width: 60px;
    height: 60px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(34, 197, 94, 0.3));
    border-radius: 50%;
    animation: float 6s ease-in-out infinite, pulse 3s ease-in-out infinite;
    backdrop-filter: blur(30px);
}

.shape-6 {
    top: 35%;
    right: 25%;
    width: 70px;
    height: 70px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), rgba(239, 68, 68, 0.4));
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    animation: float 8s ease-in-out infinite, spin 15s linear infinite;
    backdrop-filter: blur(20px);
}

/* Particle Effects */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
}

.particle-1 {
    left: 10%;
    animation-delay: -2s;
    animation-duration: 12s;
}

.particle-2 {
    left: 20%;
    animation-delay: -4s;
    animation-duration: 16s;
}

.particle-3 {
    left: 30%;
    animation-delay: -6s;
    animation-duration: 14s;
}

.particle-4 {
    left: 40%;
    animation-delay: -8s;
    animation-duration: 18s;
}

.particle-5 {
    left: 60%;
    animation-delay: -10s;
    animation-duration: 13s;
}

.particle-6 {
    left: 70%;
    animation-delay: -12s;
    animation-duration: 17s;
}

.particle-7 {
    left: 80%;
    animation-delay: -14s;
    animation-duration: 15s;
}

.particle-8 {
    left: 90%;
    animation-delay: -16s;
    animation-duration: 19s;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    animation: slideIn 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

.cta-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: width 0.6s ease, height 0.6s ease, top 0.6s ease, left 0.6s ease;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-button span {
    position: relative;
    z-index: 1;
}

/* Products Section */
.products {
    padding: 6rem 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: #1a202c;
    letter-spacing: -0.025em;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 102, 204, 0.2);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.product-logo {
    height: 80px;
    width: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
}

.product-logo img {
    max-width: 60px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.product-logo .fallback-icon {
    font-size: 2.5rem;
    color: #64748b;
}

.product-card:hover .product-logo {
    border-color: rgba(0, 102, 204, 0.3);
    transform: scale(1.05);
}

.product-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a202c;
}

.product-description {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.product-status {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #8b4513;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    display: inline-block;
}

.product-pricing {
    background: linear-gradient(135deg, #e6fffa 0%, #b2f5ea 100%);
    color: #065f46;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    display: inline-block;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0066CC;
    color: white;
    padding: 0.875rem 1.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.product-link:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

.product-link.app-store {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.product-link.app-store:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.app-store-icon {
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: start;
    margin-bottom: 2rem;
}

.footer-info h3 {
    color: #0066CC;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-address, .footer-email {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-email a {
    color: #0066CC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-email a:hover {
    color: #3182ce;
}

.footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 2rem;
    text-align: center;
    color: #a0aec0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-brand h1 {
        font-size: 1.5rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .hero {
        padding: 120px 1rem 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-card {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .products {
        padding: 4rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .product-card {
        padding: 1.25rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid #0066CC;
    outline-offset: 2px;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.08);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 4px 20px rgba(255, 255, 255, 0.3), 0 0 30px rgba(255, 255, 255, 0.1);
    }
    100% {
        text-shadow: 0 4px 25px rgba(255, 255, 255, 0.4), 0 0 40px rgba(255, 255, 255, 0.2);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .product-card {
        border: 2px solid #333;
    }
    
    .nav-links a::after {
        height: 3px;
    }
}