:root {
    --primary-color: #7c3aed;
    --primary-dark: #5b21b6;
    --primary-light: #a78bfa;
    --secondary-color: #4c1d95;
    --background: #0f0817;
    --surface: #1e0f3d;
    --text-primary: #ffffff;
    --text-secondary: #c4b5fd;
    --gradient: linear-gradient(135deg, #7c3aed, #4c1d95);
    --glass: rgba(124, 58, 237, 0.1);
    --glass-border: rgba(167, 139, 250, 0.2);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(167, 139, 250, 0.02) 2px, transparent 2px),
        linear-gradient(90deg, rgba(167, 139, 250, 0.02) 2px, transparent 2px);
    background-size: 50px 50px, 50px 50px, 100px 100px, 100px 100px;
    background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
    z-index: 0;
    pointer-events: none;
}

/* Grid Background with Gradient Overlay */
.bubble-container {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(76, 29, 149, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(167, 139, 250, 0.08) 0%, transparent 70%);
}

/* Static decorative elements instead of floating bubbles */
.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1), transparent);
    filter: blur(40px);
    pointer-events: none;
}

.bubble:nth-child(1) {
    width: 300px;
    height: 300px;
    left: -150px;
    top: -150px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2), transparent);
}

.bubble:nth-child(2) {
    width: 400px;
    height: 400px;
    right: -200px;
    top: 20%;
    background: radial-gradient(circle, rgba(76, 29, 149, 0.15), transparent);
}

.bubble:nth-child(3) {
    width: 250px;
    height: 250px;
    left: 30%;
    bottom: -125px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.2), transparent);
}

.bubble:nth-child(4) {
    width: 350px;
    height: 350px;
    right: 10%;
    bottom: 10%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1), transparent);
}

.bubble:nth-child(5) {
    width: 200px;
    height: 200px;
    left: 60%;
    top: 40%;
    background: radial-gradient(circle, rgba(76, 29, 149, 0.1), transparent);
}

/* Navigation */
.navbar {
    background: rgba(15, 8, 23, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.nav-logo h2 {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.8rem;
    font-weight: 700;
}

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

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

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

.cta-button {
    background: var(--gradient);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: white !important;
    font-weight: 600;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 2rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.primary-button, .secondary-button {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
}

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

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.secondary-button {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-light);
}

.secondary-button:hover {
    background: var(--glass);
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 0.25rem;
}

.stat p {
    color: var(--text-secondary);
}

/* Hero Image Section */
.hero-image {
    flex: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 550px;
    margin: 0 auto;
}

/* iPhone Mockup */
.iphone-mockup {
    width: 500px;
    height: auto;
    margin: 0 auto;
    position: relative;
}

.iphone-frame {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3),
                0 0 0 12px #1a1a1a,
                0 0 0 14px #333;
    position: relative;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
        #2d1b69 0%,
        #3d2575 50%,
        #2d1b69 100%);
    border-radius: 35px;
    overflow: hidden;
    position: relative;
}

/* Support for SVG placeholder */
.iphone-placeholder {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.3))
            drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

/* Support for actual images */
.iphone-mockup img,
.iphone-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5))
            drop-shadow(0 15px 30px rgba(124, 58, 237, 0.3))
            drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: white;
    font-size: 14px;
    position: relative;
    z-index: 10;
}

.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
}

.status-icons {
    display: flex;
    gap: 5px;
}

.app-content {
    padding: 60px 30px;
    text-align: center;
    position: relative;
    height: calc(100% - 50px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.app-bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.3), transparent);
}

.app-bubble:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
}

.app-bubble:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 20%;
    right: -20px;
}

.app-bubble:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 40%;
    left: 5%;
}

.app-bubble:nth-child(4) {
    width: 100px;
    height: 100px;
    bottom: 30%;
    right: 10%;
}

.app-bubble:nth-child(5) {
    width: 150px;
    height: 150px;
    bottom: -30px;
    left: -30px;
}

.app-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    z-index: 2;
    position: relative;
}

.app-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    z-index: 2;
    position: relative;
}

