/* Update the color variables at the top */
:root {
    --primary-color: #5D63AE;
    --primary-light: #7A7FC4;
    --primary-dark: #464B8C;
    --accent-color: #FF6B6B;
    --background-light: #F8F9FF;
    --text-color: #2D3436;
}

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

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-light);
}

/* Navigation Styles */
.navbar {
    position: fixed;
    width: 100%;
    background: var(--primary-color);
    padding: 1rem 0;
    box-shadow: 0 4px 15px rgba(93, 99, 174, 0.1);
    z-index: 1000;
    top: 0;
    height: 80px;
    display: flex;
    align-items: center;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-img {
    height: 32px;
    width: auto;
    filter: none;
}

.logo span {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
}

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

.nav-links li a {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
}

.nav-links li a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.highlight-link {
    background: var(--accent-color);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.highlight-link:hover {
    background: var(--accent-color) !important;
    transform: translateY(-2px) scale(1.05) !important;
}

/* Hero Section - Enhanced Design */
.hero {
    min-height: 80vh;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    position: relative;
    overflow: hidden;
    padding: 120px 2rem 4rem;
    text-align: center;
    color: white;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-main {
    width: 100%;
    max-width: 600px;
    height: auto;
    position: relative;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.hero-image-bg {
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    opacity: 0.1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    animation: float-random 4s ease-in-out infinite;
}

.element-1 { top: 10%; left: 5%; }
.element-2 { top: 20%; right: 10%; animation-delay: 1s; }
.element-3 { bottom: 15%; left: 15%; animation-delay: 2s; }
.element-4 { bottom: 25%; right: 15%; animation-delay: 3s; }

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 2px;
    background: var(--primary-light);
    opacity: 0.2;
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0.8;
    font-weight: 600;
}

@keyframes float-random {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10px, -10px) rotate(5deg); }
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background: #f9f9f9;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(93, 99, 174, 0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 2rem 1rem;
    border-top: 5px solid var(--primary-light);
}

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

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

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    background: var(--primary-light);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: white;
    color: var(--primary-color);
    transform: scale(1.2) rotate(360deg);
}

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

/* Mobile Navigation */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    position: absolute;
    transition: 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.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(7px, -7px);
}

/* Events Section */
.events {
    padding: 5rem 2rem;
    background: #fff;
}

.events h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.event-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(93, 99, 174, 0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.event-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
}

.event-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.event-date, .event-location {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Add floating animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

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

/* Update the media queries for responsive design */
@media (max-width: 1200px) {
    .hero-container {
        padding: 0 2rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content {
        text-align: center;
        order: 1;
        padding: 0;
    }

    .hero-content p {
        margin: 0 auto 2rem;
    }

    .hero-badge {
        margin: 0 auto 1.5rem;
    }

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

    .stats-container {
        max-width: 500px;
        margin: 3rem auto 0;
    }

    .hero-image {
        order: 0;
        margin: 2rem auto;
        max-width: 80%;
    }

    .floating-elements {
        display: none; /* Hide floating elements on mobile for better performance */
    }

    /* Features section adjustments */
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        padding: 0 1rem;
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Hero section improvements */
    .hero {
        padding: 100px 1rem 3rem;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }

    .hero-content {
        padding: 1rem;
        width: 100%;
    }

    .hero-content h1 {
        font-size: 2.4rem;
        line-height: 1.2;
        margin-bottom: 1.2rem;
        padding: 0 0.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        line-height: 1.5;
        padding: 0 1rem;
        margin-bottom: 2rem;
        opacity: 0.95;
    }

    /* Store buttons improvements */
    .hero .store-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 2.5rem;
        padding: 0 2rem;
    }

    .hero .store-button {
        width: 100%;
        max-width: 200px;
        padding: 8px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
    }

    .hero .store-button:active {
        transform: scale(0.95);
    }

    .hero .store-button img {
        height: 40px;
        width: auto;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    }

    /* Stats container improvements */
    .stats-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        padding: 1.5rem;
        margin-top: 1rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        backdrop-filter: blur(10px);
    }

    .stat-item {
        padding: 1rem 0.5rem;
        text-align: center;
    }

    .stat-number {
        font-size: 1.8rem;
        font-weight: 800;
        margin-bottom: 0.3rem;
        background: linear-gradient(135deg, #fff, rgba(255,255,255,0.8));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .stat-label {
        font-size: 0.9rem;
        opacity: 0.9;
        font-weight: 600;
    }

    /* Navigation improvements */
    .navbar {
        height: 70px;
        background: rgba(93, 99, 174, 0.98);
        backdrop-filter: blur(10px);
    }

    .logo-img {
        height: 28px;
    }

    /* Add touch feedback */
    .store-button:active,
    .nav-links li a:active,
    .stat-item:active {
        transform: scale(0.95);
    }
}

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

    .hero-badge {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

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

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* Feature cards adjustments */
    .feature-card {
        padding: 1.5rem;
    }

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

    /* Footer adjustments */
    .footer {
        padding: 2rem 1rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .app-buttons {
        gap: 0.8rem;
    }

    .app-buttons img {
        height: 36px;
    }

    .hero {
        padding: 6rem 1rem 3rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .stat-item::after {
        display: none;
    }

    .logo-img {
        height: 28px;
        filter: none;
    }
    
    .logo span {
        font-size: 1.5rem;
    }
    
    .footer-logo-img {
        height: 32px;
        filter: none;
    }

    .platform-options {
        flex-direction: column;
        gap: 0.5rem;
    }

    .platform-box {
        justify-content: center;
    }
}

/* Add smooth scrolling for iOS */
@supports (-webkit-overflow-scrolling: touch) {
    .hero,
    .features,
    .events,
    .contact {
        -webkit-overflow-scrolling: touch;
    }
}

/* Fix for notched phones */
@supports (padding: max(0px)) {
    .hero,
    .navbar {
        padding-left: max(2rem, env(safe-area-inset-left));
        padding-right: max(2rem, env(safe-area-inset-right));
    }
}

/* App Store Buttons */
.app-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.app-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.app-buttons img {
    height: 48px; /* Fixed height for consistency */
    width: auto;
    object-fit: contain;
}

.app-buttons a:hover {
    transform: translateY(-2px);
}

/* New App Showcase Section */
.app-showcase {
    padding: 6rem 2rem;
    background: var(--background-light);
}

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

.showcase-container h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.showcase-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 4rem;
}

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

.phone-mockup {
    text-align: center;
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: translateY(-10px);
}

.mockup-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(93, 99, 174, 0.15);
    margin-bottom: 1.5rem;
}

.phone-mockup h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.phone-mockup p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1rem;
    line-height: 1.5;
}

