:root {
    --primary-color: #667eea;
    --primary-dark: #5568d3;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
    --card-bg: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #000000;
        --bg-secondary: #1a1a1a;
        --text-primary: #ffffff;
        --text-secondary: #999999;
        --border-color: #333333;
        --card-bg: #1a1a1a;
        --shadow: rgba(255, 255, 255, 0.05);
    }
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: #1a1a1a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    max-width: 430px;
    margin: 0 auto;
    position: relative;
}

@media (prefers-color-scheme: light) {
    body {
        background: #f5f5f5;
        color: #2d3436;
    }
}

/* Remove stars - no longer needed */
.stars, .stars2, .stars3 {
    display: none;
}

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

/* Hero Section */
.hero {
    padding: 8px 0;
    position: relative;
}

.hero .container {
    padding: 30px 20px !important;
}


.hero h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-align: center;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #a044ff 20%, #f093fb 40%, #ff6b6b 60%, #fdcb6e 80%, #00d2ff 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: background-position 0.1s ease-out;
}

@media (prefers-color-scheme: dark) {
    .gradient-text {
        background: linear-gradient(135deg, #74b9ff 0%, #a29bfe 20%, #fd79a8 40%, #fdcb6e 60%, #55efc4 80%, #00d2ff 100%);
        background-size: 300% 300%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        transition: background-position 0.1s ease-out;
    }
}

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

.hero-text {
    width: 100%;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.8;
    text-align: center;
    padding: 0 10px;
}

.hero-video {
    width: 66.66%;
}

.hero-video video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px var(--shadow);
}

.primary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.primary-button:hover {
}

.primary-button.large {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.secondary-button:hover {
}

/* Section Titles */
.section-title {
    font-size: 1.75rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
}

/* Features Section */
.features-section {
    padding: 8px 0;
}

.features-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.more-button {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-style: medium;
    transition: color 0.3s ease;
}

.more-button:hover {
    color: var(--primary-color);
}

.animated-dots {
    display: inline;
}

.animated-dots span {
    display: inline;
    animation: dotFade 1.4s infinite ease-in-out;
}

.animated-dots span:nth-child(1) {
    animation-delay: 0s;
}

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

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

@keyframes dotFade {
    0%, 60%, 100% {
        opacity: 0.3;
    }
    30% {
        opacity: 1;
    }
}

.features-section .container {
    padding: 30px 20px !important;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.feature-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
}

@media (prefers-color-scheme: dark) {
    .feature-card {
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px var(--shadow);
}

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

.feature-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.8rem;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

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

.step-arrow {
    font-size: 2rem;
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    padding: 8px 0;
    text-align: center;
}

.cta-section .container {
    padding: 30px 20px !important;
}


.cta-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    padding: 0 10px;
}

.cta-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    padding: 0 10px;
}

.small-text {
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Footer */
footer {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
}

@media (prefers-color-scheme: dark) {
    footer {
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 60px;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 2rem;
    }

    .hero-content-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0;
        padding: 0 10px;
        text-align: center;
    }

    .hero-video video {
        border-radius: 12px;
    }

    .how-it-works, .cta-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 10px;
    }
    
    .step-arrow {
        display: none;
    }

    .steps {
        gap: 1.5rem;
    }

    .step {
        min-width: 100%;
        padding: 1.5rem;
        border-radius: 16px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .step h3 {
        font-size: 1.2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
        line-height: 1.3;
        padding: 0 10px;
    }

    .cta-content p {
        font-size: 1rem;
        padding: 0 10px;
    }

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

    footer {
        padding: 2rem 0 1rem;
    }
}

/* iPhone Specific Optimizations */
@media (max-width: 430px) {
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .hero-content-wrapper {
        gap: 1.5rem;
    }

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

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .primary-button, .secondary-button {
        font-size: 0.95rem;
        padding: 0.9rem 1.2rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .feature-card p {
        font-size: 0.95rem;
    }
}

/* Improve touch targets for mobile */
@media (hover: none) and (pointer: coarse) {
    .primary-button, .secondary-button {
        min-height: 50px;
    }

    .feature-card, .step {
        cursor: default;
    }
}

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

.modal-content {
    margin: 15% auto;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 80%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 10px 40px var(--shadow);
}

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

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

.modal-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 12px;
}

.modal-feature-icon {
    font-size: 1.5rem;
}

/* Terms & Conditions Styles */
.terms-content {
    padding: 1rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.terms-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: left;
}

.terms-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: left;
}

/* Footer */
footer {
    padding: 8px 0;
}

footer .container {
    padding: 15px 20px;
}


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

.footer-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 0.25rem auto;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (prefers-color-scheme: dark) {
    .footer-avatar {
        box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
    }
}

.footer-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-style: normal;
}

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

.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-weight: 500;
}

@media (prefers-color-scheme: dark) {
    .footer-links a {
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
}

.footer-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow);
}

.footer-links svg {
    width: 18px;
    height: 18px;
}

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