.swipe-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 2rem;
    opacity: 0.6;
}

.swipe-indicator span {
    color: white;
    font-size: 20px;
    animation: bounce 2s infinite;
}

.swipe-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.swipe-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.swipe-button {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px 40px;
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.swipe-button span {
    color: white;
    font-size: 24px;
}

.swipe-button p {
    color: white;
    font-size: 1rem;
    margin: 0;
}

/* Mission Section */
.mission {
    padding: 5rem 2rem;
    position: relative;
    z-index: 1;
}

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

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

.mission-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mission-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.mission-tagline {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
}

/* Partnership Section */
.partnership {
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
}

.partner-content {
    text-align: center;
    padding: 2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    max-width: 600px;
    margin: 0 auto;
}

.partner-link {
    text-decoration: none;
    display: inline-block;
    margin: 1rem 0;
}

.partner-link h3 {
    font-size: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.partner-link span {
    color: var(--text-secondary);
}

.partner-description {
    color: var(--text-secondary);
    margin-top: 1rem;
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    position: relative;
    z-index: 1;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.feature-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--surface);
    margin: 2% auto;
    padding: 2rem;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    animation: slideIn 0.3s;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) transparent;
}

/* Custom scrollbar for webkit browsers */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

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

.close {
    color: var(--text-secondary);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--text-primary);
}

.auth-container, .account-container {
    padding: 1rem 0;
}

.auth-container h2, .account-container h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#authSubtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
}

.form-group input::placeholder {
    color: var(--text-secondary);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-light);
}

.submit-button, .subscribe-button {
    width: 100%;
    padding: 1rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.submit-button:hover, .subscribe-button:hover {
    transform: translateY(-2px);
}

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.auth-divider span {
    background: var(--surface);
    padding: 0 1rem;
    color: var(--text-secondary);
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--glass-border);
    z-index: -1;
}

.google-button {
    width: 100%;
    padding: 1rem;
    background: white;
    color: #333;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.3s;
}

.google-button:hover {
    background: #f5f5f5;
}

.google-button img {
    width: 20px;
    height: 20px;
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-secondary);
}

.auth-switch a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Account Management */
.account-info {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.account-info p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.account-info span {
    color: var(--text-primary);
}

.subscription-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.plan-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 15px;
}

.plan-card h4 {
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2rem;
    color: var(--primary-light);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

/* Subscription Management */
.subscription-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.subscription-actions h4 {
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.secondary-action-button {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    text-align: left;
}

.secondary-action-button:hover {
    background: rgba(124, 58, 237, 0.2);
    border-color: var(--primary-light);
}

.cancel-button {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #ef4444;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    text-align: left;
}

.cancel-button:hover {
    background: rgba(220, 38, 38, 0.2);
    border-color: #ef4444;
}

.next-billing {
    margin-top: 1rem;
    padding: 0.75rem;
    background: var(--glass);
    border-radius: 8px;
    text-align: center;
}

.next-billing small {
    color: var(--text-secondary);
}

#nextBillingDate {
    color: var(--primary-light);
    font-weight: 600;
}

/* Billing History */
.billing-history {
    animation: slideIn 0.3s;
}

.billing-history h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-light);
}

.billing-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
}

.billing-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.billing-item-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.billing-item-amount {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 1.1rem;
}

.billing-item-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.billing-item-status.paid {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.billing-item-status.pending {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
}

.billing-item-status.failed {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Enhanced Subscription Display */
.subscription-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.detail-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 10px;
}

.detail-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.detail-value {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Payment Update Section */
.payment-update {
    animation: slideIn 0.3s;
}

.payment-update h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-light);
}

.stripe-card-element {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 1rem;
    transition: border-color 0.3s;
}

.stripe-card-element.StripeElement--focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.stripe-card-element.StripeElement--invalid {
    border-color: #ef4444;
}

.current-card {
    background: var(--glass);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

/* Enhanced Subscription Display */
.subscription-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.detail-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 10px;
}