/* Footer Logo Styles */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    filter: none;
}

/* Waitlist Form Styles */
.waitlist-form {
    width: 100%;
    max-width: 500px;
    margin: 2rem auto;
}

.waitlist-form .form-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.waitlist-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    backdrop-filter: blur(10px);
}

.waitlist-form input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.waitlist-form input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
}

.waitlist-btn {
    padding: 1rem 2rem;
    background: var(--accent-color);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
}

.waitlist-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.form-note {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

/* Legal Pages Styles */
.legal-content {
    padding: 120px 2rem 4rem;
    background: var(--background-light);
    min-height: 100vh;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(93, 99, 174, 0.1);
}

.legal-container h1 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.last-updated {
    color: #666;
    margin-bottom: 2rem;
    font-style: italic;
}

.legal-container section {
    margin-bottom: 2rem;
}

.legal-container h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-container p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.legal-container ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-container li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .legal-container {
        padding: 2rem;
    }
    
    .legal-container h1 {
        font-size: 2rem;
    }
}

/* Legal Links in Waitlist Form */
.legal-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.legal-link:hover {
    opacity: 0.8;
}

/* Footer Legal Links */
.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 1rem;
}

/* Platform Selection Styles */
.platform-select {
    margin: 1rem 0;
    text-align: center;
}

.platform-select label {
    color: white;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.9rem;
}

.platform-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.platform-option {
    cursor: pointer;
}

.platform-option input[type="radio"] {
    display: none;
}

.platform-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s ease;
}

.platform-box i {
    font-size: 1.2rem;
}

.platform-option input[type="radio"]:checked + .platform-box {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.platform-box:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Update existing waitlist form styles */
.waitlist-form .form-group {
    margin-bottom: 0.5rem;
}

.submit-message {
    margin-top: 15px;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

.submit-message.success {
    display: block;
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.submit-message.error {
    display: block;
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

/* Contact Section */
.contact-section {
    padding: 5rem 2rem;
    background: var(--background-light);
    text-align: center;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

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

.contact-description {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.contact-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(93, 99, 174, 0.1);
    transition: transform 0.3s ease;
    border: 3px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

.contact-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-card p {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.email-link {
    display: inline-block;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.email-link:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* Media Queries */
@media (max-width: 768px) {
    .contact-section {
        padding: 4rem 1rem;
    }
    
    .contact-section h2 {
        font-size: 2rem;
    }
    
    .contact-description {
        font-size: 1.1rem;
    }
    
    .email-link {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .contact-card {
        padding: 2rem 1rem;
    }
    
    .email-link {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }
}

.wishlist {
    padding: 6rem 2rem;
    background: var(--background-light);
    text-align: center;
}

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

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
}

.store-button {
    transition: transform 0.3s ease;
}

.store-button:hover {
    transform: translateY(-5px);
}

.store-button img {
    height: 50px;
    width: auto;
}

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

    .store-button img {
        height: 40px;
    }
}

/* Update store buttons for hero section */
.hero .store-buttons {
    margin-bottom: 3rem;
}

.hero .store-button img {
    height: 45px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Remove old download section styles */
.download-section {
    display: none;
}

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

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

    .hero .store-button img {
        height: 35px;
    }
}

/* Add smooth scrolling for iOS */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
} 