:root {
    --primary-color: #007AFF;
    --secondary-color: #5856D6;
    --success-color: #34C759;
    --dark-color: #1C1C1E;
    --light-bg: #F2F2F7;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark-color);
    scroll-behavior: smooth;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 20s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero-section h1 {
    font-weight: 700;
    letter-spacing: -2px;
    animation: fadeInUp 1s ease-out;
}

.hero-section p {
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s;
    animation-fill-mode: both;
}

.hero-section .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.4s;
    animation-fill-mode: both;
}

.hero-section .btn-primary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

/* Apps Section */
.apps-section {
    padding: 100px 0;
    background: white;
}

.app-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

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

img.app-icon {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    object-fit: cover;
}

.app-icon:not(img) {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
}

.meditation-icon {
    background: linear-gradient(135deg, #6B7280, #9CA3AF);
}

.app-card h3 {
    color: var(--dark-color);
    font-weight: 600;
}

.app-card p {
    flex-grow: 1;
}

.feature-list li {
    padding: 8px 0;
    font-size: 0.95rem;
}

.rating {
    font-size: 0.9rem;
    font-weight: 600;
}

.app-card.coming-soon {
    position: relative;
    opacity: 0.95;
}

.app-card .btn-dark {
    background: var(--dark-color);
    border: none;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.app-card .btn-dark:hover {
    background: #000;
    transform: scale(1.05);
}

/* About Section */
.about-section {
    background: var(--light-bg);
}

.about-section h2 {
    font-weight: 700;
    color: var(--dark-color);
}

.about-section p {
    color: #6B7280;
    line-height: 1.8;
}

/* Support Section */
.support-section {
    background: white;
    border-top: 1px solid #E5E7EB;
}

.support-section h2 {
    font-weight: 700;
    color: var(--dark-color);
}

.support-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.support-form .form-control,
.support-form .form-select {
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.support-form .form-control:focus,
.support-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 122, 255, 0.1);
}

.support-form .form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.support-form textarea {
    resize: vertical;
    min-height: 120px;
}

.support-form .btn-primary {
    background: var(--primary-color);
    border: none;
    border-radius: 50px;
    padding: 12px 40px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.support-form .btn-primary:hover {
    background: #0051D5;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.3);
}

/* Footer */
.footer {
    background: var(--dark-color) !important;
}

.footer a {
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 2px;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white !important;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 3rem;
    }

    .app-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 575px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.2rem;
    }

    .app-card {
        padding: 30px 20px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Badge Enhancements */
.badge {
    font-weight: 500;
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Additional Animations */
.apps-section .row > div {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.apps-section .row > div:nth-child(1) {
    animation-delay: 0.1s;
}

.apps-section .row > div:nth-child(2) {
    animation-delay: 0.2s;
}

.apps-section .row > div:nth-child(3) {
    animation-delay: 0.3s;
}

/* Privacy Policy Page */
.privacy-header {
    background: var(--light-bg);
    border-bottom: 1px solid #E5E7EB;
}

.privacy-header h1 {
    font-weight: 700;
    color: var(--dark-color);
}

.privacy-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.privacy-header .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.privacy-header .breadcrumb-item a:hover {
    text-decoration: underline;
}

.privacy-content h2 {
    font-weight: 700;
    color: var(--dark-color);
}

.privacy-content h3 {
    font-weight: 600;
    color: var(--dark-color);
    margin-top: 2rem;
}

.privacy-content p,
.privacy-content li {
    line-height: 1.8;
    color: #4B5563;
}

.privacy-content .lead {
    color: var(--dark-color);
}

.privacy-content a {
    color: var(--primary-color);
}

.privacy-content a:hover {
    text-decoration: underline;
}