.detail-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.detail-value {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Countdown Section */
.countdown-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

/* Early Bird Discount Section */
.discount-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-top: 1px solid rgba(34, 197, 94, 0.2);
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
    position: relative;
    overflow: hidden;
}

.discount-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.discount-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
    animation: pulse 2s infinite;
}

.discount-icon {
    font-size: 1.2rem;
    animation: bounce 1s infinite;
}

.discount-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.discount-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
    line-height: 1.6;
}

.discount-details {
    background: var(--glass);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(10px);
}

.price-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.original-price, .discounted-price {
    text-align: center;
    padding: 1.5rem;
    border-radius: 15px;
    min-width: 150px;
}

.original-price {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.discounted-price {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.price-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.price-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.original-price .price-value {
    color: #ef4444;
    text-decoration: line-through;
    opacity: 0.7;
}

.discounted-price .price-value {
    color: #22c55e;
}

.discount-arrow {
    font-size: 2rem;
    color: var(--primary-light);
    animation: slideRight 2s infinite;
}

.discount-code-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(34, 197, 94, 0.1);
    border: 2px dashed rgba(34, 197, 94, 0.3);
    border-radius: 15px;
    padding: 1rem 2rem;
    margin: 0 auto;
    max-width: 300px;
}

.code-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.discount-code {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-family: 'SF Mono', 'Monaco', monospace;
}

.copy-code-btn {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.copy-code-btn:hover {
    background: rgba(34, 197, 94, 0.3);
    transform: scale(1.1);
}

.discount-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.discount-button {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    min-width: 200px;
}

.discount-button.primary {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.discount-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.discount-button.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-light);
}

.discount-button.secondary:hover {
    background: var(--glass);
}

.discount-timer {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.timer-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Animations */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes slideRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

.countdown-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.countdown-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.countdown-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown-subtitle {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.countdown-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    min-width: 100px;
    transition: transform 0.3s;
}

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

.countdown-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-light);
    font-family: 'SF Mono', 'Monaco', monospace;
}

.countdown-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.notify-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.notify-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

/* Demo Section */
.demo-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

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

.demo-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.demo-subtitle {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.video-container {
    max-width: 900px;
    margin: 0 auto 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.video-placeholder {
    background: linear-gradient(135deg, var(--surface) 0%, rgba(124, 58, 237, 0.1) 100%);
    padding: 6rem 2rem;
    position: relative;
    border: 2px solid var(--glass-border);
    min-height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.coming-soon-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.play-button-placeholder {
    margin-bottom: 2rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.play-button-placeholder:hover {
    transform: scale(1.1);
}

.video-coming-text {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.video-container iframe {
    width: 100%;
    height: 500px;
    border: none;
}

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

.demo-feature {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s;
}

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

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.demo-feature h4 {
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.demo-feature p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* App Store Badges */
.app-store-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.app-badge {
    display: inline-block;
    transition: transform 0.3s, opacity 0.3s;
    opacity: 0.9;
    text-decoration: none;
}

.app-badge:hover {
    transform: scale(1.05);
    opacity: 1;
}

.app-badge svg {
    width: 140px;
    height: 48px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 1;
    background: rgba(15, 8, 23, 0.5);
    backdrop-filter: blur(10px);
}

.footer-content {
    color: var(--text-secondary);
}

.footer-links {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.3s;
    padding: 0.25rem 0.5rem;
}

.footer-links a:hover {
    color: white;
    text-shadow: 0 0 10px var(--primary-light);
}

.footer-links .separator {
    color: var(--glass-border);
}

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: rgba(15, 8, 23, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s ease;
        padding: 1.5rem 0;
        border-top: 1px solid var(--glass-border);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

    .nav-menu a {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        display: block;
        transition: all 0.3s;
    }

    .nav-menu .cta-button {
        margin: 0.5rem 1rem;
        display: inline-block;
        width: calc(100% - 2rem);
    }

    /* Clean Mobile Hero */
    .hero {
        min-height: auto;
        padding: 5rem 1rem 3rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        align-items: center;
    }

    /* Ensure hero section is a flex container on mobile */
    .hero > * {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Phone image appears FIRST on mobile */
    .hero-image {
        order: 1;
        margin-top: 1rem;
        margin-bottom: 2rem;
        min-width: unset;
    }

    /* Text content appears SECOND on mobile */
    .hero-text-content {
        order: 2;
        padding: 1rem 0;
    }

    .hero-title {
        font-size: 1.875rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        font-weight: 700;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0;
        color: var(--text-secondary);
        max-width: 90%;
        margin: 0 auto 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-buttons .secondary-button {
        font-size: 0.85rem;
        padding: 0.75rem 1.25rem;
    }

    .primary-button, .secondary-button {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        border-radius: 12px;
        font-weight: 600;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        width: 100%;
        max-width: 320px;
        margin: 2rem auto 0;
        padding: 1rem;
        background: var(--glass);
        border-radius: 15px;
        border: 1px solid var(--glass-border);
    }

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

    .stat h3 {
        font-size: 1.25rem;
        font-weight: 700;
        margin-bottom: 0.25rem;
    }

    .stat p {
        font-size: 0.75rem;
        color: var(--text-secondary);
        font-weight: 500;
    }

    /* Optimized iPhone mockup for mobile */
    .iphone-mockup {
        width: 320px;
        height: auto;
        margin: 0 auto;
    }

    .iphone-frame {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                    0 0 0 8px #1a1a1a,
                    0 0 0 10px #333;
    }

    .app-title {
        font-size: 1.75rem;
        margin-top: 3rem;
    }

    .app-subtitle {
        font-size: 0.9rem;
    }

    .app-subtitle {
        font-size: 0.9rem;
    }

    .swipe-button {
        padding: 15px 30px;
        bottom: 40px;
    }

    .swipe-button p {
        font-size: 0.9rem;
    }

    .swipe-indicator {
        margin-bottom: 1.5rem;
    }

    /* Fix features section */
    .features {
        padding: 3rem 1rem;
    }

    .features h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    /* Fix mission section */
    .mission {
        padding: 3rem 1rem;
    }

    .mission-content h2 {
        font-size: 2rem;
    }

    .mission-text {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .mission-tagline {
        font-size: 1.2rem;
    }

    /* Fix partnership section */
    .partnership {
        padding: 2rem 1rem;
    }

    .partner-content {
        padding: 1.5rem 1rem;
    }

    .partner-link h3 {
        font-size: 1.5rem;
    }

    /* Fix modal for mobile */
    .modal-content {
        margin: 5% auto;
        width: 95%;
        padding: 1.5rem;
        max-height: 85vh;
    }

    /* Clean Mobile Countdown */
    .countdown-section {
        padding: 3rem 1rem;
    }

    .countdown-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .countdown-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .countdown-timer {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        max-width: 280px;
        margin: 0 auto 2rem;
    }

    .countdown-item {
        min-width: auto;
        padding: 1rem;
        background: rgba(124, 58, 237, 0.05);
    }

    .countdown-number {
        font-size: 1.75rem;
        font-weight: 700;
    }

    .countdown-label {
        font-size: 0.75rem;
        margin-top: 0.25rem;
    }

    .notify-button {
        font-size: 0.95rem;
        padding: 0.875rem 1.5rem;
    }

    /* Clean Mobile Demo Section */
    .demo-section {
        padding: 3rem 1rem;
    }

    .demo-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .demo-subtitle {
        font-size: 0.9rem;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .video-container {
        margin-bottom: 2rem;
    }

    .video-placeholder {
        padding: 3rem 1rem;
        min-height: 250px;
    }

    .play-button-placeholder svg {
        width: 60px;
        height: 60px;
    }

    .video-coming-text {
        font-size: 0.95rem;
    }

    .demo-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }

    .demo-feature {
        padding: 1.5rem;
        text-align: center;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .demo-feature h4 {
        font-size: 1.1rem;
    }

    .demo-feature p {
        font-size: 0.85rem;
    }

    /* Clean Mobile Discount Section */
    .discount-section {
        padding: 3rem 1rem;
    }

    .discount-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .discount-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .discount-details {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .price-comparison {
        flex-direction: column;
        gap: 1rem;
    }

    .original-price, .discounted-price {
        min-width: auto;
        padding: 1rem;
    }

    .discount-arrow {
        font-size: 1.5rem;
        transform: rotate(90deg);
    }

    .discount-code-display {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
        max-width: 280px;
    }

    .discount-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .discount-button {
        min-width: auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .discount-timer {
        font-size: 0.8rem;
        padding: 0 1rem;
    }

    /* Clean Mobile App Store Badges */
    .app-store-badges {
        order: 3;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
        justify-content: center;
        gap: 0.75rem;
        width: 100%;
    }

    .app-badge svg {
        width: 130px;
        height: 44px;
    }

    /* Clean Mobile Footer */
    footer {
        padding: 2.5rem 1rem;
        background: linear-gradient(180deg, transparent, rgba(15, 8, 23, 0.5));
    }

    .footer-content p {
        font-size: 0.85rem;
        color: var(--text-secondary);
    }

    /* Clean Mobile Forms & Modals */
    .modal-content {
        width: 95%;
        max-width: 400px;
        padding: 1.5rem;
        margin: 1rem;
        border-radius: 20px;
    }

    .modal h2 {
        font-size: 1.5rem;
    }

    .form-group input {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Mobile Safe Areas */
    .nav-menu.active {
        padding-bottom: env(safe-area-inset-bottom);
    }

    footer {
        padding-bottom: calc(2rem + env(safe-area-inset-bottom));
    }
}

/* Extra small devices (very small phones) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.625rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.875rem;
    }

    .nav-logo h2 {
        font-size: 1.4rem;
    }

    .stat h3 {
        font-size: 1.125rem;
    }

    .stat p {
        font-size: 0.7rem;
    }

    .features h2,
    .mission-content h2,
    .demo-title,
    .countdown-title,
    .faq-title {
        font-size: 1.5rem;
    }

    .countdown-timer {
        grid-template-columns: repeat(2, 1fr);
        max-width: 240px;
    }

    .iphone-mockup {
        width: 280px;
        height: auto;
    }

    .primary-button,
    .secondary-button {
        font-size: 0.875rem;
        padding: 0.75rem 1.25rem;
    }
}

/* Smooth scrolling for better mobile experience */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --glass: rgba(255, 255, 255, 0.15);
        --glass-border: rgba(255, 255, 255, 0.3);
    }
}

/* Touch-friendly tap targets */
@media (hover: none) and (pointer: coarse) {
    button,
    a,
    .nav-toggle,
    .close-btn {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Sticky Test Button */
.sticky-test-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    animation: slideInUp 0.5s ease-out;
}

.sticky-test-button a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #7C3AED 0%, #5B3ACC 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4),
                0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.sticky-test-button a:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.5),
                0 8px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #8B4BFF 0%, #6A3DE8 100%);
}

.button-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    animation: pulse 2s infinite;
}

.button-text {
    display: inline-block;
    white-space: nowrap;
}

.button-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.sticky-test-button a:hover .button-arrow {
    transform: translateX(5px);
    opacity: 1;
}

/* Pulse animation for icon */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Slide in animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsiveness for sticky button */
@media (max-width: 768px) {
    .sticky-test-button {
        bottom: 20px;
        right: 20px;
    }

    .sticky-test-button a {
        padding: 14px 20px;
        font-size: 14px;
    }

    .button-text {
        display: none; /* Hide text on mobile, show only icon */
    }

    .button-arrow {
        display: none;
    }

    .sticky-test-button a {
        border-radius: 50%;
        width: 60px;
        height: 60px;
        padding: 0;
        justify-content: center;
    }

    .button-icon {
        font-size: 24px;
        margin: 0;
    }
}

/* Tablet view */
@media (min-width: 769px) and (max-width: 1024px) {
    .sticky-test-button {
        bottom: 25px;
        right: 25px;
    }

    .sticky-test-button a {
        padding: 14px 20px;
        font-size: 14px;
    }
}